AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Iotidentity::ClientV2 Class Reference
Inheritance diagram for Aws::Iotidentity::ClientV2:
Aws::Iotidentity::IClientV2

Public Member Functions

 ClientV2 (Aws::Crt::Allocator *allocator, std::shared_ptr< Aws::Iot::RequestResponse::IMqttRequestResponseClient > bindingClient)
virtual ~ClientV2 ()=default
bool CreateCertificateFromCsr (const CreateCertificateFromCsrRequest &request, const CreateCertificateFromCsrResultHandler &handler) override
bool CreateKeysAndCertificate (const CreateKeysAndCertificateRequest &request, const CreateKeysAndCertificateResultHandler &handler) override
bool RegisterThing (const RegisterThingRequest &request, const RegisterThingResultHandler &handler) override
Public Member Functions inherited from Aws::Iotidentity::IClientV2
virtual ~IClientV2 ()=default

Constructor & Destructor Documentation

◆ ClientV2()

Aws::Iotidentity::ClientV2::ClientV2 ( Aws::Crt::Allocator * allocator,
std::shared_ptr< Aws::Iot::RequestResponse::IMqttRequestResponseClient > bindingClient )

◆ ~ClientV2()

virtual Aws::Iotidentity::ClientV2::~ClientV2 ( )
virtualdefault

Member Function Documentation

◆ CreateCertificateFromCsr()

bool Aws::Iotidentity::ClientV2::CreateCertificateFromCsr ( const CreateCertificateFromCsrRequest & request,
const CreateCertificateFromCsrResultHandler & handler )
overridevirtual

Creates a certificate from a certificate signing request (CSR). AWS IoT provides client certificates that are signed by the Amazon Root certificate authority (CA). The new certificate has a PENDING_ACTIVATION status. When you call RegisterThing to provision a thing with this certificate, the certificate status changes to ACTIVE or INACTIVE as described in the template.

AWS documentation: https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#fleet-provision-api

Parameters
requestoperation to perform
handlerfunction object to invoke upon operation completion
Returns
success/failure

Implements Aws::Iotidentity::IClientV2.

◆ CreateKeysAndCertificate()

bool Aws::Iotidentity::ClientV2::CreateKeysAndCertificate ( const CreateKeysAndCertificateRequest & request,
const CreateKeysAndCertificateResultHandler & handler )
overridevirtual

Creates new keys and a certificate. AWS IoT provides client certificates that are signed by the Amazon Root certificate authority (CA). The new certificate has a PENDING_ACTIVATION status. When you call RegisterThing to provision a thing with this certificate, the certificate status changes to ACTIVE or INACTIVE as described in the template.

AWS documentation: https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#fleet-provision-api

Parameters
requestoperation to perform
handlerfunction object to invoke upon operation completion
Returns
success/failure

Implements Aws::Iotidentity::IClientV2.

◆ RegisterThing()

bool Aws::Iotidentity::ClientV2::RegisterThing ( const RegisterThingRequest & request,
const RegisterThingResultHandler & handler )
overridevirtual

Provisions an AWS IoT thing using a pre-defined template.

AWS documentation: https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#fleet-provision-api

Parameters
requestoperation to perform
handlerfunction object to invoke upon operation completion
Returns
success/failure

Implements Aws::Iotidentity::IClientV2.


The documentation for this class was generated from the following file: