ManagedintegrationsforIoTDeviceManagement / Client / create_credential_locker
create_credential_locker#
- ManagedintegrationsforIoTDeviceManagement.Client.create_credential_locker(**kwargs)#
Create a product credential locker. This operation will trigger the creation of all the manufacturing resources including the Wi-Fi setup key pair and device certificate.
See also: AWS API Documentation
Request Syntax
response = client.create_credential_locker( Name='string', ClientToken='string', Tags={ 'string': 'string' } )
- Parameters:
Name (string) – The name of the credential locker.
ClientToken (string) –
An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.
This field is autopopulated if not provided.
Tags (dict) –
A set of key/value pairs that are used to manage the credential locker.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Id': 'string', 'Arn': 'string', 'CreatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
Id (string) –
The identifier of the credential locker creation request.
Arn (string) –
The Amazon Resource Name (ARN) of the credential locker.
CreatedAt (datetime) –
The timestamp value of when the credential locker request occurred.
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceQuotaExceededException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceUnavailableException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException