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.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
Eq DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Read DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Show DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Generic DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Associated Types

type Rep DeleteSegment :: Type -> Type #

NFData DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Methods

rnf :: DeleteSegment -> () #

Hashable DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

AWSRequest DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Associated Types

type AWSResponse DeleteSegment #

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

type Rep DeleteSegment Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

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

Defined in Amazonka.Pinpoint.DeleteSegment

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:

$sel:segmentId:DeleteSegment', deleteSegment_segmentId - The unique identifier for the segment.

$sel:applicationId: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
Eq DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Read DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Show DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Generic DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Associated Types

type Rep DeleteSegmentResponse :: Type -> Type #

NFData DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

Methods

rnf :: DeleteSegmentResponse -> () #

type Rep DeleteSegmentResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteSegment

type Rep DeleteSegmentResponse = D1 ('MetaData "DeleteSegmentResponse" "Amazonka.Pinpoint.DeleteSegment" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" '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