drs / Client / export_source_network_cfn_template

export_source_network_cfn_template#

drs.Client.export_source_network_cfn_template(**kwargs)#

Export the Source Network CloudFormation template to an S3 bucket.

See also: AWS API Documentation

Request Syntax

response = client.export_source_network_cfn_template(
    sourceNetworkID='string'
)
Parameters:

sourceNetworkID (string) –

[REQUIRED]

The Source Network ID to export its CloudFormation template to an S3 bucket.

Return type:

dict

Returns:

Response Syntax

{
    's3DestinationUrl': 'string'
}

Response Structure

  • (dict) –

    • s3DestinationUrl (string) –

      S3 bucket URL where the Source Network CloudFormation template was exported to.

Exceptions

  • drs.Client.exceptions.ResourceNotFoundException

  • drs.Client.exceptions.InternalServerException

  • drs.Client.exceptions.ConflictException

  • drs.Client.exceptions.ThrottlingException

  • drs.Client.exceptions.ValidationException

  • drs.Client.exceptions.UninitializedAccountException