amazonka-kinesis-video-2.0: Amazon Kinesis Video Streams SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.KinesisVideo.UpdateNotificationConfiguration

Description

Updates the notification information for a stream.

Synopsis

Creating a Request

data UpdateNotificationConfiguration Source #

See: newUpdateNotificationConfiguration smart constructor.

Constructors

UpdateNotificationConfiguration' 

Fields

  • notificationConfiguration :: Maybe NotificationConfiguration

    The structure containing the information required for notifications. If the structure is null, the configuration will be deleted from the stream.

  • streamARN :: Maybe Text

    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.

  • streamName :: Maybe Text

    The name of the stream from which to update the notification configuration. You must specify either the StreamName or the StreamARN.

Instances

Instances details
ToJSON UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

ToHeaders UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

ToPath UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

ToQuery UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

AWSRequest UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Generic UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Associated Types

type Rep UpdateNotificationConfiguration :: Type -> Type #

Read UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Show UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

NFData UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Eq UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Hashable UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

type AWSResponse UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

type Rep UpdateNotificationConfiguration Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

type Rep UpdateNotificationConfiguration = D1 ('MetaData "UpdateNotificationConfiguration" "Amazonka.KinesisVideo.UpdateNotificationConfiguration" "amazonka-kinesis-video-2.0-5DR7d8jw2IyAvZJM3U7dwM" 'False) (C1 ('MetaCons "UpdateNotificationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationConfiguration)) :*: (S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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 #

Constructors

UpdateNotificationConfigurationResponse' 

Fields

Instances

Instances details
Generic UpdateNotificationConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Read UpdateNotificationConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Show UpdateNotificationConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

NFData UpdateNotificationConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

Eq UpdateNotificationConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisVideo.UpdateNotificationConfiguration

type Rep UpdateNotificationConfigurationResponse Source # 
Instance details

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