Struct aws_sdk_apigateway::client::fluent_builders::CreateDomainName [−][src]
pub struct CreateDomainName<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDomainName
.
Creates a new domain name.
Implementations
impl<C, M, R> CreateDomainName<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDomainName<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDomainNameOutput, SdkError<CreateDomainNameError>> where
R::Policy: SmithyRetryPolicy<CreateDomainNameInputOperationOutputAlias, CreateDomainNameOutput, CreateDomainNameError, CreateDomainNameInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDomainNameOutput, SdkError<CreateDomainNameError>> where
R::Policy: SmithyRetryPolicy<CreateDomainNameInputOperationOutputAlias, CreateDomainNameOutput, CreateDomainNameError, CreateDomainNameInputOperationRetryAlias>,
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.
[Required] The name of the DomainName
resource.
[Required] The name of the DomainName
resource.
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.
The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.
The endpoint configuration of this DomainName
showing the endpoint types of the domain name.
The endpoint configuration of this DomainName
showing the endpoint types of the domain name.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:
. The tag value can be up to 256 characters.
The Transport Layer Security (TLS) version + cipher suite for this DomainName
. The valid values are TLS_1_0
and TLS_1_2
.
The Transport Layer Security (TLS) version + cipher suite for this DomainName
. The valid values are TLS_1_0
and TLS_1_2
.
If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.
pub fn set_mutual_tls_authentication(
self,
input: Option<MutualTlsAuthenticationInput>
) -> Self
pub fn set_mutual_tls_authentication(
self,
input: Option<MutualTlsAuthenticationInput>
) -> Self
If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.
The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.
The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateDomainName<C, M, R>
impl<C, M, R> Send for CreateDomainName<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDomainName<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDomainName<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateDomainName<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more