get_connect_attachment
(**kwargs)¶Returns information about a core network Connect attachment.
See also: AWS API Documentation
Request Syntax
response = client.get_connect_attachment(
AttachmentId='string'
)
[REQUIRED]
The ID of the attachment.
{
'ConnectAttachment': {
'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)
},
'TransportAttachmentId': 'string',
'Options': {
'Protocol': 'GRE'
}
}
}
Response Structure
Details about the Connect attachment.
The attachment details.
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.
The ID of the transport attachment.
Options for connecting an attachment.
The protocol used for the attachment connection.
Exceptions
NetworkManager.Client.exceptions.ValidationException
NetworkManager.Client.exceptions.AccessDeniedException
NetworkManager.Client.exceptions.ResourceNotFoundException
NetworkManager.Client.exceptions.ThrottlingException
NetworkManager.Client.exceptions.InternalServerException