Struct aws_sdk_iot::input::UpdateDomainConfigurationInput
source · #[non_exhaustive]pub struct UpdateDomainConfigurationInput { /* private fields */ }
Implementations§
source§impl UpdateDomainConfigurationInput
impl UpdateDomainConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDomainConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDomainConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDomainConfiguration
>
Examples found in repository?
src/client.rs (line 25766)
25752 25753 25754 25755 25756 25757 25758 25759 25760 25761 25762 25763 25764 25765 25766 25767 25768 25769 25770 25771 25772 25773 25774 25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDomainConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDomainConfigurationError>,
> {
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::UpdateDomainConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDomainConfigurationError>,
> {
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 UpdateDomainConfigurationInput
.
source§impl UpdateDomainConfigurationInput
impl UpdateDomainConfigurationInput
sourcepub fn domain_configuration_name(&self) -> Option<&str>
pub fn domain_configuration_name(&self) -> Option<&str>
The name of the domain configuration to be updated.
An object that specifies the authorization service for a domain.
sourcepub fn domain_configuration_status(&self) -> Option<&DomainConfigurationStatus>
pub fn domain_configuration_status(&self) -> Option<&DomainConfigurationStatus>
The status to which the domain configuration should be updated.
Removes the authorization configuration from a domain.
Trait Implementations§
source§impl Clone for UpdateDomainConfigurationInput
impl Clone for UpdateDomainConfigurationInput
source§fn clone(&self) -> UpdateDomainConfigurationInput
fn clone(&self) -> UpdateDomainConfigurationInput
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