amazonka-pinpoint-sms-voice-v2-2.0: Amazon Pinpoint SMS Voice V2 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.PinpointSmsVoiceV2.DescribeOptOutLists

Description

Describes the specified opt-out list or all opt-out lists in your account.

If you specify opt-out list names, the output includes information for only the specified opt-out lists. Opt-out lists include only those that meet the filter criteria. If you don't specify opt-out list names or filters, the output includes information for all opt-out lists.

If you specify an opt-out list name that isn't valid, an Error is returned.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeOptOutLists Source #

See: newDescribeOptOutLists smart constructor.

Constructors

DescribeOptOutLists' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per each request.

  • nextToken :: Maybe Text

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

  • optOutListNames :: Maybe [Text]

    The OptOutLists to show the details of. This is an array of strings that can be either the OptOutListName or OptOutListArn.

Instances

Instances details
ToJSON DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

ToHeaders DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

ToPath DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

ToQuery DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

AWSPager DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

AWSRequest DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Associated Types

type AWSResponse DescribeOptOutLists #

Generic DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Associated Types

type Rep DescribeOptOutLists :: Type -> Type #

Read DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Show DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

NFData DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Methods

rnf :: DescribeOptOutLists -> () #

Eq DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Hashable DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

type AWSResponse DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

type Rep DescribeOptOutLists Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

type Rep DescribeOptOutLists = D1 ('MetaData "DescribeOptOutLists" "Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DescribeOptOutLists'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "optOutListNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newDescribeOptOutLists :: DescribeOptOutLists Source #

Create a value of DescribeOptOutLists 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:maxResults:DescribeOptOutLists', describeOptOutLists_maxResults - The maximum number of results to return per each request.

DescribeOptOutLists, describeOptOutLists_nextToken - The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

$sel:optOutListNames:DescribeOptOutLists', describeOptOutLists_optOutListNames - The OptOutLists to show the details of. This is an array of strings that can be either the OptOutListName or OptOutListArn.

Request Lenses

describeOptOutLists_maxResults :: Lens' DescribeOptOutLists (Maybe Natural) Source #

The maximum number of results to return per each request.

describeOptOutLists_nextToken :: Lens' DescribeOptOutLists (Maybe Text) Source #

The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

describeOptOutLists_optOutListNames :: Lens' DescribeOptOutLists (Maybe [Text]) Source #

The OptOutLists to show the details of. This is an array of strings that can be either the OptOutListName or OptOutListArn.

Destructuring the Response

data DescribeOptOutListsResponse Source #

See: newDescribeOptOutListsResponse smart constructor.

Constructors

DescribeOptOutListsResponse' 

Fields

Instances

Instances details
Generic DescribeOptOutListsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Associated Types

type Rep DescribeOptOutListsResponse :: Type -> Type #

Read DescribeOptOutListsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Show DescribeOptOutListsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

NFData DescribeOptOutListsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

Eq DescribeOptOutListsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

type Rep DescribeOptOutListsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists

type Rep DescribeOptOutListsResponse = D1 ('MetaData "DescribeOptOutListsResponse" "Amazonka.PinpointSmsVoiceV2.DescribeOptOutLists" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DescribeOptOutListsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "optOutLists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OptOutListInformation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeOptOutListsResponse Source #

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

DescribeOptOutLists, describeOptOutListsResponse_nextToken - The token to be used for the next set of paginated results. If this field is empty then there are no more results.

$sel:optOutLists:DescribeOptOutListsResponse', describeOptOutListsResponse_optOutLists - An array of OptOutListInformation objects that contain the details for the requested OptOutLists.

$sel:httpStatus:DescribeOptOutListsResponse', describeOptOutListsResponse_httpStatus - The response's http status code.

Response Lenses

describeOptOutListsResponse_nextToken :: Lens' DescribeOptOutListsResponse (Maybe Text) Source #

The token to be used for the next set of paginated results. If this field is empty then there are no more results.

describeOptOutListsResponse_optOutLists :: Lens' DescribeOptOutListsResponse (Maybe [OptOutListInformation]) Source #

An array of OptOutListInformation objects that contain the details for the requested OptOutLists.