Struct aws_sdk_iot::input::CreateDomainConfigurationInput
source · #[non_exhaustive]pub struct CreateDomainConfigurationInput { /* private fields */ }
Implementations§
source§impl CreateDomainConfigurationInput
impl CreateDomainConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDomainConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDomainConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateDomainConfiguration
>
Examples found in repository?
5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateDomainConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateDomainConfigurationError>,
> {
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::CreateDomainConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::CreateDomainConfigurationError>,
> {
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 CreateDomainConfigurationInput
.
source§impl CreateDomainConfigurationInput
impl CreateDomainConfigurationInput
sourcepub fn domain_configuration_name(&self) -> Option<&str>
pub fn domain_configuration_name(&self) -> Option<&str>
The name of the domain configuration. This value must be unique to a region.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain.
sourcepub fn server_certificate_arns(&self) -> Option<&[String]>
pub fn server_certificate_arns(&self) -> Option<&[String]>
The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains.
sourcepub fn validation_certificate_arn(&self) -> Option<&str>
pub fn validation_certificate_arn(&self) -> Option<&str>
The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for Amazon Web Services-managed domains.
An object that specifies the authorization service for a domain.
sourcepub fn service_type(&self) -> Option<&ServiceType>
pub fn service_type(&self) -> Option<&ServiceType>
The type of service delivered by the endpoint.
Amazon Web Services IoT Core currently supports only the DATA
service type.
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Trait Implementations§
source§impl Clone for CreateDomainConfigurationInput
impl Clone for CreateDomainConfigurationInput
source§fn clone(&self) -> CreateDomainConfigurationInput
fn clone(&self) -> CreateDomainConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more