Struct aws_sdk_amplify::client::fluent_builders::CreateBranch
source · [−]pub struct CreateBranch<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateBranch
.
Creates a new branch for an Amplify app.
Implementations
impl<C, M, R> CreateBranch<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateBranch<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateBranchOutput, SdkError<CreateBranchError>> where
R::Policy: SmithyRetryPolicy<CreateBranchInputOperationOutputAlias, CreateBranchOutput, CreateBranchError, CreateBranchInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateBranchOutput, SdkError<CreateBranchError>> where
R::Policy: SmithyRetryPolicy<CreateBranchInputOperationOutputAlias, CreateBranchOutput, CreateBranchError, CreateBranchInputOperationRetryAlias>,
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 name for the branch.
The name for the branch.
The description for the branch.
The description for the branch.
Describes the current stage for the branch.
The framework for the branch.
Enables notifications for the branch.
Enables notifications for the branch.
Enables auto building for the branch.
Enables auto building for the branch.
Adds a key-value pair to environmentVariables
.
To override the contents of this collection use set_environment_variables
.
The environment variables for the branch.
The environment variables for the branch.
The basic authorization credentials for the branch.
The basic authorization credentials for the branch.
Enables basic authorization for the branch.
Enables basic authorization for the branch.
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tag for the branch.
The tag for the branch.
The build specification (build spec) for the branch.
The build specification (build spec) for the branch.
The content Time To Live (TTL) for the website in seconds.
The content Time To Live (TTL) for the website in seconds.
The display name for a branch. This is used as the default domain prefix.
The display name for a branch. This is used as the default domain prefix.
Enables pull request previews for this branch.
Enables pull request previews for this branch.
The Amplify environment name for the pull request.
The Amplify environment name for the pull request.
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateBranch<C, M, R>
impl<C, M, R> Unpin for CreateBranch<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateBranch<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