ManagedintegrationsforIoTDeviceManagement / Client / register_account_association
register_account_association¶
- ManagedintegrationsforIoTDeviceManagement.Client.register_account_association(**kwargs)¶
Registers an account association with a managed thing, establishing a connection between a device and a third-party account.
See also: AWS API Documentation
Request Syntax
response = client.register_account_association( ManagedThingId='string', AccountAssociationId='string', DeviceDiscoveryId='string' )
- Parameters:
ManagedThingId (string) –
[REQUIRED]
The identifier of the managed thing to register with the account association.
AccountAssociationId (string) –
[REQUIRED]
The identifier of the account association to register with the managed thing.
DeviceDiscoveryId (string) –
[REQUIRED]
The identifier of the device discovery job associated with this registration.
- Return type:
dict
- Returns:
Response Syntax
{ 'AccountAssociationId': 'string', 'DeviceDiscoveryId': 'string', 'ManagedThingId': 'string' }
Response Structure
(dict) –
AccountAssociationId (string) –
The identifier of the account association that was registered.
DeviceDiscoveryId (string) –
The identifier of the device discovery job associated with this registration.
ManagedThingId (string) –
The identifier of the managed thing that was registered with the account association.
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException