:doc:`DatabaseMigrationService <../../dms>` / Client / delete_replication_subnet_group

*******************************
delete_replication_subnet_group
*******************************



.. py:method:: DatabaseMigrationService.Client.delete_replication_subnet_group(**kwargs)

  

  Deletes a subnet group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_replication_subnet_group(
        ReplicationSubnetGroupIdentifier='string'
    )
    
  :type ReplicationSubnetGroupIdentifier: string
  :param ReplicationSubnetGroupIdentifier: **[REQUIRED]** 

    The subnet group name of the replication instance.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault`

  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault`

  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.AccessDeniedFault`

  

  **Examples**

  Deletes a replication subnet group.
  ::

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

  
  Expected Output:
  ::

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

  