delete_transit_gateway_policy_table

EC2.Client.delete_transit_gateway_policy_table(**kwargs)

Deletes the specified transit gateway policy table.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The transit gateway policy table to delete.

  • 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

{
    'TransitGatewayPolicyTable': {
        'TransitGatewayPolicyTableId': 'string',
        'TransitGatewayId': 'string',
        'State': 'pending'|'available'|'deleting'|'deleted',
        'CreationTime': datetime(2015, 1, 1),
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • TransitGatewayPolicyTable (dict) --

      Provides details about the deleted transit gateway policy table.

      • TransitGatewayPolicyTableId (string) --

        The ID of the transit gateway policy table.

      • TransitGatewayId (string) --

        The ID of the transit gateway.

      • State (string) --

        The state of the transit gateway policy table

      • CreationTime (datetime) --

        The timestamp when the transit gateway policy table was created.

      • Tags (list) --

        he key-value pairs associated with the transit gateway policy table.

        • (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.