EC2 / Client / delete_secondary_network_acl

delete_secondary_network_acl

EC2.Client.delete_secondary_network_acl(**kwargs)

Deletes a secondary network ACL. You must delete all associations for the secondary network ACL before you can delete it. You don’t need to delete its entries first.

See also: AWS API Documentation

Request Syntax

response = client.delete_secondary_network_acl(
    ClientToken='string',
    DryRun=True|False,
    SecondaryNetworkAclId='string'
)
Parameters:
  • ClientToken (string) –

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

    This field is autopopulated if not provided.

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

  • SecondaryNetworkAclId (string) –

    [REQUIRED]

    The ID of the secondary network ACL.

Return type:

dict

Returns:

Response Syntax

{
    'SecondaryNetworkAcl': {
        'SecondaryNetworkAclId': 'string',
        'SecondaryNetworkAclArn': 'string',
        'SecondaryNetworkId': 'string',
        'OwnerId': 'string',
        'AvailabilityZoneId': 'string',
        'AvailabilityZone': 'string',
        'AddressType': 'ipv4'|'ipv6',
        'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
        'StateReason': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    },
    'ClientToken': 'string'
}

Response Structure

  • (dict) –

    • SecondaryNetworkAcl (dict) –

      Information about the secondary network ACL.

      • SecondaryNetworkAclId (string) –

        The ID of the secondary network ACL.

      • SecondaryNetworkAclArn (string) –

        The Amazon Resource Name (ARN) of the secondary network ACL.

      • SecondaryNetworkId (string) –

        The ID of the secondary network that contains the secondary network ACL.

      • OwnerId (string) –

        The ID of the Amazon Web Services account that owns the secondary network ACL.

      • AvailabilityZoneId (string) –

        The ID of the Availability Zone of the secondary network ACL.

      • AvailabilityZone (string) –

        The Availability Zone of the secondary network ACL.

      • AddressType (string) –

        The address family of the secondary network ACL.

      • State (string) –

        The state of the secondary network ACL.

      • StateReason (string) –

        The reason for the current state of the secondary network ACL.

      • Tags (list) –

        The tags assigned to the secondary network ACL.

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

    • ClientToken (string) –

      Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.