pub struct CreateApp { /* private fields */ }
Expand description

Fluent builder constructing a request to CreateApp.

Creates a new Amplify app.

Implementations

Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.

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 name for an Amplify app.

The name for an Amplify app.

The description for an Amplify app.

The description for an Amplify app.

The repository for an Amplify app.

The repository for an Amplify app.

The platform or framework for an Amplify app.

The platform or framework for an Amplify app.

The AWS Identity and Access Management (IAM) service role for an Amplify app.

The AWS Identity and Access Management (IAM) service role for an Amplify app.

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

Adds a key-value pair to environmentVariables.

To override the contents of this collection use set_environment_variables.

The environment variables map for an Amplify app.

The environment variables map for an Amplify app.

Enables the auto building of branches for an Amplify app.

Enables the auto building of branches for an Amplify app.

Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.

Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.

Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.

Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.

The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

Appends an item to customRules.

To override the contents of this collection use set_custom_rules.

The custom rewrite and redirect rules for an Amplify app.

The custom rewrite and redirect rules for an Amplify app.

Adds a key-value pair to tags.

To override the contents of this collection use set_tags.

The tag for an Amplify app.

The tag for an Amplify app.

The build specification (build spec) for an Amplify app.

The build specification (build spec) for an Amplify app.

The custom HTTP headers for an Amplify app.

The custom HTTP headers for an Amplify app.

Enables automated branch creation for an Amplify app.

Enables automated branch creation for an Amplify app.

Appends an item to autoBranchCreationPatterns.

To override the contents of this collection use set_auto_branch_creation_patterns.

The automated branch creation glob patterns for an Amplify app.

The automated branch creation glob patterns for an Amplify app.

The automated branch creation configuration for an Amplify app.

The automated branch creation configuration for an Amplify app.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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