Managed integrations for AWS IoT Device Management

2025/06/26 - Managed integrations for AWS IoT Device Management - 25 new13 updated api methods

Changes  Adding managed integrations APIs for IoT Device Management to onboard and control devices across different manufacturers, connectivity protocols and third party vendor clouds. APIs include managed thing operations, provisioning profile management, and cloud connector operations.

CreateCloudConnector (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_cloud_connector(
    Name='string',
    EndpointConfig={
        'lambda': {
            'arn': 'string'
        }
    },
    Description='string',
    EndpointType='LAMBDA',
    ClientToken='string'
)
type Name:

string

param Name:

[REQUIRED]

The display name of the C2C connector.

type EndpointConfig:

dict

param EndpointConfig:

[REQUIRED]

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

  • lambda (dict) --

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

    • arn (string) -- [REQUIRED]

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

type Description:

string

param Description:

A description of the C2C connector.

type EndpointType:

string

param EndpointType:

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

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 unique identifier assigned to the newly created cloud connector.

DeregisterAccountAssociation (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.deregister_account_association(
    ManagedThingId='string',
    AccountAssociationId='string'
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

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

type AccountAssociationId:

string

param AccountAssociationId:

[REQUIRED]

The unique identifier of the account association to be deregistered.

returns:

None

ListManagedThingAccountAssociations (new) Link ¶

Lists all account associations for a specific managed thing.

See also: AWS API Documentation

Request Syntax

client.list_managed_thing_account_associations(
    ManagedThingId='string',
    AccountAssociationId='string',
    MaxResults=123,
    NextToken='string'
)
type ManagedThingId:

string

param ManagedThingId:

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

type AccountAssociationId:

string

param AccountAssociationId:

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

type MaxResults:

integer

param MaxResults:

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

type NextToken:

string

param NextToken:

A token used for pagination of results.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'ManagedThingId': 'string',
            'AccountAssociationId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

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

      • (dict) --

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

        • ManagedThingId (string) --

          The identifier of the managed thing in the association.

        • AccountAssociationId (string) --

          The identifier of the account association in the association.

    • NextToken (string) --

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

UpdateAccountAssociation (new) Link ¶

Updates the properties of an existing account association.

See also: AWS API Documentation

Request Syntax

client.update_account_association(
    AccountAssociationId='string',
    Name='string',
    Description='string'
)
type AccountAssociationId:

string

param AccountAssociationId:

[REQUIRED]

The unique identifier of the account association to update.

type Name:

string

param Name:

The new name to assign to the account association.

type Description:

string

param Description:

The new description to assign to the account association.

returns:

None

GetCloudConnector (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

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

string

param Identifier:

[REQUIRED]

The identifier of the C2C connector.

rtype:

dict

returns:

Response Syntax

{
    'Name': 'string',
    'EndpointConfig': {
        'lambda': {
            'arn': 'string'
        }
    },
    'Description': 'string',
    'EndpointType': 'LAMBDA',
    'Id': 'string',
    'Type': 'LISTED'|'UNLISTED'
}

Response Structure

  • (dict) --

    • Name (string) --

      The display name of the C2C connector.

    • EndpointConfig (dict) --

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

      • lambda (dict) --

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

        • arn (string) --

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

    • Description (string) --

      A description of the C2C connector.

    • EndpointType (string) --

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

    • Id (string) --

      The unique identifier of the cloud connector.

    • Type (string) --

      The type of cloud connector created.

GetAccountAssociation (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_account_association(
    AccountAssociationId='string'
)
type AccountAssociationId:

string

param AccountAssociationId:

[REQUIRED]

The unique identifier of the account association to retrieve.

rtype:

dict

returns:

Response Syntax

{
    'AccountAssociationId': 'string',
    'AssociationState': 'ASSOCIATION_IN_PROGRESS'|'ASSOCIATION_FAILED'|'ASSOCIATION_SUCCEEDED'|'ASSOCIATION_DELETING'|'REFRESH_TOKEN_EXPIRED',
    'ErrorMessage': 'string',
    'ConnectorDestinationId': 'string',
    'Name': 'string',
    'Description': 'string',
    'Arn': 'string',
    'OAuthAuthorizationUrl': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • AccountAssociationId (string) --

      The unique identifier of the retrieved account association.

    • AssociationState (string) --

      The current status state for the account association.

    • ErrorMessage (string) --

      The error message explaining the current account association error.

    • ConnectorDestinationId (string) --

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

    • Name (string) --

      The name of the account association.

    • Description (string) --

      The description of the account association.

    • Arn (string) --

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

    • OAuthAuthorizationUrl (string) --

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

    • Tags (dict) --

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

      • (string) --

        • (string) --

ListCloudConnectors (new) Link ¶

Returns a list of connectors based on permissions.

See also: AWS API Documentation

Request Syntax

client.list_cloud_connectors(
    Type='LISTED'|'UNLISTED',
    LambdaArn='string',
    MaxResults=123,
    NextToken='string'
)
type Type:

string

param Type:

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

type LambdaArn:

string

param LambdaArn:

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

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

{
    'Items': [
        {
            'Name': 'string',
            'EndpointConfig': {
                'lambda': {
                    'arn': 'string'
                }
            },
            'Description': 'string',
            'EndpointType': 'LAMBDA',
            'Id': 'string',
            'Type': 'LISTED'|'UNLISTED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of connectors.

      • (dict) --

        Structure describing a connector.

        • Name (string) --

          The display name of the C2C connector.

        • EndpointConfig (dict) --

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

          • lambda (dict) --

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

            • arn (string) --

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

        • Description (string) --

          A description of the C2C connector.

        • EndpointType (string) --

          The type of endpoint used for the C2C connector.

        • Id (string) --

          The identifier of the C2C connector.

        • Type (string) --

          The type of cloud connector created.

    • NextToken (string) --

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

StartAccountAssociationRefresh (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.start_account_association_refresh(
    AccountAssociationId='string'
)
type AccountAssociationId:

string

param AccountAssociationId:

[REQUIRED]

The unique identifier of the account association to refresh.

rtype:

dict

returns:

Response Syntax

{
    'OAuthAuthorizationUrl': 'string'
}

Response Structure

  • (dict) --

    • OAuthAuthorizationUrl (string) --

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

RegisterAccountAssociation (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.register_account_association(
    ManagedThingId='string',
    AccountAssociationId='string',
    DeviceDiscoveryId='string'
)
type ManagedThingId:

string

param ManagedThingId:

[REQUIRED]

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

type AccountAssociationId:

string

param AccountAssociationId:

[REQUIRED]

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

type DeviceDiscoveryId:

string

param DeviceDiscoveryId:

[REQUIRED]

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

rtype:

dict

returns:

Response Syntax

{
    'AccountAssociationId': 'string',
    'DeviceDiscoveryId': 'string',
    'ManagedThingId': 'string'
}

Response Structure

  • (dict) --

    • AccountAssociationId (string) --

      The identifier of the account association that was registered.

    • DeviceDiscoveryId (string) --

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

    • ManagedThingId (string) --

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

CreateConnectorDestination (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_connector_destination(
    Name='string',
    Description='string',
    CloudConnectorId='string',
    AuthType='OAUTH',
    AuthConfig={
        'oAuth': {
            'authUrl': 'string',
            'tokenUrl': 'string',
            'scope': 'string',
            'tokenEndpointAuthenticationScheme': 'HTTP_BASIC'|'REQUEST_BODY_CREDENTIALS',
            'oAuthCompleteRedirectUrl': 'string',
            'proactiveRefreshTokenRenewal': {
                'enabled': True|False,
                'DaysBeforeRenewal': 123
            }
        }
    },
    SecretsManager={
        'arn': 'string',
        'versionId': 'string'
    },
    ClientToken='string'
)
type Name:

string

param Name:

The display name of the connector destination.

type Description:

string

param Description:

A description of the connector destination.

type CloudConnectorId:

string

param CloudConnectorId:

[REQUIRED]

The identifier of the C2C connector.

type AuthType:

string

param AuthType:

[REQUIRED]

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

type AuthConfig:

dict

param AuthConfig:

[REQUIRED]

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

  • oAuth (dict) --

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

    • authUrl (string) -- [REQUIRED]

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

    • tokenUrl (string) -- [REQUIRED]

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

    • scope (string) --

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

    • tokenEndpointAuthenticationScheme (string) -- [REQUIRED]

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

    • oAuthCompleteRedirectUrl (string) --

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

    • proactiveRefreshTokenRenewal (dict) --

      Configuration for proactively refreshing OAuth tokens before they expire.

      • enabled (boolean) --

        Indicates whether proactive refresh token renewal is enabled.

      • DaysBeforeRenewal (integer) --

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

type SecretsManager:

dict

param SecretsManager:

[REQUIRED]

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

  • arn (string) -- [REQUIRED]

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

  • versionId (string) -- [REQUIRED]

    The version ID of the AWS Secrets Manager secret.

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 C2C connector destination creation request.

ListTagsForResource (new) Link ¶

List tags for the specified resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    ResourceArn='string'
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource for which to list tags.

rtype:

dict

returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • tags (dict) --

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

      • (string) --

        • (string) --

DeleteCloudConnector (new) Link ¶

Delete a cloud connector.

See also: AWS API Documentation

Request Syntax

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

string

param Identifier:

[REQUIRED]

The identifier of the cloud connector.

returns:

None

UntagResource (new) Link ¶

Remove tags for the specified resource.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    ResourceArn='string',
    TagKeys=[
        'string',
    ]
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource to which to add tags.

type TagKeys:

list

param TagKeys:

[REQUIRED]

A list of tag keys to remove from the resource.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UpdateConnectorDestination (new) Link ¶

Updates the properties of an existing connector destination.

See also: AWS API Documentation

Request Syntax

client.update_connector_destination(
    Identifier='string',
    Description='string',
    Name='string',
    AuthType='OAUTH',
    AuthConfig={
        'oAuthUpdate': {
            'oAuthCompleteRedirectUrl': 'string',
            'proactiveRefreshTokenRenewal': {
                'enabled': True|False,
                'DaysBeforeRenewal': 123
            }
        }
    },
    SecretsManager={
        'arn': 'string',
        'versionId': 'string'
    }
)
type Identifier:

string

param Identifier:

[REQUIRED]

The unique identifier of the connector destination to update.

type Description:

string

param Description:

The new description to assign to the connector destination.

type Name:

string

param Name:

The new display name to assign to the connector destination.

type AuthType:

string

param AuthType:

The new authentication type to use for the connector destination.

type AuthConfig:

dict

param AuthConfig:

The updated authentication configuration details for the connector destination.

  • oAuthUpdate (dict) --

    The updated OAuth configuration settings for the authentication configuration.

    • oAuthCompleteRedirectUrl (string) --

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

    • proactiveRefreshTokenRenewal (dict) --

      Updated configuration for proactively refreshing OAuth tokens before they expire.

      • enabled (boolean) --

        Indicates whether proactive refresh token renewal is enabled.

      • DaysBeforeRenewal (integer) --

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

type SecretsManager:

dict

param SecretsManager:

The updated AWS Secrets Manager configuration for the connector destination.

  • arn (string) -- [REQUIRED]

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

  • versionId (string) -- [REQUIRED]

    The version ID of the AWS Secrets Manager secret.

returns:

None

GetConnectorDestination (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

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

string

param Identifier:

[REQUIRED]

The identifier of the C2C connector destination.

rtype:

dict

returns:

Response Syntax

{
    'Name': 'string',
    'Description': 'string',
    'CloudConnectorId': 'string',
    'Id': 'string',
    'AuthType': 'OAUTH',
    'AuthConfig': {
        'oAuth': {
            'authUrl': 'string',
            'tokenUrl': 'string',
            'scope': 'string',
            'tokenEndpointAuthenticationScheme': 'HTTP_BASIC'|'REQUEST_BODY_CREDENTIALS',
            'oAuthCompleteRedirectUrl': 'string',
            'proactiveRefreshTokenRenewal': {
                'enabled': True|False,
                'DaysBeforeRenewal': 123
            }
        }
    },
    'SecretsManager': {
        'arn': 'string',
        'versionId': 'string'
    },
    'OAuthCompleteRedirectUrl': 'string'
}

Response Structure

  • (dict) --

    • Name (string) --

      The display name of the connector destination.

    • Description (string) --

      A description of the connector destination.

    • CloudConnectorId (string) --

      The identifier of the C2C connector.

    • Id (string) --

      The unique identifier of the connector destination.

    • AuthType (string) --

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

    • AuthConfig (dict) --

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

      • oAuth (dict) --

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

        • authUrl (string) --

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

        • tokenUrl (string) --

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

        • scope (string) --

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

        • tokenEndpointAuthenticationScheme (string) --

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

        • oAuthCompleteRedirectUrl (string) --

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

        • proactiveRefreshTokenRenewal (dict) --

          Configuration for proactively refreshing OAuth tokens before they expire.

          • enabled (boolean) --

            Indicates whether proactive refresh token renewal is enabled.

          • DaysBeforeRenewal (integer) --

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

    • SecretsManager (dict) --

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

      • arn (string) --

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

      • versionId (string) --

        The version ID of the AWS Secrets Manager secret.

    • OAuthCompleteRedirectUrl (string) --

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

DeleteConnectorDestination (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

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

string

param Identifier:

[REQUIRED]

The identifier of the connector destination.

returns:

None

ListConnectorDestinations (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

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

string

param CloudConnectorId:

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

type NextToken:

string

param NextToken:

A token used for pagination of results.

type MaxResults:

integer

param MaxResults:

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

rtype:

dict

returns:

Response Syntax

{
    'ConnectorDestinationList': [
        {
            'Name': 'string',
            'Description': 'string',
            'CloudConnectorId': 'string',
            'Id': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ConnectorDestinationList (list) --

      The list of connector destinations that match the specified criteria.

      • (dict) --

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

        • Name (string) --

          The display name of the connector destination.

        • Description (string) --

          A description of the connector destination.

        • CloudConnectorId (string) --

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

        • Id (string) --

          The unique identifier of the connector destination.

    • NextToken (string) --

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

ListAccountAssociations (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

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

string

param ConnectorDestinationId:

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

type MaxResults:

integer

param MaxResults:

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

type NextToken:

string

param NextToken:

A token used for pagination of results.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'AccountAssociationId': 'string',
            'AssociationState': 'ASSOCIATION_IN_PROGRESS'|'ASSOCIATION_FAILED'|'ASSOCIATION_SUCCEEDED'|'ASSOCIATION_DELETING'|'REFRESH_TOKEN_EXPIRED',
            'ErrorMessage': 'string',
            'ConnectorDestinationId': 'string',
            'Name': 'string',
            'Description': 'string',
            'Arn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of account associations that match the specified criteria.

      • (dict) --

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

        • AccountAssociationId (string) --

          The unique identifier of the account association.

        • AssociationState (string) --

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

        • ErrorMessage (string) --

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

        • ConnectorDestinationId (string) --

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

        • Name (string) --

          The name of the account association.

        • Description (string) --

          A description of the account association.

        • Arn (string) --

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

    • NextToken (string) --

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

CreateAccountAssociation (new) Link ¶

Creates a new account association via the destination id.

See also: AWS API Documentation

Request Syntax

client.create_account_association(
    ClientToken='string',
    ConnectorDestinationId='string',
    Name='string',
    Description='string',
    Tags={
        'string': 'string'
    }
)
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 ConnectorDestinationId:

string

param ConnectorDestinationId:

[REQUIRED]

The identifier of the connector destination.

type Name:

string

param Name:

The name of the destination for the new account association.

type Description:

string

param Description:

A description of the account association request.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'OAuthAuthorizationUrl': 'string',
    'AccountAssociationId': 'string',
    'AssociationState': 'ASSOCIATION_IN_PROGRESS'|'ASSOCIATION_FAILED'|'ASSOCIATION_SUCCEEDED'|'ASSOCIATION_DELETING'|'REFRESH_TOKEN_EXPIRED',
    'Arn': 'string'
}

Response Structure

  • (dict) --

    • OAuthAuthorizationUrl (string) --

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

    • AccountAssociationId (string) --

      The identifier for the account association request.

    • AssociationState (string) --

      The current state of the account association request.

    • Arn (string) --

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

UpdateCloudConnector (new) Link ¶

Update an existing cloud connector.

See also: AWS API Documentation

Request Syntax

client.update_cloud_connector(
    Identifier='string',
    Name='string',
    Description='string'
)
type Identifier:

string

param Identifier:

[REQUIRED]

The unique identifier of the cloud connector to update.

type Name:

string

param Name:

The new display name to assign to the cloud connector.

type Description:

string

param Description:

The new description to assign to the cloud connector.

returns:

None

ListDeviceDiscoveries (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_device_discoveries(
    NextToken='string',
    MaxResults=123,
    TypeFilter='ZWAVE'|'ZIGBEE'|'CLOUD'|'CUSTOM',
    StatusFilter='RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'
)
type NextToken:

string

param NextToken:

A token used for pagination of results.

type MaxResults:

integer

param MaxResults:

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

type TypeFilter:

string

param TypeFilter:

The discovery type to filter device discovery jobs by.

type StatusFilter:

string

param StatusFilter:

The status to filter device discovery jobs by.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'Id': 'string',
            'DiscoveryType': 'ZWAVE'|'ZIGBEE'|'CLOUD'|'CUSTOM',
            'Status': 'RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

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

      • (dict) --

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

        • Id (string) --

          The unique identifier of the device discovery job.

        • DiscoveryType (string) --

          The type of discovery process used to find devices.

        • Status (string) --

          The current status of the device discovery job.

    • NextToken (string) --

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

ListDiscoveredDevices (new) Link ¶

Lists all devices discovered during a specific device discovery task.

See also: AWS API Documentation

Request Syntax

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

string

param Identifier:

[REQUIRED]

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

type NextToken:

string

param NextToken:

A token used for pagination of results.

type MaxResults:

integer

param MaxResults:

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

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'ConnectorDeviceId': 'string',
            'ConnectorDeviceName': 'string',
            'DeviceTypes': [
                'string',
            ],
            'ManagedThingId': 'string',
            'Modification': 'DISCOVERED'|'UPDATED'|'NO_CHANGE',
            'DiscoveredAt': datetime(2015, 1, 1),
            'Brand': 'string',
            'Model': 'string',
            'AuthenticationMaterial': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      The list of discovered devices that match the specified criteria.

      • (dict) --

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

        • ConnectorDeviceId (string) --

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

        • ConnectorDeviceName (string) --

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

        • DeviceTypes (list) --

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

          • (string) --

        • ManagedThingId (string) --

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

        • Modification (string) --

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

        • DiscoveredAt (datetime) --

          The timestamp indicating when the device was discovered.

        • Brand (string) --

          The brand of the discovered device.

        • Model (string) --

          The model of the discovered device.

        • AuthenticationMaterial (string) --

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

    • NextToken (string) --

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

DeleteAccountAssociation (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.delete_account_association(
    AccountAssociationId='string'
)
type AccountAssociationId:

string

param AccountAssociationId:

[REQUIRED]

The unique identifier of the account association to be deleted.

returns:

None

TagResource (new) Link ¶

Add tags for the specified resource.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    ResourceArn='string',
    Tags={
        'string': 'string'
    }
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource to which to add tags.

type Tags:

dict

param Tags:

[REQUIRED]

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

SendConnectorEvent (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.send_connector_event(
    ConnectorId='string',
    UserId='string',
    Operation='DEVICE_COMMAND_RESPONSE'|'DEVICE_DISCOVERY'|'DEVICE_EVENT'|'DEVICE_COMMAND_REQUEST',
    OperationVersion='string',
    StatusCode=123,
    Message='string',
    DeviceDiscoveryId='string',
    ConnectorDeviceId='string',
    TraceId='string',
    Devices=[
        {
            'ConnectorDeviceId': 'string',
            'ConnectorDeviceName': 'string',
            'CapabilityReport': {
                'version': 'string',
                'nodeId': 'string',
                'endpoints': [
                    {
                        'id': 'string',
                        'deviceTypes': [
                            'string',
                        ],
                        'clusters': [
                            {
                                'id': 'string',
                                'revision': 123,
                                'publicId': 'string',
                                'name': 'string',
                                'specVersion': 'string',
                                'attributes': [
                                    {
                                        'id': 'string',
                                        'name': 'string',
                                        'value': {...}|[...]|123|123.4|'string'|True|None
                                    },
                                ],
                                'commands': [
                                    'string',
                                ],
                                'events': [
                                    'string',
                                ],
                                'featureMap': 123,
                                'generatedCommands': [
                                    'string',
                                ],
                                'fabricIndex': 123
                            },
                        ],
                        'parts': [
                            'string',
                        ],
                        'semanticTags': [
                            'string',
                        ],
                        'clientClusters': [
                            'string',
                        ]
                    },
                ]
            },
            'CapabilitySchemas': [
                {
                    'Format': 'AWS'|'ZCL'|'CONNECTOR',
                    'CapabilityId': 'string',
                    'ExtrinsicId': 'string',
                    'ExtrinsicVersion': 123,
                    'Schema': {...}|[...]|123|123.4|'string'|True|None
                },
            ],
            'DeviceMetadata': {...}|[...]|123|123.4|'string'|True|None
        },
    ],
    MatterEndpoint={
        'id': 'string',
        'clusters': [
            {
                'id': 'string',
                'attributes': {...}|[...]|123|123.4|'string'|True|None,
                'commands': {
                    'string': {...}|[...]|123|123.4|'string'|True|None
                },
                'events': {
                    'string': {...}|[...]|123|123.4|'string'|True|None
                }
            },
        ]
    }
)
type ConnectorId:

string

param ConnectorId:

[REQUIRED]

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

type UserId:

string

param UserId:

The id of the third-party cloud provider.

type Operation:

string

param Operation:

[REQUIRED]

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

type OperationVersion:

string

param OperationVersion:

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

type StatusCode:

integer

param StatusCode:

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

type Message:

string

param Message:

The device state change event payload.

This parameter will include the following three fields:

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

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

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

type DeviceDiscoveryId:

string

param DeviceDiscoveryId:

The id for the device discovery job.

type ConnectorDeviceId:

string

param ConnectorDeviceId:

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

type TraceId:

string

param TraceId:

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

type Devices:

list

param Devices:

The list of devices.

  • (dict) --

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

    • ConnectorDeviceId (string) -- [REQUIRED]

      The device id as defined by the connector.

    • ConnectorDeviceName (string) --

      The name of the device as defined by the connector.

    • CapabilityReport (dict) -- [REQUIRED]

      The capability report for the device.

      • 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) --

          Matter endpoint used in capability report.

          • id (string) -- [REQUIRED]

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

          • deviceTypes (list) -- [REQUIRED]

            The type of device.

            • (string) --

          • clusters (list) -- [REQUIRED]

            Matter clusters used in capability report.

            • (dict) --

              Capability used in Matter capability report.

              • id (string) -- [REQUIRED]

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

              • revision (integer) -- [REQUIRED]

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

              • publicId (string) --

                The id of the schema version.

              • name (string) --

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

              • specVersion (string) --

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

              • attributes (list) --

                The attributes of the Amazon Web Services Matter capability report.

                • (dict) --

                  Matter attribute used in capability report.

                  • id (string) --

                    The id of the Matter attribute.

                  • name (string) --

                    Name for the Amazon Web Services Matter capability report attribute.

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

                    Value for the Amazon Web Services Matter capability report attribute.

              • commands (list) --

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

                • (string) --

              • events (list) --

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

                • (string) --

              • featureMap (integer) --

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

              • generatedCommands (list) --

                Matter clusters used in capability report.

                • (string) --

              • fabricIndex (integer) --

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

          • parts (list) --

            Heirachy of child endpoints contained in the given endpoint.

            • (string) --

          • semanticTags (list) --

            Semantic information related to endpoint.

            • (string) --

          • clientClusters (list) --

            Semantic information related to endpoint.

            • (string) --

    • CapabilitySchemas (list) --

      Report of all capabilities supported by the device.

      • (dict) --

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

        • Format (string) -- [REQUIRED]

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

        • CapabilityId (string) -- [REQUIRED]

          The unique identifier of the capability defined in the schema.

        • ExtrinsicId (string) -- [REQUIRED]

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

        • ExtrinsicVersion (integer) -- [REQUIRED]

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

        • Schema (:ref:`document<document>`) -- [REQUIRED]

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

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

      The metadata attributes for a device.

type MatterEndpoint:

dict

param MatterEndpoint:

The device endpoint.

  • id (string) --

    The Matter endpoint id.

  • clusters (list) --

    A list of Matter clusters for a managed thing.

    • (dict) --

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

      • id (string) --

        The cluster id.

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

        The Matter attributes.

      • commands (dict) --

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

        • (string) --

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

      • events (dict) --

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

        • (string) --

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

rtype:

dict

returns:

Response Syntax

{
    'ConnectorId': 'string'
}

Response Structure

  • (dict) --

    • ConnectorId (string) --

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

CreateManagedThing (updated) Link ¶
Changes (request)
{'AuthenticationMaterialType': {'CUSTOM_PROTOCOL_QR_BAR_CODE',
                                'DISCOVERED_DEVICE'},
 'CapabilitySchemas': [{'CapabilityId': 'string',
                        'ExtrinsicId': 'string',
                        'ExtrinsicVersion': 'integer',
                        'Format': 'AWS | ZCL | CONNECTOR',
                        'Schema': {}}]}

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='CUSTOM_PROTOCOL_QR_BAR_CODE'|'WIFI_SETUP_QR_BAR_CODE'|'ZWAVE_QR_BAR_CODE'|'ZIGBEE_QR_BAR_CODE'|'DISCOVERED_DEVICE',
    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',
                        ]
                    },
                ]
            },
        ]
    },
    CapabilitySchemas=[
        {
            'Format': 'AWS'|'ZCL'|'CONNECTOR',
            'CapabilityId': 'string',
            'ExtrinsicId': 'string',
            'ExtrinsicVersion': 123,
            'Schema': {...}|[...]|123|123.4|'string'|True|None
        },
    ],
    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 CapabilitySchemas:

list

param CapabilitySchemas:

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

  • (dict) --

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

    • Format (string) -- [REQUIRED]

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

    • CapabilityId (string) -- [REQUIRED]

      The unique identifier of the capability defined in the schema.

    • ExtrinsicId (string) -- [REQUIRED]

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

    • ExtrinsicVersion (integer) -- [REQUIRED]

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

    • Schema (:ref:`document<document>`) -- [REQUIRED]

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

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.

CreateNotificationConfiguration (updated) Link ¶
Changes (both)
{'EventType': {'DEVICE_DISCOVERY_STATUS', 'ACCOUNT_ASSOCIATION'}}

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_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_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_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT'
}

Response Structure

  • (dict) --

    • EventType (string) --

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

DeleteNotificationConfiguration (updated) Link ¶
Changes (request)
{'EventType': {'DEVICE_DISCOVERY_STATUS', 'ACCOUNT_ASSOCIATION'}}

Deletes a notification configuration.

See also: AWS API Documentation

Request Syntax

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

string

param EventType:

[REQUIRED]

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

returns:

None

GetDeviceDiscovery (updated) Link ¶
Changes (response)
{'AccountAssociationId': 'string', 'DiscoveryType': {'CUSTOM'}}

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'|'CUSTOM',
    'Status': 'RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT',
    'StartedAt': datetime(2015, 1, 1),
    'ControllerId': 'string',
    'ConnectorAssociationId': 'string',
    'AccountAssociationId': '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.

    • AccountAssociationId (string) --

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

    • 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) --

GetManagedThing (updated) Link ¶
Changes (response)
{'ConnectorDestinationId': 'string'}

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',
    'ConnectorDestinationId': '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.

    • ConnectorDestinationId (string) --

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

    • 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) --

GetNotificationConfiguration (updated) Link ¶
Changes (both)
{'EventType': {'DEVICE_DISCOVERY_STATUS', 'ACCOUNT_ASSOCIATION'}}

Get a notification configuration.

See also: AWS API Documentation

Request Syntax

client.get_notification_configuration(
    EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT'
)
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_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_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) --

GetOtaTask (updated) Link ¶
Changes (response)
{'Tags': {'string': 'string'}}

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',
    'Tags': {
        'string': 'string'
    }
}

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.

    • Tags (dict) --

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

      • (string) --

        • (string) --

ListManagedThings (updated) Link ¶
Changes (request, response)
Request
{'ConnectorDestinationIdFilter': 'string', 'ConnectorDeviceIdFilter': 'string'}
Response
{'Items': {'ConnectorDestinationId': 'string'}}

Listing all managed things with provision for filters.

See also: AWS API Documentation

Request Syntax

client.list_managed_things(
    OwnerFilter='string',
    CredentialLockerFilter='string',
    RoleFilter='CONTROLLER'|'DEVICE',
    ParentControllerIdentifierFilter='string',
    ConnectorPolicyIdFilter='string',
    ConnectorDestinationIdFilter='string',
    ConnectorDeviceIdFilter='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 ConnectorDestinationIdFilter:

string

param ConnectorDestinationIdFilter:

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

type ConnectorDeviceIdFilter:

string

param ConnectorDeviceIdFilter:

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

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',
            'ConnectorDestinationId': '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.

        • ConnectorDestinationId (string) --

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

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

ListNotificationConfigurations (updated) Link ¶
Changes (response)
{'NotificationConfigurationList': {'EventType': {'ACCOUNT_ASSOCIATION',
                                                 'DEVICE_DISCOVERY_STATUS'}}}

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_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_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.

SendManagedThingCommand (updated) Link ¶
Changes (request)
{'AccountAssociationId': 'string'}

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',
    AccountAssociationId='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.

type AccountAssociationId:

string

param AccountAssociationId:

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

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.

StartDeviceDiscovery (updated) Link ¶
Changes (request)
{'AccountAssociationId': 'string',
 'CustomProtocolDetail': {'string': 'string'},
 'DiscoveryType': {'CUSTOM'}}

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

See also: AWS API Documentation

Request Syntax

client.start_device_discovery(
    DiscoveryType='ZWAVE'|'ZIGBEE'|'CLOUD'|'CUSTOM',
    CustomProtocolDetail={
        'string': 'string'
    },
    ControllerIdentifier='string',
    ConnectorAssociationIdentifier='string',
    AccountAssociationId='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 task request.

type CustomProtocolDetail:

dict

param CustomProtocolDetail:

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

  • (string) --

    • (string) --

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 AccountAssociationId:

string

param AccountAssociationId:

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

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.

UpdateManagedThing (updated) Link ¶
Changes (request)
{'CapabilitySchemas': [{'CapabilityId': 'string',
                        'ExtrinsicId': 'string',
                        'ExtrinsicVersion': 'integer',
                        'Format': 'AWS | ZCL | CONNECTOR',
                        'Schema': {}}]}

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',
                        ]
                    },
                ]
            },
        ]
    },
    CapabilitySchemas=[
        {
            'Format': 'AWS'|'ZCL'|'CONNECTOR',
            'CapabilityId': 'string',
            'ExtrinsicId': 'string',
            'ExtrinsicVersion': 123,
            'Schema': {...}|[...]|123|123.4|'string'|True|None
        },
    ],
    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 CapabilitySchemas:

list

param CapabilitySchemas:

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

  • (dict) --

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

    • Format (string) -- [REQUIRED]

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

    • CapabilityId (string) -- [REQUIRED]

      The unique identifier of the capability defined in the schema.

    • ExtrinsicId (string) -- [REQUIRED]

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

    • ExtrinsicVersion (integer) -- [REQUIRED]

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

    • Schema (:ref:`document<document>`) -- [REQUIRED]

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

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 (updated) Link ¶
Changes (request)
{'EventType': {'DEVICE_DISCOVERY_STATUS', 'ACCOUNT_ASSOCIATION'}}

Update a notification configuration.

See also: AWS API Documentation

Request Syntax

client.update_notification_configuration(
    EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT',
    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