SMS / Client / generate_change_set

generate_change_set#

SMS.Client.generate_change_set(**kwargs)#

Generates a target change set for a currently launched stack 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_change_set(
    appId='string',
    changesetFormat='JSON'|'YAML'
)
Parameters:
  • appId (string) – The ID of the application associated with the change set.

  • changesetFormat (string) – The format for the change set.

Return type:

dict

Returns:

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