| 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.UpdateConfigurationSetEventDestination
Description
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.
Constructors
| UpdateConfigurationSetEventDestination' | |
Fields
| |
Instances
newUpdateConfigurationSetEventDestination Source #
Arguments
| :: 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.
Constructors
| UpdateConfigurationSetEventDestinationResponse' | |
Fields
| |
Instances
newUpdateConfigurationSetEventDestinationResponse Source #
Arguments
| :: 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.