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

Description

Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.

Synopsis

Creating a Request

data RemoveAttributes Source #

See: newRemoveAttributes smart constructor.

Constructors

RemoveAttributes' 

Fields

  • attributeType :: Text

    The type of attribute or attributes to remove. Valid values are:

    • endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
    • endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
    • endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
  • applicationId :: Text

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

  • updateAttributesRequest :: UpdateAttributesRequest
     

Instances

Instances details
Eq RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Read RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Show RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Generic RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Associated Types

type Rep RemoveAttributes :: Type -> Type #

NFData RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Methods

rnf :: RemoveAttributes -> () #

Hashable RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

ToJSON RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

AWSRequest RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Associated Types

type AWSResponse RemoveAttributes #

ToHeaders RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

ToPath RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

ToQuery RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

type Rep RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

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

Defined in Amazonka.Pinpoint.RemoveAttributes

newRemoveAttributes Source #

Create a value of RemoveAttributes 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:attributeType:RemoveAttributes', removeAttributes_attributeType - The type of attribute or attributes to remove. Valid values are:

  • endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
  • endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
  • endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.

$sel:applicationId:RemoveAttributes', removeAttributes_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

$sel:updateAttributesRequest:RemoveAttributes', removeAttributes_updateAttributesRequest - Undocumented member.

Request Lenses

removeAttributes_attributeType :: Lens' RemoveAttributes Text Source #

The type of attribute or attributes to remove. Valid values are:

  • endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
  • endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
  • endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.

removeAttributes_applicationId :: Lens' RemoveAttributes Text Source #

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

Destructuring the Response

data RemoveAttributesResponse Source #

See: newRemoveAttributesResponse smart constructor.

Constructors

RemoveAttributesResponse' 

Fields

Instances

Instances details
Eq RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Read RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Show RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Generic RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Associated Types

type Rep RemoveAttributesResponse :: Type -> Type #

NFData RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

type Rep RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

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

newRemoveAttributesResponse Source #

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

$sel:attributesResource:RemoveAttributesResponse', removeAttributesResponse_attributesResource - Undocumented member.

Response Lenses