Struct aws_sdk_iot::input::DeleteDomainConfigurationInput
source · #[non_exhaustive]pub struct DeleteDomainConfigurationInput { /* private fields */ }
Implementations§
source§impl DeleteDomainConfigurationInput
impl DeleteDomainConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDomainConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDomainConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteDomainConfiguration
>
Examples found in repository?
src/client.rs (line 9460)
9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteDomainConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteDomainConfigurationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DeleteDomainConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteDomainConfigurationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteDomainConfigurationInput
.
source§impl DeleteDomainConfigurationInput
impl DeleteDomainConfigurationInput
sourcepub fn domain_configuration_name(&self) -> Option<&str>
pub fn domain_configuration_name(&self) -> Option<&str>
The name of the domain configuration to be deleted.
Trait Implementations§
source§impl Clone for DeleteDomainConfigurationInput
impl Clone for DeleteDomainConfigurationInput
source§fn clone(&self) -> DeleteDomainConfigurationInput
fn clone(&self) -> DeleteDomainConfigurationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more