SDK for PHP 3.x

Client: Aws\IoTManagedIntegrations\IoTManagedIntegrationsClient
Service ID: iot-managed-integrations
Version: 2025-03-03

This page describes the parameters and results for the operations of the Managed integrations for AWS IoT Device Management (2025-03-03), and shows how to use the Aws\IoTManagedIntegrations\IoTManagedIntegrationsClient object to call the described operations. This documentation is specific to the 2025-03-03 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

CreateAccountAssociation ( array $params = [] )
Creates a new account association via the destination id.
CreateCloudConnector ( array $params = [] )
Creates a C2C (cloud-to-cloud) connector.
CreateConnectorDestination ( array $params = [] )
Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.
CreateCredentialLocker ( array $params = [] )
Create a product credential locker.
CreateDestination ( array $params = [] )
Create a destination.
CreateEventLogConfiguration ( array $params = [] )
Set the event log configuration for the account, resource type, or specific resource.
CreateManagedThing ( array $params = [] )
Creates a managed thing.
CreateNotificationConfiguration ( array $params = [] )
Creates a notification configuration.
CreateOtaTask ( array $params = [] )
Create an over-the-air (OTA) task to update a device.
CreateOtaTaskConfiguration ( array $params = [] )
Create a configuraiton for the over-the-air (OTA) task.
CreateProvisioningProfile ( array $params = [] )
Create a provisioning profile for a device to execute the provisioning flows using a provisioning template.
DeleteAccountAssociation ( array $params = [] )
Remove a third party account and related devices from an end user.
DeleteCloudConnector ( array $params = [] )
Delete a cloud connector.
DeleteConnectorDestination ( array $params = [] )
Delete a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.
DeleteCredentialLocker ( array $params = [] )
Delete a credential locker.
DeleteDestination ( array $params = [] )
Deletes a customer-managed destination specified by id.
DeleteEventLogConfiguration ( array $params = [] )
Delete an event log configuration.
DeleteManagedThing ( array $params = [] )
Delete a managed thing.
DeleteNotificationConfiguration ( array $params = [] )
Deletes a notification configuration.
DeleteOtaTask ( array $params = [] )
Delete the over-the-air (OTA) task.
DeleteOtaTaskConfiguration ( array $params = [] )
Delete the over-the-air (OTA) task configuration.
DeleteProvisioningProfile ( array $params = [] )
Delete a provisioning profile.
DeregisterAccountAssociation ( array $params = [] )
Deregisters an account association, removing the connection between a managed thing and a third-party account.
GetAccountAssociation ( array $params = [] )
Get an account association for an Amazon Web Services account linked to a customer-managed destination.
GetCloudConnector ( array $params = [] )
Gets all the information about a connector for a connector developer.
GetConnectorDestination ( array $params = [] )
Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a customer's Amazon Web Services account.
GetCredentialLocker ( array $params = [] )
Get information on an existing credential locker
GetCustomEndpoint ( array $params = [] )
Returns the IoT managed integrations custom endpoint.
GetDefaultEncryptionConfiguration ( array $params = [] )
Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region.
GetDestination ( array $params = [] )
Gets a destination by ID.
GetDeviceDiscovery ( array $params = [] )
Get the current state of a device discovery.
GetEventLogConfiguration ( array $params = [] )
Get an event log configuration.
GetHubConfiguration ( array $params = [] )
Get a hub configuration.
GetManagedThing ( array $params = [] )
Get the attributes and capabilities associated with a managed thing.
GetManagedThingCapabilities ( array $params = [] )
Get the capabilities for a managed thing using the device ID.
GetManagedThingConnectivityData ( array $params = [] )
Get the connectivity status of a managed thing.
GetManagedThingMetaData ( array $params = [] )
Get the metadata information for a managed thing.
GetManagedThingState ( array $params = [] )
Returns the managed thing state for the given device Id.
GetNotificationConfiguration ( array $params = [] )
Get a notification configuration.
GetOtaTask ( array $params = [] )
Get the over-the-air (OTA) task.
GetOtaTaskConfiguration ( array $params = [] )
Get a configuraiton for the over-the-air (OTA) task.
GetProvisioningProfile ( array $params = [] )
Get a provisioning profile by template name.
GetRuntimeLogConfiguration ( array $params = [] )
Get the runtime log configuration for a specific managed thing or for all managed things as a group.
GetSchemaVersion ( array $params = [] )
Gets a schema version with the provided information.
ListAccountAssociations ( array $params = [] )
Lists all account associations, with optional filtering by connector destination ID.
ListCloudConnectors ( array $params = [] )
Returns a list of connectors based on permissions.
ListConnectorDestinations ( array $params = [] )
Lists all connector destinations, with optional filtering by cloud connector ID.
ListCredentialLockers ( array $params = [] )
List information on an existing credential locker.
ListDestinations ( array $params = [] )
List all destination names under one Amazon Web Services account.
ListDeviceDiscoveries ( array $params = [] )
Lists all device discovery tasks, with optional filtering by type and status.
ListDiscoveredDevices ( array $params = [] )
Lists all devices discovered during a specific device discovery task.
ListEventLogConfigurations ( array $params = [] )
List all event log configurations for an account.
ListManagedThingAccountAssociations ( array $params = [] )
Lists all account associations for a specific managed thing.
ListManagedThingSchemas ( array $params = [] )
List schemas associated with a managed thing.
ListManagedThings ( array $params = [] )
Listing all managed things with provision for filters.
ListNotificationConfigurations ( array $params = [] )
List all notification configurations.
ListOtaTaskConfigurations ( array $params = [] )
List all of the over-the-air (OTA) task configurations.
ListOtaTaskExecutions ( array $params = [] )
List all of the over-the-air (OTA) task executions.
ListOtaTasks ( array $params = [] )
List all of the over-the-air (OTA) tasks.
ListProvisioningProfiles ( array $params = [] )
List the provisioning profiles within the Amazon Web Services account.
ListSchemaVersions ( array $params = [] )
Lists schema versions with the provided information.
ListTagsForResource ( array $params = [] )
List tags for the specified resource.
PutDefaultEncryptionConfiguration ( array $params = [] )
Sets the default encryption configuration for the Amazon Web Services account.
PutHubConfiguration ( array $params = [] )
Update a hub configuration.
PutRuntimeLogConfiguration ( array $params = [] )
Set the runtime log configuration for a specific managed thing or for all managed things as a group.
RegisterAccountAssociation ( array $params = [] )
Registers an account association with a managed thing, establishing a connection between a device and a third-party account.
RegisterCustomEndpoint ( array $params = [] )
Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain.
ResetRuntimeLogConfiguration ( array $params = [] )
Reset a runtime log configuration for a specific managed thing or for all managed things as a group.
SendConnectorEvent ( array $params = [] )
Relays third-party device events for a connector such as a new device or a device state change event.
SendManagedThingCommand ( array $params = [] )
Send the command to the device represented by the managed thing.
StartAccountAssociationRefresh ( array $params = [] )
Initiates a refresh of an existing account association to update its authorization and connection status.
StartDeviceDiscovery ( array $params = [] )
This API is used to start device discovery for hub-connected and third-party-connected devices.
TagResource ( array $params = [] )
Add tags for the specified resource.
UntagResource ( array $params = [] )
Remove tags for the specified resource.
UpdateAccountAssociation ( array $params = [] )
Updates the properties of an existing account association.
UpdateCloudConnector ( array $params = [] )
Update an existing cloud connector.
UpdateConnectorDestination ( array $params = [] )
Updates the properties of an existing connector destination.
UpdateDestination ( array $params = [] )
Update a destination specified by id.
UpdateEventLogConfiguration ( array $params = [] )
Update an event log configuration by log configuration ID.
UpdateManagedThing ( array $params = [] )
Update the attributes and capabilities associated with a managed thing.
UpdateNotificationConfiguration ( array $params = [] )
Update a notification configuration.
UpdateOtaTask ( array $params = [] )
Update an over-the-air (OTA) task.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListAccountAssociations
ListCloudConnectors
ListConnectorDestinations
ListCredentialLockers
ListDestinations
ListDeviceDiscoveries
ListDiscoveredDevices
ListEventLogConfigurations
ListManagedThingAccountAssociations
ListManagedThingSchemas
ListManagedThings
ListNotificationConfigurations
ListOtaTaskConfigurations
ListOtaTaskExecutions
ListOtaTasks
ListProvisioningProfiles
ListSchemaVersions

Operations

CreateAccountAssociation

$result = $client->createAccountAssociation([/* ... */]);
$promise = $client->createAccountAssociationAsync([/* ... */]);

Creates a new account association via the destination id.

Parameter Syntax

$result = $client->createAccountAssociation([
    'ClientToken' => '<string>',
    'ConnectorDestinationId' => '<string>', // REQUIRED
    'Description' => '<string>',
    'Name' => '<string>',
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
ClientToken
Type: 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.

ConnectorDestinationId
Required: Yes
Type: string

The identifier of the connector destination.

Description
Type: string

A description of the account association request.

Name
Type: string

The name of the destination for the new account association.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the account association.

Result Syntax

[
    'AccountAssociationId' => '<string>',
    'Arn' => '<string>',
    'AssociationState' => 'ASSOCIATION_IN_PROGRESS|ASSOCIATION_FAILED|ASSOCIATION_SUCCEEDED|ASSOCIATION_DELETING|REFRESH_TOKEN_EXPIRED',
    'OAuthAuthorizationUrl' => '<string>',
]

Result Details

Members
AccountAssociationId
Required: Yes
Type: string

The identifier for the account association request.

Arn
Type: string

The Amazon Resource Name (ARN) of the account association.

AssociationState
Required: Yes
Type: string

The current state of the account association request.

OAuthAuthorizationUrl
Required: Yes
Type: string

Third-party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

CreateCloudConnector

$result = $client->createCloudConnector([/* ... */]);
$promise = $client->createCloudConnectorAsync([/* ... */]);

Creates a C2C (cloud-to-cloud) connector.

Parameter Syntax

$result = $client->createCloudConnector([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'EndpointConfig' => [ // REQUIRED
        'lambda' => [
            'arn' => '<string>', // REQUIRED
        ],
    ],
    'EndpointType' => 'LAMBDA',
    'Name' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientToken
Type: 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.

Description
Type: string

A description of the C2C connector.

EndpointConfig
Required: Yes
Type: EndpointConfig structure

The configuration details for the cloud connector endpoint, including connection parameters and authentication requirements.

EndpointType
Type: string

The type of endpoint used for the cloud connector, which defines how the connector communicates with external services.

Name
Required: Yes
Type: string

The display name of the C2C connector.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
Type: string

The unique identifier assigned to the newly created cloud connector.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: CreateCloudConnector happy path for TP Link
$result = $client->createCloudConnector([
    'ClientToken' => '1234567890',
    'EndpointConfig' => [
        'lambda' => [
            'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion',
        ],
    ],
    'EndpointType' => 'LAMBDA',
    'Name' => 'Connector for TP Link Cloud',
]);

Result syntax:

[
    'Id' => 'TPLinkConnector1211',
]
Example 2: CreateCloudConnector happy path for Ring
$result = $client->createCloudConnector([
    'ClientToken' => '12312321',
    'EndpointConfig' => [
        'lambda' => [
            'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion',
        ],
    ],
    'EndpointType' => 'LAMBDA',
    'Name' => 'Connector for Ring Cloud',
]);

Result syntax:

[
    'Id' => 'RingConnector1212',
]
Example 3: CreateCloudConnector error path for Ring connector which already exists
$result = $client->createCloudConnector([
    'ClientToken' => '1213123123',
    'EndpointConfig' => [
        'lambda' => [
            'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion2',
        ],
    ],
    'EndpointType' => 'LAMBDA',
    'Name' => 'Connector for Ring Cloud',
]);

CreateConnectorDestination

$result = $client->createConnectorDestination([/* ... */]);
$promise = $client->createConnectorDestinationAsync([/* ... */]);

Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.

Parameter Syntax

$result = $client->createConnectorDestination([
    'AuthConfig' => [ // REQUIRED
        'oAuth' => [
            'authUrl' => '<string>', // REQUIRED
            'oAuthCompleteRedirectUrl' => '<string>',
            'proactiveRefreshTokenRenewal' => [
                'DaysBeforeRenewal' => <integer>,
                'enabled' => true || false,
            ],
            'scope' => '<string>',
            'tokenEndpointAuthenticationScheme' => 'HTTP_BASIC|REQUEST_BODY_CREDENTIALS', // REQUIRED
            'tokenUrl' => '<string>', // REQUIRED
        ],
    ],
    'AuthType' => 'OAUTH', // REQUIRED
    'ClientToken' => '<string>',
    'CloudConnectorId' => '<string>', // REQUIRED
    'Description' => '<string>',
    'Name' => '<string>',
    'SecretsManager' => [ // REQUIRED
        'arn' => '<string>', // REQUIRED
        'versionId' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
AuthConfig
Required: Yes
Type: AuthConfig structure

The authentication configuration details for the connector destination, including OAuth settings and other authentication parameters.

AuthType
Required: Yes
Type: string

The authentication type used for the connector destination, which determines how credentials and access are managed.

ClientToken
Type: 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.

CloudConnectorId
Required: Yes
Type: string

The identifier of the C2C connector.

Description
Type: string

A description of the connector destination.

Name
Type: string

The display name of the connector destination.

SecretsManager
Required: Yes
Type: SecretsManager structure

The AWS Secrets Manager configuration used to securely store and manage sensitive information for the connector destination.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
Type: string

The identifier of the C2C connector destination creation request.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

CreateCredentialLocker

$result = $client->createCredentialLocker([/* ... */]);
$promise = $client->createCredentialLockerAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createCredentialLocker([
    'ClientToken' => '<string>',
    'Name' => '<string>',
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
ClientToken
Type: 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.

Name
Type: string

The name of the credential locker.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the credential locker.

Result Syntax

[
    'Arn' => '<string>',
    'CreatedAt' => <DateTime>,
    'Id' => '<string>',
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the credential locker.

CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the credential locker request occurred.

Id
Type: string

The identifier of the credential locker creation request.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceQuotaExceededException:

The service quota has been exceeded for this request.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

CreateDestination

$result = $client->createDestination([/* ... */]);
$promise = $client->createDestinationAsync([/* ... */]);

Create a destination. IoT managed integrations uses the destination to determine where to deliver notifications for a device.

Parameter Syntax

$result = $client->createDestination([
    'ClientToken' => '<string>',
    'DeliveryDestinationArn' => '<string>', // REQUIRED
    'DeliveryDestinationType' => 'KINESIS', // REQUIRED
    'Description' => '<string>',
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
ClientToken
Type: 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.

DeliveryDestinationArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the customer-managed destination.

DeliveryDestinationType
Required: Yes
Type: string

The destination type for the customer-managed destination.

Description
Type: string

The description of the customer-managed destination.

Name
Required: Yes
Type: string

The name of the customer-managed destination.

RoleArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the delivery destination role.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the destination.

Result Syntax

[
    'Name' => '<string>',
]

Result Details

Members
Name
Type: string

The name of the customer-managed destination.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

CreateEventLogConfiguration

$result = $client->createEventLogConfiguration([/* ... */]);
$promise = $client->createEventLogConfigurationAsync([/* ... */]);

Set the event log configuration for the account, resource type, or specific resource.

Parameter Syntax

$result = $client->createEventLogConfiguration([
    'ClientToken' => '<string>',
    'EventLogLevel' => 'DEBUG|ERROR|INFO|WARN', // REQUIRED
    'ResourceId' => '<string>',
    'ResourceType' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientToken
Type: 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.

EventLogLevel
Required: Yes
Type: string

The logging level for the event log configuration.

ResourceId
Type: string

The identifier of the resource for the event log configuration.

ResourceType
Required: Yes
Type: string

The type of resource for the event log configuration.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
Type: string

The identifier of the event log configuration request.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceQuotaExceededException:

The service quota has been exceeded for this request.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

CreateManagedThing

$result = $client->createManagedThing([/* ... */]);
$promise = $client->createManagedThingAsync([/* ... */]);

Creates a managed thing. A managed thing contains the device identifier, protocol supported, and capabilities of the device in a protocol-specific format.

Parameter Syntax

$result = $client->createManagedThing([
    'AuthenticationMaterial' => '<string>', // REQUIRED
    'AuthenticationMaterialType' => 'CUSTOM_PROTOCOL_QR_BAR_CODE|WIFI_SETUP_QR_BAR_CODE|ZWAVE_QR_BAR_CODE|ZIGBEE_QR_BAR_CODE|DISCOVERED_DEVICE', // REQUIRED
    'Brand' => '<string>',
    'Capabilities' => '<string>',
    'CapabilityReport' => [
        'endpoints' => [ // REQUIRED
            [
                'capabilities' => [ // REQUIRED
                    [
                        'actions' => ['<string>', ...], // REQUIRED
                        'events' => ['<string>', ...], // REQUIRED
                        'id' => '<string>', // REQUIRED
                        'name' => '<string>', // REQUIRED
                        'properties' => ['<string>', ...], // REQUIRED
                        'version' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'deviceTypes' => ['<string>', ...], // REQUIRED
                'id' => '<string>', // REQUIRED
            ],
            // ...
        ],
        'nodeId' => '<string>',
        'version' => '<string>', // REQUIRED
    ],
    'CapabilitySchemas' => [
        [
            'CapabilityId' => '<string>', // REQUIRED
            'ExtrinsicId' => '<string>', // REQUIRED
            'ExtrinsicVersion' => <integer>, // REQUIRED
            'Format' => 'AWS|ZCL|CONNECTOR', // REQUIRED
            'Schema' => [ // REQUIRED
            ],
        ],
        // ...
    ],
    'Classification' => '<string>',
    'ClientToken' => '<string>',
    'CredentialLockerId' => '<string>',
    'MetaData' => ['<string>', ...],
    'Model' => '<string>',
    'Name' => '<string>',
    'Owner' => '<string>',
    'Role' => 'CONTROLLER|DEVICE', // REQUIRED
    'SerialNumber' => '<string>',
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
AuthenticationMaterial
Required: Yes
Type: string

The authentication material defining the device connectivity setup requests. The authentication materials used are the device bar code.

AuthenticationMaterialType
Required: Yes
Type: string

The type of authentication material used for device connectivity setup requests.

Brand
Type: string

The brand of the device.

Capabilities
Type: string

The capabilities of the device such as light bulb.

CapabilityReport
Type: CapabilityReport structure

A report of the capabilities for the managed thing.

CapabilitySchemas
Type: Array of CapabilitySchemaItem structures

The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.

Classification
Type: string

The classification of the managed thing such as light bulb or thermostat.

ClientToken
Type: 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.

CredentialLockerId
Type: string

The identifier of the credential for the managed thing.

MetaData
Type: Associative array of custom strings keys (AttributeName) to strings

The metadata for the managed thing.

The managedThing metadata parameter is used for associating attributes with a managedThing that can be used for grouping over-the-air (OTA) tasks. Name value pairs in metadata can be used in the OtaTargetQueryString parameter for the CreateOtaTask API operation.

Model
Type: string

The model of the device.

Name
Type: string

The name of the managed thing representing the physical device.

Owner
Type: string

Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.

Role
Required: Yes
Type: string

The type of device used. This will be the hub controller, cloud device, or AWS IoT device.

SerialNumber
Type: string

The serial number of the device.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the managed thing.

Result Syntax

[
    'Arn' => '<string>',
    'CreatedAt' => <DateTime>,
    'Id' => '<string>',
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the managed thing.

CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the device creation request occurred.

Id
Type: string

The id of the managed thing.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

CreateNotificationConfiguration

$result = $client->createNotificationConfiguration([/* ... */]);
$promise = $client->createNotificationConfigurationAsync([/* ... */]);

Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created.

Parameter Syntax

$result = $client->createNotificationConfiguration([
    'ClientToken' => '<string>',
    'DestinationName' => '<string>', // REQUIRED
    'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT', // REQUIRED
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
ClientToken
Type: 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.

DestinationName
Required: Yes
Type: string

The name of the destination for the notification configuration.

EventType
Required: Yes
Type: string

The type of event triggering a device notification to the customer-managed destination.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the notification configuration.

Result Syntax

[
    'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT',
]

Result Details

Members
EventType
Type: string

The type of event triggering a device notification to the customer-managed destination.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

CreateOtaTask

$result = $client->createOtaTask([/* ... */]);
$promise = $client->createOtaTaskAsync([/* ... */]);

Create an over-the-air (OTA) task to update a device.

Parameter Syntax

$result = $client->createOtaTask([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'OtaMechanism' => 'PUSH',
    'OtaSchedulingConfig' => [
        'EndBehavior' => 'STOP_ROLLOUT|CANCEL|FORCE_CANCEL',
        'EndTime' => '<string>',
        'MaintenanceWindows' => [
            [
                'DurationInMinutes' => <integer>,
                'StartTime' => '<string>',
            ],
            // ...
        ],
        'StartTime' => '<string>',
    ],
    'OtaTargetQueryString' => '<string>',
    'OtaTaskExecutionRetryConfig' => [
        'RetryConfigCriteria' => [
            [
                'FailureType' => 'FAILED|TIMED_OUT|ALL',
                'MinNumberOfRetries' => <integer>,
            ],
            // ...
        ],
    ],
    'OtaType' => 'ONE_TIME|CONTINUOUS', // REQUIRED
    'Protocol' => 'HTTP',
    'S3Url' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...],
    'Target' => ['<string>', ...],
    'TaskConfigurationId' => '<string>',
]);

Parameter Details

Members
ClientToken
Type: 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.

Description
Type: string

The description of the over-the-air (OTA) task.

OtaMechanism
Type: string

The deployment mechanism for the over-the-air (OTA) task.

OtaSchedulingConfig
Type: OtaTaskSchedulingConfig structure

Over-the-air (OTA) task scheduling config.

OtaTargetQueryString
Type: string

The query string to add things to the thing group.

OtaTaskExecutionRetryConfig
Type: OtaTaskExecutionRetryConfig structure

Over-the-air (OTA) task retry config.

OtaType
Required: Yes
Type: string

The frequency type for the over-the-air (OTA) task.

Protocol
Type: string

The connection protocol the over-the-air (OTA) task uses to update the device.

S3Url
Required: Yes
Type: string

The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the over-the-air (OTA) task.

Target
Type: Array of strings

The device targeted for the over-the-air (OTA) task.

TaskConfigurationId
Type: string

The identifier for the over-the-air (OTA) task configuration.

Result Syntax

[
    'Description' => '<string>',
    'TaskArn' => '<string>',
    'TaskId' => '<string>',
]

Result Details

Members
Description
Type: string

A description of the over-the-air (OTA) task.

TaskArn
Type: string

The Amazon Resource Name (ARN) of the over-the-air (OTA) task.

TaskId
Type: string

The identifier of the over-the-air (OTA) task.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

CreateOtaTaskConfiguration

$result = $client->createOtaTaskConfiguration([/* ... */]);
$promise = $client->createOtaTaskConfigurationAsync([/* ... */]);

Create a configuraiton for the over-the-air (OTA) task.

Parameter Syntax

$result = $client->createOtaTaskConfiguration([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'Name' => '<string>',
    'PushConfig' => [
        'AbortConfig' => [
            'AbortConfigCriteriaList' => [
                [
                    'Action' => 'CANCEL',
                    'FailureType' => 'FAILED|REJECTED|TIMED_OUT|ALL',
                    'MinNumberOfExecutedThings' => <integer>,
                    'ThresholdPercentage' => <float>,
                ],
                // ...
            ],
        ],
        'RolloutConfig' => [
            'ExponentialRolloutRate' => [
                'BaseRatePerMinute' => <integer>,
                'IncrementFactor' => <float>,
                'RateIncreaseCriteria' => [
                    'numberOfNotifiedThings' => <integer>,
                    'numberOfSucceededThings' => <integer>,
                ],
            ],
            'MaximumPerMinute' => <integer>,
        ],
        'TimeoutConfig' => [
            'InProgressTimeoutInMinutes' => <integer>,
        ],
    ],
]);

Parameter Details

Members
ClientToken
Type: 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.

Description
Type: string

A description of the over-the-air (OTA) task configuration.

Name
Type: string

The name of the over-the-air (OTA) task.

PushConfig
Type: PushConfig structure

Describes the type of configuration used for the over-the-air (OTA) task.

Result Syntax

[
    'TaskConfigurationId' => '<string>',
]

Result Details

Members
TaskConfigurationId
Type: string

The identifier of the over-the-air (OTA) task configuration.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

CreateProvisioningProfile

$result = $client->createProvisioningProfile([/* ... */]);
$promise = $client->createProvisioningProfileAsync([/* ... */]);

Create a provisioning profile for a device to execute the provisioning flows using a provisioning template. The provisioning template is a document that defines the set of resources and policies applied to a device during the provisioning process.

Parameter Syntax

$result = $client->createProvisioningProfile([
    'CaCertificate' => '<string>',
    'ClientToken' => '<string>',
    'Name' => '<string>',
    'ProvisioningType' => 'FLEET_PROVISIONING|JITR', // REQUIRED
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
CaCertificate
Type: string

The id of the certificate authority (CA) certificate.

ClientToken
Type: 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.

Name
Type: string

The name of the provisioning template.

ProvisioningType
Required: Yes
Type: string

The type of provisioning workflow the device uses for onboarding to IoT managed integrations.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the provisioning profile.

Result Syntax

[
    'Arn' => '<string>',
    'ClaimCertificate' => '<string>',
    'ClaimCertificatePrivateKey' => '<string>',
    'Id' => '<string>',
    'Name' => '<string>',
    'ProvisioningType' => 'FLEET_PROVISIONING|JITR',
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the provisioning template used in the provisioning profile.

ClaimCertificate
Type: string

The id of the claim certificate.

ClaimCertificatePrivateKey
Type: string

The private key of the claim certificate. This is stored securely on the device for validating the connection endpoint with IoT managed integrations using the public key.

Id
Type: string

The identifier of the provisioning profile.

Name
Type: string

The name of the provisioning template.

ProvisioningType
Type: string

The type of provisioning workflow the device uses for onboarding to IoT managed integrations.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

DeleteAccountAssociation

$result = $client->deleteAccountAssociation([/* ... */]);
$promise = $client->deleteAccountAssociationAsync([/* ... */]);

Remove a third party account and related devices from an end user.

Parameter Syntax

$result = $client->deleteAccountAssociation([
    'AccountAssociationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the account association to be deleted.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteCloudConnector

$result = $client->deleteCloudConnector([/* ... */]);
$promise = $client->deleteCloudConnectorAsync([/* ... */]);

Delete a cloud connector.

Parameter Syntax

$result = $client->deleteCloudConnector([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the cloud connector.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteConnectorDestination

$result = $client->deleteConnectorDestination([/* ... */]);
$promise = $client->deleteConnectorDestinationAsync([/* ... */]);

Delete a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.

Parameter Syntax

$result = $client->deleteConnectorDestination([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the connector destination.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteCredentialLocker

$result = $client->deleteCredentialLocker([/* ... */]);
$promise = $client->deleteCredentialLockerAsync([/* ... */]);

Delete a credential locker.

This operation can't be undone and any existing device won't be able to use IoT managed integrations.

Parameter Syntax

$result = $client->deleteCredentialLocker([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the credential locker.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteDestination

$result = $client->deleteDestination([/* ... */]);
$promise = $client->deleteDestinationAsync([/* ... */]);

Deletes a customer-managed destination specified by id.

Parameter Syntax

$result = $client->deleteDestination([
    'Name' => '<string>', // REQUIRED
]);

Parameter Details

Members
Name
Required: Yes
Type: string

The id of the customer-managed destination.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteEventLogConfiguration

$result = $client->deleteEventLogConfiguration([/* ... */]);
$promise = $client->deleteEventLogConfigurationAsync([/* ... */]);

Delete an event log configuration.

Parameter Syntax

$result = $client->deleteEventLogConfiguration([
    'Id' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
Required: Yes
Type: string

The identifier of the event log configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteManagedThing

$result = $client->deleteManagedThing([/* ... */]);
$promise = $client->deleteManagedThingAsync([/* ... */]);

Delete a managed thing. If a controller is deleted, all of the devices connected to it will have their status changed to PENDING. It is not possible to remove a cloud device.

Parameter Syntax

$result = $client->deleteManagedThing([
    'Force' => true || false,
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Force
Type: boolean

When set to TRUE, a forceful deteletion of the managed thing will occur. When set to FALSE, a non-forceful deletion of the managed thing will occur.

Identifier
Required: Yes
Type: string

The id of the managed thing.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteNotificationConfiguration

$result = $client->deleteNotificationConfiguration([/* ... */]);
$promise = $client->deleteNotificationConfigurationAsync([/* ... */]);

Deletes a notification configuration.

Parameter Syntax

$result = $client->deleteNotificationConfiguration([
    'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT', // REQUIRED
]);

Parameter Details

Members
EventType
Required: Yes
Type: string

The type of event triggering a device notification to the customer-managed destination.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteOtaTask

$result = $client->deleteOtaTask([/* ... */]);
$promise = $client->deleteOtaTaskAsync([/* ... */]);

Delete the over-the-air (OTA) task.

Parameter Syntax

$result = $client->deleteOtaTask([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the over-the-air (OTA) task.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

LimitExceededException:

The request exceeds a service limit or quota. Adjust your request parameters and try again.

DeleteOtaTaskConfiguration

$result = $client->deleteOtaTaskConfiguration([/* ... */]);
$promise = $client->deleteOtaTaskConfigurationAsync([/* ... */]);

Delete the over-the-air (OTA) task configuration.

Parameter Syntax

$result = $client->deleteOtaTaskConfiguration([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the over-the-air (OTA) task configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeleteProvisioningProfile

$result = $client->deleteProvisioningProfile([/* ... */]);
$promise = $client->deleteProvisioningProfileAsync([/* ... */]);

Delete a provisioning profile.

Parameter Syntax

$result = $client->deleteProvisioningProfile([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The name of the provisioning template.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

DeregisterAccountAssociation

$result = $client->deregisterAccountAssociation([/* ... */]);
$promise = $client->deregisterAccountAssociationAsync([/* ... */]);

Deregisters an account association, removing the connection between a managed thing and a third-party account.

Parameter Syntax

$result = $client->deregisterAccountAssociation([
    'AccountAssociationId' => '<string>', // REQUIRED
    'ManagedThingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the account association to be deregistered.

ManagedThingId
Required: Yes
Type: string

The identifier of the managed thing to be deregistered from the account association.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

GetAccountAssociation

$result = $client->getAccountAssociation([/* ... */]);
$promise = $client->getAccountAssociationAsync([/* ... */]);

Get an account association for an Amazon Web Services account linked to a customer-managed destination.

Parameter Syntax

$result = $client->getAccountAssociation([
    'AccountAssociationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the account association to retrieve.

Result Syntax

[
    'AccountAssociationId' => '<string>',
    'Arn' => '<string>',
    'AssociationState' => 'ASSOCIATION_IN_PROGRESS|ASSOCIATION_FAILED|ASSOCIATION_SUCCEEDED|ASSOCIATION_DELETING|REFRESH_TOKEN_EXPIRED',
    'ConnectorDestinationId' => '<string>',
    'Description' => '<string>',
    'ErrorMessage' => '<string>',
    'Name' => '<string>',
    'OAuthAuthorizationUrl' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the retrieved account association.

Arn
Type: string

The Amazon Resource Name (ARN) of the account association.

AssociationState
Required: Yes
Type: string

The current status state for the account association.

ConnectorDestinationId
Type: string

The identifier of the connector destination associated with this account association.

Description
Type: string

The description of the account association.

ErrorMessage
Type: string

The error message explaining the current account association error.

Name
Type: string

The name of the account association.

OAuthAuthorizationUrl
Required: Yes
Type: string

Third party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the account association.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetCloudConnector

$result = $client->getCloudConnector([/* ... */]);
$promise = $client->getCloudConnectorAsync([/* ... */]);

Gets all the information about a connector for a connector developer.

Parameter Syntax

$result = $client->getCloudConnector([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the C2C connector.

Result Syntax

[
    'Description' => '<string>',
    'EndpointConfig' => [
        'lambda' => [
            'arn' => '<string>',
        ],
    ],
    'EndpointType' => 'LAMBDA',
    'Id' => '<string>',
    'Name' => '<string>',
    'Type' => 'LISTED|UNLISTED',
]

Result Details

Members
Description
Type: string

A description of the C2C connector.

EndpointConfig
Required: Yes
Type: EndpointConfig structure

The configuration details for the cloud connector endpoint, including connection parameters and authentication requirements.

EndpointType
Type: string

The type of endpoint used for the cloud connector, which defines how the connector communicates with external services.

Id
Type: string

The unique identifier of the cloud connector.

Name
Required: Yes
Type: string

The display name of the C2C connector.

Type
Type: string

The type of cloud connector created.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: GetCloudConnector happy path for TP Link to get connector resource
$result = $client->getCloudConnector([
    'Identifier' => '123456789012',
]);

Result syntax:

[
    'EndpointConfig' => [
        'lambda' => [
            'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion',
        ],
    ],
    'EndpointType' => 'LAMBDA',
    'Id' => '123456789012',
    'Name' => 'Connector for TP Link Cloud V2',
]
Example 2: GetCloudConnector happy path for Ring to pending status
$result = $client->getCloudConnector([
    'Identifier' => '123456789012',
]);

Result syntax:

[
    'EndpointConfig' => [
        'lambda' => [
            'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion',
        ],
    ],
    'Name' => 'Connector for Ring Cloud',
]
Example 3: GetCloudConnector error Id for Ring connector which does not exist
$result = $client->getCloudConnector([
    'Identifier' => '123456789012',
]);

GetConnectorDestination

$result = $client->getConnectorDestination([/* ... */]);
$promise = $client->getConnectorDestinationAsync([/* ... */]);

Get a connector destination of a cloud-to-cloud (C2C) connector connecting to a customer's Amazon Web Services account.

Parameter Syntax

$result = $client->getConnectorDestination([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the C2C connector destination.

Result Syntax

[
    'AuthConfig' => [
        'oAuth' => [
            'authUrl' => '<string>',
            'oAuthCompleteRedirectUrl' => '<string>',
            'proactiveRefreshTokenRenewal' => [
                'DaysBeforeRenewal' => <integer>,
                'enabled' => true || false,
            ],
            'scope' => '<string>',
            'tokenEndpointAuthenticationScheme' => 'HTTP_BASIC|REQUEST_BODY_CREDENTIALS',
            'tokenUrl' => '<string>',
        ],
    ],
    'AuthType' => 'OAUTH',
    'CloudConnectorId' => '<string>',
    'Description' => '<string>',
    'Id' => '<string>',
    'Name' => '<string>',
    'OAuthCompleteRedirectUrl' => '<string>',
    'SecretsManager' => [
        'arn' => '<string>',
        'versionId' => '<string>',
    ],
]

Result Details

Members
AuthConfig
Type: AuthConfig structure

The authentication configuration details for the connector destination, including OAuth settings and other authentication parameters.

AuthType
Type: string

The authentication type used for the connector destination, which determines how credentials and access are managed.

CloudConnectorId
Type: string

The identifier of the C2C connector.

Description
Type: string

A description of the connector destination.

Id
Type: string

The unique identifier of the connector destination.

Name
Type: string

The display name of the connector destination.

OAuthCompleteRedirectUrl
Type: string

The URL where users are redirected after completing the OAuth authorization process for the connector destination.

SecretsManager
Type: SecretsManager structure

The AWS Secrets Manager configuration used to securely store and manage sensitive information for the connector destination.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetCredentialLocker

$result = $client->getCredentialLocker([/* ... */]);
$promise = $client->getCredentialLockerAsync([/* ... */]);

Get information on an existing credential locker

Parameter Syntax

$result = $client->getCredentialLocker([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the credential locker.

Result Syntax

[
    'Arn' => '<string>',
    'CreatedAt' => <DateTime>,
    'Id' => '<string>',
    'Name' => '<string>',
    'Tags' => ['<string>', ...],
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the credential locker.

CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the credential locker requset occurred.

Id
Type: string

The identifier of the credential locker.

Name
Type: string

The name of the credential locker.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the credential locker.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetCustomEndpoint

$result = $client->getCustomEndpoint([/* ... */]);
$promise = $client->getCustomEndpointAsync([/* ... */]);

Returns the IoT managed integrations custom endpoint.

Parameter Syntax

$result = $client->getCustomEndpoint([
]);

Parameter Details

Members

Result Syntax

[
    'EndpointAddress' => '<string>',
]

Result Details

Members
EndpointAddress
Required: Yes
Type: string

The IoT managed integrations dedicated, custom endpoint for the device to route traffic through.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetDefaultEncryptionConfiguration

$result = $client->getDefaultEncryptionConfiguration([/* ... */]);
$promise = $client->getDefaultEncryptionConfigurationAsync([/* ... */]);

Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified region. For more information, see Key management in the AWS IoT SiteWise User Guide.

Parameter Syntax

$result = $client->getDefaultEncryptionConfiguration([
]);

Parameter Details

Members

Result Syntax

[
    'configurationStatus' => [
        'error' => [
            'code' => '<string>',
            'message' => '<string>',
        ],
        'state' => 'ENABLED|UPDATE_IN_PROGRESS|UPDATE_FAILED',
    ],
    'encryptionType' => 'MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION|CUSTOMER_KEY_ENCRYPTION',
    'kmsKeyArn' => '<string>',
]

Result Details

Members
configurationStatus
Required: Yes
Type: ConfigurationStatus structure

Provides the status of the default encryption configuration for an Amazon Web Services account.

encryptionType
Required: Yes
Type: string

The type of encryption used for the encryption configuration.

kmsKeyArn
Type: string

The Key Amazon Resource Name (ARN) of the AWS KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalFailureException:

An unexpected error has occurred.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetDestination

$result = $client->getDestination([/* ... */]);
$promise = $client->getDestinationAsync([/* ... */]);

Gets a destination by ID.

Parameter Syntax

$result = $client->getDestination([
    'Name' => '<string>', // REQUIRED
]);

Parameter Details

Members
Name
Required: Yes
Type: string

The name of the customer-managed destination.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'DeliveryDestinationArn' => '<string>',
    'DeliveryDestinationType' => 'KINESIS',
    'Description' => '<string>',
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'Tags' => ['<string>', ...],
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the destination creation requset occurred.

DeliveryDestinationArn
Type: string

The Amazon Resource Name (ARN) of the customer-managed destination.

DeliveryDestinationType
Type: string

The destination type for the customer-managed destination.

Description
Type: string

The description of the customer-managed destination.

Name
Type: string

The name of the customer-managed destination.

RoleArn
Type: string

The Amazon Resource Name (ARN) of the delivery destination role.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the customer-managed destination.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the destination update requset occurred.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetDeviceDiscovery

$result = $client->getDeviceDiscovery([/* ... */]);
$promise = $client->getDeviceDiscoveryAsync([/* ... */]);

Get the current state of a device discovery.

Parameter Syntax

$result = $client->getDeviceDiscovery([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The id of the device discovery job request.

Result Syntax

[
    'AccountAssociationId' => '<string>',
    'Arn' => '<string>',
    'ConnectorAssociationId' => '<string>',
    'ControllerId' => '<string>',
    'DiscoveryType' => 'ZWAVE|ZIGBEE|CLOUD|CUSTOM',
    'FinishedAt' => <DateTime>,
    'Id' => '<string>',
    'StartedAt' => <DateTime>,
    'Status' => 'RUNNING|SUCCEEDED|FAILED|TIMED_OUT',
    'Tags' => ['<string>', ...],
]

Result Details

Members
AccountAssociationId
Type: string

The identifier of the account association used for the device discovery.

Arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the device discovery job request.

ConnectorAssociationId
Type: string

The ID tracking the current discovery process for one connector association.

ControllerId
Type: string

The id of the end-user's IoT hub.

DiscoveryType
Required: Yes
Type: string

The discovery type supporting the type of device to be discovered in the device discovery job request.

FinishedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value for the completion time of the device discovery.

Id
Required: Yes
Type: string

The id of the device discovery job request.

StartedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value for the start time of the device discovery.

Status
Required: Yes
Type: string

The status of the device discovery job request.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the device discovery request.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetEventLogConfiguration

$result = $client->getEventLogConfiguration([/* ... */]);
$promise = $client->getEventLogConfigurationAsync([/* ... */]);

Get an event log configuration.

Parameter Syntax

$result = $client->getEventLogConfiguration([
    'Id' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
Required: Yes
Type: string

The identifier of the event log configuration.

Result Syntax

[
    'EventLogLevel' => 'DEBUG|ERROR|INFO|WARN',
    'Id' => '<string>',
    'ResourceId' => '<string>',
    'ResourceType' => '<string>',
]

Result Details

Members
EventLogLevel
Type: string

The logging level for the event log configuration.

Id
Type: string

The identifier of the event log configuration.

ResourceId
Type: string

The identifier of the resource for the event log configuration.

ResourceType
Type: string

The type of resource for the event log configuration.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetHubConfiguration

$result = $client->getHubConfiguration([/* ... */]);
$promise = $client->getHubConfigurationAsync([/* ... */]);

Get a hub configuration.

Parameter Syntax

$result = $client->getHubConfiguration([
]);

Parameter Details

Members

Result Syntax

[
    'HubTokenTimerExpirySettingInSeconds' => <integer>,
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
HubTokenTimerExpirySettingInSeconds
Type: long (int|float)

A user-defined integer value that represents the hub token timer expiry setting in seconds.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the hub configuration was updated.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetManagedThing

$result = $client->getManagedThing([/* ... */]);
$promise = $client->getManagedThingAsync([/* ... */]);

Get the attributes and capabilities associated with a managed thing.

Parameter Syntax

$result = $client->getManagedThing([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The id of the managed thing.

Result Syntax

[
    'ActivatedAt' => <DateTime>,
    'AdvertisedProductId' => '<string>',
    'Arn' => '<string>',
    'Brand' => '<string>',
    'Classification' => '<string>',
    'ConnectorDestinationId' => '<string>',
    'ConnectorDeviceId' => '<string>',
    'ConnectorPolicyId' => '<string>',
    'CreatedAt' => <DateTime>,
    'CredentialLockerId' => '<string>',
    'DeviceSpecificKey' => '<string>',
    'HubNetworkMode' => 'STANDARD|NETWORK_WIDE_EXCLUSION',
    'Id' => '<string>',
    'InternationalArticleNumber' => '<string>',
    'MacAddress' => '<string>',
    'MetaData' => ['<string>', ...],
    'Model' => '<string>',
    'Name' => '<string>',
    'Owner' => '<string>',
    'ParentControllerId' => '<string>',
    'ProvisioningStatus' => 'UNASSOCIATED|PRE_ASSOCIATED|DISCOVERED|ACTIVATED|DELETION_FAILED|DELETE_IN_PROGRESS|ISOLATED|DELETED',
    'Role' => 'CONTROLLER|DEVICE',
    'SerialNumber' => '<string>',
    'Tags' => ['<string>', ...],
    'UniversalProductCode' => '<string>',
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
ActivatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestampe value of when the device was activated.

AdvertisedProductId
Type: string

The id of the advertised product.

Arn
Type: string

The Amazon Resource Name (ARN) of the managed thing.

Brand
Type: string

The brand of the device.

Classification
Type: string

The classification of the managed thing such as light bulb or thermostat.

ConnectorDestinationId
Type: string

The identifier of the connector destination associated with this managed thing.

ConnectorDeviceId
Type: string

The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).

This parameter is used for cloud-to-cloud devices only.

ConnectorPolicyId
Type: string

The id of the connector policy.

This parameter is used for cloud-to-cloud devices only.

CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the device creation request occurred.

CredentialLockerId
Type: string

The identifier of the credential locker for the managed thing.

DeviceSpecificKey
Type: string

A Zwave device-specific key used during device activation.

This parameter is used for Zwave devices only.

HubNetworkMode
Type: string

The network mode for the hub-connected device.

Id
Type: string

The id of the managed thing.

InternationalArticleNumber
Type: string

The unique 13 digit number that identifies the managed thing.

MacAddress
Type: string

The media access control (MAC) address for the device represented by the managed thing.

This parameter is used for Zigbee devices only.

MetaData
Type: Associative array of custom strings keys (AttributeName) to strings

The metadata for the managed thing.

Model
Type: string

The model of the device.

Name
Type: string

The name of the managed thing representing the physical device.

Owner
Type: string

Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.

ParentControllerId
Type: string

Id of the controller device used for the discovery job.

ProvisioningStatus
Type: string

The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations.

Role
Type: string

The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.

SerialNumber
Type: string

The serial number of the device.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the managed thing.

UniversalProductCode
Type: string

The universal product code (UPC) of the device model. The UPC is typically used in the United States of America and Canada.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the managed thing was last updated at.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetManagedThingCapabilities

$result = $client->getManagedThingCapabilities([/* ... */]);
$promise = $client->getManagedThingCapabilitiesAsync([/* ... */]);

Get the capabilities for a managed thing using the device ID.

Parameter Syntax

$result = $client->getManagedThingCapabilities([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The id of the device.

Result Syntax

[
    'Capabilities' => '<string>',
    'CapabilityReport' => [
        'endpoints' => [
            [
                'capabilities' => [
                    [
                        'actions' => ['<string>', ...],
                        'events' => ['<string>', ...],
                        'id' => '<string>',
                        'name' => '<string>',
                        'properties' => ['<string>', ...],
                        'version' => '<string>',
                    ],
                    // ...
                ],
                'deviceTypes' => ['<string>', ...],
                'id' => '<string>',
            ],
            // ...
        ],
        'nodeId' => '<string>',
        'version' => '<string>',
    ],
    'ManagedThingId' => '<string>',
]

Result Details

Members
Capabilities
Type: string

The capabilities of the device such as light bulb.

CapabilityReport
Type: CapabilityReport structure

A report of the capabilities for the managed thing.

ManagedThingId
Type: string

The id of the device.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetManagedThingConnectivityData

$result = $client->getManagedThingConnectivityData([/* ... */]);
$promise = $client->getManagedThingConnectivityDataAsync([/* ... */]);

Get the connectivity status of a managed thing.

Parameter Syntax

$result = $client->getManagedThingConnectivityData([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of a managed thing.

Result Syntax

[
    'Connected' => true || false,
    'DisconnectReason' => 'AUTH_ERROR|CLIENT_INITIATED_DISCONNECT|CLIENT_ERROR|CONNECTION_LOST|DUPLICATE_CLIENTID|FORBIDDEN_ACCESS|MQTT_KEEP_ALIVE_TIMEOUT|SERVER_ERROR|SERVER_INITIATED_DISCONNECT|THROTTLED|WEBSOCKET_TTL_EXPIRATION|CUSTOMAUTH_TTL_EXPIRATION|UNKNOWN|NONE',
    'ManagedThingId' => '<string>',
    'Timestamp' => <DateTime>,
]

Result Details

Members
Connected
Type: boolean

The connectivity status for a managed thing.

DisconnectReason
Type: string

The reason for the connectivity disconnect with the managed thing.

ManagedThingId
Type: string

The id of a managed thing.

Timestamp
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the connectivity status for a managed thing was last taken.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetManagedThingMetaData

$result = $client->getManagedThingMetaData([/* ... */]);
$promise = $client->getManagedThingMetaDataAsync([/* ... */]);

Get the metadata information for a managed thing.

The managedThing metadata parameter is used for associating attributes with a managedThing that can be used for grouping over-the-air (OTA) tasks. Name value pairs in metadata can be used in the OtaTargetQueryString parameter for the CreateOtaTask API operation.

Parameter Syntax

$result = $client->getManagedThingMetaData([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The managed thing id.

Result Syntax

[
    'ManagedThingId' => '<string>',
    'MetaData' => ['<string>', ...],
]

Result Details

Members
ManagedThingId
Type: string

The managed thing id.

MetaData
Type: Associative array of custom strings keys (AttributeName) to strings

The metadata for the managed thing.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetManagedThingState

$result = $client->getManagedThingState([/* ... */]);
$promise = $client->getManagedThingStateAsync([/* ... */]);

Returns the managed thing state for the given device Id.

Parameter Syntax

$result = $client->getManagedThingState([
    'ManagedThingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ManagedThingId
Required: Yes
Type: string

The id of the device.

Result Syntax

[
    'Endpoints' => [
        [
            'capabilities' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                    'properties' => [
                    ],
                    'version' => '<string>',
                ],
                // ...
            ],
            'endpointId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
Endpoints
Required: Yes
Type: Array of StateEndpoint structures

The device endpoint.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalFailureException:

An unexpected error has occurred.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetNotificationConfiguration

$result = $client->getNotificationConfiguration([/* ... */]);
$promise = $client->getNotificationConfigurationAsync([/* ... */]);

Get a notification configuration.

Parameter Syntax

$result = $client->getNotificationConfiguration([
    'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT', // REQUIRED
]);

Parameter Details

Members
EventType
Required: Yes
Type: string

The type of event triggering a device notification to the customer-managed destination.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'DestinationName' => '<string>',
    'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT',
    'Tags' => ['<string>', ...],
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the notification configuration was created.

DestinationName
Type: string

The name of the destination for the notification configuration.

EventType
Type: string

The type of event triggering a device notification to the customer-managed destination.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the notification configuration.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the notification configuration was last updated.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetOtaTask

$result = $client->getOtaTask([/* ... */]);
$promise = $client->getOtaTaskAsync([/* ... */]);

Get the over-the-air (OTA) task.

Parameter Syntax

$result = $client->getOtaTask([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The over-the-air (OTA) task id.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'LastUpdatedAt' => <DateTime>,
    'OtaMechanism' => 'PUSH',
    'OtaSchedulingConfig' => [
        'EndBehavior' => 'STOP_ROLLOUT|CANCEL|FORCE_CANCEL',
        'EndTime' => '<string>',
        'MaintenanceWindows' => [
            [
                'DurationInMinutes' => <integer>,
                'StartTime' => '<string>',
            ],
            // ...
        ],
        'StartTime' => '<string>',
    ],
    'OtaTargetQueryString' => '<string>',
    'OtaTaskExecutionRetryConfig' => [
        'RetryConfigCriteria' => [
            [
                'FailureType' => 'FAILED|TIMED_OUT|ALL',
                'MinNumberOfRetries' => <integer>,
            ],
            // ...
        ],
    ],
    'OtaType' => 'ONE_TIME|CONTINUOUS',
    'Protocol' => 'HTTP',
    'S3Url' => '<string>',
    'Status' => 'IN_PROGRESS|CANCELED|COMPLETED|DELETION_IN_PROGRESS|SCHEDULED',
    'Tags' => ['<string>', ...],
    'Target' => ['<string>', ...],
    'TaskArn' => '<string>',
    'TaskConfigurationId' => '<string>',
    'TaskId' => '<string>',
    'TaskProcessingDetails' => [
        'NumberOfCanceledThings' => <integer>,
        'NumberOfFailedThings' => <integer>,
        'NumberOfInProgressThings' => <integer>,
        'numberOfQueuedThings' => <integer>,
        'numberOfRejectedThings' => <integer>,
        'numberOfRemovedThings' => <integer>,
        'numberOfSucceededThings' => <integer>,
        'numberOfTimedOutThings' => <integer>,
        'processingTargets' => ['<string>', ...],
    ],
]

Result Details

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task was created.

Description
Type: string

The description of the over-the-air (OTA) task.

LastUpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task was last updated at.

OtaMechanism
Type: string

The deployment mechanism for the over-the-air (OTA) task.

OtaSchedulingConfig
Type: OtaTaskSchedulingConfig structure

Over-the-air (OTA) task scheduling config.

OtaTargetQueryString
Type: string

The query string to add things to the thing group.

OtaTaskExecutionRetryConfig
Type: OtaTaskExecutionRetryConfig structure

Over-the-air (OTA) task retry config.

OtaType
Type: string

The frequency type for the over-the-air (OTA) task.

Protocol
Type: string

The connection protocol the over-the-air (OTA) task uses to update the device.

S3Url
Type: string

The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.

Status
Type: string

The status of the over-the-air (OTA) task.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the over-the-air (OTA) task.

Target
Type: Array of strings

The device targeted for the over-the-air (OTA) task.

TaskArn
Type: string

The Amazon Resource Name (ARN) of the over-the-air (OTA) task

TaskConfigurationId
Type: string

The identifier for the over-the-air (OTA) task configuration.

TaskId
Type: string

The id of the over-the-air (OTA) task.

TaskProcessingDetails
Type: TaskProcessingDetails structure

The processing details of all over-the-air (OTA) tasks.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetOtaTaskConfiguration

$result = $client->getOtaTaskConfiguration([/* ... */]);
$promise = $client->getOtaTaskConfigurationAsync([/* ... */]);

Get a configuraiton for the over-the-air (OTA) task.

Parameter Syntax

$result = $client->getOtaTaskConfiguration([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The over-the-air (OTA) task configuration id.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'Name' => '<string>',
    'PushConfig' => [
        'AbortConfig' => [
            'AbortConfigCriteriaList' => [
                [
                    'Action' => 'CANCEL',
                    'FailureType' => 'FAILED|REJECTED|TIMED_OUT|ALL',
                    'MinNumberOfExecutedThings' => <integer>,
                    'ThresholdPercentage' => <float>,
                ],
                // ...
            ],
        ],
        'RolloutConfig' => [
            'ExponentialRolloutRate' => [
                'BaseRatePerMinute' => <integer>,
                'IncrementFactor' => <float>,
                'RateIncreaseCriteria' => [
                    'numberOfNotifiedThings' => <integer>,
                    'numberOfSucceededThings' => <integer>,
                ],
            ],
            'MaximumPerMinute' => <integer>,
        ],
        'TimeoutConfig' => [
            'InProgressTimeoutInMinutes' => <integer>,
        ],
    ],
    'TaskConfigurationId' => '<string>',
]

Result Details

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task configuration was created at.

Description
Type: string

A description of the over-the-air (OTA) task configuration.

Name
Type: string

The name of the over-the-air (OTA) task configuration.

PushConfig
Type: PushConfig structure

Describes the type of configuration used for the over-the-air (OTA) task.

TaskConfigurationId
Type: string

The over-the-air (OTA) task configuration id.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetProvisioningProfile

$result = $client->getProvisioningProfile([/* ... */]);
$promise = $client->getProvisioningProfileAsync([/* ... */]);

Get a provisioning profile by template name.

Parameter Syntax

$result = $client->getProvisioningProfile([
    'Identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The provisioning template the device uses for the provisioning process.

Result Syntax

[
    'Arn' => '<string>',
    'ClaimCertificate' => '<string>',
    'Id' => '<string>',
    'Name' => '<string>',
    'ProvisioningType' => 'FLEET_PROVISIONING|JITR',
    'Tags' => ['<string>', ...],
]

Result Details

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the provisioning template used in the provisioning profile.

ClaimCertificate
Type: string

The id of the claim certificate.

Id
Type: string

The provisioning profile id..

Name
Type: string

The name of the provisioning template.

ProvisioningType
Type: string

The type of provisioning workflow the device uses for onboarding to IoT managed integrations.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the provisioning profile.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetRuntimeLogConfiguration

$result = $client->getRuntimeLogConfiguration([/* ... */]);
$promise = $client->getRuntimeLogConfigurationAsync([/* ... */]);

Get the runtime log configuration for a specific managed thing or for all managed things as a group.

Parameter Syntax

$result = $client->getRuntimeLogConfiguration([
    'ManagedThingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ManagedThingId
Required: Yes
Type: string

The id for a managed thing.

Result Syntax

[
    'ManagedThingId' => '<string>',
    'RuntimeLogConfigurations' => [
        'DeleteLocalStoreAfterUpload' => true || false,
        'LocalStoreFileRotationMaxBytes' => <integer>,
        'LocalStoreFileRotationMaxFiles' => <integer>,
        'LocalStoreLocation' => '<string>',
        'LogFlushLevel' => 'DEBUG|ERROR|INFO|WARN',
        'LogLevel' => 'DEBUG|ERROR|INFO|WARN',
        'UploadLog' => true || false,
        'UploadPeriodMinutes' => <integer>,
    ],
]

Result Details

Members
ManagedThingId
Type: string

The id for a managed thing.

RuntimeLogConfigurations
Type: RuntimeLogConfigurations structure

The runtime log configuration for a managed thing.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

GetSchemaVersion

$result = $client->getSchemaVersion([/* ... */]);
$promise = $client->getSchemaVersionAsync([/* ... */]);

Gets a schema version with the provided information.

Parameter Syntax

$result = $client->getSchemaVersion([
    'Format' => 'AWS|ZCL|CONNECTOR',
    'SchemaVersionedId' => '<string>', // REQUIRED
    'Type' => 'capability|definition', // REQUIRED
]);

Parameter Details

Members
Format
Type: string

The format of the schema version.

SchemaVersionedId
Required: Yes
Type: string

Schema id with a version specified. If the version is missing, it defaults to latest version.

Type
Required: Yes
Type: string

The type of schema version.

Result Syntax

[
    'Description' => '<string>',
    'Namespace' => '<string>',
    'Schema' => [
    ],
    'SchemaId' => '<string>',
    'SemanticVersion' => '<string>',
    'Type' => 'capability|definition',
    'Visibility' => 'PUBLIC|PRIVATE',
]

Result Details

Members
Description
Type: string

The description of the schema version.

Namespace
Type: string

The name of the schema version.

Schema
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The schema of the schema version.

SchemaId
Type: string

The id of the schema version.

SemanticVersion
Type: string

The schema version. If this is left blank, it defaults to the latest version.

Type
Type: string

The type of schema version.

Visibility
Type: string

The visibility of the schema version.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: GetSchemaVersion happy path for an example schema version.
$result = $client->getSchemaVersion([
    'SchemaVersionedId' => 'matter.ColorControl@1.4',
    'Type' => 'capability',
]);

Result syntax:

[
    'Description' => 'The Color Control cluster defined as Harmony Capability.',
    'Namespace' => 'matter',
    'Schema' => [
    ],
    'SchemaId' => 'matter.ColorControl',
    'SemanticVersion' => '1.4',
    'Type' => 'capability',
]
Example 2: GetSchemaVersion happy path for an example schema version.
$result = $client->getSchemaVersion([
    'Format' => 'ZCL',
    'SchemaVersionedId' => 'matter.ColorControl@1.4',
    'Type' => 'capability',
]);

Result syntax:

[
    'Description' => 'The Color Control cluster defined as Harmony Capability.',
    'Namespace' => 'matter',
    'Schema' => [
    ],
    'SchemaId' => 'matter.ColorControl',
    'SemanticVersion' => '1.4',
    'Type' => 'capability',
]
Example 3: GetSchemaVersion error path for an example schema version that does not exist.
$result = $client->getSchemaVersion([
    'SchemaVersionedId' => 'matter.ColorControl@$latest',
    'Type' => 'capability',
]);

ListAccountAssociations

$result = $client->listAccountAssociations([/* ... */]);
$promise = $client->listAccountAssociationsAsync([/* ... */]);

Lists all account associations, with optional filtering by connector destination ID.

Parameter Syntax

$result = $client->listAccountAssociations([
    'ConnectorDestinationId' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
ConnectorDestinationId
Type: string

The identifier of the connector destination to filter account associations by.

MaxResults
Type: int

The maximum number of account associations to return in a single response.

NextToken
Type: string

A token used for pagination of results.

Result Syntax

[
    'Items' => [
        [
            'AccountAssociationId' => '<string>',
            'Arn' => '<string>',
            'AssociationState' => 'ASSOCIATION_IN_PROGRESS|ASSOCIATION_FAILED|ASSOCIATION_SUCCEEDED|ASSOCIATION_DELETING|REFRESH_TOKEN_EXPIRED',
            'ConnectorDestinationId' => '<string>',
            'Description' => '<string>',
            'ErrorMessage' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of AccountAssociationItem structures

The list of account associations that match the specified criteria.

NextToken
Type: string

A token used for pagination of results when there are more account associations than can be returned in a single response.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ListCloudConnectors

$result = $client->listCloudConnectors([/* ... */]);
$promise = $client->listCloudConnectorsAsync([/* ... */]);

Returns a list of connectors based on permissions.

Parameter Syntax

$result = $client->listCloudConnectors([
    'LambdaArn' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'Type' => 'LISTED|UNLISTED',
]);

Parameter Details

Members
LambdaArn
Type: string

The Amazon Resource Name (ARN) of the Lambda function to filter cloud connectors by.

MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Type
Type: string

The type of cloud connectors to filter by when listing available connectors.

Result Syntax

[
    'Items' => [
        [
            'Description' => '<string>',
            'EndpointConfig' => [
                'lambda' => [
                    'arn' => '<string>',
                ],
            ],
            'EndpointType' => 'LAMBDA',
            'Id' => '<string>',
            'Name' => '<string>',
            'Type' => 'LISTED|UNLISTED',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of ConnectorItem structures

The list of connectors.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: ListCloudConnectors happy path to get a list of connector resources
$result = $client->listCloudConnectors([
    'MaxResults' => 5,
]);

Result syntax:

[
    'Items' => [
        [
            'Description' => 'Description for TP Link Cloud V2',
            'EndpointConfig' => [
                'lambda' => [
                    'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion',
                ],
            ],
            'EndpointType' => 'LAMBDA',
            'Name' => 'Connector for TP Link Cloud V2',
        ],
        [
            'Description' => 'Description for Ring Cloud',
            'EndpointConfig' => [
                'lambda' => [
                    'arn' => 'arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion',
                ],
            ],
            'EndpointType' => 'LAMBDA',
            'Name' => 'Connector for Ring Cloud',
        ],
    ],
]
Example 2: ListCloudConnectors error path for unauthorized user
$result = $client->listCloudConnectors([
    'MaxResults' => 5,
]);

ListConnectorDestinations

$result = $client->listConnectorDestinations([/* ... */]);
$promise = $client->listConnectorDestinationsAsync([/* ... */]);

Lists all connector destinations, with optional filtering by cloud connector ID.

Parameter Syntax

$result = $client->listConnectorDestinations([
    'CloudConnectorId' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
CloudConnectorId
Type: string

The identifier of the cloud connector to filter connector destinations by.

MaxResults
Type: int

The maximum number of connector destinations to return in a single response.

NextToken
Type: string

A token used for pagination of results.

Result Syntax

[
    'ConnectorDestinationList' => [
        [
            'CloudConnectorId' => '<string>',
            'Description' => '<string>',
            'Id' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
ConnectorDestinationList
Type: Array of ConnectorDestinationSummary structures

The list of connector destinations that match the specified criteria.

NextToken
Type: string

A token used for pagination of results when there are more connector destinations than can be returned in a single response.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ListCredentialLockers

$result = $client->listCredentialLockers([/* ... */]);
$promise = $client->listCredentialLockersAsync([/* ... */]);

List information on an existing credential locker.

Parameter Syntax

$result = $client->listCredentialLockers([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'Items' => [
        [
            'Arn' => '<string>',
            'CreatedAt' => <DateTime>,
            'Id' => '<string>',
            'Name' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of CredentialLockerSummary structures

The list of credential lockers.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ListDestinations

$result = $client->listDestinations([/* ... */]);
$promise = $client->listDestinationsAsync([/* ... */]);

List all destination names under one Amazon Web Services account.

Parameter Syntax

$result = $client->listDestinations([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'DestinationList' => [
        [
            'DeliveryDestinationArn' => '<string>',
            'DeliveryDestinationType' => 'KINESIS',
            'Description' => '<string>',
            'Name' => '<string>',
            'RoleArn' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
DestinationList
Type: Array of DestinationSummary structures

The list of destinations.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ListDeviceDiscoveries

$result = $client->listDeviceDiscoveries([/* ... */]);
$promise = $client->listDeviceDiscoveriesAsync([/* ... */]);

Lists all device discovery tasks, with optional filtering by type and status.

Parameter Syntax

$result = $client->listDeviceDiscoveries([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'StatusFilter' => 'RUNNING|SUCCEEDED|FAILED|TIMED_OUT',
    'TypeFilter' => 'ZWAVE|ZIGBEE|CLOUD|CUSTOM',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of device discovery jobs to return in a single response.

NextToken
Type: string

A token used for pagination of results.

StatusFilter
Type: string

The status to filter device discovery jobs by.

TypeFilter
Type: string

The discovery type to filter device discovery jobs by.

Result Syntax

[
    'Items' => [
        [
            'DiscoveryType' => 'ZWAVE|ZIGBEE|CLOUD|CUSTOM',
            'Id' => '<string>',
            'Status' => 'RUNNING|SUCCEEDED|FAILED|TIMED_OUT',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of DeviceDiscoverySummary structures

The list of device discovery jobs that match the specified criteria.

NextToken
Type: string

A token used for pagination of results when there are more device discovery jobs than can be returned in a single response.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ListDiscoveredDevices

$result = $client->listDiscoveredDevices([/* ... */]);
$promise = $client->listDiscoveredDevicesAsync([/* ... */]);

Lists all devices discovered during a specific device discovery task.

Parameter Syntax

$result = $client->listDiscoveredDevices([
    'Identifier' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The identifier of the device discovery job to list discovered devices for.

MaxResults
Type: int

The maximum number of discovered devices to return in a single response.

NextToken
Type: string

A token used for pagination of results.

Result Syntax

[
    'Items' => [
        [
            'AuthenticationMaterial' => '<string>',
            'Brand' => '<string>',
            'ConnectorDeviceId' => '<string>',
            'ConnectorDeviceName' => '<string>',
            'DeviceTypes' => ['<string>', ...],
            'DiscoveredAt' => <DateTime>,
            'ManagedThingId' => '<string>',
            'Model' => '<string>',
            'Modification' => 'DISCOVERED|UPDATED|NO_CHANGE',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of DiscoveredDeviceSummary structures

The list of discovered devices that match the specified criteria.

NextToken
Type: string

A token used for pagination of results when there are more discovered devices than can be returned in a single response.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

ListEventLogConfigurations

$result = $client->listEventLogConfigurations([/* ... */]);
$promise = $client->listEventLogConfigurationsAsync([/* ... */]);

List all event log configurations for an account.

Parameter Syntax

$result = $client->listEventLogConfigurations([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'EventLogConfigurationList' => [
        [
            'EventLogLevel' => 'DEBUG|ERROR|INFO|WARN',
            'Id' => '<string>',
            'ResourceId' => '<string>',
            'ResourceType' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
EventLogConfigurationList
Type: Array of EventLogConfigurationSummary structures

A list of each event log configuration and pertinent information.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ListManagedThingAccountAssociations

$result = $client->listManagedThingAccountAssociations([/* ... */]);
$promise = $client->listManagedThingAccountAssociationsAsync([/* ... */]);

Lists all account associations for a specific managed thing.

Parameter Syntax

$result = $client->listManagedThingAccountAssociations([
    'AccountAssociationId' => '<string>',
    'ManagedThingId' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
AccountAssociationId
Type: string

The identifier of the account association to filter results by. When specified, only associations with this account association ID will be returned.

ManagedThingId
Type: string

The identifier of the managed thing to list account associations for.

MaxResults
Type: int

The maximum number of account associations to return in a single response.

NextToken
Type: string

A token used for pagination of results.

Result Syntax

[
    'Items' => [
        [
            'AccountAssociationId' => '<string>',
            'ManagedThingId' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of ManagedThingAssociation structures

The list of managed thing associations that match the specified criteria, including the managed thing ID and account association ID for each association.

NextToken
Type: string

A token used for pagination of results when there are more account associations than can be returned in a single response.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ListManagedThingSchemas

$result = $client->listManagedThingSchemas([/* ... */]);
$promise = $client->listManagedThingSchemasAsync([/* ... */]);

List schemas associated with a managed thing.

Parameter Syntax

$result = $client->listManagedThingSchemas([
    'CapabilityIdFilter' => '<string>',
    'EndpointIdFilter' => '<string>',
    'Identifier' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
CapabilityIdFilter
Type: string

Filter on a capability id.

EndpointIdFilter
Type: string

Filter on an endpoint id.

Identifier
Required: Yes
Type: string

The managed thing id.

MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'Items' => [
        [
            'CapabilityId' => '<string>',
            'EndpointId' => '<string>',
            'Schema' => [
            ],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of ManagedThingSchemaListItem structures

The list of managed thing schemas.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

ListManagedThings

$result = $client->listManagedThings([/* ... */]);
$promise = $client->listManagedThingsAsync([/* ... */]);

Listing all managed things with provision for filters.

Parameter Syntax

$result = $client->listManagedThings([
    'ConnectorDestinationIdFilter' => '<string>',
    'ConnectorDeviceIdFilter' => '<string>',
    'ConnectorPolicyIdFilter' => '<string>',
    'CredentialLockerFilter' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'OwnerFilter' => '<string>',
    'ParentControllerIdentifierFilter' => '<string>',
    'ProvisioningStatusFilter' => 'UNASSOCIATED|PRE_ASSOCIATED|DISCOVERED|ACTIVATED|DELETION_FAILED|DELETE_IN_PROGRESS|ISOLATED|DELETED',
    'RoleFilter' => 'CONTROLLER|DEVICE',
    'SerialNumberFilter' => '<string>',
]);

Parameter Details

Members
ConnectorDestinationIdFilter
Type: string

Filter managed things by the connector destination ID they are associated with.

ConnectorDeviceIdFilter
Type: string

Filter managed things by the connector device ID they are associated with. When specified, only managed things with this connector device ID will be returned.

ConnectorPolicyIdFilter
Type: string

Filter on a connector policy id for a managed thing.

CredentialLockerFilter
Type: string

Filter on a credential locker for a managed thing.

MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

OwnerFilter
Type: string

Filter on device owners when listing managed things.

ParentControllerIdentifierFilter
Type: string

Filter on a parent controller id for a managed thing.

ProvisioningStatusFilter
Type: string

Filter on the status of the device.

RoleFilter
Type: string

Filter on the type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.

SerialNumberFilter
Type: string

Filter on the serial number of the device.

Result Syntax

[
    'Items' => [
        [
            'ActivatedAt' => <DateTime>,
            'AdvertisedProductId' => '<string>',
            'Arn' => '<string>',
            'Brand' => '<string>',
            'Classification' => '<string>',
            'ConnectorDestinationId' => '<string>',
            'ConnectorDeviceId' => '<string>',
            'ConnectorPolicyId' => '<string>',
            'CreatedAt' => <DateTime>,
            'CredentialLockerId' => '<string>',
            'Id' => '<string>',
            'Model' => '<string>',
            'Name' => '<string>',
            'Owner' => '<string>',
            'ParentControllerId' => '<string>',
            'ProvisioningStatus' => 'UNASSOCIATED|PRE_ASSOCIATED|DISCOVERED|ACTIVATED|DELETION_FAILED|DELETE_IN_PROGRESS|ISOLATED|DELETED',
            'Role' => 'CONTROLLER|DEVICE',
            'SerialNumber' => '<string>',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of ManagedThingSummary structures

The list of managed things.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ListNotificationConfigurations

$result = $client->listNotificationConfigurations([/* ... */]);
$promise = $client->listNotificationConfigurationsAsync([/* ... */]);

List all notification configurations.

Parameter Syntax

$result = $client->listNotificationConfigurations([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'NextToken' => '<string>',
    'NotificationConfigurationList' => [
        [
            'DestinationName' => '<string>',
            'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

A token that can be used to retrieve the next set of results.

NotificationConfigurationList
Type: Array of NotificationConfigurationSummary structures

The list of notification configurations.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ListOtaTaskConfigurations

$result = $client->listOtaTaskConfigurations([/* ... */]);
$promise = $client->listOtaTaskConfigurationsAsync([/* ... */]);

List all of the over-the-air (OTA) task configurations.

Parameter Syntax

$result = $client->listOtaTaskConfigurations([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'Items' => [
        [
            'CreatedAt' => <DateTime>,
            'Name' => '<string>',
            'TaskConfigurationId' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of OtaTaskConfigurationSummary structures

The list of the over-the-air (OTA) task configurations.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ListOtaTaskExecutions

$result = $client->listOtaTaskExecutions([/* ... */]);
$promise = $client->listOtaTaskExecutionsAsync([/* ... */]);

List all of the over-the-air (OTA) task executions.

Parameter Syntax

$result = $client->listOtaTaskExecutions([
    'Identifier' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
Identifier
Required: Yes
Type: string

The over-the-air (OTA) task id.

MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'ExecutionSummaries' => [
        [
            'ManagedThingId' => '<string>',
            'TaskExecutionSummary' => [
                'ExecutionNumber' => <integer>,
                'LastUpdatedAt' => <DateTime>,
                'QueuedAt' => <DateTime>,
                'RetryAttempt' => <integer>,
                'StartedAt' => <DateTime>,
                'Status' => 'QUEUED|IN_PROGRESS|SUCCEEDED|FAILED|TIMED_OUT|REJECTED|REMOVED|CANCELED',
            ],
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
ExecutionSummaries
Type: Array of OtaTaskExecutionSummaries structures

A list of all of the over-the-air (OTA) task executions.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

ListOtaTasks

$result = $client->listOtaTasks([/* ... */]);
$promise = $client->listOtaTasksAsync([/* ... */]);

List all of the over-the-air (OTA) tasks.

Parameter Syntax

$result = $client->listOtaTasks([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'NextToken' => '<string>',
    'Tasks' => [
        [
            'CreatedAt' => <DateTime>,
            'LastUpdatedAt' => <DateTime>,
            'Status' => 'IN_PROGRESS|CANCELED|COMPLETED|DELETION_IN_PROGRESS|SCHEDULED',
            'TaskArn' => '<string>',
            'TaskConfigurationId' => '<string>',
            'TaskId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

A token that can be used to retrieve the next set of results.

Tasks
Type: Array of OtaTaskSummary structures

A list of all of the over-the-air (OTA) tasks.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

ListProvisioningProfiles

$result = $client->listProvisioningProfiles([/* ... */]);
$promise = $client->listProvisioningProfilesAsync([/* ... */]);

List the provisioning profiles within the Amazon Web Services account.

Parameter Syntax

$result = $client->listProvisioningProfiles([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Result Syntax

[
    'Items' => [
        [
            'Arn' => '<string>',
            'Id' => '<string>',
            'Name' => '<string>',
            'ProvisioningType' => 'FLEET_PROVISIONING|JITR',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of ProvisioningProfileSummary structures

The list of provisioning profiles.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ListSchemaVersions

$result = $client->listSchemaVersions([/* ... */]);
$promise = $client->listSchemaVersionsAsync([/* ... */]);

Lists schema versions with the provided information.

Parameter Syntax

$result = $client->listSchemaVersions([
    'MaxResults' => <integer>,
    'Namespace' => '<string>',
    'NextToken' => '<string>',
    'SchemaId' => '<string>',
    'SemanticVersion' => '<string>',
    'Type' => 'capability|definition', // REQUIRED
    'Visibility' => 'PUBLIC|PRIVATE',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return at one time.

Namespace
Type: string

Filter on the name of the schema version.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

SchemaId
Type: string

Filter on the id of the schema version.

SemanticVersion
Type: string

The schema version. If this is left blank, it defaults to the latest version.

Type
Required: Yes
Type: string

Filter on the type of schema version.

Visibility
Type: string

The visibility of the schema version.

Result Syntax

[
    'Items' => [
        [
            'Description' => '<string>',
            'Namespace' => '<string>',
            'SchemaId' => '<string>',
            'SemanticVersion' => '<string>',
            'Type' => 'capability|definition',
            'Visibility' => 'PUBLIC|PRIVATE',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Items
Type: Array of SchemaVersionListItem structures

The list of schema versions.

NextToken
Type: string

A token that can be used to retrieve the next set of results.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: ListSchemaVersions happy path for an example schema version.
$result = $client->listSchemaVersions([
    'SchemaId' => 'example.ColorControl',
    'Type' => 'capability',
]);

Result syntax:

[
    'Items' => [
        [
            'Description' => 'The Color Control cluster defined as Harmony Capability.',
            'Namespace' => 'matter',
            'SchemaId' => 'example.ColorControl',
            'SemanticVersion' => '1.4',
            'Type' => 'capability',
        ],
    ],
]
Example 2: ListSchemaVersions by version.
$result = $client->listSchemaVersions([
    'SemanticVersion' => '34.56',
    'Type' => 'capability',
]);

Result syntax:

[
    'Items' => [
        [
            'Description' => 'The Color Control cluster defined as Harmony Capability.',
            'Namespace' => 'matter',
            'SchemaId' => 'example.ColorControl',
            'SemanticVersion' => '1.4',
            'Type' => 'capability',
        ],
    ],
]
Example 3: ListSchemaVersions error for invalid input.
$result = $client->listSchemaVersions([
    'Namespace' => 'matter',
    'SchemaId' => 'example.ColorControl',
    'Type' => 'capability',
]);

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

List tags for the specified resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'ResourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

The ARN of the resource for which to list tags.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the resource.

Errors

UnauthorizedException:

You are not authorized to perform this operation.

InvalidRequestException:

The request is not valid.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

PutDefaultEncryptionConfiguration

$result = $client->putDefaultEncryptionConfiguration([/* ... */]);
$promise = $client->putDefaultEncryptionConfigurationAsync([/* ... */]);

Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the AWS IoT SiteWise User Guide.

Parameter Syntax

$result = $client->putDefaultEncryptionConfiguration([
    'encryptionType' => 'MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION|CUSTOMER_KEY_ENCRYPTION', // REQUIRED
    'kmsKeyArn' => '<string>',
]);

Parameter Details

Members
encryptionType
Required: Yes
Type: string

The type of encryption used for the encryption configuration.

kmsKeyArn
Type: string

The Key Amazon Resource Name (ARN) of the AWS KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.

Result Syntax

[
    'configurationStatus' => [
        'error' => [
            'code' => '<string>',
            'message' => '<string>',
        ],
        'state' => 'ENABLED|UPDATE_IN_PROGRESS|UPDATE_FAILED',
    ],
    'encryptionType' => 'MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION|CUSTOMER_KEY_ENCRYPTION',
    'kmsKeyArn' => '<string>',
]

Result Details

Members
configurationStatus
Required: Yes
Type: ConfigurationStatus structure

Provides the status of the default encryption configuration for an Amazon Web Services account.

encryptionType
Required: Yes
Type: string

The type of encryption used for the encryption configuration.

kmsKeyArn
Type: string

The Key Amazon Resource Name (ARN) of the AWS KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalFailureException:

An unexpected error has occurred.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

PutHubConfiguration

$result = $client->putHubConfiguration([/* ... */]);
$promise = $client->putHubConfigurationAsync([/* ... */]);

Update a hub configuration.

Parameter Syntax

$result = $client->putHubConfiguration([
    'HubTokenTimerExpirySettingInSeconds' => <integer>, // REQUIRED
]);

Parameter Details

Members
HubTokenTimerExpirySettingInSeconds
Required: Yes
Type: long (int|float)

A user-defined integer value that represents the hub token timer expiry setting in seconds.

Result Syntax

[
    'HubTokenTimerExpirySettingInSeconds' => <integer>,
]

Result Details

Members
HubTokenTimerExpirySettingInSeconds
Type: long (int|float)

A user-defined integer value that represents the hub token timer expiry setting in seconds.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

PutRuntimeLogConfiguration

$result = $client->putRuntimeLogConfiguration([/* ... */]);
$promise = $client->putRuntimeLogConfigurationAsync([/* ... */]);

Set the runtime log configuration for a specific managed thing or for all managed things as a group.

Parameter Syntax

$result = $client->putRuntimeLogConfiguration([
    'ManagedThingId' => '<string>', // REQUIRED
    'RuntimeLogConfigurations' => [ // REQUIRED
        'DeleteLocalStoreAfterUpload' => true || false,
        'LocalStoreFileRotationMaxBytes' => <integer>,
        'LocalStoreFileRotationMaxFiles' => <integer>,
        'LocalStoreLocation' => '<string>',
        'LogFlushLevel' => 'DEBUG|ERROR|INFO|WARN',
        'LogLevel' => 'DEBUG|ERROR|INFO|WARN',
        'UploadLog' => true || false,
        'UploadPeriodMinutes' => <integer>,
    ],
]);

Parameter Details

Members
ManagedThingId
Required: Yes
Type: string

The id for a managed thing.

RuntimeLogConfigurations
Required: Yes
Type: RuntimeLogConfigurations structure

The runtime log configuration for a managed thing.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

RegisterAccountAssociation

$result = $client->registerAccountAssociation([/* ... */]);
$promise = $client->registerAccountAssociationAsync([/* ... */]);

Registers an account association with a managed thing, establishing a connection between a device and a third-party account.

Parameter Syntax

$result = $client->registerAccountAssociation([
    'AccountAssociationId' => '<string>', // REQUIRED
    'DeviceDiscoveryId' => '<string>', // REQUIRED
    'ManagedThingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountAssociationId
Required: Yes
Type: string

The identifier of the account association to register with the managed thing.

DeviceDiscoveryId
Required: Yes
Type: string

The identifier of the device discovery job associated with this registration.

ManagedThingId
Required: Yes
Type: string

The identifier of the managed thing to register with the account association.

Result Syntax

[
    'AccountAssociationId' => '<string>',
    'DeviceDiscoveryId' => '<string>',
    'ManagedThingId' => '<string>',
]

Result Details

Members
AccountAssociationId
Type: string

The identifier of the account association that was registered.

DeviceDiscoveryId
Type: string

The identifier of the device discovery job associated with this registration.

ManagedThingId
Type: string

The identifier of the managed thing that was registered with the account association.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ThrottlingException:

The rate exceeds the limit.

ResourceNotFoundException:

The specified resource does not exist.

RegisterCustomEndpoint

$result = $client->registerCustomEndpoint([/* ... */]);
$promise = $client->registerCustomEndpointAsync([/* ... */]);

Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain. Returns an IoT managed integrations endpoint.

Parameter Syntax

$result = $client->registerCustomEndpoint([
]);

Parameter Details

Members

Result Syntax

[
    'EndpointAddress' => '<string>',
]

Result Details

Members
EndpointAddress
Required: Yes
Type: string

The IoT managed integrations dedicated, custom endpoint for the device to route traffic through.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ThrottlingException:

The rate exceeds the limit.

ResetRuntimeLogConfiguration

$result = $client->resetRuntimeLogConfiguration([/* ... */]);
$promise = $client->resetRuntimeLogConfigurationAsync([/* ... */]);

Reset a runtime log configuration for a specific managed thing or for all managed things as a group.

Parameter Syntax

$result = $client->resetRuntimeLogConfiguration([
    'ManagedThingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ManagedThingId
Required: Yes
Type: string

The id of a managed thing.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

SendConnectorEvent

$result = $client->sendConnectorEvent([/* ... */]);
$promise = $client->sendConnectorEventAsync([/* ... */]);

Relays third-party device events for a connector such as a new device or a device state change event.

Parameter Syntax

$result = $client->sendConnectorEvent([
    'ConnectorDeviceId' => '<string>',
    'ConnectorId' => '<string>', // REQUIRED
    'DeviceDiscoveryId' => '<string>',
    'Devices' => [
        [
            'CapabilityReport' => [ // REQUIRED
                'endpoints' => [ // REQUIRED
                    [
                        'clientClusters' => ['<string>', ...],
                        'clusters' => [ // REQUIRED
                            [
                                'attributes' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                        'value' => [
                                        ],
                                    ],
                                    // ...
                                ],
                                'commands' => ['<string>', ...],
                                'events' => ['<string>', ...],
                                'fabricIndex' => <integer>,
                                'featureMap' => <integer>,
                                'generatedCommands' => ['<string>', ...],
                                'id' => '<string>', // REQUIRED
                                'name' => '<string>',
                                'publicId' => '<string>',
                                'revision' => <integer>, // REQUIRED
                                'specVersion' => '<string>',
                            ],
                            // ...
                        ],
                        'deviceTypes' => ['<string>', ...], // REQUIRED
                        'id' => '<string>', // REQUIRED
                        'parts' => ['<string>', ...],
                        'semanticTags' => ['<string>', ...],
                    ],
                    // ...
                ],
                'nodeId' => '<string>',
                'version' => '<string>', // REQUIRED
            ],
            'CapabilitySchemas' => [
                [
                    'CapabilityId' => '<string>', // REQUIRED
                    'ExtrinsicId' => '<string>', // REQUIRED
                    'ExtrinsicVersion' => <integer>, // REQUIRED
                    'Format' => 'AWS|ZCL|CONNECTOR', // REQUIRED
                    'Schema' => [ // REQUIRED
                    ],
                ],
                // ...
            ],
            'ConnectorDeviceId' => '<string>', // REQUIRED
            'ConnectorDeviceName' => '<string>',
            'DeviceMetadata' => [
            ],
        ],
        // ...
    ],
    'MatterEndpoint' => [
        'clusters' => [
            [
                'attributes' => [
                ],
                'commands' => [
                    '<MatterCommandId>' => [
                    ],
                    // ...
                ],
                'events' => [
                    '<MatterEventId>' => [
                    ],
                    // ...
                ],
                'id' => '<string>',
            ],
            // ...
        ],
        'id' => '<string>',
    ],
    'Message' => '<string>',
    'Operation' => 'DEVICE_COMMAND_RESPONSE|DEVICE_DISCOVERY|DEVICE_EVENT|DEVICE_COMMAND_REQUEST', // REQUIRED
    'OperationVersion' => '<string>',
    'StatusCode' => <integer>,
    'TraceId' => '<string>',
    'UserId' => '<string>',
]);

Parameter Details

Members
ConnectorDeviceId
Type: string

The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).

This parameter is used for cloud-to-cloud devices only.

ConnectorId
Required: Yes
Type: string

The id of the connector between the third-party cloud provider and IoT managed integrations.

DeviceDiscoveryId
Type: string

The id for the device discovery job.

Devices
Type: Array of Device structures

The list of devices.

MatterEndpoint
Type: MatterEndpoint structure

The device endpoint.

Message
Type: string

The device state change event payload.

This parameter will include the following three fields:

  • uri: schema auc://<PARTNER-DEVICE-ID>/ResourcePath (The Resourcepath corresponds to an OCF resource.)

  • op: For device state changes, this field must populate as n+d.

  • cn: The content depends on the OCF resource referenced in ResourcePath.

Operation
Required: Yes
Type: string

The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.

The field op can have a value of "I" or "U". The field "cn" will contain the capability types.

OperationVersion
Type: string

The Open Connectivity Foundation (OCF) security specification version for the operation being requested on the managed thing. For more information, see OCF Security Specification.

StatusCode
Type: int

The status code of the Open Connectivity Foundation (OCF) operation being performed on the managed thing.

TraceId
Type: string

The trace request identifier used to correlate a command request and response. This is specified by the device owner, but will be generated by IoT managed integrations if not provided by the device owner.

UserId
Type: string

The id of the third-party cloud provider.

Result Syntax

[
    'ConnectorId' => '<string>',
]

Result Details

Members
ConnectorId
Required: Yes
Type: string

The id of the connector between the third-party cloud provider and IoT managed integrations.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: SendConnectorEvent happy path for device discovery
$result = $client->sendConnectorEvent([
    'ConnectorId' => 'MockConnectorId',
    'DeviceDiscoveryId' => '358275hbk3qr',
    'Devices' => [
        [
            'CapabilityReport' => [
                'version' => '1.0.0',
                'endpoints' => [
                    [
                        'clusters' => [
                            [
                                'attributes' => [
                                    [
                                        'value' => [
                                        ],
                                        'id' => '0x0000',
                                    ],
                                    [
                                        'id' => '0x0001',
                                    ],
                                    [
                                        'id' => '0x0002',
                                    ],
                                ],
                                'commands' => [
                                    '0x00',
                                    '0x01',
                                ],
                                'events' => [
                                ],
                                'id' => '0x0201',
                                'revision' => 1,
                            ],
                        ],
                        'deviceTypes' => [
                            'Refrigerator',
                        ],
                        'id' => 'EP1',
                    ],
                ],
                'nodeId' => '1',
            ],
            'ConnectorDeviceId' => 'Mock-Connector-DeviceId-1',
            'ConnectorDeviceName' => 'Sample-User-device-1',
        ],
    ],
    'Message' => 'Sample ConnectorEventMessage',
    'Operation' => 'DEVICE_DISCOVERY',
    'OperationVersion' => '1.0',
    'StatusCode' => 200,
    'UserId' => 'MockThirdPartyUserId',
]);

Result syntax:

[
    'ConnectorId' => 'MockConnectorId',
]
Example 2: SendConnectorEvent happy path for device command response
$result = $client->sendConnectorEvent([
    'ConnectorId' => 'MockConnectorId',
    'MatterEndpoint' => [
        'clusters' => [
            [
                'attributes' => [
                ],
                'commands' => [
                    '0x03' => [
                    ],
                ],
                'id' => '0x1003',
            ],
        ],
        'id' => '1',
    ],
    'Message' => 'Sample ConnectorEventMessage',
    'Operation' => 'DEVICE_COMMAND_RESPONSE',
    'OperationVersion' => '1.0',
    'StatusCode' => 200,
    'TraceId' => '9b75f3839b6140f=_1',
    'UserId' => 'MockThirdPartyUserId',
]);

Result syntax:

[
    'ConnectorId' => 'MockConnectorId',
]
Example 3: SendConnectorEvent happy path for device event
$result = $client->sendConnectorEvent([
    'ConnectorId' => 'MockConnectorId',
    'MatterEndpoint' => [
        'clusters' => [
            [
                'attributes' => [
                ],
                'id' => '0x1003',
            ],
        ],
        'id' => '1',
    ],
    'Message' => 'Sample ConnectorEventMessage',
    'Operation' => 'DEVICE_EVENT',
    'OperationVersion' => '1.0',
    'StatusCode' => 200,
    'TraceId' => 'TraceId-Sample',
    'UserId' => 'MockThirdPartyUserId',
]);

Result syntax:

[
    'ConnectorId' => 'MockConnectorId',
]

SendManagedThingCommand

$result = $client->sendManagedThingCommand([/* ... */]);
$promise = $client->sendManagedThingCommandAsync([/* ... */]);

Send the command to the device represented by the managed thing.

Parameter Syntax

$result = $client->sendManagedThingCommand([
    'AccountAssociationId' => '<string>',
    'ConnectorAssociationId' => '<string>',
    'Endpoints' => [ // REQUIRED
        [
            'capabilities' => [ // REQUIRED
                [
                    'actions' => [ // REQUIRED
                        [
                            'actionTraceId' => '<string>',
                            'name' => '<string>', // REQUIRED
                            'parameters' => [
                            ],
                            'ref' => '<string>',
                        ],
                        // ...
                    ],
                    'id' => '<string>', // REQUIRED
                    'name' => '<string>', // REQUIRED
                    'version' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'endpointId' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'ManagedThingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountAssociationId
Type: string

The identifier of the account association to use when sending a command to a managed thing.

ConnectorAssociationId
Type: string

The ID tracking the current discovery process for one connector association.

Endpoints
Required: Yes
Type: Array of CommandEndpoint structures

The device endpoint.

ManagedThingId
Required: Yes
Type: string

The id of the device.

Result Syntax

[
    'TraceId' => '<string>',
]

Result Details

Members
TraceId
Type: string

The trace request identifier. This is specified by the device owner, but will be generated by IoT managed integrations if not provided by the device owner.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

StartAccountAssociationRefresh

$result = $client->startAccountAssociationRefresh([/* ... */]);
$promise = $client->startAccountAssociationRefreshAsync([/* ... */]);

Initiates a refresh of an existing account association to update its authorization and connection status.

Parameter Syntax

$result = $client->startAccountAssociationRefresh([
    'AccountAssociationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the account association to refresh.

Result Syntax

[
    'OAuthAuthorizationUrl' => '<string>',
]

Result Details

Members
OAuthAuthorizationUrl
Required: Yes
Type: string

Third-party IoT platform OAuth authorization server URL with all required parameters to perform end-user authentication during the refresh process.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

StartDeviceDiscovery

$result = $client->startDeviceDiscovery([/* ... */]);
$promise = $client->startDeviceDiscoveryAsync([/* ... */]);

This API is used to start device discovery for hub-connected and third-party-connected devices. The authentication material (install code) is passed as a message to the controller telling it to start the discovery.

Parameter Syntax

$result = $client->startDeviceDiscovery([
    'AccountAssociationId' => '<string>',
    'AuthenticationMaterial' => '<string>',
    'AuthenticationMaterialType' => 'ZWAVE_INSTALL_CODE',
    'ClientToken' => '<string>',
    'ConnectorAssociationIdentifier' => '<string>',
    'ControllerIdentifier' => '<string>',
    'CustomProtocolDetail' => ['<string>', ...],
    'DiscoveryType' => 'ZWAVE|ZIGBEE|CLOUD|CUSTOM', // REQUIRED
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
AccountAssociationId
Type: string

The identifier of the cloud-to-cloud account association to use for discovery of third-party devices.

AuthenticationMaterial
Type: string

The authentication material required to start the local device discovery job request.

AuthenticationMaterialType
Type: string

The type of authentication material used for device discovery jobs.

ClientToken
Type: 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.

ConnectorAssociationIdentifier
Type: string

The id of the connector association.

ControllerIdentifier
Type: string

The id of the end-user's IoT hub.

CustomProtocolDetail
Type: Associative array of custom strings keys (CustomProtocolDetailKey) to strings

Additional protocol-specific details required for device discovery, which vary based on the discovery type.

For a DiscoveryType of CUSTOM, the string-to-string map must have a key value of Name set to a non-empty-string.

DiscoveryType
Required: Yes
Type: string

The discovery type supporting the type of device to be discovered in the device discovery task request.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the device discovery request.

Result Syntax

[
    'Id' => '<string>',
    'StartedAt' => <DateTime>,
]

Result Details

Members
Id
Type: string

The id of the device discovery job request.

StartedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value for the start time of the device discovery.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Add tags for the specified resource.

Parameter Syntax

$result = $client->tagResource([
    'ResourceArn' => '<string>', // REQUIRED
    'Tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

The ARN of the resource to which to add tags.

Tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

A set of key/value pairs that are used to manage the resource

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

InvalidRequestException:

The request is not valid.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Remove tags for the specified resource.

Parameter Syntax

$result = $client->untagResource([
    'ResourceArn' => '<string>', // REQUIRED
    'TagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

The ARN of the resource to which to add tags.

TagKeys
Required: Yes
Type: Array of strings

A list of tag keys to remove from the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

InvalidRequestException:

The request is not valid.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateAccountAssociation

$result = $client->updateAccountAssociation([/* ... */]);
$promise = $client->updateAccountAssociationAsync([/* ... */]);

Updates the properties of an existing account association.

Parameter Syntax

$result = $client->updateAccountAssociation([
    'AccountAssociationId' => '<string>', // REQUIRED
    'Description' => '<string>',
    'Name' => '<string>',
]);

Parameter Details

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the account association to update.

Description
Type: string

The new description to assign to the account association.

Name
Type: string

The new name to assign to the account association.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateCloudConnector

$result = $client->updateCloudConnector([/* ... */]);
$promise = $client->updateCloudConnectorAsync([/* ... */]);

Update an existing cloud connector.

Parameter Syntax

$result = $client->updateCloudConnector([
    'Description' => '<string>',
    'Identifier' => '<string>', // REQUIRED
    'Name' => '<string>',
]);

Parameter Details

Members
Description
Type: string

The new description to assign to the cloud connector.

Identifier
Required: Yes
Type: string

The unique identifier of the cloud connector to update.

Name
Type: string

The new display name to assign to the cloud connector.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

Examples

Example 1: UpdateCloudConnector happy path for TP Link to update display name
$result = $client->updateCloudConnector([
    'Identifier' => '123456789012',
    'Name' => 'Connector for TP Link Cloud V2',
]);
Example 2: UpdateCloudConnector error Id for Ring connector which does not exist
$result = $client->updateCloudConnector([
    'Identifier' => '123456789012',
    'Name' => 'Connector for Ring Cloud',
]);

UpdateConnectorDestination

$result = $client->updateConnectorDestination([/* ... */]);
$promise = $client->updateConnectorDestinationAsync([/* ... */]);

Updates the properties of an existing connector destination.

Parameter Syntax

$result = $client->updateConnectorDestination([
    'AuthConfig' => [
        'oAuthUpdate' => [
            'oAuthCompleteRedirectUrl' => '<string>',
            'proactiveRefreshTokenRenewal' => [
                'DaysBeforeRenewal' => <integer>,
                'enabled' => true || false,
            ],
        ],
    ],
    'AuthType' => 'OAUTH',
    'Description' => '<string>',
    'Identifier' => '<string>', // REQUIRED
    'Name' => '<string>',
    'SecretsManager' => [
        'arn' => '<string>', // REQUIRED
        'versionId' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
AuthConfig
Type: AuthConfigUpdate structure

The updated authentication configuration details for the connector destination.

AuthType
Type: string

The new authentication type to use for the connector destination.

Description
Type: string

The new description to assign to the connector destination.

Identifier
Required: Yes
Type: string

The unique identifier of the connector destination to update.

Name
Type: string

The new display name to assign to the connector destination.

SecretsManager
Type: SecretsManager structure

The updated AWS Secrets Manager configuration for the connector destination.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateDestination

$result = $client->updateDestination([/* ... */]);
$promise = $client->updateDestinationAsync([/* ... */]);

Update a destination specified by id.

Parameter Syntax

$result = $client->updateDestination([
    'DeliveryDestinationArn' => '<string>',
    'DeliveryDestinationType' => 'KINESIS',
    'Description' => '<string>',
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>',
]);

Parameter Details

Members
DeliveryDestinationArn
Type: string

The Amazon Resource Name (ARN) of the customer-managed destination.

DeliveryDestinationType
Type: string

The destination type for the customer-managed destination.

Description
Type: string

The description of the customer-managed destination.

Name
Required: Yes
Type: string

The name of the customer-managed destination.

RoleArn
Type: string

The Amazon Resource Name (ARN) of the delivery destination role.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateEventLogConfiguration

$result = $client->updateEventLogConfiguration([/* ... */]);
$promise = $client->updateEventLogConfigurationAsync([/* ... */]);

Update an event log configuration by log configuration ID.

Parameter Syntax

$result = $client->updateEventLogConfiguration([
    'EventLogLevel' => 'DEBUG|ERROR|INFO|WARN', // REQUIRED
    'Id' => '<string>', // REQUIRED
]);

Parameter Details

Members
EventLogLevel
Required: Yes
Type: string

The log level for the event in terms of severity.

Id
Required: Yes
Type: string

The log configuration id.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateManagedThing

$result = $client->updateManagedThing([/* ... */]);
$promise = $client->updateManagedThingAsync([/* ... */]);

Update the attributes and capabilities associated with a managed thing.

Parameter Syntax

$result = $client->updateManagedThing([
    'Brand' => '<string>',
    'Capabilities' => '<string>',
    'CapabilityReport' => [
        'endpoints' => [ // REQUIRED
            [
                'capabilities' => [ // REQUIRED
                    [
                        'actions' => ['<string>', ...], // REQUIRED
                        'events' => ['<string>', ...], // REQUIRED
                        'id' => '<string>', // REQUIRED
                        'name' => '<string>', // REQUIRED
                        'properties' => ['<string>', ...], // REQUIRED
                        'version' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'deviceTypes' => ['<string>', ...], // REQUIRED
                'id' => '<string>', // REQUIRED
            ],
            // ...
        ],
        'nodeId' => '<string>',
        'version' => '<string>', // REQUIRED
    ],
    'CapabilitySchemas' => [
        [
            'CapabilityId' => '<string>', // REQUIRED
            'ExtrinsicId' => '<string>', // REQUIRED
            'ExtrinsicVersion' => <integer>, // REQUIRED
            'Format' => 'AWS|ZCL|CONNECTOR', // REQUIRED
            'Schema' => [ // REQUIRED
            ],
        ],
        // ...
    ],
    'Classification' => '<string>',
    'CredentialLockerId' => '<string>',
    'HubNetworkMode' => 'STANDARD|NETWORK_WIDE_EXCLUSION',
    'Identifier' => '<string>', // REQUIRED
    'MetaData' => ['<string>', ...],
    'Model' => '<string>',
    'Name' => '<string>',
    'Owner' => '<string>',
    'SerialNumber' => '<string>',
]);

Parameter Details

Members
Brand
Type: string

The brand of the device.

Capabilities
Type: string

The capabilities of the device such as light bulb.

CapabilityReport
Type: CapabilityReport structure

A report of the capabilities for the managed thing.

CapabilitySchemas
Type: Array of CapabilitySchemaItem structures

The updated capability schemas that define the functionality and features supported by the managed thing.

Classification
Type: string

The classification of the managed thing such as light bulb or thermostat.

CredentialLockerId
Type: string

The identifier of the credential for the managed thing.

HubNetworkMode
Type: string

The network mode for the hub-connected device.

Identifier
Required: Yes
Type: string

The id of the managed thing.

MetaData
Type: Associative array of custom strings keys (AttributeName) to strings

The metadata for the managed thing.

Model
Type: string

The model of the device.

Name
Type: string

The name of the managed thing representing the physical device.

Owner
Type: string

Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.

SerialNumber
Type: string

The serial number of the device.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

A validation error occurred when performing the API request.

AccessDeniedException:

User is not authorized.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

UnauthorizedException:

You are not authorized to perform this operation.

ConflictException:

There is a conflict with the request.

ServiceUnavailableException:

The service is temporarily unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateNotificationConfiguration

$result = $client->updateNotificationConfiguration([/* ... */]);
$promise = $client->updateNotificationConfigurationAsync([/* ... */]);

Update a notification configuration.

Parameter Syntax

$result = $client->updateNotificationConfiguration([
    'DestinationName' => '<string>', // REQUIRED
    'EventType' => 'DEVICE_COMMAND|DEVICE_COMMAND_REQUEST|DEVICE_DISCOVERY_STATUS|DEVICE_EVENT|DEVICE_LIFE_CYCLE|DEVICE_STATE|DEVICE_OTA|CONNECTOR_ASSOCIATION|ACCOUNT_ASSOCIATION|CONNECTOR_ERROR_REPORT', // REQUIRED
]);

Parameter Details

Members
DestinationName
Required: Yes
Type: string

The name of the destination for the notification configuration.

EventType
Required: Yes
Type: string

The type of event triggering a device notification to the customer-managed destination.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

UpdateOtaTask

$result = $client->updateOtaTask([/* ... */]);
$promise = $client->updateOtaTaskAsync([/* ... */]);

Update an over-the-air (OTA) task.

Parameter Syntax

$result = $client->updateOtaTask([
    'Description' => '<string>',
    'Identifier' => '<string>', // REQUIRED
    'TaskConfigurationId' => '<string>',
]);

Parameter Details

Members
Description
Type: string

The description of the over-the-air (OTA) task.

Identifier
Required: Yes
Type: string

The over-the-air (OTA) task id.

TaskConfigurationId
Type: string

The identifier for the over-the-air (OTA) task configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

User is not authorized.

ValidationException:

A validation error occurred when performing the API request.

InternalServerException:

Internal error from the service that indicates an unexpected error or that the service is unavailable.

ResourceNotFoundException:

The specified resource does not exist.

ThrottlingException:

The rate exceeds the limit.

Shapes

AbortConfigCriteria

Description

Structure representing one abort config criteria.

Members
Action
Type: string

The action taken by the abort configuration.

FailureType
Type: string

Over-the-air (OTA) task abort criteria failure type.

MinNumberOfExecutedThings
Type: int

The minimum number of things that must receive task execution notifications before the task can be aborted.

ThresholdPercentage
Type: double

The minimum percentage of over-the-air (OTA) task execution failures that must occur to initiate the last abort.

AccessDeniedException

Description

User is not authorized.

Members
Message
Type: string

AccountAssociationItem

Description

Structure containing information about an account association, including its identifier, state, and related metadata.

Members
AccountAssociationId
Required: Yes
Type: string

The unique identifier of the account association.

Arn
Type: string

The Amazon Resource Name (ARN) of the account association.

AssociationState
Required: Yes
Type: string

The current state of the account association, indicating its status in the association lifecycle.

ConnectorDestinationId
Type: string

The identifier of the connector destination associated with this account association.

Description
Type: string

A description of the account association.

ErrorMessage
Type: string

The error message explaining any issues with the account association, if applicable.

Name
Type: string

The name of the account association.

AuthConfig

Description

The authentication configuration details for a connector destination, including OAuth settings and other authentication parameters.

Members
oAuth
Type: OAuthConfig structure

The OAuth configuration settings used for authentication with the third-party service.

AuthConfigUpdate

Description

The updated authentication configuration details for a connector destination.

Members
oAuthUpdate
Type: OAuthUpdate structure

The updated OAuth configuration settings for the authentication configuration.

CapabilityAction

Description

Action for an Amazon Web Services capability, containing the action parameters for control.

Members
actionTraceId
Type: string

Describe a capability action with an actionTraceId for a response command.

name
Required: Yes
Type: string

Describe a capability action with a name.

parameters
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Describe a capability action with a capability property.

ref
Type: string

Describe a capability action with an reference.

CapabilityProperties

Members

CapabilityReport

Description

Report of all capabilities supported by the device.

Members
endpoints
Required: Yes
Type: Array of CapabilityReportEndpoint structures

The endpoints used in the capability report.

nodeId
Type: string

The numeric identifier of the node.

version
Required: Yes
Type: string

The version of the capability report.

CapabilityReportCapability

Description

The capability used in capability report.

Members
actions
Required: Yes
Type: Array of strings

The capability actions used in the capability report.

events
Required: Yes
Type: Array of strings

The capability events used in the capability report.

id
Required: Yes
Type: string

The id of the schema version.

name
Required: Yes
Type: string

The name of the capability.

properties
Required: Yes
Type: Array of strings

The capability properties used in the capability report.

version
Required: Yes
Type: string

The version of the capability.

CapabilityReportEndpoint

Description

The endpoint used in the capability report.

Members
capabilities
Required: Yes
Type: Array of CapabilityReportCapability structures

The capabilities used in the capability report.

deviceTypes
Required: Yes
Type: Array of strings

The type of device.

id
Required: Yes
Type: string

The id of the endpoint used in the capability report.

CapabilitySchemaItem

Description

Structure representing a capability schema item that defines the functionality and features supported by a managed thing.

Members
CapabilityId
Required: Yes
Type: string

The unique identifier of the capability defined in the schema.

ExtrinsicId
Required: Yes
Type: string

The external identifier for the capability, used when referencing the capability outside of the AWS ecosystem.

ExtrinsicVersion
Required: Yes
Type: int

The version of the external capability definition, used to track compatibility with external systems.

Format
Required: Yes
Type: string

The format of the capability schema, which defines how the schema is structured and interpreted.

Schema
Required: Yes
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The actual schema definition that describes the capability's properties, actions, and events.

CommandCapability

Description

The command capabilities added for the managed thing

Members
actions
Required: Yes
Type: Array of CapabilityAction structures

Describe the command capability with the actions it supports.

id
Required: Yes
Type: string

Describe the capability with an id.

name
Required: Yes
Type: string

Describe the capability with an name.

version
Required: Yes
Type: string

Describe the capability with a version.

CommandEndpoint

Description

The endpoint for a managed thing when sending a command.

Members
capabilities
Required: Yes
Type: Array of CommandCapability structures

Describe the endpoint with an id, a name, and the relevant capabilities for sending commands.

endpointId
Required: Yes
Type: string

The id of the endpoint for a managed thing.

ConfigurationError

Description

Provides the default encryption configuration error update details.

Members
code
Type: string

The error code returned when the default encryption configuration update fails.

message
Type: string

The error message returned when the default encryption configuration update fails.

ConfigurationStatus

Description

Provides the status of the default encryption configuration for an Amazon Web Services account.

Members
error
Type: ConfigurationError structure

The error details describing a failed default encryption configuration update.

state
Required: Yes
Type: string

The status state describing the default encryption configuration update.

ConflictException

Description

There is a conflict with the request.

Members
Message
Type: string

ConnectorDestinationSummary

Description

Structure containing summary information about a connector destination, which defines how a cloud-to-cloud connector connects to a customer's AWS account.

Members
CloudConnectorId
Type: string

The identifier of the cloud connector associated with this connector destination.

Description
Type: string

A description of the connector destination.

Id
Type: string

The unique identifier of the connector destination.

Name
Type: string

The display name of the connector destination.

ConnectorItem

Description

Structure describing a connector.

Members
Description
Type: string

A description of the C2C connector.

EndpointConfig
Required: Yes
Type: EndpointConfig structure

The configuration details for the cloud connector endpoint, including connection parameters and authentication requirements.

EndpointType
Type: string

The type of endpoint used for the C2C connector.

Id
Type: string

The identifier of the C2C connector.

Name
Required: Yes
Type: string

The display name of the C2C connector.

Type
Type: string

The type of cloud connector created.

CredentialLockerSummary

Description

Structure describing one Credential Locker.

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the credential locker.

CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestampe value of when the credential locker was created at.

Id
Type: string

The id of the credential locker.

Name
Type: string

The name of the credential locker.

DestinationSummary

Description

Structure describing a destination for IoT managed integrations to deliver notifications for a device.

Members
DeliveryDestinationArn
Type: string

The Amazon Resource Name (ARN) of the customer-managed destination.

DeliveryDestinationType
Type: string

The destination type for the customer-managed destination.

Description
Type: string

The description of the customer-managed destination.

Name
Type: string

The name of the customer-managed destination.

RoleArn
Type: string

The Amazon Resource Name (ARN) of the delivery destination.

Device

Description

Describe the device using the relevant metadata and supported clusters for device discovery.

Members
CapabilityReport
Required: Yes
Type: MatterCapabilityReport structure

The capability report for the device.

CapabilitySchemas
Type: Array of CapabilitySchemaItem structures

Report of all capabilities supported by the device.

ConnectorDeviceId
Required: Yes
Type: string

The device id as defined by the connector.

This parameter is used for cloud-to-cloud devices only.

ConnectorDeviceName
Type: string

The name of the device as defined by the connector.

DeviceMetadata
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The metadata attributes for a device.

DeviceDiscoverySummary

Description

Structure containing summary information about a device discovery job, including its identifier, type, and status.

Members
DiscoveryType
Type: string

The type of discovery process used to find devices.

Id
Type: string

The unique identifier of the device discovery job.

Status
Type: string

The current status of the device discovery job.

DeviceMetadata

Members

DiscoveredDeviceSummary

Description

Structure containing summary information about a device discovered during a device discovery job.

Members
AuthenticationMaterial
Type: string

The authentication material required for connecting to the discovered device, such as credentials or tokens.

Brand
Type: string

The brand of the discovered device.

ConnectorDeviceId
Type: string

The third-party device identifier as defined by the connector. This identifier must not contain personal identifiable information (PII).

ConnectorDeviceName
Type: string

The name of the device as defined by the connector or third-party system.

DeviceTypes
Type: Array of strings

The list of device types or categories that the discovered device belongs to.

DiscoveredAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp indicating when the device was discovered.

ManagedThingId
Type: string

The identifier of the managed thing created for this discovered device, if one exists.

Model
Type: string

The model of the discovered device.

Modification
Type: string

The status of the discovered device, indicating whether it has been added, removed, or modified since the last discovery.

EndpointConfig

Description

The configuration details for an endpoint, which defines how to connect to and communicate with external services.

Members
lambda
Type: LambdaConfig structure

The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.

EventLogConfigurationSummary

Description

List of event log configurations.

Members
EventLogLevel
Type: string

The logging level for the event log configuration.

Id
Type: string

The identifier of the event log configuration.

ResourceId
Type: string

The identifier of the resource for the event log configuration.

ResourceType
Type: string

The type of resource for the event log configuration.

ExponentialRolloutRate

Description

Structure representing exponential rate of rollout for an over-the-air (OTA) task.

Members
BaseRatePerMinute
Type: int

The base rate per minute for the rollout of an over-the-air (OTA) task.

IncrementFactor
Type: double

The incremental factor for increasing the rollout rate of an over-the-air (OTA) task.

RateIncreaseCriteria
Type: RolloutRateIncreaseCriteria structure

The criteria for increasing the rollout rate of an over-the-air (OTA) task.

InternalFailureException

Description

An unexpected error has occurred.

Members
Message
Type: string

InternalServerException

Description

Internal error from the service that indicates an unexpected error or that the service is unavailable.

Members
Message
Type: string

InvalidRequestException

Description

The request is not valid.

Members
Message
Type: string

LambdaConfig

Description

Configuration details for an AWS Lambda function used as an endpoint for a cloud connector.

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the Lambda function used as an endpoint.

LimitExceededException

Description

The request exceeds a service limit or quota. Adjust your request parameters and try again.

Members
Message
Type: string

ManagedThingAssociation

Description

Structure representing an association between a managed thing and an account association, which connects a device to a third-party account.

Members
AccountAssociationId
Type: string

The identifier of the account association in the association.

ManagedThingId
Type: string

The identifier of the managed thing in the association.

ManagedThingSchemaListItem

Description

Structure representing one schema item associated with a managed thing.

Members
CapabilityId
Type: string

The id of the capability for a managed thing.

EndpointId
Type: string

The id of the endpoint for a managed thing.

Schema
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The validation schema for one schema item associated with a managed thing.

ManagedThingSummary

Description

Structure representing one managed thing.

Members
ActivatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestampe value of when the managed thing was activated at.

AdvertisedProductId
Type: string

The id of the advertised product.

Arn
Type: string

The Amazon Resource Name (ARN) of the managed thing.

Brand
Type: string

The brand of the device.

Classification
Type: string

The classification of the managed thing such as light bulb or thermostat.

ConnectorDestinationId
Type: string

The identifier of the connector destination associated with this managed thing, if applicable.

ConnectorDeviceId
Type: string

The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).

This parameter is used for cloud-to-cloud devices only.

ConnectorPolicyId
Type: string

The id of the connector policy.

This parameter is used for cloud-to-cloud devices only.

CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the device creation request occurred.

CredentialLockerId
Type: string

The identifier of the credential locker for the managed thing.

Id
Type: string

The id of the device.

Model
Type: string

The model of the device.

Name
Type: string

The name of the managed thing representing the physical device.

Owner
Type: string

Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.

ParentControllerId
Type: string

Id of the controller device used for the discovery job.

ProvisioningStatus
Type: string

The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations.

Role
Type: string

The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.

SerialNumber
Type: string

The serial number of the device.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the managed thing was last updated at.

MatterAttributes

Members

MatterCapabilityReport

Description

Matter based capability report.

Members
endpoints
Required: Yes
Type: Array of MatterCapabilityReportEndpoint structures

The endpoints used in the capability report.

nodeId
Type: string

The numeric identifier of the node.

version
Required: Yes
Type: string

The version of the capability report.

MatterCapabilityReportAttribute

Description

Matter attribute used in capability report.

Members
id
Type: string

The id of the Matter attribute.

name
Type: string

Name for the Amazon Web Services Matter capability report attribute.

value
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Value for the Amazon Web Services Matter capability report attribute.

MatterCapabilityReportAttributeValue

Members

MatterCapabilityReportCluster

Description

Capability used in Matter capability report.

Members
attributes
Type: Array of MatterCapabilityReportAttribute structures

The attributes of the Amazon Web Services Matter capability report.

commands
Type: Array of strings

The commands used with the Amazon Web Services Matter capability report.

events
Type: Array of strings

The events used with the Amazon Web Services Matter capability report.

fabricIndex
Type: int

The fabric index for the Amazon Web Services Matter capability report.

featureMap
Type: long (int|float)

32 bit-map used to indicate which features a cluster supports.

generatedCommands
Type: Array of strings

Matter clusters used in capability report.

id
Required: Yes
Type: string

The id of the Amazon Web Services Matter capability report cluster.

name
Type: string

The capability name used in the Amazon Web Services Matter capability report.

publicId
Type: string

The id of the schema version.

revision
Required: Yes
Type: int

The id of the revision for the Amazon Web Services Matter capability report.

specVersion
Type: string

The spec version used in the Amazon Web Services Matter capability report.

MatterCapabilityReportEndpoint

Description

Matter endpoint used in capability report.

Members
clientClusters
Type: Array of strings

Semantic information related to endpoint.

clusters
Required: Yes
Type: Array of MatterCapabilityReportCluster structures

Matter clusters used in capability report.

deviceTypes
Required: Yes
Type: Array of strings

The type of device.

id
Required: Yes
Type: string

The id of the Amazon Web Services Matter capability report endpoint.

parts
Type: Array of strings

Heirachy of child endpoints contained in the given endpoint.

semanticTags
Type: Array of strings

Semantic information related to endpoint.

MatterCluster

Description

Describe a Matter cluster with an id, and the relevant attributes, commands, and events.

Members
attributes
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The Matter attributes.

commands
Type: Associative array of custom strings keys (MatterCommandId) to document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documentss

Describe the Matter commands with the Matter command identifier mapped to the command fields.

events
Type: Associative array of custom strings keys (MatterEventId) to document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documentss

Describe the Matter events with the Matter event identifier mapped to the event fields.

id
Type: string

The cluster id.

MatterEndpoint

Description

Structure describing a managed thing.

Members
clusters
Type: Array of MatterCluster structures

A list of Matter clusters for a managed thing.

id
Type: string

The Matter endpoint id.

MatterFields

Members

NotificationConfigurationSummary

Description

Structure describing a notification configuration.

Members
DestinationName
Type: string

The name of the destination for the notification configuration.

EventType
Type: string

The type of event triggering a device notification to the customer-managed destination.

OAuthConfig

Description

Configuration details for OAuth authentication with a third-party service.

Members
authUrl
Required: Yes
Type: string

The authorization URL for the OAuth service, where users are directed to authenticate and authorize access.

oAuthCompleteRedirectUrl
Type: string

The URL where users are redirected after completing the OAuth authorization process.

proactiveRefreshTokenRenewal

Configuration for proactively refreshing OAuth tokens before they expire.

scope
Type: string

The OAuth scopes requested during authorization, which define the permissions granted to the application.

tokenEndpointAuthenticationScheme
Required: Yes
Type: string

The authentication scheme used when requesting tokens from the token endpoint.

tokenUrl
Required: Yes
Type: string

The token URL for the OAuth service, where authorization codes are exchanged for access tokens.

OAuthUpdate

Description

Structure containing updated OAuth configuration settings.

Members
oAuthCompleteRedirectUrl
Type: string

The updated URL where users are redirected after completing the OAuth authorization process.

proactiveRefreshTokenRenewal

Updated configuration for proactively refreshing OAuth tokens before they expire.

OtaTaskAbortConfig

Description

Over-the-air (OTA) task abort config.

Members
AbortConfigCriteriaList
Type: Array of AbortConfigCriteria structures

The list of criteria for the abort config.

OtaTaskConfigurationSummary

Description

Structure representing one over-the-air (OTA) task configuration.

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task configuration was created at.

Name
Type: string

The name of the over-the-air (OTA) task configuration.

TaskConfigurationId
Type: string

The id of the over-the-air (OTA) task configuration

OtaTaskExecutionRetryConfig

Description

Over-the-air (OTA) task retry config.

Members
RetryConfigCriteria
Type: Array of RetryConfigCriteria structures

The list of retry config criteria.

OtaTaskExecutionRolloutConfig

Description

Over-the-air (OTA) task rollout config.

Members
ExponentialRolloutRate
Type: ExponentialRolloutRate structure

Structure representing exponential rate of rollout for an over-the-air (OTA) task.

MaximumPerMinute
Type: int

The maximum number of things that will be notified of a pending task, per minute.

OtaTaskExecutionSummaries

Description

Structure representing one execution summary.

Members
ManagedThingId
Type: string

The id of a managed thing.

TaskExecutionSummary
Type: OtaTaskExecutionSummary structure

Structure representing one over-the-air (OTA) task execution summary

OtaTaskExecutionSummary

Description

Structure representing one over-the-air (OTA) task execution summary.

Members
ExecutionNumber
Type: long (int|float)

The execution number of the over-the-air (OTA) task execution summary.

LastUpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task execution summary was last updated.

QueuedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task execution summary is targeted to start.

RetryAttempt
Type: int

The number of retry attempts for starting the over-the-air (OTA) task execution summary after a failed attempt.

StartedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task execution summary started.

Status
Type: string

The status of the over-the-air (OTA) task execution summary.

OtaTaskSchedulingConfig

Description

Over-the-air (OTA) task scheduling config.

Members
EndBehavior
Type: string

Specifies the end behavior for all task executions after a task reaches the selected endTime. If endTime is not selected when creating the task, then endBehavior does not apply.

EndTime
Type: string

The time an over-the-air (OTA) task will stop.

MaintenanceWindows
Type: Array of ScheduleMaintenanceWindow structures

Maintenance window list for over-the-air (OTA) task scheduling config.

StartTime
Type: string

The time an over-the-air (OTA) task will start.

OtaTaskSummary

Description

Structure representing one over-the-air (OTA) task.

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task was created at.

LastUpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp value of when the over-the-air (OTA) task was last updated at.

Status
Type: string

The status of the over-the-air (OTA) task summary.

TaskArn
Type: string

The Amazon Resource Name (ARN) of the over-the-air (OTA) task.

TaskConfigurationId
Type: string

The identifier for the over-the-air (OTA) task configuration.

TaskId
Type: string

The id of the over-the-air (OTA) task.

OtaTaskTimeoutConfig

Description

Over-the-air (OTA) task timeout config.

Members
InProgressTimeoutInMinutes
Type: long (int|float)

Specifies the amount of time the device has to finish execution of this task. The timeout interval can be anywhere between 1 minute and 7 days.

ProactiveRefreshTokenRenewal

Description

Configuration settings for proactively refreshing OAuth tokens before they expire.

Members
DaysBeforeRenewal
Type: int

The days before token expiration when the system should attempt to renew the token, specified in days.

enabled
Type: boolean

Indicates whether proactive refresh token renewal is enabled.

ProvisioningProfileSummary

Description

Structure describing a provisioning profile.

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the provisioning template used in the provisioning profile.

Id
Type: string

The identifier of the provisioning profile.

Name
Type: string

The name of the provisioning template.

ProvisioningType
Type: string

The type of provisioning workflow the device uses for onboarding to IoT managed integrations.

PushConfig

Description

Structure representing a push config.

Members
AbortConfig
Type: OtaTaskAbortConfig structure

Structure representing one abort config.

RolloutConfig

Structure representing one rollout config.

TimeoutConfig
Type: OtaTaskTimeoutConfig structure

Structure representing one timeout config.

ResourceNotFoundException

Description

The specified resource does not exist.

Members
Message
Type: string
ResourceId
Type: string

Id of the affected resource

ResourceType
Type: string

Type of the affected resource

RetryConfigCriteria

Description

Structure representing one retry config criteria.

Members
FailureType
Type: string

Over-the-air (OTA) retry criteria failure type.

MinNumberOfRetries
Type: int

The number of retries allowed for a failure type for the over-the-air (OTA) task.

RolloutRateIncreaseCriteria

Description

Structure representing rollout config criteria.

Members
numberOfNotifiedThings
Type: int

The threshold for number of notified things that will initiate the increase in rate of rollout.

numberOfSucceededThings
Type: int

The threshold for number of succeeded things that will initiate the increase in rate of rollout.

RuntimeLogConfigurations

Description

The different configurations for runtime logs.

Members
DeleteLocalStoreAfterUpload
Type: boolean

Configuration to enable or disable deleting of runtime logs in the device once uploaded to the cloud.

LocalStoreFileRotationMaxBytes
Type: int

Configuration to set the maximum bytes of runtime logs that can be stored on the device before the oldest logs are deleted or overwritten.

LocalStoreFileRotationMaxFiles
Type: int

Configuration to set the maximum number of runtime log files that can be stored on the device before the oldest files are deleted or overwritten.

LocalStoreLocation
Type: string

Configuration of where to store runtime logs in the device.

LogFlushLevel
Type: string

The different log levels available for configuration.

LogLevel
Type: string

The different log levels available for configuration.

UploadLog
Type: boolean

Configuration to enable or disable uploading of runtime logs to the cloud.

UploadPeriodMinutes
Type: int

Configuration to set the time interval in minutes between each batch of runtime logs that the device uploads to the cloud.

ScheduleMaintenanceWindow

Description

Structure representing scheduling maintenance window.

Members
DurationInMinutes
Type: int

Displays the duration of the next maintenance window.

StartTime
Type: string

Displays the start time of the next maintenance window.

SchemaVersionListItem

Description

List item describing a schema version.

Members
Description
Type: string

A description of the schema version.

Namespace
Type: string

The name of the schema version.

SchemaId
Type: string

The identifier of the schema version.

SemanticVersion
Type: string

The schema version. If this is left blank, it defaults to the latest version.

Type
Type: string

The type of schema version.

Visibility
Type: string

The visibility of the schema version.

SchemaVersionSchema

Members

SecretsManager

Description

Configuration for AWS Secrets Manager, used to securely store and manage sensitive information for connector destinations.

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret.

versionId
Required: Yes
Type: string

The version ID of the AWS Secrets Manager secret.

ServiceQuotaExceededException

Description

The service quota has been exceeded for this request.

Members
Message
Type: string

ServiceUnavailableException

Description

The service is temporarily unavailable.

Members
Message
Type: string

StateCapability

Description

State capabilities added for the managed thing.

Members
id
Required: Yes
Type: string

The id of the managed thing in the capability report.

name
Required: Yes
Type: string

Name for the Amazon Web Services capability.

properties
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Describe the command capability with the properties it supports.

version
Required: Yes
Type: string

Version for the Amazon Web Services capability.

StateEndpoint

Description

Describe the endpoint with an Id, a name, and the relevant capabilities for reporting state

Members
capabilities
Required: Yes
Type: Array of StateCapability structures

Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.

endpointId
Required: Yes
Type: string

Numeric identifier of the endpoint

TaskProcessingDetails

Description

Details about the over-the-air (OTA) task process.

Members
NumberOfCanceledThings
Type: int

The number of canceled things in an over-the-air (OTA) task.

NumberOfFailedThings
Type: int

The number of failed things in an over-the-air (OTA) task.

NumberOfInProgressThings
Type: int

The number of in progress things in an over-the-air (OTA) task.

numberOfQueuedThings
Type: int

The number of queued things in an over-the-air (OTA) task.

numberOfRejectedThings
Type: int

The number of rejected things in an over-the-air (OTA) task.

numberOfRemovedThings
Type: int

The number of removed things in an over-the-air (OTA) task.

numberOfSucceededThings
Type: int

The number of succeeded things in an over-the-air (OTA) task.

numberOfTimedOutThings
Type: int

The number of timed out things in an over-the-air (OTA) task.

processingTargets
Type: Array of strings

The targets of the over-the-air (OTA) task.

ThrottlingException

Description

The rate exceeds the limit.

Members
Message
Type: string

UnauthorizedException

Description

You are not authorized to perform this operation.

Members
Message
Type: string

ValidationException

Description

A validation error occurred when performing the API request.

Members
Message
Type: string

ValidationSchema

Members