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

Description

Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.

A configuration set is a set of rules that you apply to the SMS and voice messages that you send.

When you send a message, you can optionally specify a single configuration set.

Synopsis

Creating a Request

data CreateConfigurationSet Source #

See: newCreateConfigurationSet smart constructor.

Constructors

CreateConfigurationSet' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that 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.

  • tags :: Maybe [Tag]

    An array of key and value pair tags that's associated with the new configuration set.

  • configurationSetName :: Text

    The name to use for the new configuration set.

Instances

Instances details
ToJSON CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

ToHeaders CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

ToPath CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

ToQuery CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

AWSRequest CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Associated Types

type AWSResponse CreateConfigurationSet #

Generic CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Associated Types

type Rep CreateConfigurationSet :: Type -> Type #

Read CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Show CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

NFData CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Methods

rnf :: CreateConfigurationSet -> () #

Eq CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Hashable CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

type AWSResponse CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

type Rep CreateConfigurationSet Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

type Rep CreateConfigurationSet = D1 ('MetaData "CreateConfigurationSet" "Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "CreateConfigurationSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateConfigurationSet Source #

Create a value of CreateConfigurationSet 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:CreateConfigurationSet', createConfigurationSet_clientToken - Unique, case-sensitive identifier that 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.

CreateConfigurationSet, createConfigurationSet_tags - An array of key and value pair tags that's associated with the new configuration set.

CreateConfigurationSet, createConfigurationSet_configurationSetName - The name to use for the new configuration set.

Request Lenses

createConfigurationSet_clientToken :: Lens' CreateConfigurationSet (Maybe Text) Source #

Unique, case-sensitive identifier that 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.

createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag]) Source #

An array of key and value pair tags that's associated with the new configuration set.

createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet Text Source #

The name to use for the new configuration set.

Destructuring the Response

data CreateConfigurationSetResponse Source #

See: newCreateConfigurationSetResponse smart constructor.

Constructors

CreateConfigurationSetResponse' 

Fields

Instances

Instances details
Generic CreateConfigurationSetResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Associated Types

type Rep CreateConfigurationSetResponse :: Type -> Type #

Read CreateConfigurationSetResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Show CreateConfigurationSetResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

NFData CreateConfigurationSetResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

Eq CreateConfigurationSetResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

type Rep CreateConfigurationSetResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet

type Rep CreateConfigurationSetResponse = D1 ('MetaData "CreateConfigurationSetResponse" "Amazonka.PinpointSmsVoiceV2.CreateConfigurationSet" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "CreateConfigurationSetResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configurationSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateConfigurationSetResponse Source #

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

CreateConfigurationSetResponse, createConfigurationSetResponse_configurationSetArn - The Amazon Resource Name (ARN) of the newly created configuration set.

CreateConfigurationSet, createConfigurationSetResponse_configurationSetName - The name of the new configuration set.

CreateConfigurationSetResponse, createConfigurationSetResponse_createdTimestamp - The time when the configuration set was created, in UNIX epoch time format.

CreateConfigurationSet, createConfigurationSetResponse_tags - An array of key and value pair tags that's associated with the configuration set.

$sel:httpStatus:CreateConfigurationSetResponse', createConfigurationSetResponse_httpStatus - The response's http status code.

Response Lenses

createConfigurationSetResponse_configurationSetArn :: Lens' CreateConfigurationSetResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the newly created configuration set.

createConfigurationSetResponse_tags :: Lens' CreateConfigurationSetResponse (Maybe [Tag]) Source #

An array of key and value pair tags that's associated with the configuration set.