:doc:`EC2 <../../ec2>` / Client / delete_subnet_cidr_reservation

******************************
delete_subnet_cidr_reservation
******************************



.. py:method:: EC2.Client.delete_subnet_cidr_reservation(**kwargs)

  

  Deletes a subnet CIDR reservation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetCidrReservation>`_  


  **Request Syntax**
  ::

    response = client.delete_subnet_cidr_reservation(
        SubnetCidrReservationId='string',
        DryRun=True|False
    )
    
  :type SubnetCidrReservationId: string
  :param SubnetCidrReservationId: **[REQUIRED]** 

    The ID of the subnet CIDR reservation.

    

  
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

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

    
    ::

      {
          'DeletedSubnetCidrReservation': {
              'SubnetCidrReservationId': 'string',
              'SubnetId': 'string',
              'Cidr': 'string',
              'ReservationType': 'prefix'|'explicit',
              'OwnerId': 'string',
              'Description': 'string',
              'Tags': [
                  {
                      'Key': 'string',
                      'Value': 'string'
                  },
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DeletedSubnetCidrReservation** *(dict) --* 

        Information about the deleted subnet CIDR reservation.

        
        

        - **SubnetCidrReservationId** *(string) --* 

          The ID of the subnet CIDR reservation.

          
        

        - **SubnetId** *(string) --* 

          The ID of the subnet.

          
        

        - **Cidr** *(string) --* 

          The CIDR that has been reserved.

          
        

        - **ReservationType** *(string) --* 

          The type of reservation.

          
        

        - **OwnerId** *(string) --* 

          The ID of the account that owns the subnet CIDR reservation.

          
        

        - **Description** *(string) --* 

          The description assigned to the subnet CIDR reservation.

          
        

        - **Tags** *(list) --* 

          The tags assigned to the subnet CIDR reservation.

          
          

          - *(dict) --* 

            Describes a tag.

            
            

            - **Key** *(string) --* 

              The key of the tag.

               

              Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with ``aws:``.

              
            

            - **Value** *(string) --* 

              The value of the tag.

               

              Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

              
        
      
    
  