Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data CreateConfigurationSet = CreateConfigurationSet' {
- clientToken :: Maybe Text
- tags :: Maybe [Tag]
- configurationSetName :: Text
- newCreateConfigurationSet :: Text -> CreateConfigurationSet
- createConfigurationSet_clientToken :: Lens' CreateConfigurationSet (Maybe Text)
- createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag])
- createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet Text
- data CreateConfigurationSetResponse = CreateConfigurationSetResponse' {}
- newCreateConfigurationSetResponse :: Int -> CreateConfigurationSetResponse
- createConfigurationSetResponse_configurationSetArn :: Lens' CreateConfigurationSetResponse (Maybe Text)
- createConfigurationSetResponse_configurationSetName :: Lens' CreateConfigurationSetResponse (Maybe Text)
- createConfigurationSetResponse_createdTimestamp :: Lens' CreateConfigurationSetResponse (Maybe UTCTime)
- createConfigurationSetResponse_tags :: Lens' CreateConfigurationSetResponse (Maybe [Tag])
- createConfigurationSetResponse_httpStatus :: Lens' CreateConfigurationSetResponse Int
Creating a Request
data CreateConfigurationSet Source #
See: newCreateConfigurationSet
smart constructor.
CreateConfigurationSet' | |
|
Instances
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.
CreateConfigurationSetResponse' | |
|
Instances
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_configurationSetName :: Lens' CreateConfigurationSetResponse (Maybe Text) Source #
The name of the new configuration set.
createConfigurationSetResponse_createdTimestamp :: Lens' CreateConfigurationSetResponse (Maybe UTCTime) Source #
The time when the configuration set was created, in UNIX epoch time format.
createConfigurationSetResponse_tags :: Lens' CreateConfigurationSetResponse (Maybe [Tag]) Source #
An array of key and value pair tags that's associated with the configuration set.
createConfigurationSetResponse_httpStatus :: Lens' CreateConfigurationSetResponse Int Source #
The response's http status code.