NetworkManager / Client / update_context_store

update_context_store

NetworkManager.Client.update_context_store(**kwargs)

Updates the description of a context store. The context store must be in the AVAILABLE state.

See also: AWS API Documentation

Request Syntax

response = client.update_context_store(
    ContextStoreId='string',
    Description='string'
)
Parameters:
  • ContextStoreId (string) –

    [REQUIRED]

    The ID of the context store.

  • Description (string) –

    The new description of the context store.

    Constraints: Maximum length of 256 characters. Only printable ASCII characters are allowed.

Return type:

dict

Returns:

Response Syntax

{
    'ContextStore': {
        'GlobalNetworkId': 'string',
        'ContextStoreId': 'string',
        'ContextStoreArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'UPDATING'|'DELETING'|'DELETED',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • ContextStore (dict) –

      Information about the context store.

      • GlobalNetworkId (string) –

        The ID of the global network that the context store belongs to.

      • ContextStoreId (string) –

        The ID of the context store.

      • ContextStoreArn (string) –

        The Amazon Resource Name (ARN) of the context store.

      • Description (string) –

        The description of the context store.

      • CreatedAt (datetime) –

        The date and time that the context store was created.

      • State (string) –

        The state of the context store. The possible values are the following:

        • PENDING: The context store is being created.

        • AVAILABLE: The context store is ready to use.

        • UPDATING: The context store is being updated.

        • DELETING: The context store is being deleted.

        • DELETED: The context store is deleted.

      • Tags (list) –

        The tags associated with the context store.

        • (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

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.ConflictException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException