EC2 / Client / delete_ipam_external_resource_verification_token
delete_ipam_external_resource_verification_token#
- EC2.Client.delete_ipam_external_resource_verification_token(**kwargs)#
Delete a verification token. A verification token is an Amazon Web Services-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to Amazon Web Services (BYOIP).
See also: AWS API Documentation
Request Syntax
response = client.delete_ipam_external_resource_verification_token( DryRun=True|False, IpamExternalResourceVerificationTokenId='string' )
- Parameters:
DryRun (boolean) – A check for 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 isUnauthorizedOperation
.IpamExternalResourceVerificationTokenId (string) –
[REQUIRED]
The token ID.
- Return type:
dict
- Returns:
Response Syntax
{ 'IpamExternalResourceVerificationToken': { 'IpamExternalResourceVerificationTokenId': 'string', 'IpamExternalResourceVerificationTokenArn': 'string', 'IpamId': 'string', 'IpamArn': 'string', 'IpamRegion': 'string', 'TokenValue': 'string', 'TokenName': 'string', 'NotAfter': datetime(2015, 1, 1), 'Status': 'valid'|'expired', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed' } }
Response Structure
(dict) –
IpamExternalResourceVerificationToken (dict) –
The verification token.
IpamExternalResourceVerificationTokenId (string) –
The ID of the token.
IpamExternalResourceVerificationTokenArn (string) –
Token ARN.
IpamId (string) –
The ID of the IPAM that created the token.
IpamArn (string) –
ARN of the IPAM that created the token.
IpamRegion (string) –
Region of the IPAM that created the token.
TokenValue (string) –
Token value.
TokenName (string) –
Token name.
NotAfter (datetime) –
Token expiration.
Status (string) –
Token status.
Tags (list) –
Token tags.
(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.
State (string) –
Token state.