Connect to Amazon IoT Core service endpoints
You can access the features of the Amazon IoT Core - control plane by using the Amazon CLI, the Amazon SDK for your preferred language, or by calling the REST API directly. We recommend using the Amazon CLI or an Amazon SDK to interact with Amazon IoT Core because they incorporate the best practices for calling Amazon services. Calling the REST APIs directly is an option, but you must provide the necessary security credentials that enable access to the API.
Note
IoT devices should use Amazon IoT Device SDKs. The Device SDKs are optimized for use on devices, support MQTT communication with Amazon IoT, and support the Amazon IoT APIs most used by devices. For more information about the Device SDKs and the features they provide, see Amazon IoT Device SDKs.
Mobile devices should use Amazon Mobile SDKs. The Mobile SDKs provide support for Amazon IoT APIs, MQTT device communications, and the APIs of other Amazon services on mobile devices. For more information about the Mobile SDKs and the features they provide, see Amazon Mobile SDKs.
You can use Amazon Amplify tools and resources in web and mobile applications to
connect more easily to Amazon IoT Core. For more information about connecting to Amazon IoT Core by
using Amplify, see Pub Sub Getting Started
The following sections describe the tools and SDKs that you can use to develop and
interact with Amazon IoT and other Amazon services. For the complete list of Amazon tools and
development kits that are available to build and manage apps on Amazon, see Tools to Build on Amazon
Amazon CLI for Amazon IoT Core
The Amazon CLI provides command-line access to Amazon APIs.
-
Installation
For information about how to install the Amazon CLI, see Installing the Amazon CLI.
-
Authentication
The Amazon CLI uses credentials from your Amazon Web Services account.
-
Reference
For information about the Amazon CLI commands for these Amazon IoT Core services, see:
For tools to manage Amazon services and resources in the PowerShell scripting
environment, see Amazon Tools for
PowerShell
Amazon SDKs
With Amazon SDKs, your apps and compatible devices can call Amazon IoT APIs and the APIs of other Amazon services. This section provides links to the Amazon SDKs and to the API reference documentation for the APIs of the Amazon IoT Core services.
The Amazon SDKs support these Amazon IoT Core APIs
Amazon Mobile SDKs
The Amazon Mobile SDKs provide mobile app developers platform-specific support for the APIs of the Amazon IoT Core services, IoT device communication using MQTT, and the APIs of other Amazon services.
REST APIs of the Amazon IoT Core services
The REST APIs of the Amazon IoT Core services can be called directly by using HTTP requests.
-
Endpoint URL
The service endpoints that expose the REST APIs of the Amazon IoT Core services vary by Region and are listed in Amazon IoT Core Endpoints and Quotas. You must use the endpoint for the Region that has the Amazon IoT resources that you want to access, because Amazon IoT resources are Region specific.
-
Authentication
The REST APIs of the Amazon IoT Core services use Amazon IAM credentials for authentication. For more information, see Signing Amazon API requests in the Amazon General Reference.
-
API reference
For information about the specific functions provided by the REST APIs of the Amazon IoT Core services, see: