Connect.Client.
list_security_keys
(**kwargs)¶This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all security keys associated with the instance.
See also: AWS API Documentation
Request Syntax
response = client.list_security_keys(
InstanceId='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
dict
Response Syntax
{
'SecurityKeys': [
{
'AssociationId': 'string',
'Key': 'string',
'CreationTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecurityKeys (list) --
The security keys.
(dict) --
Configuration information of the security key.
AssociationId (string) --
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Key (string) --
The key of the security key.
CreationTime (datetime) --
When the security key was created.
NextToken (string) --
If there are additional results, this is the token for the next set of results.
Exceptions
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ThrottlingException