amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.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

AWSRequest RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Associated Types

type AWSResponse RemoveAttributes #

Generic RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Associated Types

type Rep RemoveAttributes :: Type -> Type #

Read RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Show RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

NFData RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Methods

rnf :: RemoveAttributes -> () #

Eq RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Hashable RemoveAttributes Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

type AWSResponse 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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))))

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:

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.

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
Generic RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Associated Types

type Rep RemoveAttributesResponse :: Type -> Type #

Read RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Show RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

NFData RemoveAttributesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.RemoveAttributes

Eq 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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