reject_attachment
(**kwargs)¶Rejects a core network attachment request.
See also: AWS API Documentation
Request Syntax
response = client.reject_attachment(
AttachmentId='string'
)
[REQUIRED]
The ID of the attachment.
{
'Attachment': {
'CoreNetworkId': 'string',
'CoreNetworkArn': 'string',
'AttachmentId': 'string',
'OwnerAccountId': 'string',
'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC'|'TRANSIT_GATEWAY_ROUTE_TABLE',
'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
'EdgeLocation': 'string',
'ResourceArn': 'string',
'AttachmentPolicyRuleNumber': 123,
'SegmentName': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'ProposedSegmentChange': {
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AttachmentPolicyRuleNumber': 123,
'SegmentName': 'string'
},
'CreatedAt': datetime(2015, 1, 1),
'UpdatedAt': datetime(2015, 1, 1)
}
}
Response Structure
Describes the rejected attachment request.
The ID of a core network.
The ARN of a core network.
The ID of the attachment.
The ID of the attachment account owner.
The type of attachment.
The state of the attachment.
The Region where the edge is located.
The attachment resource ARN.
The policy rule number associated with the attachment.
The name of the segment attachment.
The tags associated with the attachment.
Describes a tag.
The tag key.
Constraints: Maximum length of 128 characters.
The tag value.
Constraints: Maximum length of 256 characters.
The attachment to move from one segment to another.
The list of key-value tags that changed for the segment.
Describes a tag.
The tag key.
Constraints: Maximum length of 128 characters.
The tag value.
Constraints: Maximum length of 256 characters.
The rule number in the policy document that applies to this change.
The name of the segment to change.
The timestamp when the attachment was created.
The timestamp when the attachment was last updated.
Exceptions
NetworkManager.Client.exceptions.ValidationException
NetworkManager.Client.exceptions.AccessDeniedException
NetworkManager.Client.exceptions.ResourceNotFoundException
NetworkManager.Client.exceptions.ConflictException
NetworkManager.Client.exceptions.ThrottlingException
NetworkManager.Client.exceptions.InternalServerException