| 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.KinesisVideo.UpdateNotificationConfiguration
Description
Updates the notification information for a stream.
Synopsis
- data UpdateNotificationConfiguration = UpdateNotificationConfiguration' {}
- newUpdateNotificationConfiguration :: UpdateNotificationConfiguration
- updateNotificationConfiguration_notificationConfiguration :: Lens' UpdateNotificationConfiguration (Maybe NotificationConfiguration)
- updateNotificationConfiguration_streamARN :: Lens' UpdateNotificationConfiguration (Maybe Text)
- updateNotificationConfiguration_streamName :: Lens' UpdateNotificationConfiguration (Maybe Text)
- data UpdateNotificationConfigurationResponse = UpdateNotificationConfigurationResponse' {
- httpStatus :: Int
- newUpdateNotificationConfigurationResponse :: Int -> UpdateNotificationConfigurationResponse
- updateNotificationConfigurationResponse_httpStatus :: Lens' UpdateNotificationConfigurationResponse Int
Creating a Request
data UpdateNotificationConfiguration Source #
See: newUpdateNotificationConfiguration smart constructor.
Constructors
| UpdateNotificationConfiguration' | |
Fields
| |
Instances
newUpdateNotificationConfiguration :: UpdateNotificationConfiguration Source #
Create a value of UpdateNotificationConfiguration 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:notificationConfiguration:UpdateNotificationConfiguration', updateNotificationConfiguration_notificationConfiguration - The structure containing the information required for notifications. If
the structure is null, the configuration will be deleted from the
stream.
UpdateNotificationConfiguration, updateNotificationConfiguration_streamARN - The Amazon Resource Name (ARN) of the Kinesis video stream from where
you want to update the notification configuration. You must specify
either the StreamName or the StreamARN.
UpdateNotificationConfiguration, updateNotificationConfiguration_streamName - The name of the stream from which to update the notification
configuration. You must specify either the StreamName or the
StreamARN.
Request Lenses
updateNotificationConfiguration_notificationConfiguration :: Lens' UpdateNotificationConfiguration (Maybe NotificationConfiguration) Source #
The structure containing the information required for notifications. If the structure is null, the configuration will be deleted from the stream.
updateNotificationConfiguration_streamARN :: Lens' UpdateNotificationConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Kinesis video stream from where
you want to update the notification configuration. You must specify
either the StreamName or the StreamARN.
updateNotificationConfiguration_streamName :: Lens' UpdateNotificationConfiguration (Maybe Text) Source #
The name of the stream from which to update the notification
configuration. You must specify either the StreamName or the
StreamARN.
Destructuring the Response
data UpdateNotificationConfigurationResponse Source #
See: newUpdateNotificationConfigurationResponse smart constructor.
Constructors
| UpdateNotificationConfigurationResponse' | |
Fields
| |
Instances
newUpdateNotificationConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateNotificationConfigurationResponse |
Create a value of UpdateNotificationConfigurationResponse 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:UpdateNotificationConfigurationResponse', updateNotificationConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateNotificationConfigurationResponse_httpStatus :: Lens' UpdateNotificationConfigurationResponse Int Source #
The response's http status code.