Managed integrations for AWS IoT Device Management

2025/03/04 - Managed integrations for AWS IoT Device Management - 57 new api methods

Changes  Adding managed integrations APIs for IoT Device Management to setup and control devices across different manufacturers and connectivity protocols. APIs include managedthing operations, credential and provisioning profile management, notification configuration, and OTA update.

GetOtaTask (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_ota_task(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

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

rtype:

dict

returns:

Response Syntax

{
    'TaskId': 'string',
    'TaskArn': 'string',
    'Description': 'string',
    'S3Url': 'string',
    'Protocol': 'HTTP',
    'OtaType': 'ONE_TIME'|'CONTINUOUS',
    'OtaTargetQueryString': 'string',
    'OtaMechanism': 'PUSH',
    'Target': [
        'string',
    ],
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'TaskConfigurationId': 'string',
    'TaskProcessingDetails': {
        'NumberOfCanceledThings': 123,
        'NumberOfFailedThings': 123,
        'NumberOfInProgressThings': 123,
        'numberOfQueuedThings': 123,
        'numberOfRejectedThings': 123,
        'numberOfRemovedThings': 123,
        'numberOfSucceededThings': 123,
        'numberOfTimedOutThings': 123,
        'processingTargets': [
            'string',
        ]
    },
    'OtaSchedulingConfig': {
        'EndBehavior': 'STOP_ROLLOUT'|'CANCEL'|'FORCE_CANCEL',
        'EndTime': 'string',
        'MaintenanceWindows': [
            {
                'DurationInMinutes': 123,
                'StartTime': 'string'
            },
        ],
        'StartTime': 'string'
    },
    'OtaTaskExecutionRetryConfig': {
        'RetryConfigCriteria': [
            {
                'FailureType': 'FAILED'|'TIMED_OUT'|'ALL',
                'MinNumberOfRetries': 123
            },
        ]
    },
    'Status': 'IN_PROGRESS'|'CANCELED'|'COMPLETED'|'DELETION_IN_PROGRESS'|'SCHEDULED'
}

Response Structure

  • (dict) --

    • TaskId (string) --

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

    • TaskArn (string) --

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

    • Description (string) --

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

    • S3Url (string) --

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

    • Protocol (string) --

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

    • OtaType (string) --

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

    • OtaTargetQueryString (string) --

      The query string to add things to the thing group.

    • OtaMechanism (string) --

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

    • Target (list) --

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

      • (string) --

    • CreatedAt (datetime) --

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

    • LastUpdatedAt (datetime) --

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

    • TaskConfigurationId (string) --

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

    • TaskProcessingDetails (dict) --

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

      • NumberOfCanceledThings (integer) --

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

      • NumberOfFailedThings (integer) --

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

      • NumberOfInProgressThings (integer) --

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

      • numberOfQueuedThings (integer) --

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

      • numberOfRejectedThings (integer) --

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

      • numberOfRemovedThings (integer) --

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

      • numberOfSucceededThings (integer) --

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

      • numberOfTimedOutThings (integer) --

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

      • processingTargets (list) --

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

        • (string) --

    • OtaSchedulingConfig (dict) --

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

      • EndBehavior (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 (string) --

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

      • MaintenanceWindows (list) --

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

        • (dict) --

          Structure representing scheduling maintenance window.

          • DurationInMinutes (integer) --

            Displays the duration of the next maintenance window.

          • StartTime (string) --

            Displays the start time of the next maintenance window.

      • StartTime (string) --

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

    • OtaTaskExecutionRetryConfig (dict) --

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

      • RetryConfigCriteria (list) --

        The list of retry config criteria.

        • (dict) --

          Structure representing one retry config criteria.

          • FailureType (string) --

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

          • MinNumberOfRetries (integer) --

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

    • Status (string) --

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

CreateNotificationConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_notification_configuration(
    EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT',
    DestinationName='string',
    ClientToken='string',
    Tags={
        'string': 'string'
    }
)
type EventType:

string

param EventType:

[REQUIRED]

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

type DestinationName:

string

param DestinationName:

[REQUIRED]

The name of the destination for the notification configuration.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'EventType': 'DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT'
}

Response Structure

  • (dict) --

    • EventType (string) --

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

CreateOtaTaskConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_ota_task_configuration(
    Description='string',
    Name='string',
    PushConfig={
        'AbortConfig': {
            'AbortConfigCriteriaList': [
                {
                    'Action': 'CANCEL',
                    'FailureType': 'FAILED'|'REJECTED'|'TIMED_OUT'|'ALL',
                    'MinNumberOfExecutedThings': 123,
                    'ThresholdPercentage': 123.0
                },
            ]
        },
        'RolloutConfig': {
            'ExponentialRolloutRate': {
                'BaseRatePerMinute': 123,
                'IncrementFactor': 123.0,
                'RateIncreaseCriteria': {
                    'numberOfNotifiedThings': 123,
                    'numberOfSucceededThings': 123
                }
            },
            'MaximumPerMinute': 123
        },
        'TimeoutConfig': {
            'InProgressTimeoutInMinutes': 123
        }
    },
    ClientToken='string'
)
type Description:

string

param Description:

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

type Name:

string

param Name:

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

type PushConfig:

dict

param PushConfig:

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

  • AbortConfig (dict) --

    Structure representing one abort config.

    • AbortConfigCriteriaList (list) --

      The list of criteria for the abort config.

      • (dict) --

        Structure representing one abort config criteria.

        • Action (string) --

          The action taken by the abort configuration.

        • FailureType (string) --

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

        • MinNumberOfExecutedThings (integer) --

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

        • ThresholdPercentage (float) --

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

  • RolloutConfig (dict) --

    Structure representing one rollout config.

    • ExponentialRolloutRate (dict) --

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

      • BaseRatePerMinute (integer) --

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

      • IncrementFactor (float) --

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

      • RateIncreaseCriteria (dict) --

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

        • numberOfNotifiedThings (integer) --

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

        • numberOfSucceededThings (integer) --

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

    • MaximumPerMinute (integer) --

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

  • TimeoutConfig (dict) --

    Structure representing one timeout config.

    • InProgressTimeoutInMinutes (integer) --

      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.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'TaskConfigurationId': 'string'
}

Response Structure

  • (dict) --

    • TaskConfigurationId (string) --

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

GetManagedThing (new) Link ¶

Get the attributes and capabilities associated with a managed thing.

See also: AWS API Documentation

Request Syntax

client.get_managed_thing(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The id of the managed thing.

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'Arn': 'string',
    'Owner': 'string',
    'CredentialLockerId': 'string',
    'AdvertisedProductId': 'string',
    'Role': 'CONTROLLER'|'DEVICE',
    'ProvisioningStatus': 'UNASSOCIATED'|'PRE_ASSOCIATED'|'DISCOVERED'|'ACTIVATED'|'DELETION_FAILED'|'DELETE_IN_PROGRESS'|'ISOLATED'|'DELETED',
    'Name': 'string',
    'Model': 'string',
    'Brand': 'string',
    'SerialNumber': 'string',
    'UniversalProductCode': 'string',
    'InternationalArticleNumber': 'string',
    'ConnectorPolicyId': 'string',
    'ConnectorDeviceId': 'string',
    'DeviceSpecificKey': 'string',
    'MacAddress': 'string',
    'ParentControllerId': 'string',
    'Classification': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1),
    'ActivatedAt': datetime(2015, 1, 1),
    'HubNetworkMode': 'STANDARD'|'NETWORK_WIDE_EXCLUSION',
    'MetaData': {
        'string': 'string'
    },
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • Id (string) --

      The id of the managed thing.

    • Arn (string) --

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

    • Owner (string) --

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

    • CredentialLockerId (string) --

      The identifier of the credential locker for the managed thing.

    • AdvertisedProductId (string) --

      The id of the advertised product.

    • Role (string) --

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

    • ProvisioningStatus (string) --

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

    • Name (string) --

      The name of the managed thing representing the physical device.

    • Model (string) --

      The model of the device.

    • Brand (string) --

      The brand of the device.

    • SerialNumber (string) --

      The serial number of the device.

    • UniversalProductCode (string) --

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

    • InternationalArticleNumber (string) --

      The unique 13 digit number that identifies the managed thing.

    • ConnectorPolicyId (string) --

      The id of the connector policy.

    • ConnectorDeviceId (string) --

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

    • DeviceSpecificKey (string) --

      A Zwave device-specific key used during device activation.

    • MacAddress (string) --

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

    • ParentControllerId (string) --

      Id of the controller device used for the discovery job.

    • Classification (string) --

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

    • CreatedAt (datetime) --

      The timestamp value of when the device creation request occurred.

    • UpdatedAt (datetime) --

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

    • ActivatedAt (datetime) --

      The timestampe value of when the device was activated.

    • HubNetworkMode (string) --

      The network mode for the hub-connected device.

    • MetaData (dict) --

      The metadata for the managed thing.

      • (string) --

        • (string) --

    • Tags (dict) --

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

      • (string) --

        • (string) --

GetCredentialLocker (new) Link ¶

Get information on an existing credential locker

See also: AWS API Documentation

Request Syntax

client.get_credential_locker(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The identifier of the credential locker.

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'Arn': 'string',
    'Name': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • Id (string) --

      The identifier of the credential locker.

    • Arn (string) --

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

    • Name (string) --

      The name of the credential locker.

    • CreatedAt (datetime) --

      The timestamp value of when the credential locker requset occurred.

    • Tags (dict) --

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

      • (string) --

        • (string) --

ListNotificationConfigurations (new) Link ¶

List all notification configurations.

See also: AWS API Documentation

Request Syntax

client.list_notification_configurations(
    MaxResults=123,
    NextToken='string'
)
type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

type NextToken:

string

param NextToken:

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

rtype:

dict

returns:

Response Syntax

{
    'NotificationConfigurationList': [
        {
            'EventType': 'DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT',
            'DestinationName': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • NotificationConfigurationList (list) --

      The list of notification configurations.

      • (dict) --

        Structure describing a notification configuration.

        • EventType (string) --

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

        • DestinationName (string) --

          The name of the destination for the notification configuration.

    • NextToken (string) --

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

DeleteProvisioningProfile (new) Link ¶

Delete a provisioning profile.

See also: AWS API Documentation

Request Syntax

client.delete_provisioning_profile(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The name of the provisioning template.

returns:

None

GetHubConfiguration (new) Link ¶

Get a hub configuration.

See also: AWS API Documentation

Request Syntax

client.get_hub_configuration()
rtype:

dict

returns:

Response Syntax

{
    'HubTokenTimerExpirySettingInSeconds': 123,
    'UpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • HubTokenTimerExpirySettingInSeconds (integer) --

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

    • UpdatedAt (datetime) --

      The timestamp value of when the hub configuration was updated.

GetManagedThingCapabilities (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_managed_thing_capabilities(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The id of the device.

rtype:

dict

returns:

Response Syntax

{
    'ManagedThingId': 'string',
    'Capabilities': 'string',
    'CapabilityReport': {
        'version': 'string',
        'nodeId': 'string',
        'endpoints': [
            {
                'id': 'string',
                'deviceTypes': [
                    'string',
                ],
                'capabilities': [
                    {
                        'id': 'string',
                        'name': 'string',
                        'version': 'string',
                        'properties': [
                            'string',
                        ],
                        'actions': [
                            'string',
                        ],
                        'events': [
                            'string',
                        ]
                    },
                ]
            },
        ]
    }
}

Response Structure

  • (dict) --

    • ManagedThingId (string) --

      The id of the device.

    • Capabilities (string) --

      The capabilities of the device such as light bulb.

    • CapabilityReport (dict) --

      A report of the capabilities for the managed thing.

      • version (string) --

        The version of the capability report.

      • nodeId (string) --

        The numeric identifier of the node.

      • endpoints (list) --

        The endpoints used in the capability report.

        • (dict) --

          The endpoint used in the capability report.

          • id (string) --

            The id of the endpoint used in the capability report.

          • deviceTypes (list) --

            The type of device.

            • (string) --

          • capabilities (list) --

            The capabilities used in the capability report.

            • (dict) --

              The capability used in capability report.

              • id (string) --

                The id of the schema version.

              • name (string) --

                The name of the capability.

              • version (string) --

                The version of the capability.

              • properties (list) --

                The capability properties used in the capability report.

                • (string) --

              • actions (list) --

                The capability actions used in the capability report.

                • (string) --

              • events (list) --

                The capability events used in the capability report.

                • (string) --

GetEventLogConfiguration (new) Link ¶

Get an event log configuration.

See also: AWS API Documentation

Request Syntax

client.get_event_log_configuration(
    Id='string'
)
type Id:

string

param Id:

[REQUIRED]

The identifier of the event log configuration.

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'ResourceType': 'string',
    'ResourceId': 'string',
    'EventLogLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN'
}

Response Structure

  • (dict) --

    • Id (string) --

      The identifier of the event log configuration.

    • ResourceType (string) --

      The type of resource for the event log configuration.

    • ResourceId (string) --

      The identifier of the resource for the event log configuration.

    • EventLogLevel (string) --

      The logging level for the event log configuration.

GetProvisioningProfile (new) Link ¶

Get a provisioning profile by template name.

See also: AWS API Documentation

Request Syntax

client.get_provisioning_profile(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The provisioning template the device uses for the provisioning process.

rtype:

dict

returns:

Response Syntax

{
    'Arn': 'string',
    'Name': 'string',
    'ProvisioningType': 'FLEET_PROVISIONING'|'JITR',
    'Id': 'string',
    'ClaimCertificate': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • Arn (string) --

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

    • Name (string) --

      The name of the provisioning template.

    • ProvisioningType (string) --

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

    • Id (string) --

      The provisioning profile id..

    • ClaimCertificate (string) --

      The id of the claim certificate.

    • Tags (dict) --

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

      • (string) --

        • (string) --

CreateEventLogConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_event_log_configuration(
    ResourceType='string',
    ResourceId='string',
    EventLogLevel='DEBUG'|'ERROR'|'INFO'|'WARN',
    ClientToken='string'
)
type ResourceType:

string

param ResourceType:

[REQUIRED]

The type of resource for the event log configuration.

type ResourceId:

string

param ResourceId:

The identifier of the resource for the event log configuration.

type EventLogLevel:

string

param EventLogLevel:

[REQUIRED]

The logging level for the event log configuration.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string'
}

Response Structure

  • (dict) --

    • Id (string) --

      The identifier of the event log configuration request.

DeleteEventLogConfiguration (new) Link ¶

Delete an event log configuration.

See also: AWS API Documentation

Request Syntax

client.delete_event_log_configuration(
    Id='string'
)
type Id:

string

param Id:

[REQUIRED]

The identifier of the event log configuration.

returns:

None

DeleteManagedThing (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.delete_managed_thing(
    Identifier='string',
    Force=True|False
)
type Identifier:

string

param Identifier:

[REQUIRED]

The id of the managed thing.

type Force:

boolean

param Force:

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.

returns:

None

CreateDestination (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_destination(
    DeliveryDestinationArn='string',
    DeliveryDestinationType='KINESIS',
    Name='string',
    RoleArn='string',
    ClientToken='string',
    Description='string',
    Tags={
        'string': 'string'
    }
)
type DeliveryDestinationArn:

string

param DeliveryDestinationArn:

[REQUIRED]

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

type DeliveryDestinationType:

string

param DeliveryDestinationType:

[REQUIRED]

The destination type for the customer-managed destination.

type Name:

string

param Name:

[REQUIRED]

The name of the customer-managed destination.

type RoleArn:

string

param RoleArn:

[REQUIRED]

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

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

type Description:

string

param Description:

The description of the customer-managed destination.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Name': 'string'
}

Response Structure

  • (dict) --

    • Name (string) --

      The name of the customer-managed destination.

GetDestination (new) Link ¶

Gets a destination by ID.

See also: AWS API Documentation

Request Syntax

client.get_destination(
    Name='string'
)
type Name:

string

param Name:

[REQUIRED]

The name of the customer-managed destination.

rtype:

dict

returns:

Response Syntax

{
    'Description': 'string',
    'DeliveryDestinationArn': 'string',
    'DeliveryDestinationType': 'KINESIS',
    'Name': 'string',
    'RoleArn': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • Description (string) --

      The description of the customer-managed destination.

    • DeliveryDestinationArn (string) --

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

    • DeliveryDestinationType (string) --

      The destination type for the customer-managed destination.

    • Name (string) --

      The name of the customer-managed destination.

    • RoleArn (string) --

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

    • CreatedAt (datetime) --

      The timestamp value of when the destination creation requset occurred.

    • UpdatedAt (datetime) --

      The timestamp value of when the destination update requset occurred.

    • Tags (dict) --

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

      • (string) --

        • (string) --

PutDefaultEncryptionConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.put_default_encryption_configuration(
    encryptionType='MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION'|'CUSTOMER_KEY_ENCRYPTION',
    kmsKeyArn='string'
)
type encryptionType:

string

param encryptionType:

[REQUIRED]

The type of encryption used for the encryption configuration.

type kmsKeyArn:

string

param kmsKeyArn:

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

rtype:

dict

returns:

Response Syntax

{
    'configurationStatus': {
        'error': {
            'code': 'string',
            'message': 'string'
        },
        'state': 'ENABLED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'
    },
    'encryptionType': 'MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION'|'CUSTOMER_KEY_ENCRYPTION',
    'kmsKeyArn': 'string'
}

Response Structure

  • (dict) --

    • configurationStatus (dict) --

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

      • error (dict) --

        The error details describing a failed default encryption configuration update.

        • code (string) --

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

        • message (string) --

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

      • state (string) --

        The status state describing the default encryption configuration update.

    • encryptionType (string) --

      The type of encryption used for the encryption configuration.

    • kmsKeyArn (string) --

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

GetManagedThingConnectivityData (new) Link ¶

Get the connectivity status of a managed thing.

See also: AWS API Documentation

Request Syntax

client.get_managed_thing_connectivity_data(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The identifier of a managed thing.

rtype:

dict

returns:

Response Syntax

{
    'ManagedThingId': 'string',
    'Connected': True|False,
    'Timestamp': datetime(2015, 1, 1),
    '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'
}

Response Structure

  • (dict) --

    • ManagedThingId (string) --

      The id of a managed thing.

    • Connected (boolean) --

      The connectivity status for a managed thing.

    • Timestamp (datetime) --

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

    • DisconnectReason (string) --

      The reason for the connectivity disconnect with the managed thing.

ListSchemaVersions (new) Link ¶

Lists schema versions with the provided information.

See also: AWS API Documentation

Request Syntax

client.list_schema_versions(
    Type='capability'|'definition',
    MaxResults=123,
    NextToken='string',
    SchemaId='string',
    Namespace='string',
    Visibility='PUBLIC'|'PRIVATE',
    SemanticVersion='string'
)
type Type:

string

param Type:

[REQUIRED]

Filter on the type of schema version.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

type NextToken:

string

param NextToken:

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

type SchemaId:

string

param SchemaId:

Filter on the id of the schema version.

type Namespace:

string

param Namespace:

Filter on the name of the schema version.

type Visibility:

string

param Visibility:

The visibility of the schema version.

type SemanticVersion:

string

param SemanticVersion:

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

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'SchemaId': 'string',
            'Type': 'capability'|'definition',
            'Description': 'string',
            'Namespace': 'string',
            'SemanticVersion': 'string',
            'Visibility': 'PUBLIC'|'PRIVATE'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of schema versions.

      • (dict) --

        List item describing a schema version.

        • SchemaId (string) --

          The identifier of the schema version.

        • Type (string) --

          The type of schema version.

        • Description (string) --

          A description of the schema version.

        • Namespace (string) --

          The name of the schema version.

        • SemanticVersion (string) --

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

        • Visibility (string) --

          The visibility of the schema version.

    • NextToken (string) --

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

PutRuntimeLogConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.put_runtime_log_configuration(
    ManagedThingId='string',
    RuntimeLogConfigurations={
        'LogLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN',
        'LogFlushLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN',
        'LocalStoreLocation': 'string',
        'LocalStoreFileRotationMaxFiles': 123,
        'LocalStoreFileRotationMaxBytes': 123,
        'UploadLog': True|False,
        'UploadPeriodMinutes': 123,
        'DeleteLocalStoreAfterUpload': True|False
    }
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

The id for a managed thing.

type RuntimeLogConfigurations:

dict

param RuntimeLogConfigurations:

[REQUIRED]

The runtime log configuration for a managed thing.

  • LogLevel (string) --

    The different log levels available for configuration.

  • LogFlushLevel (string) --

    The different log levels available for configuration.

  • LocalStoreLocation (string) --

    Configuration of where to store runtime logs in the device.

  • LocalStoreFileRotationMaxFiles (integer) --

    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.

  • LocalStoreFileRotationMaxBytes (integer) --

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

  • UploadLog (boolean) --

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

  • UploadPeriodMinutes (integer) --

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

  • DeleteLocalStoreAfterUpload (boolean) --

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

returns:

None

GetOtaTaskConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_ota_task_configuration(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

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

rtype:

dict

returns:

Response Syntax

{
    'TaskConfigurationId': 'string',
    'Name': 'string',
    'PushConfig': {
        'AbortConfig': {
            'AbortConfigCriteriaList': [
                {
                    'Action': 'CANCEL',
                    'FailureType': 'FAILED'|'REJECTED'|'TIMED_OUT'|'ALL',
                    'MinNumberOfExecutedThings': 123,
                    'ThresholdPercentage': 123.0
                },
            ]
        },
        'RolloutConfig': {
            'ExponentialRolloutRate': {
                'BaseRatePerMinute': 123,
                'IncrementFactor': 123.0,
                'RateIncreaseCriteria': {
                    'numberOfNotifiedThings': 123,
                    'numberOfSucceededThings': 123
                }
            },
            'MaximumPerMinute': 123
        },
        'TimeoutConfig': {
            'InProgressTimeoutInMinutes': 123
        }
    },
    'Description': 'string',
    'CreatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • TaskConfigurationId (string) --

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

    • Name (string) --

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

    • PushConfig (dict) --

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

      • AbortConfig (dict) --

        Structure representing one abort config.

        • AbortConfigCriteriaList (list) --

          The list of criteria for the abort config.

          • (dict) --

            Structure representing one abort config criteria.

            • Action (string) --

              The action taken by the abort configuration.

            • FailureType (string) --

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

            • MinNumberOfExecutedThings (integer) --

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

            • ThresholdPercentage (float) --

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

      • RolloutConfig (dict) --

        Structure representing one rollout config.

        • ExponentialRolloutRate (dict) --

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

          • BaseRatePerMinute (integer) --

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

          • IncrementFactor (float) --

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

          • RateIncreaseCriteria (dict) --

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

            • numberOfNotifiedThings (integer) --

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

            • numberOfSucceededThings (integer) --

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

        • MaximumPerMinute (integer) --

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

      • TimeoutConfig (dict) --

        Structure representing one timeout config.

        • InProgressTimeoutInMinutes (integer) --

          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.

    • Description (string) --

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

    • CreatedAt (datetime) --

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

ListDestinations (new) Link ¶

List all destination names under one Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

client.list_destinations(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'DestinationList': [
        {
            'Description': 'string',
            'DeliveryDestinationArn': 'string',
            'DeliveryDestinationType': 'KINESIS',
            'Name': 'string',
            'RoleArn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • DestinationList (list) --

      The list of destinations.

      • (dict) --

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

        • Description (string) --

          The description of the customer-managed destination.

        • DeliveryDestinationArn (string) --

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

        • DeliveryDestinationType (string) --

          The destination type for the customer-managed destination.

        • Name (string) --

          The name of the customer-managed destination.

        • RoleArn (string) --

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

    • NextToken (string) --

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

ListEventLogConfigurations (new) Link ¶

List all event log configurations for an account.

See also: AWS API Documentation

Request Syntax

client.list_event_log_configurations(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'EventLogConfigurationList': [
        {
            'Id': 'string',
            'ResourceType': 'string',
            'ResourceId': 'string',
            'EventLogLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • EventLogConfigurationList (list) --

      A list of each event log configuration and pertinent information.

      • (dict) --

        List of event log configurations.

        • Id (string) --

          The identifier of the event log configuration.

        • ResourceType (string) --

          The type of resource for the event log configuration.

        • ResourceId (string) --

          The identifier of the resource for the event log configuration.

        • EventLogLevel (string) --

          The logging level for the event log configuration.

    • NextToken (string) --

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

DeleteOtaTask (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.delete_ota_task(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

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

returns:

None

CreateManagedThing (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_managed_thing(
    Role='CONTROLLER'|'DEVICE',
    Owner='string',
    CredentialLockerId='string',
    AuthenticationMaterial='string',
    AuthenticationMaterialType='WIFI_SETUP_QR_BAR_CODE'|'ZWAVE_QR_BAR_CODE'|'ZIGBEE_QR_BAR_CODE',
    SerialNumber='string',
    Brand='string',
    Model='string',
    Name='string',
    CapabilityReport={
        'version': 'string',
        'nodeId': 'string',
        'endpoints': [
            {
                'id': 'string',
                'deviceTypes': [
                    'string',
                ],
                'capabilities': [
                    {
                        'id': 'string',
                        'name': 'string',
                        'version': 'string',
                        'properties': [
                            'string',
                        ],
                        'actions': [
                            'string',
                        ],
                        'events': [
                            'string',
                        ]
                    },
                ]
            },
        ]
    },
    Capabilities='string',
    ClientToken='string',
    Classification='string',
    Tags={
        'string': 'string'
    },
    MetaData={
        'string': 'string'
    }
)
type Role:

string

param Role:

[REQUIRED]

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

type Owner:

string

param Owner:

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

type CredentialLockerId:

string

param CredentialLockerId:

The identifier of the credential for the managed thing.

type AuthenticationMaterial:

string

param AuthenticationMaterial:

[REQUIRED]

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

type AuthenticationMaterialType:

string

param AuthenticationMaterialType:

[REQUIRED]

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

type SerialNumber:

string

param SerialNumber:

The serial number of the device.

type Brand:

string

param Brand:

The brand of the device.

type Model:

string

param Model:

The model of the device.

type Name:

string

param Name:

The name of the managed thing representing the physical device.

type CapabilityReport:

dict

param CapabilityReport:

A report of the capabilities for the managed thing.

  • version (string) -- [REQUIRED]

    The version of the capability report.

  • nodeId (string) --

    The numeric identifier of the node.

  • endpoints (list) -- [REQUIRED]

    The endpoints used in the capability report.

    • (dict) --

      The endpoint used in the capability report.

      • id (string) -- [REQUIRED]

        The id of the endpoint used in the capability report.

      • deviceTypes (list) -- [REQUIRED]

        The type of device.

        • (string) --

      • capabilities (list) -- [REQUIRED]

        The capabilities used in the capability report.

        • (dict) --

          The capability used in capability report.

          • id (string) -- [REQUIRED]

            The id of the schema version.

          • name (string) -- [REQUIRED]

            The name of the capability.

          • version (string) -- [REQUIRED]

            The version of the capability.

          • properties (list) -- [REQUIRED]

            The capability properties used in the capability report.

            • (string) --

          • actions (list) -- [REQUIRED]

            The capability actions used in the capability report.

            • (string) --

          • events (list) -- [REQUIRED]

            The capability events used in the capability report.

            • (string) --

type Capabilities:

string

param Capabilities:

The capabilities of the device such as light bulb.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

type Classification:

string

param Classification:

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

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

type MetaData:

dict

param MetaData:

The metadata for the managed thing.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'Arn': 'string',
    'CreatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • Id (string) --

      The id of the managed thing.

    • Arn (string) --

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

    • CreatedAt (datetime) --

      The timestamp value of when the device creation request occurred.

SendManagedThingCommand (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.send_managed_thing_command(
    ManagedThingId='string',
    Endpoints=[
        {
            'endpointId': 'string',
            'capabilities': [
                {
                    'id': 'string',
                    'name': 'string',
                    'version': 'string',
                    'actions': [
                        {
                            'name': 'string',
                            'ref': 'string',
                            'actionTraceId': 'string',
                            'parameters': {...}|[...]|123|123.4|'string'|True|None
                        },
                    ]
                },
            ]
        },
    ],
    ConnectorAssociationId='string'
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

The id of the device.

type Endpoints:

list

param Endpoints:

[REQUIRED]

The device endpoint.

  • (dict) --

    The endpoint for a managed thing when sending a command.

    • endpointId (string) -- [REQUIRED]

      The id of the endpoint for a managed thing.

    • capabilities (list) -- [REQUIRED]

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

      • (dict) --

        The command capabilities added for the managed thing

        • id (string) -- [REQUIRED]

          Describe the capability with an id.

        • name (string) -- [REQUIRED]

          Describe the capability with an name.

        • version (string) -- [REQUIRED]

          Describe the capability with a version.

        • actions (list) -- [REQUIRED]

          Describe the command capability with the actions it supports.

          • (dict) --

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

            • name (string) -- [REQUIRED]

              Describe a capability action with a name.

            • ref (string) --

              Describe a capability action with an reference.

            • actionTraceId (string) --

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

            • parameters (:ref:`document<document>`) --

              Describe a capability action with a capability property.

type ConnectorAssociationId:

string

param ConnectorAssociationId:

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

rtype:

dict

returns:

Response Syntax

{
    'TraceId': 'string'
}

Response Structure

  • (dict) --

    • TraceId (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.

GetManagedThingState (new) Link ¶

Returns the managed thing state for the given device Id.

See also: AWS API Documentation

Request Syntax

client.get_managed_thing_state(
    ManagedThingId='string'
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

The id of the device.

rtype:

dict

returns:

Response Syntax

{
    'Endpoints': [
        {
            'endpointId': 'string',
            'capabilities': [
                {
                    'id': 'string',
                    'name': 'string',
                    'version': 'string',
                    'properties': {...}|[...]|123|123.4|'string'|True|None
                },
            ]
        },
    ]
}

Response Structure

  • (dict) --

    • Endpoints (list) --

      The device endpoint.

      • (dict) --

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

        • endpointId (string) --

          Numeric identifier of the endpoint

        • capabilities (list) --

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

          • (dict) --

            State capabilities added for the managed thing.

            • id (string) --

              The id of the managed thing in the capability report.

            • name (string) --

              Name for the Amazon Web Services capability.

            • version (string) --

              Version for the Amazon Web Services capability.

            • properties (:ref:`document<document>`) --

              Describe the command capability with the properties it supports.

GetNotificationConfiguration (new) Link ¶

Get a notification configuration.

See also: AWS API Documentation

Request Syntax

client.get_notification_configuration(
    EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT'
)
type EventType:

string

param EventType:

[REQUIRED]

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

rtype:

dict

returns:

Response Syntax

{
    'EventType': 'DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT',
    'DestinationName': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • EventType (string) --

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

    • DestinationName (string) --

      The name of the destination for the notification configuration.

    • CreatedAt (datetime) --

      The timestamp value of when the notification configuration was created.

    • UpdatedAt (datetime) --

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

    • Tags (dict) --

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

      • (string) --

        • (string) --

GetManagedThingMetaData (new) Link ¶

Get the metadata information for a managed thing.

See also: AWS API Documentation

Request Syntax

client.get_managed_thing_meta_data(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The managed thing id.

rtype:

dict

returns:

Response Syntax

{
    'ManagedThingId': 'string',
    'MetaData': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • ManagedThingId (string) --

      The managed thing id.

    • MetaData (dict) --

      The metadata for the managed thing.

      • (string) --

        • (string) --

ResetRuntimeLogConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.reset_runtime_log_configuration(
    ManagedThingId='string'
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

The id of a managed thing.

returns:

None

DeleteNotificationConfiguration (new) Link ¶

Deletes a notification configuration.

See also: AWS API Documentation

Request Syntax

client.delete_notification_configuration(
    EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT'
)
type EventType:

string

param EventType:

[REQUIRED]

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

returns:

None

DeleteOtaTaskConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.delete_ota_task_configuration(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

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

returns:

None

ListOtaTaskExecutions (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_ota_task_executions(
    Identifier='string',
    NextToken='string',
    MaxResults=123
)
type Identifier:

string

param Identifier:

[REQUIRED]

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

type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'ExecutionSummaries': [
        {
            'TaskExecutionSummary': {
                'ExecutionNumber': 123,
                'LastUpdatedAt': datetime(2015, 1, 1),
                'QueuedAt': datetime(2015, 1, 1),
                'RetryAttempt': 123,
                'StartedAt': datetime(2015, 1, 1),
                'Status': 'QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED'
            },
            'ManagedThingId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ExecutionSummaries (list) --

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

      • (dict) --

        Structure representing one execution summary.

        • TaskExecutionSummary (dict) --

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

          • ExecutionNumber (integer) --

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

          • LastUpdatedAt (datetime) --

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

          • QueuedAt (datetime) --

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

          • RetryAttempt (integer) --

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

          • StartedAt (datetime) --

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

          • Status (string) --

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

        • ManagedThingId (string) --

          The id of a managed thing.

    • NextToken (string) --

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

RegisterCustomEndpoint (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.register_custom_endpoint()
rtype:

dict

returns:

Response Syntax

{
    'EndpointAddress': 'string'
}

Response Structure

  • (dict) --

    • EndpointAddress (string) --

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

DeleteCredentialLocker (new) Link ¶

Delete a credential locker.

See also: AWS API Documentation

Request Syntax

client.delete_credential_locker(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The identifier of the credential locker.

returns:

None

UpdateEventLogConfiguration (new) Link ¶

Update an event log configuration by log configuration ID.

See also: AWS API Documentation

Request Syntax

client.update_event_log_configuration(
    Id='string',
    EventLogLevel='DEBUG'|'ERROR'|'INFO'|'WARN'
)
type Id:

string

param Id:

[REQUIRED]

The log configuration id.

type EventLogLevel:

string

param EventLogLevel:

[REQUIRED]

The log level for the event in terms of severity.

returns:

None

ListCredentialLockers (new) Link ¶

List information on an existing credential locker.

See also: AWS API Documentation

Request Syntax

client.list_credential_lockers(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'Id': 'string',
            'Arn': 'string',
            'Name': 'string',
            'CreatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of credential lockers.

      • (dict) --

        Structure describing one Credential Locker.

        • Id (string) --

          The id of the credential locker.

        • Arn (string) --

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

        • Name (string) --

          The name of the credential locker.

        • CreatedAt (datetime) --

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

    • NextToken (string) --

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

UpdateManagedThing (new) Link ¶

Update the attributes and capabilities associated with a managed thing.

See also: AWS API Documentation

Request Syntax

client.update_managed_thing(
    Identifier='string',
    Owner='string',
    CredentialLockerId='string',
    SerialNumber='string',
    Brand='string',
    Model='string',
    Name='string',
    CapabilityReport={
        'version': 'string',
        'nodeId': 'string',
        'endpoints': [
            {
                'id': 'string',
                'deviceTypes': [
                    'string',
                ],
                'capabilities': [
                    {
                        'id': 'string',
                        'name': 'string',
                        'version': 'string',
                        'properties': [
                            'string',
                        ],
                        'actions': [
                            'string',
                        ],
                        'events': [
                            'string',
                        ]
                    },
                ]
            },
        ]
    },
    Capabilities='string',
    Classification='string',
    HubNetworkMode='STANDARD'|'NETWORK_WIDE_EXCLUSION',
    MetaData={
        'string': 'string'
    }
)
type Identifier:

string

param Identifier:

[REQUIRED]

The id of the managed thing.

type Owner:

string

param Owner:

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

type CredentialLockerId:

string

param CredentialLockerId:

The identifier of the credential for the managed thing.

type SerialNumber:

string

param SerialNumber:

The serial number of the device.

type Brand:

string

param Brand:

The brand of the device.

type Model:

string

param Model:

The model of the device.

type Name:

string

param Name:

The name of the managed thing representing the physical device.

type CapabilityReport:

dict

param CapabilityReport:

A report of the capabilities for the managed thing.

  • version (string) -- [REQUIRED]

    The version of the capability report.

  • nodeId (string) --

    The numeric identifier of the node.

  • endpoints (list) -- [REQUIRED]

    The endpoints used in the capability report.

    • (dict) --

      The endpoint used in the capability report.

      • id (string) -- [REQUIRED]

        The id of the endpoint used in the capability report.

      • deviceTypes (list) -- [REQUIRED]

        The type of device.

        • (string) --

      • capabilities (list) -- [REQUIRED]

        The capabilities used in the capability report.

        • (dict) --

          The capability used in capability report.

          • id (string) -- [REQUIRED]

            The id of the schema version.

          • name (string) -- [REQUIRED]

            The name of the capability.

          • version (string) -- [REQUIRED]

            The version of the capability.

          • properties (list) -- [REQUIRED]

            The capability properties used in the capability report.

            • (string) --

          • actions (list) -- [REQUIRED]

            The capability actions used in the capability report.

            • (string) --

          • events (list) -- [REQUIRED]

            The capability events used in the capability report.

            • (string) --

type Capabilities:

string

param Capabilities:

The capabilities of the device such as light bulb.

type Classification:

string

param Classification:

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

type HubNetworkMode:

string

param HubNetworkMode:

The network mode for the hub-connected device.

type MetaData:

dict

param MetaData:

The metadata for the managed thing.

  • (string) --

    • (string) --

returns:

None

UpdateNotificationConfiguration (new) Link ¶

Update a notification configuration.

See also: AWS API Documentation

Request Syntax

client.update_notification_configuration(
    EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'CONNECTOR_ERROR_REPORT',
    DestinationName='string'
)
type EventType:

string

param EventType:

[REQUIRED]

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

type DestinationName:

string

param DestinationName:

[REQUIRED]

The name of the destination for the notification configuration.

returns:

None

GetSchemaVersion (new) Link ¶

Gets a schema version with the provided information.

See also: AWS API Documentation

Request Syntax

client.get_schema_version(
    Type='capability'|'definition',
    SchemaVersionedId='string',
    Format='AWS'|'ZCL'|'CONNECTOR'
)
type Type:

string

param Type:

[REQUIRED]

The type of schema version.

type SchemaVersionedId:

string

param SchemaVersionedId:

[REQUIRED]

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

type Format:

string

param Format:

The format of the schema version.

rtype:

dict

returns:

Response Syntax

{
    'SchemaId': 'string',
    'Type': 'capability'|'definition',
    'Description': 'string',
    'Namespace': 'string',
    'SemanticVersion': 'string',
    'Visibility': 'PUBLIC'|'PRIVATE',
    'Schema': {...}|[...]|123|123.4|'string'|True|None
}

Response Structure

  • (dict) --

    • SchemaId (string) --

      The id of the schema version.

    • Type (string) --

      The type of schema version.

    • Description (string) --

      The description of the schema version.

    • Namespace (string) --

      The name of the schema version.

    • SemanticVersion (string) --

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

    • Visibility (string) --

      The visibility of the schema version.

    • Schema (:ref:`document<document>`) --

      The schema of the schema version.

GetDefaultEncryptionConfiguration (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.get_default_encryption_configuration()
rtype:

dict

returns:

Response Syntax

{
    'configurationStatus': {
        'error': {
            'code': 'string',
            'message': 'string'
        },
        'state': 'ENABLED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'
    },
    'encryptionType': 'MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION'|'CUSTOMER_KEY_ENCRYPTION',
    'kmsKeyArn': 'string'
}

Response Structure

  • (dict) --

    • configurationStatus (dict) --

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

      • error (dict) --

        The error details describing a failed default encryption configuration update.

        • code (string) --

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

        • message (string) --

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

      • state (string) --

        The status state describing the default encryption configuration update.

    • encryptionType (string) --

      The type of encryption used for the encryption configuration.

    • kmsKeyArn (string) --

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

UpdateDestination (new) Link ¶

Update a destination specified by id.

See also: AWS API Documentation

Request Syntax

client.update_destination(
    Name='string',
    DeliveryDestinationArn='string',
    DeliveryDestinationType='KINESIS',
    RoleArn='string',
    Description='string'
)
type Name:

string

param Name:

[REQUIRED]

The name of the customer-managed destination.

type DeliveryDestinationArn:

string

param DeliveryDestinationArn:

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

type DeliveryDestinationType:

string

param DeliveryDestinationType:

The destination type for the customer-managed destination.

type RoleArn:

string

param RoleArn:

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

type Description:

string

param Description:

The description of the customer-managed destination.

returns:

None

StartDeviceDiscovery (new) Link ¶

During user-guided setup, this is used to start device discovery. The authentication material (install code) is passed as a message to the controller telling it to start the discovery.

See also: AWS API Documentation

Request Syntax

client.start_device_discovery(
    DiscoveryType='ZWAVE'|'ZIGBEE'|'CLOUD',
    ControllerIdentifier='string',
    ConnectorAssociationIdentifier='string',
    AuthenticationMaterial='string',
    AuthenticationMaterialType='ZWAVE_INSTALL_CODE',
    ClientToken='string',
    Tags={
        'string': 'string'
    }
)
type DiscoveryType:

string

param DiscoveryType:

[REQUIRED]

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

type ControllerIdentifier:

string

param ControllerIdentifier:

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

type ConnectorAssociationIdentifier:

string

param ConnectorAssociationIdentifier:

The id of the connector association.

type AuthenticationMaterial:

string

param AuthenticationMaterial:

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

type AuthenticationMaterialType:

string

param AuthenticationMaterialType:

The type of authentication material used for device discovery jobs.

type ClientToken:

string

param ClientToken:

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.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'StartedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • Id (string) --

      The id of the device discovery job request.

    • StartedAt (datetime) --

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

DeleteDestination (new) Link ¶

Deletes a customer-managed destination specified by id.

See also: AWS API Documentation

Request Syntax

client.delete_destination(
    Name='string'
)
type Name:

string

param Name:

[REQUIRED]

The id of the customer-managed destination.

returns:

None

GetCustomEndpoint (new) Link ¶

Returns the IoT managed integrations custom endpoint.

See also: AWS API Documentation

Request Syntax

client.get_custom_endpoint()
rtype:

dict

returns:

Response Syntax

{
    'EndpointAddress': 'string'
}

Response Structure

  • (dict) --

    • EndpointAddress (string) --

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

ListManagedThingSchemas (new) Link ¶

List schemas associated with a managed thing.

See also: AWS API Documentation

Request Syntax

client.list_managed_thing_schemas(
    Identifier='string',
    EndpointIdFilter='string',
    CapabilityIdFilter='string',
    NextToken='string',
    MaxResults=123
)
type Identifier:

string

param Identifier:

[REQUIRED]

The managed thing id.

type EndpointIdFilter:

string

param EndpointIdFilter:

Filter on an endpoint id.

type CapabilityIdFilter:

string

param CapabilityIdFilter:

Filter on a capability id.

type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'EndpointId': 'string',
            'CapabilityId': 'string',
            'Schema': {...}|[...]|123|123.4|'string'|True|None
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of managed thing schemas.

      • (dict) --

        Structure representing one schema item associated with a managed thing.

        • EndpointId (string) --

          The id of the endpoint for a managed thing.

        • CapabilityId (string) --

          The id of the capability for a managed thing.

        • Schema (:ref:`document<document>`) --

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

    • NextToken (string) --

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

ListManagedThings (new) Link ¶

List all of the associations and statuses for a managed thing by its owner.

See also: AWS API Documentation

Request Syntax

client.list_managed_things(
    OwnerFilter='string',
    CredentialLockerFilter='string',
    RoleFilter='CONTROLLER'|'DEVICE',
    ParentControllerIdentifierFilter='string',
    ConnectorPolicyIdFilter='string',
    SerialNumberFilter='string',
    ProvisioningStatusFilter='UNASSOCIATED'|'PRE_ASSOCIATED'|'DISCOVERED'|'ACTIVATED'|'DELETION_FAILED'|'DELETE_IN_PROGRESS'|'ISOLATED'|'DELETED',
    NextToken='string',
    MaxResults=123
)
type OwnerFilter:

string

param OwnerFilter:

Filter on device owners when listing managed things.

type CredentialLockerFilter:

string

param CredentialLockerFilter:

Filter on a credential locker for a managed thing.

type RoleFilter:

string

param RoleFilter:

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

type ParentControllerIdentifierFilter:

string

param ParentControllerIdentifierFilter:

Filter on a parent controller id for a managed thing.

type ConnectorPolicyIdFilter:

string

param ConnectorPolicyIdFilter:

Filter on a connector policy id for a managed thing.

type SerialNumberFilter:

string

param SerialNumberFilter:

Filter on the serial number of the device.

type ProvisioningStatusFilter:

string

param ProvisioningStatusFilter:

Filter on the status of the device.

type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'Id': 'string',
            'Arn': 'string',
            'AdvertisedProductId': 'string',
            'Brand': 'string',
            'Classification': 'string',
            'ConnectorDeviceId': 'string',
            'ConnectorPolicyId': 'string',
            'Model': 'string',
            'Name': 'string',
            'Owner': 'string',
            'CredentialLockerId': 'string',
            'ParentControllerId': 'string',
            'ProvisioningStatus': 'UNASSOCIATED'|'PRE_ASSOCIATED'|'DISCOVERED'|'ACTIVATED'|'DELETION_FAILED'|'DELETE_IN_PROGRESS'|'ISOLATED'|'DELETED',
            'Role': 'CONTROLLER'|'DEVICE',
            'SerialNumber': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1),
            'ActivatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of managed things.

      • (dict) --

        Structure representing one managed thing.

        • Id (string) --

          The id of the device.

        • Arn (string) --

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

        • AdvertisedProductId (string) --

          The id of the advertised product.

        • Brand (string) --

          The brand of the device.

        • Classification (string) --

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

        • ConnectorDeviceId (string) --

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

        • ConnectorPolicyId (string) --

          The id of the connector policy.

        • Model (string) --

          The model of the device.

        • Name (string) --

          The name of the managed thing representing the physical device.

        • Owner (string) --

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

        • CredentialLockerId (string) --

          The identifier of the credential locker for the managed thing.

        • ParentControllerId (string) --

          Id of the controller device used for the discovery job.

        • ProvisioningStatus (string) --

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

        • Role (string) --

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

        • SerialNumber (string) --

          The serial number of the device.

        • CreatedAt (datetime) --

          The timestamp value of when the device creation request occurred.

        • UpdatedAt (datetime) --

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

        • ActivatedAt (datetime) --

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

    • NextToken (string) --

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

UpdateOtaTask (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.update_ota_task(
    Identifier='string',
    Description='string',
    TaskConfigurationId='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

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

type Description:

string

param Description:

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

type TaskConfigurationId:

string

param TaskConfigurationId:

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

returns:

None

CreateCredentialLocker (new) Link ¶

Create a product credential locker. This operation will trigger the creation of all the manufacturing resources including the Wi-Fi setup key pair and device certificate.

See also: AWS API Documentation

Request Syntax

client.create_credential_locker(
    Name='string',
    ClientToken='string',
    Tags={
        'string': 'string'
    }
)
type Name:

string

param Name:

The name of the credential locker.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'Arn': 'string',
    'CreatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • Id (string) --

      The identifier of the credential locker creation request.

    • Arn (string) --

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

    • CreatedAt (datetime) --

      The timestamp value of when the credential locker request occurred.

CreateOtaTask (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_ota_task(
    Description='string',
    S3Url='string',
    Protocol='HTTP',
    Target=[
        'string',
    ],
    TaskConfigurationId='string',
    OtaMechanism='PUSH',
    OtaType='ONE_TIME'|'CONTINUOUS',
    OtaTargetQueryString='string',
    ClientToken='string',
    OtaSchedulingConfig={
        'EndBehavior': 'STOP_ROLLOUT'|'CANCEL'|'FORCE_CANCEL',
        'EndTime': 'string',
        'MaintenanceWindows': [
            {
                'DurationInMinutes': 123,
                'StartTime': 'string'
            },
        ],
        'StartTime': 'string'
    },
    OtaTaskExecutionRetryConfig={
        'RetryConfigCriteria': [
            {
                'FailureType': 'FAILED'|'TIMED_OUT'|'ALL',
                'MinNumberOfRetries': 123
            },
        ]
    },
    Tags={
        'string': 'string'
    }
)
type Description:

string

param Description:

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

type S3Url:

string

param S3Url:

[REQUIRED]

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

type Protocol:

string

param Protocol:

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

type Target:

list

param Target:

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

  • (string) --

type TaskConfigurationId:

string

param TaskConfigurationId:

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

type OtaMechanism:

string

param OtaMechanism:

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

type OtaType:

string

param OtaType:

[REQUIRED]

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

type OtaTargetQueryString:

string

param OtaTargetQueryString:

The query string to add things to the thing group.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

type OtaSchedulingConfig:

dict

param OtaSchedulingConfig:

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

  • EndBehavior (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 (string) --

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

  • MaintenanceWindows (list) --

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

    • (dict) --

      Structure representing scheduling maintenance window.

      • DurationInMinutes (integer) --

        Displays the duration of the next maintenance window.

      • StartTime (string) --

        Displays the start time of the next maintenance window.

  • StartTime (string) --

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

type OtaTaskExecutionRetryConfig:

dict

param OtaTaskExecutionRetryConfig:

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

  • RetryConfigCriteria (list) --

    The list of retry config criteria.

    • (dict) --

      Structure representing one retry config criteria.

      • FailureType (string) --

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

      • MinNumberOfRetries (integer) --

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

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'TaskId': 'string',
    'TaskArn': 'string',
    'Description': 'string'
}

Response Structure

  • (dict) --

    • TaskId (string) --

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

    • TaskArn (string) --

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

    • Description (string) --

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

CreateProvisioningProfile (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.create_provisioning_profile(
    ProvisioningType='FLEET_PROVISIONING'|'JITR',
    CaCertificate='string',
    Name='string',
    ClientToken='string',
    Tags={
        'string': 'string'
    }
)
type ProvisioningType:

string

param ProvisioningType:

[REQUIRED]

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

type CaCertificate:

string

param CaCertificate:

The id of the certificate authority (CA) certificate.

type Name:

string

param Name:

The name of the provisioning template.

type ClientToken:

string

param ClientToken:

An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

This field is autopopulated if not provided.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Arn': 'string',
    'Name': 'string',
    'ProvisioningType': 'FLEET_PROVISIONING'|'JITR',
    'Id': 'string',
    'ClaimCertificate': 'string',
    'ClaimCertificatePrivateKey': 'string'
}

Response Structure

  • (dict) --

    • Arn (string) --

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

    • Name (string) --

      The name of the provisioning template.

    • ProvisioningType (string) --

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

    • Id (string) --

      The identifier of the provisioning profile.

    • ClaimCertificate (string) --

      The id of the claim certificate.

    • ClaimCertificatePrivateKey (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.

ListProvisioningProfiles (new) Link ¶

List the provisioning profiles within the Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

client.list_provisioning_profiles(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'Name': 'string',
            'Id': 'string',
            'Arn': 'string',
            'ProvisioningType': 'FLEET_PROVISIONING'|'JITR'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of provisioning profiles.

      • (dict) --

        Structure describing a provisioning profile.

        • Name (string) --

          The name of the provisioning template.

        • Id (string) --

          The identifier of the provisioning profile.

        • Arn (string) --

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

        • ProvisioningType (string) --

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

    • NextToken (string) --

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

GetRuntimeLogConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_runtime_log_configuration(
    ManagedThingId='string'
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

The id for a managed thing.

rtype:

dict

returns:

Response Syntax

{
    'ManagedThingId': 'string',
    'RuntimeLogConfigurations': {
        'LogLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN',
        'LogFlushLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN',
        'LocalStoreLocation': 'string',
        'LocalStoreFileRotationMaxFiles': 123,
        'LocalStoreFileRotationMaxBytes': 123,
        'UploadLog': True|False,
        'UploadPeriodMinutes': 123,
        'DeleteLocalStoreAfterUpload': True|False
    }
}

Response Structure

  • (dict) --

    • ManagedThingId (string) --

      The id for a managed thing.

    • RuntimeLogConfigurations (dict) --

      The runtime log configuration for a managed thing.

      • LogLevel (string) --

        The different log levels available for configuration.

      • LogFlushLevel (string) --

        The different log levels available for configuration.

      • LocalStoreLocation (string) --

        Configuration of where to store runtime logs in the device.

      • LocalStoreFileRotationMaxFiles (integer) --

        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.

      • LocalStoreFileRotationMaxBytes (integer) --

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

      • UploadLog (boolean) --

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

      • UploadPeriodMinutes (integer) --

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

      • DeleteLocalStoreAfterUpload (boolean) --

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

PutHubConfiguration (new) Link ¶

Update a hub configuration.

See also: AWS API Documentation

Request Syntax

client.put_hub_configuration(
    HubTokenTimerExpirySettingInSeconds=123
)
type HubTokenTimerExpirySettingInSeconds:

integer

param HubTokenTimerExpirySettingInSeconds:

[REQUIRED]

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

rtype:

dict

returns:

Response Syntax

{
    'HubTokenTimerExpirySettingInSeconds': 123
}

Response Structure

  • (dict) --

    • HubTokenTimerExpirySettingInSeconds (integer) --

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

ListOtaTasks (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_ota_tasks(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'Tasks': [
        {
            'TaskId': 'string',
            'TaskArn': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'LastUpdatedAt': datetime(2015, 1, 1),
            'TaskConfigurationId': 'string',
            'Status': 'IN_PROGRESS'|'CANCELED'|'COMPLETED'|'DELETION_IN_PROGRESS'|'SCHEDULED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Tasks (list) --

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

      • (dict) --

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

        • TaskId (string) --

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

        • TaskArn (string) --

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

        • CreatedAt (datetime) --

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

        • LastUpdatedAt (datetime) --

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

        • TaskConfigurationId (string) --

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

        • Status (string) --

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

    • NextToken (string) --

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

GetDeviceDiscovery (new) Link ¶

Get the current state of a device discovery.

See also: AWS API Documentation

Request Syntax

client.get_device_discovery(
    Identifier='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The id of the device discovery job request.

rtype:

dict

returns:

Response Syntax

{
    'Id': 'string',
    'Arn': 'string',
    'DiscoveryType': 'ZWAVE'|'ZIGBEE'|'CLOUD',
    'Status': 'RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT',
    'StartedAt': datetime(2015, 1, 1),
    'ControllerId': 'string',
    'ConnectorAssociationId': 'string',
    'FinishedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • Id (string) --

      The id of the device discovery job request.

    • Arn (string) --

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

    • DiscoveryType (string) --

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

    • Status (string) --

      The status of the device discovery job request.

    • StartedAt (datetime) --

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

    • ControllerId (string) --

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

    • ConnectorAssociationId (string) --

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

    • FinishedAt (datetime) --

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

    • Tags (dict) --

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

      • (string) --

        • (string) --

ListOtaTaskConfigurations (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_ota_task_configurations(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

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

type MaxResults:

integer

param MaxResults:

The maximum number of results to return at one time.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'TaskConfigurationId': 'string',
            'Name': 'string',
            'CreatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

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

      • (dict) --

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

        • TaskConfigurationId (string) --

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

        • Name (string) --

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

        • CreatedAt (datetime) --

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

    • NextToken (string) --

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