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

Description

Describes the specified SenderIds or all SenderIds associated with your Amazon Web Services account.

If you specify SenderIds, the output includes information for only the specified SenderIds. If you specify filters, the output includes information for only those SenderIds that meet the filter criteria. If you don't specify SenderIds or filters, the output includes information for all SenderIds.

f you specify a sender ID that isn't valid, an Error is returned.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSenderIds Source #

See: newDescribeSenderIds smart constructor.

Constructors

DescribeSenderIds' 

Fields

Instances

Instances details
ToJSON DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

ToHeaders DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

ToPath DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

ToQuery DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

AWSPager DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

AWSRequest DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Associated Types

type AWSResponse DescribeSenderIds #

Generic DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Associated Types

type Rep DescribeSenderIds :: Type -> Type #

Read DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Show DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

NFData DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Methods

rnf :: DescribeSenderIds -> () #

Eq DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Hashable DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

type AWSResponse DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

type Rep DescribeSenderIds Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

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

newDescribeSenderIds :: DescribeSenderIds Source #

Create a value of DescribeSenderIds 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:filters:DescribeSenderIds', describeSenderIds_filters - An array of SenderIdFilter objects to filter the results.

$sel:maxResults:DescribeSenderIds', describeSenderIds_maxResults - The maximum number of results to return per each request.

DescribeSenderIds, describeSenderIds_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.

DescribeSenderIds, describeSenderIds_senderIds - An array of SenderIdAndCountry objects to search for.

Request Lenses

describeSenderIds_filters :: Lens' DescribeSenderIds (Maybe [SenderIdFilter]) Source #

An array of SenderIdFilter objects to filter the results.

describeSenderIds_maxResults :: Lens' DescribeSenderIds (Maybe Natural) Source #

The maximum number of results to return per each request.

describeSenderIds_nextToken :: Lens' DescribeSenderIds (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.

describeSenderIds_senderIds :: Lens' DescribeSenderIds (Maybe [SenderIdAndCountry]) Source #

An array of SenderIdAndCountry objects to search for.

Destructuring the Response

data DescribeSenderIdsResponse Source #

See: newDescribeSenderIdsResponse smart constructor.

Constructors

DescribeSenderIdsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • senderIds :: Maybe [SenderIdInformation]

    An array of SernderIdInformation objects that contain the details for the requested SenderIds.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeSenderIdsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Associated Types

type Rep DescribeSenderIdsResponse :: Type -> Type #

Read DescribeSenderIdsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Show DescribeSenderIdsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

NFData DescribeSenderIdsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

Eq DescribeSenderIdsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

type Rep DescribeSenderIdsResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DescribeSenderIds

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

newDescribeSenderIdsResponse Source #

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

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

DescribeSenderIds, describeSenderIdsResponse_senderIds - An array of SernderIdInformation objects that contain the details for the requested SenderIds.

$sel:httpStatus:DescribeSenderIdsResponse', describeSenderIdsResponse_httpStatus - The response's http status code.

Response Lenses

describeSenderIdsResponse_nextToken :: Lens' DescribeSenderIdsResponse (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.

describeSenderIdsResponse_senderIds :: Lens' DescribeSenderIdsResponse (Maybe [SenderIdInformation]) Source #

An array of SernderIdInformation objects that contain the details for the requested SenderIds.