clients/client-iot-managed-integrations/README.md
AWS SDK for JavaScript IoTManagedIntegrations Client for Node.js, Browser and React Native.
Managed integrations is a feature of AWS IoT Device Management that enables developers to quickly build innovative IoT solutions. Customers can use managed integrations to automate device setup workflows and support interoperability across many devices, regardless of device vendor or connectivity protocol. This allows developers to use a single user-interface to control, manage, and operate a range of devices.
To install this package, use the CLI of your favorite package manager:
npm install @aws-sdk/client-iot-managed-integrationsyarn add @aws-sdk/client-iot-managed-integrationspnpm add @aws-sdk/client-iot-managed-integrationsThe AWS SDK is modulized by clients and commands.
To send a request, you only need to import the IoTManagedIntegrationsClient and
the commands you need, for example ListDestinationsCommand:
// ES5 example
const { IoTManagedIntegrationsClient, ListDestinationsCommand } = require("@aws-sdk/client-iot-managed-integrations");
// ES6+ example
import { IoTManagedIntegrationsClient, ListDestinationsCommand } from "@aws-sdk/client-iot-managed-integrations";
To send a request:
send operation on the client, providing the command object as input.const client = new IoTManagedIntegrationsClient({ region: "REGION" });
const params = { /** input parameters */ };
const command = new ListDestinationsCommand(params);
We recommend using the await operator to wait for the promise returned by send operation as follows:
// async/await.
try {
const data = await client.send(command);
// process data.
} catch (error) {
// error handling.
} finally {
// finally.
}
You can also use Promise chaining.
client
.send(command)
.then((data) => {
// process data.
})
.catch((error) => {
// error handling.
})
.finally(() => {
// finally.
});
The aggregated client class is exported from the same package, but without the "Client" suffix.
IoTManagedIntegrations extends IoTManagedIntegrationsClient and additionally supports all operations, waiters, and paginators as methods.
This style may be familiar to you from the AWS SDK for JavaScript v2.
If you are bundling the AWS SDK, we recommend using only the bare-bones client (IoTManagedIntegrationsClient).
More details are in the blog post on
modular packages in AWS SDK for JavaScript.
import { IoTManagedIntegrations } from "@aws-sdk/client-iot-managed-integrations";
const client = new IoTManagedIntegrations({ region: "REGION" });
// async/await.
try {
const data = await client.listDestinations(params);
// process data.
} catch (error) {
// error handling.
}
// Promises.
client
.listDestinations(params)
.then((data) => {
// process data.
})
.catch((error) => {
// error handling.
});
// callbacks (not recommended).
client.listDestinations(params, (err, data) => {
// process err and data.
});
When the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).
try {
const data = await client.send(command);
// process data.
} catch (error) {
const { requestId, cfId, extendedRequestId } = error.$metadata;
console.log({ requestId, cfId, extendedRequestId });
/**
* The keys within exceptions are also parsed.
* You can access them by specifying exception names:
* if (error.name === 'SomeServiceException') {
* const value = error.specialKeyInException;
* }
*/
}
See also docs/ERROR_HANDLING.
Please use these community resources for getting help. We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
aws-sdk-js
on AWS Developer Blog.aws-sdk-js.To test your universal JavaScript code in Node.js, browser and react-native environments, visit our code samples repo.
This client code is generated automatically. Any modifications will be overwritten the next time the @aws-sdk/client-iot-managed-integrations package is updated.
To contribute to client you can check our generate clients scripts.
This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.
Command API Reference / Input / Output
</details> <details> <summary> CreateCloudConnector </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateConnectorDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateCredentialLocker </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateEventLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateManagedThing </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateNotificationConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateOtaTask </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateOtaTaskConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> CreateProvisioningProfile </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteAccountAssociation </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteCloudConnector </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteConnectorDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteCredentialLocker </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteEventLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteManagedThing </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteNotificationConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteOtaTask </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteOtaTaskConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> DeleteProvisioningProfile </summary>Command API Reference / Input / Output
</details> <details> <summary> DeregisterAccountAssociation </summary>Command API Reference / Input / Output
</details> <details> <summary> GetAccountAssociation </summary>Command API Reference / Input / Output
</details> <details> <summary> GetCloudConnector </summary>Command API Reference / Input / Output
</details> <details> <summary> GetConnectorDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> GetCredentialLocker </summary>Command API Reference / Input / Output
</details> <details> <summary> GetCustomEndpoint </summary>Command API Reference / Input / Output
</details> <details> <summary> GetDefaultEncryptionConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> GetDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> GetDeviceDiscovery </summary>Command API Reference / Input / Output
</details> <details> <summary> GetEventLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> GetHubConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> GetManagedThing </summary>Command API Reference / Input / Output
</details> <details> <summary> GetManagedThingCapabilities </summary>Command API Reference / Input / Output
</details> <details> <summary> GetManagedThingCertificate </summary>Command API Reference / Input / Output
</details> <details> <summary> GetManagedThingConnectivityData </summary>Command API Reference / Input / Output
</details> <details> <summary> GetManagedThingMetaData </summary>Command API Reference / Input / Output
</details> <details> <summary> GetManagedThingState </summary>Command API Reference / Input / Output
</details> <details> <summary> GetNotificationConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> GetOtaTask </summary>Command API Reference / Input / Output
</details> <details> <summary> GetOtaTaskConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> GetProvisioningProfile </summary>Command API Reference / Input / Output
</details> <details> <summary> GetRuntimeLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> GetSchemaVersion </summary>Command API Reference / Input / Output
</details> <details> <summary> ListAccountAssociations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListCloudConnectors </summary>Command API Reference / Input / Output
</details> <details> <summary> ListConnectorDestinations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListCredentialLockers </summary>Command API Reference / Input / Output
</details> <details> <summary> ListDestinations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListDeviceDiscoveries </summary>Command API Reference / Input / Output
</details> <details> <summary> ListDiscoveredDevices </summary>Command API Reference / Input / Output
</details> <details> <summary> ListEventLogConfigurations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListManagedThingAccountAssociations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListManagedThings </summary>Command API Reference / Input / Output
</details> <details> <summary> ListManagedThingSchemas </summary>Command API Reference / Input / Output
</details> <details> <summary> ListNotificationConfigurations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListOtaTaskConfigurations </summary>Command API Reference / Input / Output
</details> <details> <summary> ListOtaTaskExecutions </summary>Command API Reference / Input / Output
</details> <details> <summary> ListOtaTasks </summary>Command API Reference / Input / Output
</details> <details> <summary> ListProvisioningProfiles </summary>Command API Reference / Input / Output
</details> <details> <summary> ListSchemaVersions </summary>Command API Reference / Input / Output
</details> <details> <summary> ListTagsForResource </summary>Command API Reference / Input / Output
</details> <details> <summary> PutDefaultEncryptionConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> PutHubConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> PutRuntimeLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> RegisterAccountAssociation </summary>Command API Reference / Input / Output
</details> <details> <summary> RegisterCustomEndpoint </summary>Command API Reference / Input / Output
</details> <details> <summary> ResetRuntimeLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> SendConnectorEvent </summary>Command API Reference / Input / Output
</details> <details> <summary> SendManagedThingCommand </summary>Command API Reference / Input / Output
</details> <details> <summary> StartAccountAssociationRefresh </summary>Command API Reference / Input / Output
</details> <details> <summary> StartDeviceDiscovery </summary>Command API Reference / Input / Output
</details> <details> <summary> TagResource </summary>Command API Reference / Input / Output
</details> <details> <summary> UntagResource </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateAccountAssociation </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateCloudConnector </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateConnectorDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateDestination </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateEventLogConfiguration </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateManagedThing </summary>Command API Reference / Input / Output
</details> <details> <summary> UpdateNotificationConfiguration </summary> </details> <details> <summary> UpdateOtaTask </summary> </details>