Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
Synopsis
- data CreateConfigurationSet = CreateConfigurationSet' {}
- newCreateConfigurationSet :: CreateConfigurationSet
- createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet (Maybe Text)
- data CreateConfigurationSetResponse = CreateConfigurationSetResponse' {
- httpStatus :: Int
- newCreateConfigurationSetResponse :: Int -> CreateConfigurationSetResponse
- createConfigurationSetResponse_httpStatus :: Lens' CreateConfigurationSetResponse Int
Creating a Request
data CreateConfigurationSet Source #
A request to create a new configuration set.
See: newCreateConfigurationSet
smart constructor.
CreateConfigurationSet' | |
|
Instances
newCreateConfigurationSet :: CreateConfigurationSet 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:configurationSetName:CreateConfigurationSet'
, createConfigurationSet_configurationSetName
- The name that you want to give the configuration set.
Request Lenses
createConfigurationSet_configurationSetName :: Lens' CreateConfigurationSet (Maybe Text) Source #
The name that you want to give the configuration set.
Destructuring the Response
data CreateConfigurationSetResponse Source #
An empty object that indicates that the configuration set was successfully created.
See: newCreateConfigurationSetResponse
smart constructor.
CreateConfigurationSetResponse' | |
|
Instances
Eq CreateConfigurationSetResponse Source # | |
Read CreateConfigurationSetResponse Source # | |
Show CreateConfigurationSetResponse Source # | |
Generic CreateConfigurationSetResponse Source # | |
NFData CreateConfigurationSetResponse Source # | |
Defined in Amazonka.PinpointSMSVoice.CreateConfigurationSet rnf :: CreateConfigurationSetResponse -> () # | |
type Rep CreateConfigurationSetResponse Source # | |
Defined in Amazonka.PinpointSMSVoice.CreateConfigurationSet type Rep CreateConfigurationSetResponse = D1 ('MetaData "CreateConfigurationSetResponse" "Amazonka.PinpointSMSVoice.CreateConfigurationSet" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "CreateConfigurationSetResponse'" 'PrefixI 'True) (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:
$sel:httpStatus:CreateConfigurationSetResponse'
, createConfigurationSetResponse_httpStatus
- The response's http status code.
Response Lenses
createConfigurationSetResponse_httpStatus :: Lens' CreateConfigurationSetResponse Int Source #
The response's http status code.