libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTData

Description

Derived from API version 2015-05-28 of the AWS service descriptions, licensed under Apache 2.0.

IoT data

IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a persistent representation of your things and their state in the Amazon Web Services cloud.

Find the endpoint address for actions in IoT data by running this CLI command:

aws iot describe-endpoint --endpoint-type iot:Data-ATS

The service name used by Amazon Web ServicesSignature Version 4 to sign requests is: iotdevicegateway.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2015-05-28 of the Amazon IoT Data Plane SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by IoTData.

InvalidRequestException

ConflictException

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified version does not match the version of the document.

RequestEntityTooLargeException

_RequestEntityTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The payload exceeds the maximum size allowed.

ThrottlingException

MethodNotAllowedException

_MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified combination of HTTP verb and URI is not supported.

InternalFailureException

_InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An unexpected error has occurred.

ServiceUnavailableException

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service is temporarily unavailable.

UnauthorizedException

_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You are not authorized to perform this operation.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource does not exist.

UnsupportedDocumentEncodingException

_UnsupportedDocumentEncodingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The document encoding is not supported.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetThingShadow

data GetThingShadow Source #

The input for the GetThingShadow operation.

See: newGetThingShadow smart constructor.

Constructors

GetThingShadow' (Maybe Text) Text 

Instances

Instances details
Eq GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Read GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Show GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Generic GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Associated Types

type Rep GetThingShadow :: Type -> Type #

NFData GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Methods

rnf :: GetThingShadow -> () #

Hashable GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

AWSRequest GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Associated Types

type AWSResponse GetThingShadow #

ToHeaders GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

ToPath GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

ToQuery GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

type Rep GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

type Rep GetThingShadow = D1 ('MetaData "GetThingShadow" "Amazonka.IoTData.GetThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "GetThingShadow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

newGetThingShadow Source #

Create a value of GetThingShadow with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:shadowName:GetThingShadow', getThingShadow_shadowName - The name of the shadow.

$sel:thingName:GetThingShadow', getThingShadow_thingName - The name of the thing.

data GetThingShadowResponse Source #

The output from the GetThingShadow operation.

See: newGetThingShadowResponse smart constructor.

Instances

Instances details
Eq GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Show GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Generic GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Associated Types

type Rep GetThingShadowResponse :: Type -> Type #

NFData GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Methods

rnf :: GetThingShadowResponse -> () #

type Rep GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

type Rep GetThingShadowResponse = D1 ('MetaData "GetThingShadowResponse" "Amazonka.IoTData.GetThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "GetThingShadowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetThingShadowResponse Source #

Create a value of GetThingShadowResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:payload:GetThingShadowResponse', getThingShadowResponse_payload - The state information, in JSON format.

$sel:httpStatus:GetThingShadowResponse', getThingShadowResponse_httpStatus - The response's http status code.

ListNamedShadowsForThing

data ListNamedShadowsForThing Source #

See: newListNamedShadowsForThing smart constructor.

Instances

Instances details
Eq ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Read ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Show ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Generic ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Associated Types

type Rep ListNamedShadowsForThing :: Type -> Type #

NFData ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Hashable ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

AWSRequest ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

ToHeaders ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

ToPath ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

ToQuery ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

type Rep ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

type Rep ListNamedShadowsForThing = D1 ('MetaData "ListNamedShadowsForThing" "Amazonka.IoTData.ListNamedShadowsForThing" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "ListNamedShadowsForThing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListNamedShadowsForThing Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

newListNamedShadowsForThing Source #

Create a value of ListNamedShadowsForThing with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListNamedShadowsForThing', listNamedShadowsForThing_nextToken - The token to retrieve the next set of results.

$sel:pageSize:ListNamedShadowsForThing', listNamedShadowsForThing_pageSize - The result page size.

$sel:thingName:ListNamedShadowsForThing', listNamedShadowsForThing_thingName - The name of the thing.

data ListNamedShadowsForThingResponse Source #

See: newListNamedShadowsForThingResponse smart constructor.

Instances

Instances details
Eq ListNamedShadowsForThingResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Read ListNamedShadowsForThingResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Show ListNamedShadowsForThingResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Generic ListNamedShadowsForThingResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

Associated Types

type Rep ListNamedShadowsForThingResponse :: Type -> Type #

NFData ListNamedShadowsForThingResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

type Rep ListNamedShadowsForThingResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListNamedShadowsForThing

type Rep ListNamedShadowsForThingResponse = D1 ('MetaData "ListNamedShadowsForThingResponse" "Amazonka.IoTData.ListNamedShadowsForThing" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "ListNamedShadowsForThingResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListNamedShadowsForThingResponse Source #

Create a value of ListNamedShadowsForThingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:results:ListNamedShadowsForThingResponse', listNamedShadowsForThingResponse_results - The list of shadows for the specified thing.

$sel:nextToken:ListNamedShadowsForThing', listNamedShadowsForThingResponse_nextToken - The token to use to get the next set of results, or null if there are no additional results.

$sel:timestamp:ListNamedShadowsForThingResponse', listNamedShadowsForThingResponse_timestamp - The Epoch date and time the response was generated by IoT.

$sel:httpStatus:ListNamedShadowsForThingResponse', listNamedShadowsForThingResponse_httpStatus - The response's http status code.

DeleteThingShadow

data DeleteThingShadow Source #

The input for the DeleteThingShadow operation.

See: newDeleteThingShadow smart constructor.

Instances

Instances details
Eq DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Read DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Show DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Generic DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Associated Types

type Rep DeleteThingShadow :: Type -> Type #

NFData DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Methods

rnf :: DeleteThingShadow -> () #

Hashable DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

AWSRequest DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Associated Types

type AWSResponse DeleteThingShadow #

ToHeaders DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

ToPath DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

ToQuery DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

type Rep DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

type Rep DeleteThingShadow = D1 ('MetaData "DeleteThingShadow" "Amazonka.IoTData.DeleteThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "DeleteThingShadow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

newDeleteThingShadow Source #

Create a value of DeleteThingShadow with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:shadowName:DeleteThingShadow', deleteThingShadow_shadowName - The name of the shadow.

$sel:thingName:DeleteThingShadow', deleteThingShadow_thingName - The name of the thing.

data DeleteThingShadowResponse Source #

The output from the DeleteThingShadow operation.

See: newDeleteThingShadowResponse smart constructor.

Instances

Instances details
Eq DeleteThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Show DeleteThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Generic DeleteThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

Associated Types

type Rep DeleteThingShadowResponse :: Type -> Type #

NFData DeleteThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

type Rep DeleteThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.DeleteThingShadow

type Rep DeleteThingShadowResponse = D1 ('MetaData "DeleteThingShadowResponse" "Amazonka.IoTData.DeleteThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "DeleteThingShadowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString)))

newDeleteThingShadowResponse Source #

Create a value of DeleteThingShadowResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteThingShadowResponse', deleteThingShadowResponse_httpStatus - The response's http status code.

$sel:payload:DeleteThingShadowResponse', deleteThingShadowResponse_payload - The state information, in JSON format.

UpdateThingShadow

data UpdateThingShadow Source #

The input for the UpdateThingShadow operation.

See: newUpdateThingShadow smart constructor.

Instances

Instances details
Eq UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Show UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Generic UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Associated Types

type Rep UpdateThingShadow :: Type -> Type #

NFData UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Methods

rnf :: UpdateThingShadow -> () #

Hashable UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

AWSRequest UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Associated Types

type AWSResponse UpdateThingShadow #

ToBody UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

ToHeaders UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

ToPath UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

ToQuery UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

type Rep UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

type Rep UpdateThingShadow = D1 ('MetaData "UpdateThingShadow" "Amazonka.IoTData.UpdateThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "UpdateThingShadow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString))))
type AWSResponse UpdateThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

newUpdateThingShadow Source #

Create a value of UpdateThingShadow with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:shadowName:UpdateThingShadow', updateThingShadow_shadowName - The name of the shadow.

$sel:thingName:UpdateThingShadow', updateThingShadow_thingName - The name of the thing.

$sel:payload:UpdateThingShadow', updateThingShadow_payload - The state information, in JSON format.

data UpdateThingShadowResponse Source #

The output from the UpdateThingShadow operation.

See: newUpdateThingShadowResponse smart constructor.

Instances

Instances details
Eq UpdateThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Show UpdateThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Generic UpdateThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

Associated Types

type Rep UpdateThingShadowResponse :: Type -> Type #

NFData UpdateThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

type Rep UpdateThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.UpdateThingShadow

type Rep UpdateThingShadowResponse = D1 ('MetaData "UpdateThingShadowResponse" "Amazonka.IoTData.UpdateThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "UpdateThingShadowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateThingShadowResponse Source #

Create a value of UpdateThingShadowResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:payload:UpdateThingShadow', updateThingShadowResponse_payload - The state information, in JSON format.

$sel:httpStatus:UpdateThingShadowResponse', updateThingShadowResponse_httpStatus - The response's http status code.

ListRetainedMessages (Paginated)

data ListRetainedMessages Source #

See: newListRetainedMessages smart constructor.

Instances

Instances details
Eq ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Read ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Show ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Generic ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Associated Types

type Rep ListRetainedMessages :: Type -> Type #

NFData ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Methods

rnf :: ListRetainedMessages -> () #

Hashable ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

AWSPager ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

AWSRequest ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Associated Types

type AWSResponse ListRetainedMessages #

ToHeaders ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

ToPath ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

ToQuery ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

type Rep ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

type Rep ListRetainedMessages = D1 ('MetaData "ListRetainedMessages" "Amazonka.IoTData.ListRetainedMessages" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "ListRetainedMessages'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListRetainedMessages Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

newListRetainedMessages :: ListRetainedMessages Source #

Create a value of ListRetainedMessages with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListRetainedMessages', listRetainedMessages_nextToken - To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

$sel:maxResults:ListRetainedMessages', listRetainedMessages_maxResults - The maximum number of results to return at one time.

data ListRetainedMessagesResponse Source #

See: newListRetainedMessagesResponse smart constructor.

Instances

Instances details
Eq ListRetainedMessagesResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Read ListRetainedMessagesResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Show ListRetainedMessagesResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Generic ListRetainedMessagesResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

Associated Types

type Rep ListRetainedMessagesResponse :: Type -> Type #

NFData ListRetainedMessagesResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

type Rep ListRetainedMessagesResponse Source # 
Instance details

Defined in Amazonka.IoTData.ListRetainedMessages

type Rep ListRetainedMessagesResponse = D1 ('MetaData "ListRetainedMessagesResponse" "Amazonka.IoTData.ListRetainedMessages" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "ListRetainedMessagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retainedTopics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RetainedMessageSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRetainedMessagesResponse Source #

Create a value of ListRetainedMessagesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:retainedTopics:ListRetainedMessagesResponse', listRetainedMessagesResponse_retainedTopics - A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.

$sel:nextToken:ListRetainedMessages', listRetainedMessagesResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:httpStatus:ListRetainedMessagesResponse', listRetainedMessagesResponse_httpStatus - The response's http status code.

GetRetainedMessage

data GetRetainedMessage Source #

The input for the GetRetainedMessage operation.

See: newGetRetainedMessage smart constructor.

Instances

Instances details
Eq GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Read GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Show GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Generic GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Associated Types

type Rep GetRetainedMessage :: Type -> Type #

NFData GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Methods

rnf :: GetRetainedMessage -> () #

Hashable GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

AWSRequest GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Associated Types

type AWSResponse GetRetainedMessage #

ToHeaders GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

ToPath GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

ToQuery GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

type Rep GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

type Rep GetRetainedMessage = D1 ('MetaData "GetRetainedMessage" "Amazonka.IoTData.GetRetainedMessage" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "GetRetainedMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRetainedMessage Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

newGetRetainedMessage Source #

Create a value of GetRetainedMessage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topic:GetRetainedMessage', getRetainedMessage_topic - The topic name of the retained message to retrieve.

data GetRetainedMessageResponse Source #

The output from the GetRetainedMessage operation.

See: newGetRetainedMessageResponse smart constructor.

Instances

Instances details
Eq GetRetainedMessageResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Read GetRetainedMessageResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Show GetRetainedMessageResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Generic GetRetainedMessageResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

Associated Types

type Rep GetRetainedMessageResponse :: Type -> Type #

NFData GetRetainedMessageResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

type Rep GetRetainedMessageResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetRetainedMessage

type Rep GetRetainedMessageResponse = D1 ('MetaData "GetRetainedMessageResponse" "Amazonka.IoTData.GetRetainedMessage" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "GetRetainedMessageResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64))) :*: (S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "qos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetRetainedMessageResponse Source #

Create a value of GetRetainedMessageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedTime:GetRetainedMessageResponse', getRetainedMessageResponse_lastModifiedTime - The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

$sel:payload:GetRetainedMessageResponse', getRetainedMessageResponse_payload - The Base64-encoded message payload of the retained message body.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:topic:GetRetainedMessage', getRetainedMessageResponse_topic - The topic name to which the retained message was published.

$sel:qos:GetRetainedMessageResponse', getRetainedMessageResponse_qos - The quality of service (QoS) level used to publish the retained message.

$sel:httpStatus:GetRetainedMessageResponse', getRetainedMessageResponse_httpStatus - The response's http status code.

Publish

data Publish Source #

The input for the Publish operation.

See: newPublish smart constructor.

Instances

Instances details
Eq Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Methods

(==) :: Publish -> Publish -> Bool #

(/=) :: Publish -> Publish -> Bool #

Read Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Show Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Generic Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Associated Types

type Rep Publish :: Type -> Type #

Methods

from :: Publish -> Rep Publish x #

to :: Rep Publish x -> Publish #

NFData Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Methods

rnf :: Publish -> () #

Hashable Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Methods

hashWithSalt :: Int -> Publish -> Int #

hash :: Publish -> Int #

AWSRequest Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Associated Types

type AWSResponse Publish #

ToBody Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

ToHeaders Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Methods

toHeaders :: Publish -> [Header] #

ToPath Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Methods

toPath :: Publish -> ByteString #

ToQuery Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

type Rep Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

type Rep Publish = D1 ('MetaData "Publish" "Amazonka.IoTData.Publish" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "Publish'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "retain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString))) :*: (S1 ('MetaSel ('Just "qos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse Publish Source # 
Instance details

Defined in Amazonka.IoTData.Publish

newPublish Source #

Create a value of Publish with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:retain:Publish', publish_retain - A Boolean value that determines whether to set the RETAIN flag when the message is published.

Setting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic.

Valid values: true | false

Default value: false

$sel:payload:Publish', publish_payload - The message body. MQTT accepts text, binary, and empty (null) message payloads.

Publishing an empty (null) payload with retain = true deletes the retained message identified by topic from IoT Core.

$sel:qos:Publish', publish_qos - The Quality of Service (QoS) level.

$sel:topic:Publish', publish_topic - The name of the MQTT topic.

data PublishResponse Source #

See: newPublishResponse smart constructor.

Constructors

PublishResponse' 

Instances

Instances details
Eq PublishResponse Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Read PublishResponse Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Show PublishResponse Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Generic PublishResponse Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Associated Types

type Rep PublishResponse :: Type -> Type #

NFData PublishResponse Source # 
Instance details

Defined in Amazonka.IoTData.Publish

Methods

rnf :: PublishResponse -> () #

type Rep PublishResponse Source # 
Instance details

Defined in Amazonka.IoTData.Publish

type Rep PublishResponse = D1 ('MetaData "PublishResponse" "Amazonka.IoTData.Publish" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "PublishResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPublishResponse :: PublishResponse Source #

Create a value of PublishResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Types

RetainedMessageSummary

data RetainedMessageSummary Source #

Information about a single retained message.

See: newRetainedMessageSummary smart constructor.

Instances

Instances details
Eq RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

Read RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

Show RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

Generic RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

Associated Types

type Rep RetainedMessageSummary :: Type -> Type #

NFData RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

Methods

rnf :: RetainedMessageSummary -> () #

Hashable RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

FromJSON RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

type Rep RetainedMessageSummary Source # 
Instance details

Defined in Amazonka.IoTData.Types.RetainedMessageSummary

type Rep RetainedMessageSummary = D1 ('MetaData "RetainedMessageSummary" "Amazonka.IoTData.Types.RetainedMessageSummary" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "RetainedMessageSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "qos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "payloadSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newRetainedMessageSummary :: RetainedMessageSummary Source #

Create a value of RetainedMessageSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedTime:RetainedMessageSummary', retainedMessageSummary_lastModifiedTime - The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

$sel:topic:RetainedMessageSummary', retainedMessageSummary_topic - The topic name to which the retained message was published.

$sel:qos:RetainedMessageSummary', retainedMessageSummary_qos - The quality of service (QoS) level used to publish the retained message.

$sel:payloadSize:RetainedMessageSummary', retainedMessageSummary_payloadSize - The size of the retained message's payload in bytes.