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

Description

Removes the specified origination identity from an existing pool.

If the origination identity isn't associated with the specified pool, an Error is returned.

Synopsis

Creating a Request

data DisassociateOriginationIdentity Source #

See: newDisassociateOriginationIdentity smart constructor.

Constructors

DisassociateOriginationIdentity' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

  • poolId :: Text

    The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.

  • originationIdentity :: Text

    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.

  • isoCountryCode :: Text

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

Instances

Instances details
ToJSON DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

ToHeaders DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

ToPath DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

ToQuery DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

AWSRequest DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Generic DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Associated Types

type Rep DisassociateOriginationIdentity :: Type -> Type #

Read DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Show DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

NFData DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Eq DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Hashable DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

type AWSResponse DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

type Rep DisassociateOriginationIdentity Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

type Rep DisassociateOriginationIdentity = D1 ('MetaData "DisassociateOriginationIdentity" "Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DisassociateOriginationIdentity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "poolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "originationIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "isoCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDisassociateOriginationIdentity Source #

Create a value of DisassociateOriginationIdentity 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:clientToken:DisassociateOriginationIdentity', disassociateOriginationIdentity_clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

DisassociateOriginationIdentity, disassociateOriginationIdentity_poolId - The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.

DisassociateOriginationIdentity, disassociateOriginationIdentity_originationIdentity - The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.

DisassociateOriginationIdentity, disassociateOriginationIdentity_isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

Request Lenses

disassociateOriginationIdentity_clientToken :: Lens' DisassociateOriginationIdentity (Maybe Text) Source #

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

disassociateOriginationIdentity_poolId :: Lens' DisassociateOriginationIdentity Text Source #

The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.

disassociateOriginationIdentity_originationIdentity :: Lens' DisassociateOriginationIdentity Text Source #

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.

disassociateOriginationIdentity_isoCountryCode :: Lens' DisassociateOriginationIdentity Text Source #

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

Destructuring the Response

data DisassociateOriginationIdentityResponse Source #

Constructors

DisassociateOriginationIdentityResponse' 

Fields

Instances

Instances details
Generic DisassociateOriginationIdentityResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Read DisassociateOriginationIdentityResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Show DisassociateOriginationIdentityResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

NFData DisassociateOriginationIdentityResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

Eq DisassociateOriginationIdentityResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

type Rep DisassociateOriginationIdentityResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity

type Rep DisassociateOriginationIdentityResponse = D1 ('MetaData "DisassociateOriginationIdentityResponse" "Amazonka.PinpointSmsVoiceV2.DisassociateOriginationIdentity" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DisassociateOriginationIdentityResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "isoCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "originationIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "originationIdentityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "poolArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "poolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDisassociateOriginationIdentityResponse Source #

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

DisassociateOriginationIdentity, disassociateOriginationIdentityResponse_isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

DisassociateOriginationIdentity, disassociateOriginationIdentityResponse_originationIdentity - The PhoneNumberId or SenderId of the origination identity.

DisassociateOriginationIdentityResponse, disassociateOriginationIdentityResponse_originationIdentityArn - The PhoneNumberArn or SenderIdArn of the origination identity.

DisassociateOriginationIdentityResponse, disassociateOriginationIdentityResponse_poolArn - The Amazon Resource Name (ARN) of the pool.

DisassociateOriginationIdentity, disassociateOriginationIdentityResponse_poolId - The PoolId of the pool no longer associated with the origination identity.

$sel:httpStatus:DisassociateOriginationIdentityResponse', disassociateOriginationIdentityResponse_httpStatus - The response's http status code.

Response Lenses

disassociateOriginationIdentityResponse_isoCountryCode :: Lens' DisassociateOriginationIdentityResponse (Maybe Text) Source #

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

disassociateOriginationIdentityResponse_poolId :: Lens' DisassociateOriginationIdentityResponse (Maybe Text) Source #

The PoolId of the pool no longer associated with the origination identity.