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.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

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

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

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

The payload exceeds the maximum size allowed.

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

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

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

An unexpected error has occurred.

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

The service is temporarily unavailable.

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

You are not authorized to perform this operation.

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

The specified resource does not exist.

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

The document encoding is not supported.

RetainedMessageSummary

data RetainedMessageSummary Source #

Information about a single retained message.

See: newRetainedMessageSummary smart constructor.

Constructors

RetainedMessageSummary' 

Fields

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.

retainedMessageSummary_lastModifiedTime :: Lens' RetainedMessageSummary (Maybe Integer) Source #

The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

retainedMessageSummary_topic :: Lens' RetainedMessageSummary (Maybe Text) Source #

The topic name to which the retained message was published.

retainedMessageSummary_qos :: Lens' RetainedMessageSummary (Maybe Natural) Source #

The quality of service (QoS) level used to publish the retained message.

retainedMessageSummary_payloadSize :: Lens' RetainedMessageSummary (Maybe Integer) Source #

The size of the retained message's payload in bytes.