NetworkManager / Client / list_context_stores
list_context_stores¶
- NetworkManager.Client.list_context_stores(**kwargs)¶
Returns the context stores in your account. You can optionally return only the context stores in a specific global network.
See also: AWS API Documentation
Request Syntax
response = client.list_context_stores( GlobalNetworkId='string', MaxResults=123, NextToken='string' )
- Parameters:
GlobalNetworkId (string) – The ID of a global network. If you specify this parameter, only the context stores in the global network are returned.
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
{ 'ContextStores': [ { 'GlobalNetworkId': 'string', 'ContextStoreId': 'string', 'ContextStoreArn': 'string', 'Description': 'string', 'CreatedAt': datetime(2015, 1, 1), 'State': 'PENDING'|'AVAILABLE'|'UPDATING'|'DELETING'|'DELETED', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }, ], 'NextToken': 'string' }
Response Structure
(dict) –
ContextStores (list) –
The context stores.
(dict) –
Describes a 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.
NextToken (string) –
The token for the next page of results.
Exceptions
NetworkManager.Client.exceptions.ValidationExceptionNetworkManager.Client.exceptions.AccessDeniedExceptionNetworkManager.Client.exceptions.ResourceNotFoundExceptionNetworkManager.Client.exceptions.ThrottlingExceptionNetworkManager.Client.exceptions.InternalServerException