AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Iotidentity Namespace Reference

Classes

class  ClientV2
class  CreateCertificateFromCsrRequest
class  CreateCertificateFromCsrResponse
class  CreateCertificateFromCsrSubscriptionRequest
class  CreateKeysAndCertificateRequest
class  CreateKeysAndCertificateResponse
class  CreateKeysAndCertificateSubscriptionRequest
class  ErrorResponse
class  IClientV2
class  IotIdentityClient
class  RegisterThingRequest
class  RegisterThingResponse
class  RegisterThingSubscriptionRequest
class  ServiceErrorV2
class  V2ErrorResponse

Typedefs

using OnSubscribeComplete = std::function<void(int ioErr)>
using OnPublishComplete = std::function<void(int ioErr)>
using OnSubscribeToCreateCertificateFromCsrAcceptedResponse
using OnSubscribeToCreateCertificateFromCsrRejectedResponse
using OnSubscribeToCreateKeysAndCertificateAcceptedResponse
using OnSubscribeToCreateKeysAndCertificateRejectedResponse
using OnSubscribeToRegisterThingAcceptedResponse
using OnSubscribeToRegisterThingRejectedResponse
using CreateCertificateFromCsrResult
using CreateCertificateFromCsrResultHandler = std::function<void(CreateCertificateFromCsrResult &&)>
using CreateKeysAndCertificateResult
using CreateKeysAndCertificateResultHandler = std::function<void(CreateKeysAndCertificateResult &&)>
using RegisterThingResult
using RegisterThingResultHandler = std::function<void(RegisterThingResult &&)>

Functions

AWS_IOTIDENTITY_API std::shared_ptr< IClientV2NewClientFrom5 (const Aws::Crt::Mqtt5::Mqtt5Client &protocolClient, const Aws::Iot::RequestResponse::RequestResponseClientOptions &options, Aws::Crt::Allocator *allocator=Aws::Crt::ApiAllocator())
AWS_IOTIDENTITY_API std::shared_ptr< IClientV2NewClientFrom311 (const Aws::Crt::Mqtt::MqttConnection &protocolClient, const Aws::Iot::RequestResponse::RequestResponseClientOptions &options, Aws::Crt::Allocator *allocator=Aws::Crt::ApiAllocator())
template<typename R, typename E>
static void s_applyUnmodeledErrorToHandler (const std::function< void(R &&)> &handler, int errorCode)
template<typename R, typename E>
static void s_applyModeledErrorToHandler (const std::function< void(R &&)> &handler, E &&modeledError)
static void s_CreateCertificateFromCsrResponseHandler (Aws::Iot::RequestResponse::UnmodeledResult &&result, const CreateCertificateFromCsrResultHandler &handler, const Aws::Crt::String &successPathTopic, const Aws::Crt::String &failurePathTopic)
static void s_CreateKeysAndCertificateResponseHandler (Aws::Iot::RequestResponse::UnmodeledResult &&result, const CreateKeysAndCertificateResultHandler &handler, const Aws::Crt::String &successPathTopic, const Aws::Crt::String &failurePathTopic)
static void s_RegisterThingResponseHandler (Aws::Iot::RequestResponse::UnmodeledResult &&result, const RegisterThingResultHandler &handler, const Aws::Crt::String &successPathTopic, const Aws::Crt::String &failurePathTopic)

Typedef Documentation

◆ CreateCertificateFromCsrResult

◆ CreateCertificateFromCsrResultHandler

◆ CreateKeysAndCertificateResult

◆ CreateKeysAndCertificateResultHandler

◆ OnPublishComplete

using Aws::Iotidentity::OnPublishComplete = std::function<void(int ioErr)>

◆ OnSubscribeComplete

using Aws::Iotidentity::OnSubscribeComplete = std::function<void(int ioErr)>

◆ OnSubscribeToCreateCertificateFromCsrAcceptedResponse

◆ OnSubscribeToCreateCertificateFromCsrRejectedResponse

◆ OnSubscribeToCreateKeysAndCertificateAcceptedResponse

◆ OnSubscribeToCreateKeysAndCertificateRejectedResponse

◆ OnSubscribeToRegisterThingAcceptedResponse

Initial value:
std::function<void(Aws::Iotidentity::RegisterThingResponse *, int ioErr)>
Definition RegisterThingResponse.h:24

◆ OnSubscribeToRegisterThingRejectedResponse

◆ RegisterThingResult

◆ RegisterThingResultHandler

Function Documentation

◆ NewClientFrom311()

std::shared_ptr< IClientV2 > Aws::Iotidentity::NewClientFrom311 ( const Aws::Crt::Mqtt::MqttConnection & protocolClient,
const Aws::Iot::RequestResponse::RequestResponseClientOptions & options,
Aws::Crt::Allocator * allocator = Aws::Crt::ApiAllocator() )

Creates a new service client that uses an SDK MQTT311 client for transport.

Parameters
protocolClientMQTT client to use as transport
optionsrequest-response MQTT client configuration options
allocatormemory allocator to use for all client functionality
Returns
a new service client

◆ NewClientFrom5()

std::shared_ptr< IClientV2 > Aws::Iotidentity::NewClientFrom5 ( const Aws::Crt::Mqtt5::Mqtt5Client & protocolClient,
const Aws::Iot::RequestResponse::RequestResponseClientOptions & options,
Aws::Crt::Allocator * allocator = Aws::Crt::ApiAllocator() )

Creates a new service client that uses an SDK MQTT5 client for transport.

Parameters
protocolClientMQTT client to use as transport
optionsrequest-response MQTT client configuration options
allocatormemory allocator to use for all client functionality
Returns
a new service client

◆ s_applyModeledErrorToHandler()

template<typename R, typename E>
void Aws::Iotidentity::s_applyModeledErrorToHandler ( const std::function< void(R &&)> & handler,
E && modeledError )
static

◆ s_applyUnmodeledErrorToHandler()

template<typename R, typename E>
void Aws::Iotidentity::s_applyUnmodeledErrorToHandler ( const std::function< void(R &&)> & handler,
int errorCode )
static

◆ s_CreateCertificateFromCsrResponseHandler()

void Aws::Iotidentity::s_CreateCertificateFromCsrResponseHandler ( Aws::Iot::RequestResponse::UnmodeledResult && result,
const CreateCertificateFromCsrResultHandler & handler,
const Aws::Crt::String & successPathTopic,
const Aws::Crt::String & failurePathTopic )
static

◆ s_CreateKeysAndCertificateResponseHandler()

void Aws::Iotidentity::s_CreateKeysAndCertificateResponseHandler ( Aws::Iot::RequestResponse::UnmodeledResult && result,
const CreateKeysAndCertificateResultHandler & handler,
const Aws::Crt::String & successPathTopic,
const Aws::Crt::String & failurePathTopic )
static

◆ s_RegisterThingResponseHandler()

void Aws::Iotidentity::s_RegisterThingResponseHandler ( Aws::Iot::RequestResponse::UnmodeledResult && result,
const RegisterThingResultHandler & handler,
const Aws::Crt::String & successPathTopic,
const Aws::Crt::String & failurePathTopic )
static