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.
Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
For .NET Core this operation is only available in asynchronous form. Please refer to GenerateTemplateAsync.
Namespace: Amazon.ServerMigrationService
Assembly: AWSSDK.ServerMigrationService.dll
Version: 3.x.y.z
public virtual GenerateTemplateResponse GenerateTemplate( GenerateTemplateRequest request )
Container for the necessary parameters to execute the GenerateTemplate service method.
Exception | Condition |
---|---|
InternalErrorException | An internal error occurred. |
InvalidParameterException | A specified parameter is not valid. |
MissingRequiredParameterException | A required parameter is missing. |
OperationNotPermittedException | This operation is not allowed. |
UnauthorizedOperationException | You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys. |
.NET Framework:
Supported in: 4.5 and newer, 3.5