Connect / Client / associate_security_key
associate_security_key#
- Connect.Client.associate_security_key(**kwargs)#
This API is in preview release for Amazon Connect and is subject to change.
Associates a security key to the instance.
See also: AWS API Documentation
Request Syntax
response = client.associate_security_key( InstanceId='string', Key='string' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Key (string) –
[REQUIRED]
A valid security key in PEM format.
- Return type:
dict
- Returns:
Response Syntax
{ 'AssociationId': 'string' }
Response Structure
(dict) –
AssociationId (string) –
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Exceptions
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ResourceConflictException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ServiceQuotaExceededException
Connect.Client.exceptions.ThrottlingException