libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.EndpointItemResponse

Description

 
Synopsis

Documentation

data EndpointItemResponse Source #

Provides the status code and message that result from processing data for an endpoint.

See: newEndpointItemResponse smart constructor.

Constructors

EndpointItemResponse' 

Fields

  • message :: Maybe Text

    The custom message that's returned in the response as a result of processing the endpoint data.

  • statusCode :: Maybe Int

    The status code that's returned in the response as a result of processing the endpoint data.

Instances

Instances details
Eq EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

Read EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

Show EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

Generic EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

Associated Types

type Rep EndpointItemResponse :: Type -> Type #

NFData EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

Methods

rnf :: EndpointItemResponse -> () #

Hashable EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

FromJSON EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

type Rep EndpointItemResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EndpointItemResponse

type Rep EndpointItemResponse = D1 ('MetaData "EndpointItemResponse" "Amazonka.Pinpoint.Types.EndpointItemResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "EndpointItemResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newEndpointItemResponse :: EndpointItemResponse Source #

Create a value of EndpointItemResponse 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:message:EndpointItemResponse', endpointItemResponse_message - The custom message that's returned in the response as a result of processing the endpoint data.

$sel:statusCode:EndpointItemResponse', endpointItemResponse_statusCode - The status code that's returned in the response as a result of processing the endpoint data.

endpointItemResponse_message :: Lens' EndpointItemResponse (Maybe Text) Source #

The custom message that's returned in the response as a result of processing the endpoint data.

endpointItemResponse_statusCode :: Lens' EndpointItemResponse (Maybe Int) Source #

The status code that's returned in the response as a result of processing the endpoint data.