DatabaseMigrationService / Client / delete_replication_subnet_group

delete_replication_subnet_group#

DatabaseMigrationService.Client.delete_replication_subnet_group(**kwargs)#

Deletes a subnet group.

See also: AWS API Documentation

Request Syntax

response = client.delete_replication_subnet_group(
    ReplicationSubnetGroupIdentifier='string'
)
Parameters:

ReplicationSubnetGroupIdentifier (string) –

[REQUIRED]

The subnet group name of the replication instance.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault

Examples

Deletes a replication subnet group.

response = client.delete_replication_subnet_group(
    ReplicationSubnetGroupIdentifier='us-west-2ab-vpc-215ds366',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}