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 |
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.
UpdateNotificationConfiguration' | |
|
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.
UpdateNotificationConfigurationResponse' | |
|
Instances
Generic UpdateNotificationConfigurationResponse Source # | |
Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration type Rep UpdateNotificationConfigurationResponse :: Type -> Type # | |
Read UpdateNotificationConfigurationResponse Source # | |
Show UpdateNotificationConfigurationResponse Source # | |
NFData UpdateNotificationConfigurationResponse Source # | |
Eq UpdateNotificationConfigurationResponse Source # | |
type Rep UpdateNotificationConfigurationResponse Source # | |
Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration type Rep UpdateNotificationConfigurationResponse = D1 ('MetaData "UpdateNotificationConfigurationResponse" "Amazonka.KinesisVideo.UpdateNotificationConfiguration" "amazonka-kinesis-video-2.0-5DR7d8jw2IyAvZJM3U7dwM" 'False) (C1 ('MetaCons "UpdateNotificationConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateNotificationConfigurationResponse Source #
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.