NetworkManager / Client / update_sse_connect

update_sse_connect

NetworkManager.Client.update_sse_connect(**kwargs)

Updates the description or the Regions of an SSE connect. Specify at least one of Description or SseRegions. You can’t change the SSE provider. The SSE connect must be in the AVAILABLE state.

You can’t remove a Region while a core network is attached to the SSE connect in that Region. Update the core network attachment first.

See also: AWS API Documentation

Request Syntax

response = client.update_sse_connect(
    SseConnectId='string',
    SseRegions=[
        'string',
    ],
    Description='string',
    DryRun=True|False
)
Parameters:
  • SseConnectId (string) –

    [REQUIRED]

    The ID of the SSE connect to update.

  • SseRegions (list) –

    The complete list of Regions where the SSE connect peers with the SSE provider. This list replaces the current Regions. You must specify at least two Regions, and the SSE provider must be available in each Region. If you omit this parameter, the Regions are unchanged.

    • (string) –

  • Description (string) – The new description of the SSE connect. If you omit this parameter, the description is unchanged.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

Return type:

dict

Returns:

Response Syntax

{
    'SseConnect': {
        'SseConnectId': 'string',
        'SseConnectArn': 'string',
        'Description': 'string',
        'SseRegions': [
            {
                'RegionName': 'string',
                'PeerHealthStatus': 'HEALTHY'|'UNHEALTHY'
            },
        ],
        'AttachmentRegions': [
            {
                'RegionName': 'string'
            },
        ],
        'SseVendor': 'string',
        'State': 'CREATING'|'AVAILABLE'|'UPDATING'|'FAILED'|'DELETING'|'DELETED',
        'PartnerLinkStatus': 'PENDING'|'LINKED'|'NOT_LINKED',
        'CreatedAt': datetime(2015, 1, 1),
        'UpdatedAt': datetime(2015, 1, 1),
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • SseConnect (dict) –

      Information about the SSE connect.

      • SseConnectId (string) –

        The ID of the SSE connect.

      • SseConnectArn (string) –

        The ARN of the SSE connect.

      • Description (string) –

        The description of the SSE connect.

      • SseRegions (list) –

        The Regions where the SSE connect peers with the SSE provider, and the peer health in each Region.

        • (dict) –

          Describes a Region where an SSE connect peers with the SSE provider.

          • RegionName (string) –

            The name of the Region.

          • PeerHealthStatus (string) –

            The health of the connection between the SSE connect and the SSE provider in the Region.

      • AttachmentRegions (list) –

        The Regions where the SSE connect has attachments.

        • (dict) –

          Describes a Region where an SSE connect has attachments.

          • RegionName (string) –

            The name of the Region.

      • SseVendor (string) –

        The SSE provider.

      • State (string) –

        The state of the SSE connect. Valid values:

        • CREATING – The SSE connect is being created.

        • AVAILABLE – The SSE connect is available for use.

        • UPDATING – An update is in progress.

        • FAILED – The operation didn’t complete.

        • DELETING – The SSE connect is being deleted.

        • DELETED – The SSE connect was deleted.

      • PartnerLinkStatus (string) –

        The status of the link between the SSE connect and your account with the SSE provider. The link status is separate from the state of the SSE connect. Link the SSE connect before you add attachments.

        • PENDING – Account linking is in progress.

        • LINKED – Account linking is complete.

        • NOT_LINKED – The SSE connect isn’t linked to an account with the SSE provider.

      • CreatedAt (datetime) –

        The timestamp when the SSE connect was created.

      • UpdatedAt (datetime) –

        The timestamp when the SSE connect was last updated.

      • Tags (list) –

        The tags associated with the SSE connect.

        • (dict) –

          Describes a tag.

          • Key (string) –

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) –

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions