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 |
Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails.
Synopsis
- data UpdateConfigurationSetEventDestination = UpdateConfigurationSetEventDestination' {}
- newUpdateConfigurationSetEventDestination :: Text -> Text -> UpdateConfigurationSetEventDestination
- updateConfigurationSetEventDestination_eventDestination :: Lens' UpdateConfigurationSetEventDestination (Maybe EventDestinationDefinition)
- updateConfigurationSetEventDestination_eventDestinationName :: Lens' UpdateConfigurationSetEventDestination Text
- updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text
- data UpdateConfigurationSetEventDestinationResponse = UpdateConfigurationSetEventDestinationResponse' {
- httpStatus :: Int
- newUpdateConfigurationSetEventDestinationResponse :: Int -> UpdateConfigurationSetEventDestinationResponse
- updateConfigurationSetEventDestinationResponse_httpStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int
Creating a Request
data UpdateConfigurationSetEventDestination Source #
UpdateConfigurationSetEventDestinationRequest
See: newUpdateConfigurationSetEventDestination
smart constructor.
UpdateConfigurationSetEventDestination' | |
|
Instances
newUpdateConfigurationSetEventDestination Source #
:: Text |
|
-> Text |
|
-> UpdateConfigurationSetEventDestination |
Create a value of UpdateConfigurationSetEventDestination
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:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_eventDestination
- Undocumented member.
$sel:eventDestinationName:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_eventDestinationName
- EventDestinationName
$sel:configurationSetName:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_configurationSetName
- ConfigurationSetName
Request Lenses
updateConfigurationSetEventDestination_eventDestination :: Lens' UpdateConfigurationSetEventDestination (Maybe EventDestinationDefinition) Source #
Undocumented member.
updateConfigurationSetEventDestination_eventDestinationName :: Lens' UpdateConfigurationSetEventDestination Text Source #
EventDestinationName
updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text Source #
ConfigurationSetName
Destructuring the Response
data UpdateConfigurationSetEventDestinationResponse Source #
An empty object that indicates that the event destination was updated successfully.
See: newUpdateConfigurationSetEventDestinationResponse
smart constructor.
UpdateConfigurationSetEventDestinationResponse' | |
|
Instances
Eq UpdateConfigurationSetEventDestinationResponse Source # | |
Read UpdateConfigurationSetEventDestinationResponse Source # | |
Show UpdateConfigurationSetEventDestinationResponse Source # | |
Generic UpdateConfigurationSetEventDestinationResponse Source # | |
NFData UpdateConfigurationSetEventDestinationResponse Source # | |
type Rep UpdateConfigurationSetEventDestinationResponse Source # | |
Defined in Amazonka.PinpointSMSVoice.UpdateConfigurationSetEventDestination type Rep UpdateConfigurationSetEventDestinationResponse = D1 ('MetaData "UpdateConfigurationSetEventDestinationResponse" "Amazonka.PinpointSMSVoice.UpdateConfigurationSetEventDestination" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "UpdateConfigurationSetEventDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateConfigurationSetEventDestinationResponse Source #
:: Int |
|
-> UpdateConfigurationSetEventDestinationResponse |
Create a value of UpdateConfigurationSetEventDestinationResponse
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:UpdateConfigurationSetEventDestinationResponse'
, updateConfigurationSetEventDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
updateConfigurationSetEventDestinationResponse_httpStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int Source #
The response's http status code.