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

Description

Deletes a segment from an application.

Synopsis

Creating a Request

data DeleteSegment Source #

See: newDeleteSegment smart constructor.

Constructors

DeleteSegment' 

Fields

  • segmentId :: Text

    The unique identifier for the segment.

  • applicationId :: Text

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

Instances

Instances details
ToHeaders DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

ToPath DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

ToQuery DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

AWSRequest DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Associated Types

type AWSResponse DeleteSegment #

Generic DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Associated Types

type Rep DeleteSegment :: Type -> Type #

Read DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Show DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

NFData DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Methods

rnf :: DeleteSegment -> () #

Eq DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Hashable DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

type AWSResponse DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

type Rep DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

type Rep DeleteSegment = D1 ('MetaData "DeleteSegment" "Amazonka.Pinpoint.DeleteSegment" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "DeleteSegment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "segmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteSegment Source #

Create a value of DeleteSegment 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:

DeleteSegment, deleteSegment_segmentId - The unique identifier for the segment.

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

Request Lenses

deleteSegment_segmentId :: Lens' DeleteSegment Text Source #

The unique identifier for the segment.

deleteSegment_applicationId :: Lens' DeleteSegment 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 DeleteSegmentResponse Source #

See: newDeleteSegmentResponse smart constructor.

Constructors

DeleteSegmentResponse' 

Fields

Instances

Instances details
Generic DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Associated Types

type Rep DeleteSegmentResponse :: Type -> Type #

Read DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Show DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

NFData DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Methods

rnf :: DeleteSegmentResponse -> () #

Eq DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

type Rep DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

type Rep DeleteSegmentResponse = D1 ('MetaData "DeleteSegmentResponse" "Amazonka.Pinpoint.DeleteSegment" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "DeleteSegmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "segmentResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SegmentResponse)))

newDeleteSegmentResponse Source #

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

$sel:segmentResponse:DeleteSegmentResponse', deleteSegmentResponse_segmentResponse - Undocumented member.

Response Lenses