NetworkManager / Client / get_core_network_change_set

get_core_network_change_set#

NetworkManager.Client.get_core_network_change_set(**kwargs)#

Returns a change set between the LIVE core network policy and a submitted policy.

See also: AWS API Documentation

Request Syntax

response = client.get_core_network_change_set(
    CoreNetworkId='string',
    PolicyVersionId=123,
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • CoreNetworkId (string) –

    [REQUIRED]

    The ID of a core network.

  • PolicyVersionId (integer) –

    [REQUIRED]

    The ID of the policy version.

  • MaxResults (integer) – The maximum number of results to return.

  • NextToken (string) – The token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'CoreNetworkChanges': [
        {
            'Type': 'CORE_NETWORK_SEGMENT'|'CORE_NETWORK_EDGE'|'ATTACHMENT_MAPPING'|'ATTACHMENT_ROUTE_PROPAGATION'|'ATTACHMENT_ROUTE_STATIC'|'CORE_NETWORK_CONFIGURATION'|'SEGMENTS_CONFIGURATION'|'SEGMENT_ACTIONS_CONFIGURATION'|'ATTACHMENT_POLICIES_CONFIGURATION',
            'Action': 'ADD'|'MODIFY'|'REMOVE',
            'Identifier': 'string',
            'PreviousValues': {
                'SegmentName': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'Asn': 123,
                'Cidr': 'string',
                'DestinationIdentifier': 'string',
                'InsideCidrBlocks': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
            'NewValues': {
                'SegmentName': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'Asn': 123,
                'Cidr': 'string',
                'DestinationIdentifier': 'string',
                'InsideCidrBlocks': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
            'IdentifierPath': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • CoreNetworkChanges (list) –

      Describes a core network changes.

      • (dict) –

        Details describing a core network change.

        • Type (string) –

          The type of change.

        • Action (string) –

          The action to take for a core network.

        • Identifier (string) –

          The resource identifier.

        • PreviousValues (dict) –

          The previous values for a core network.

          • SegmentName (string) –

            The names of the segments in a core network.

          • EdgeLocations (list) –

            The Regions where edges are located in a core network.

            • (string) –

          • Asn (integer) –

            The ASN of a core network.

          • Cidr (string) –

            The IP addresses used for a core network.

          • DestinationIdentifier (string) –

            The ID of the destination.

          • InsideCidrBlocks (list) –

            The inside IP addresses used for core network change values.

            • (string) –

          • SharedSegments (list) –

            The shared segments for a core network change value.

            • (string) –

        • NewValues (dict) –

          The new value for a core network

          • SegmentName (string) –

            The names of the segments in a core network.

          • EdgeLocations (list) –

            The Regions where edges are located in a core network.

            • (string) –

          • Asn (integer) –

            The ASN of a core network.

          • Cidr (string) –

            The IP addresses used for a core network.

          • DestinationIdentifier (string) –

            The ID of the destination.

          • InsideCidrBlocks (list) –

            The inside IP addresses used for core network change values.

            • (string) –

          • SharedSegments (list) –

            The shared segments for a core network change value.

            • (string) –

        • IdentifierPath (string) –

          Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment".

    • NextToken (string) –

      The token for the next page of results.

Exceptions