Search in sources :

Example 1 with GetNamedShadowRequest

use of software.amazon.awssdk.iot.iotshadow.model.GetNamedShadowRequest in project aws-greengrass-nucleus by aws-greengrass.

the class ShadowDeploymentListener method publishToGetDeviceShadowTopic.

private void publishToGetDeviceShadowTopic() {
    GetNamedShadowRequest getNamedShadowRequest = new GetNamedShadowRequest();
    getNamedShadowRequest.shadowName = DEPLOYMENT_SHADOW_NAME;
    getNamedShadowRequest.thingName = thingName;
    iotShadowClient.PublishGetNamedShadow(getNamedShadowRequest, QualityOfService.AT_LEAST_ONCE);
    logger.debug("Published to get named shadow topic");
}
Also used : GetNamedShadowRequest(software.amazon.awssdk.iot.iotshadow.model.GetNamedShadowRequest)

Aggregations

GetNamedShadowRequest (software.amazon.awssdk.iot.iotshadow.model.GetNamedShadowRequest)1