Struct aws_sdk_iot::client::fluent_builders::DeleteSecurityProfile
source · pub struct DeleteSecurityProfile { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteSecurityProfile
.
Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
Implementations§
source§impl DeleteSecurityProfile
impl DeleteSecurityProfile
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteSecurityProfile, AwsResponseRetryClassifier>, SdkError<DeleteSecurityProfileError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteSecurityProfile, AwsResponseRetryClassifier>, SdkError<DeleteSecurityProfileError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteSecurityProfileOutput, SdkError<DeleteSecurityProfileError>>
pub async fn send(
self
) -> Result<DeleteSecurityProfileOutput, SdkError<DeleteSecurityProfileError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn security_profile_name(self, input: impl Into<String>) -> Self
pub fn security_profile_name(self, input: impl Into<String>) -> Self
The name of the security profile to be deleted.
sourcepub fn set_security_profile_name(self, input: Option<String>) -> Self
pub fn set_security_profile_name(self, input: Option<String>) -> Self
The name of the security profile to be deleted.
sourcepub fn expected_version(self, input: i64) -> Self
pub fn expected_version(self, input: i64) -> Self
The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException
is thrown.
sourcepub fn set_expected_version(self, input: Option<i64>) -> Self
pub fn set_expected_version(self, input: Option<i64>) -> Self
The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException
is thrown.
Trait Implementations§
source§impl Clone for DeleteSecurityProfile
impl Clone for DeleteSecurityProfile
source§fn clone(&self) -> DeleteSecurityProfile
fn clone(&self) -> DeleteSecurityProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more