NetworkManager / Client / put_attachment_routing_policy_label

put_attachment_routing_policy_label

NetworkManager.Client.put_attachment_routing_policy_label(**kwargs)

Applies a routing policy label to an attachment for traffic routing decisions.

See also: AWS API Documentation

Request Syntax

response = client.put_attachment_routing_policy_label(
    CoreNetworkId='string',
    AttachmentId='string',
    RoutingPolicyLabel='string',
    ClientToken='string'
)
Parameters:
  • CoreNetworkId (string) –

    [REQUIRED]

    The ID of the core network containing the attachment.

  • AttachmentId (string) –

    [REQUIRED]

    The ID of the attachment to apply the routing policy label to.

  • RoutingPolicyLabel (string) –

    [REQUIRED]

    The routing policy label to apply to the attachment.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'CoreNetworkId': 'string',
    'AttachmentId': 'string',
    'RoutingPolicyLabel': 'string'
}

Response Structure

  • (dict) –

    • CoreNetworkId (string) –

      The ID of the core network containing the attachment.

    • AttachmentId (string) –

      The ID of the attachment that received the routing policy label.

    • RoutingPolicyLabel (string) –

      The routing policy label that was applied to the attachment.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.ServiceQuotaExceededException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.ConflictException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException