delete_subnet_cidr_reservation

EC2.Client.delete_subnet_cidr_reservation(**kwargs)

Deletes a subnet CIDR reservation.

See also: AWS API Documentation

Request Syntax

response = client.delete_subnet_cidr_reservation(
    SubnetCidrReservationId='string',
    DryRun=True|False
)
Parameters
  • SubnetCidrReservationId (string) --

    [REQUIRED]

    The ID of the subnet CIDR reservation.

  • DryRun (boolean) -- 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 .
Return type

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.