Struct aws_sdk_amplify::client::fluent_builders::CreateDomainAssociation [−][src]
pub struct CreateDomainAssociation<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDomainAssociation
.
Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app
Implementations
impl<C, M, R> CreateDomainAssociation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDomainAssociation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDomainAssociationOutput, SdkError<CreateDomainAssociationError>> where
R::Policy: SmithyRetryPolicy<CreateDomainAssociationInputOperationOutputAlias, CreateDomainAssociationOutput, CreateDomainAssociationError, CreateDomainAssociationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDomainAssociationOutput, SdkError<CreateDomainAssociationError>> where
R::Policy: SmithyRetryPolicy<CreateDomainAssociationInputOperationOutputAlias, CreateDomainAssociationOutput, CreateDomainAssociationError, CreateDomainAssociationInputOperationRetryAlias>,
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.
The unique ID for an Amplify app.
The domain name for the domain association.
The domain name for the domain association.
Enables the automated creation of subdomains for branches.
Enables the automated creation of subdomains for branches.
Appends an item to subDomainSettings
.
To override the contents of this collection use set_sub_domain_settings
.
The setting for the subdomain.
The setting for the subdomain.
Appends an item to autoSubDomainCreationPatterns
.
To override the contents of this collection use set_auto_sub_domain_creation_patterns
.
Sets the branch patterns for automatic subdomain creation.
Sets the branch patterns for automatic subdomain creation.
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateDomainAssociation<C, M, R>
impl<C, M, R> Send for CreateDomainAssociation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDomainAssociation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDomainAssociation<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateDomainAssociation<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