| 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 |
Amazonka.SmsVoice.CreateConfigurationSet
Description
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.
Constructors
| CreateConfigurationSet' | |
Fields
| |
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.
Constructors
| CreateConfigurationSetResponse' | |
Fields
| |
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:
$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.