SMS.Client.
generate_template
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.generate_template(
appId='string',
templateFormat='JSON'|'YAML'
)
dict
Response Syntax
{
's3Location': {
'bucket': 'string',
'key': 'string'
}
}
Response Structure
(dict) --
s3Location (dict) --
The location of the Amazon S3 object.
bucket (string) --
The Amazon S3 bucket name.
key (string) --
The Amazon S3 bucket key.
Exceptions
SMS.Client.exceptions.UnauthorizedOperationException
SMS.Client.exceptions.InvalidParameterException
SMS.Client.exceptions.MissingRequiredParameterException
SMS.Client.exceptions.InternalError
SMS.Client.exceptions.OperationNotPermittedException