| 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.PinpointSMSVoice.CreateConfigurationSetEventDestination
Description
Create a new event destination in a configuration set.
Synopsis
- data CreateConfigurationSetEventDestination = CreateConfigurationSetEventDestination' {}
- newCreateConfigurationSetEventDestination :: Text -> CreateConfigurationSetEventDestination
- createConfigurationSetEventDestination_eventDestination :: Lens' CreateConfigurationSetEventDestination (Maybe EventDestinationDefinition)
- createConfigurationSetEventDestination_eventDestinationName :: Lens' CreateConfigurationSetEventDestination (Maybe Text)
- createConfigurationSetEventDestination_configurationSetName :: Lens' CreateConfigurationSetEventDestination Text
- data CreateConfigurationSetEventDestinationResponse = CreateConfigurationSetEventDestinationResponse' {
- httpStatus :: Int
- newCreateConfigurationSetEventDestinationResponse :: Int -> CreateConfigurationSetEventDestinationResponse
- createConfigurationSetEventDestinationResponse_httpStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int
Creating a Request
data CreateConfigurationSetEventDestination Source #
Create a new event destination in a configuration set.
See: newCreateConfigurationSetEventDestination smart constructor.
Constructors
| CreateConfigurationSetEventDestination' | |
Fields
| |
Instances
newCreateConfigurationSetEventDestination Source #
Arguments
| :: Text |
|
| -> CreateConfigurationSetEventDestination |
Create a value of CreateConfigurationSetEventDestination 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:eventDestination:CreateConfigurationSetEventDestination', createConfigurationSetEventDestination_eventDestination - Undocumented member.
$sel:eventDestinationName:CreateConfigurationSetEventDestination', createConfigurationSetEventDestination_eventDestinationName - A name that identifies the event destination.
$sel:configurationSetName:CreateConfigurationSetEventDestination', createConfigurationSetEventDestination_configurationSetName - ConfigurationSetName
Request Lenses
createConfigurationSetEventDestination_eventDestination :: Lens' CreateConfigurationSetEventDestination (Maybe EventDestinationDefinition) Source #
Undocumented member.
createConfigurationSetEventDestination_eventDestinationName :: Lens' CreateConfigurationSetEventDestination (Maybe Text) Source #
A name that identifies the event destination.
createConfigurationSetEventDestination_configurationSetName :: Lens' CreateConfigurationSetEventDestination Text Source #
ConfigurationSetName
Destructuring the Response
data CreateConfigurationSetEventDestinationResponse Source #
An empty object that indicates that the event destination was created successfully.
See: newCreateConfigurationSetEventDestinationResponse smart constructor.
Constructors
| CreateConfigurationSetEventDestinationResponse' | |
Fields
| |
Instances
newCreateConfigurationSetEventDestinationResponse Source #
Arguments
| :: Int |
|
| -> CreateConfigurationSetEventDestinationResponse |
Create a value of CreateConfigurationSetEventDestinationResponse 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:CreateConfigurationSetEventDestinationResponse', createConfigurationSetEventDestinationResponse_httpStatus - The response's http status code.
Response Lenses
createConfigurationSetEventDestinationResponse_httpStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int Source #
The response's http status code.