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

Public Member Functions

 ClientV2 (Aws::Crt::Allocator *allocator, std::shared_ptr< Aws::Iot::RequestResponse::IMqttRequestResponseClient > bindingClient)
virtual ~ClientV2 ()=default
bool UpdateCommandExecution (const UpdateCommandExecutionRequest &request, const UpdateCommandExecutionResultHandler &handler) override
std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperationCreateCommandExecutionsCborPayloadStream (const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options) override
std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperationCreateCommandExecutionsGenericPayloadStream (const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options) override
std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperationCreateCommandExecutionsJsonPayloadStream (const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options) override
Public Member Functions inherited from Aws::Iotcommands::IClientV2
virtual ~IClientV2 ()=default

Constructor & Destructor Documentation

◆ ClientV2()

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

◆ ~ClientV2()

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

Member Function Documentation

◆ CreateCommandExecutionsCborPayloadStream()

std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > Aws::Iotcommands::ClientV2::CreateCommandExecutionsCborPayloadStream ( const CommandExecutionsSubscriptionRequest & request,
const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > & options )
overridevirtual

Creates a stream of CommandExecution notifications for a given IoT thing.

Parameters
requestModeled streaming operation subscription configuration.
optionsConfiguration options for the streaming operation.
Returns
A streaming operation which will emit a modeled event every time a message is received on the associated MQTT topic.

Implements Aws::Iotcommands::IClientV2.

◆ CreateCommandExecutionsGenericPayloadStream()

std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > Aws::Iotcommands::ClientV2::CreateCommandExecutionsGenericPayloadStream ( const CommandExecutionsSubscriptionRequest & request,
const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > & options )
overridevirtual

Creates a stream of CommandExecution notifications for a given IoT thing.

Parameters
requestModeled streaming operation subscription configuration.
optionsConfiguration options for the streaming operation.
Returns
A streaming operation which will emit a modeled event every time a message is received on the associated MQTT topic.

Implements Aws::Iotcommands::IClientV2.

◆ CreateCommandExecutionsJsonPayloadStream()

std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > Aws::Iotcommands::ClientV2::CreateCommandExecutionsJsonPayloadStream ( const CommandExecutionsSubscriptionRequest & request,
const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > & options )
overridevirtual

Creates a stream of CommandExecution notifications for a given IoT thing.

Parameters
requestModeled streaming operation subscription configuration.
optionsConfiguration options for the streaming operation.
Returns
A streaming operation which will emit a modeled event every time a message is received on the associated MQTT topic.

Implements Aws::Iotcommands::IClientV2.

◆ UpdateCommandExecution()

bool Aws::Iotcommands::ClientV2::UpdateCommandExecution ( const UpdateCommandExecutionRequest & request,
const UpdateCommandExecutionResultHandler & handler )
overridevirtual

Update the status of a command execution.

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

Implements Aws::Iotcommands::IClientV2.


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