NetworkManager / Client / list_attachment_routing_policy_associations
list_attachment_routing_policy_associations¶
- NetworkManager.Client.list_attachment_routing_policy_associations(**kwargs)¶
Lists the routing policy associations for attachments in a core network.
See also: AWS API Documentation
Request Syntax
response = client.list_attachment_routing_policy_associations( CoreNetworkId='string', AttachmentId='string', MaxResults=123, NextToken='string' )
- Parameters:
CoreNetworkId (string) –
[REQUIRED]
The ID of the core network to list attachment routing policy associations for.
AttachmentId (string) – The ID of a specific attachment to filter the routing policy associations.
MaxResults (integer) – The maximum number of results to return in a single page.
NextToken (string) – The token for the next page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'AttachmentRoutingPolicyAssociations': [ { 'AttachmentId': 'string', 'PendingRoutingPolicies': [ 'string', ], 'AssociatedRoutingPolicies': [ 'string', ], 'RoutingPolicyLabel': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
AttachmentRoutingPolicyAssociations (list) –
The list of attachment routing policy associations.
(dict) –
Summary information about routing policy associations for an attachment.
AttachmentId (string) –
The ID of the attachment associated with the routing policy.
PendingRoutingPolicies (list) –
The list of routing policies that are pending association with the attachment.
(string) –
AssociatedRoutingPolicies (list) –
The list of routing policies currently associated with the attachment.
(string) –
RoutingPolicyLabel (string) –
The routing policy label associated with the attachment.
NextToken (string) –
The token for the next page of results.
Exceptions
NetworkManager.Client.exceptions.ValidationExceptionNetworkManager.Client.exceptions.ResourceNotFoundExceptionNetworkManager.Client.exceptions.AccessDeniedExceptionNetworkManager.Client.exceptions.ThrottlingExceptionNetworkManager.Client.exceptions.InternalServerException