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

Description

Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.

Synopsis

Creating a Request

data UpdateEndpoint Source #

See: newUpdateEndpoint smart constructor.

Constructors

UpdateEndpoint' 

Fields

Instances

Instances details
Eq UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Read UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Show UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Generic UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Associated Types

type Rep UpdateEndpoint :: Type -> Type #

NFData UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Methods

rnf :: UpdateEndpoint -> () #

Hashable UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

ToJSON UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

AWSRequest UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Associated Types

type AWSResponse UpdateEndpoint #

ToHeaders UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

ToPath UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

ToQuery UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

type Rep UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

type Rep UpdateEndpoint = D1 ('MetaData "UpdateEndpoint" "Amazonka.Pinpoint.UpdateEndpoint" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "UpdateEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endpointRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EndpointRequest))))
type AWSResponse UpdateEndpoint Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

newUpdateEndpoint Source #

Create a value of UpdateEndpoint 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:applicationId:UpdateEndpoint', updateEndpoint_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

$sel:endpointId:UpdateEndpoint', updateEndpoint_endpointId - The unique identifier for the endpoint.

$sel:endpointRequest:UpdateEndpoint', updateEndpoint_endpointRequest - Undocumented member.

Request Lenses

updateEndpoint_applicationId :: Lens' UpdateEndpoint Text Source #

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

updateEndpoint_endpointId :: Lens' UpdateEndpoint Text Source #

The unique identifier for the endpoint.

Destructuring the Response

data UpdateEndpointResponse Source #

See: newUpdateEndpointResponse smart constructor.

Constructors

UpdateEndpointResponse' 

Fields

Instances

Instances details
Eq UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Read UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Show UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Generic UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Associated Types

type Rep UpdateEndpointResponse :: Type -> Type #

NFData UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

Methods

rnf :: UpdateEndpointResponse -> () #

type Rep UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateEndpoint

type Rep UpdateEndpointResponse = D1 ('MetaData "UpdateEndpointResponse" "Amazonka.Pinpoint.UpdateEndpoint" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "UpdateEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "messageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageBody)))

newUpdateEndpointResponse Source #

Create a value of UpdateEndpointResponse 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:UpdateEndpointResponse', updateEndpointResponse_httpStatus - The response's http status code.

$sel:messageBody:UpdateEndpointResponse', updateEndpointResponse_messageBody - Undocumented member.

Response Lenses