AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.

The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateDeploymentAsync.

Namespace: Amazon.Amplify
Assembly: AWSSDK.Amplify.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateDeploymentResponse CreateDeployment(
         CreateDeploymentRequest request
)

Parameters

request
Type: Amazon.Amplify.Model.CreateDeploymentRequest

Container for the necessary parameters to execute the CreateDeployment service method.

Return Value


The response from the CreateDeployment service method, as returned by Amplify.

Exceptions

ExceptionCondition
BadRequestException A request contains unexpected data.
InternalFailureException The service failed to perform an operation due to an internal issue.
LimitExceededException A resource could not be created because service quotas were exceeded.
UnauthorizedException An operation failed due to a lack of access.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also