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 |
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.
CreateConfigurationSetEventDestination' | |
|
Instances
newCreateConfigurationSetEventDestination Source #
:: 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.
CreateConfigurationSetEventDestinationResponse' | |
|
Instances
Generic CreateConfigurationSetEventDestinationResponse Source # | |
Read CreateConfigurationSetEventDestinationResponse Source # | |
Show CreateConfigurationSetEventDestinationResponse Source # | |
NFData CreateConfigurationSetEventDestinationResponse Source # | |
Eq CreateConfigurationSetEventDestinationResponse Source # | |
type Rep CreateConfigurationSetEventDestinationResponse Source # | |
Defined in Amazonka.SmsVoice.CreateConfigurationSetEventDestination type Rep CreateConfigurationSetEventDestinationResponse = D1 ('MetaData "CreateConfigurationSetEventDestinationResponse" "Amazonka.SmsVoice.CreateConfigurationSetEventDestination" "amazonka-sms-voice-2.0-3p97esUzflC4CxQYj8cHEb" 'False) (C1 ('MetaCons "CreateConfigurationSetEventDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateConfigurationSetEventDestinationResponse Source #
:: 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.