| 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.DescribeNotificationConfiguration
Description
Gets the NotificationConfiguration for a given Kinesis video stream.
Synopsis
- data DescribeNotificationConfiguration = DescribeNotificationConfiguration' {}
- newDescribeNotificationConfiguration :: DescribeNotificationConfiguration
- describeNotificationConfiguration_streamARN :: Lens' DescribeNotificationConfiguration (Maybe Text)
- describeNotificationConfiguration_streamName :: Lens' DescribeNotificationConfiguration (Maybe Text)
- data DescribeNotificationConfigurationResponse = DescribeNotificationConfigurationResponse' {}
- newDescribeNotificationConfigurationResponse :: Int -> DescribeNotificationConfigurationResponse
- describeNotificationConfigurationResponse_notificationConfiguration :: Lens' DescribeNotificationConfigurationResponse (Maybe NotificationConfiguration)
- describeNotificationConfigurationResponse_httpStatus :: Lens' DescribeNotificationConfigurationResponse Int
Creating a Request
data DescribeNotificationConfiguration Source #
See: newDescribeNotificationConfiguration smart constructor.
Constructors
| DescribeNotificationConfiguration' | |
Fields
| |
Instances
newDescribeNotificationConfiguration :: DescribeNotificationConfiguration Source #
Create a value of DescribeNotificationConfiguration 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:
DescribeNotificationConfiguration, describeNotificationConfiguration_streamARN - The Amazon Resource Name (ARN) of the Kinesis video stream from where
you want to retrieve the notification configuration. You must specify
either the StreamName or the StreamARN.
DescribeNotificationConfiguration, describeNotificationConfiguration_streamName - The name of the stream from which to retrieve the notification
configuration. You must specify either the StreamName or the
StreamARN.
Request Lenses
describeNotificationConfiguration_streamARN :: Lens' DescribeNotificationConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Kinesis video stream from where
you want to retrieve the notification configuration. You must specify
either the StreamName or the StreamARN.
describeNotificationConfiguration_streamName :: Lens' DescribeNotificationConfiguration (Maybe Text) Source #
The name of the stream from which to retrieve the notification
configuration. You must specify either the StreamName or the
StreamARN.
Destructuring the Response
data DescribeNotificationConfigurationResponse Source #
See: newDescribeNotificationConfigurationResponse smart constructor.
Constructors
| DescribeNotificationConfigurationResponse' | |
Fields
| |
Instances
newDescribeNotificationConfigurationResponse Source #
Arguments
| :: Int | |
| -> DescribeNotificationConfigurationResponse |
Create a value of DescribeNotificationConfigurationResponse 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:DescribeNotificationConfigurationResponse', describeNotificationConfigurationResponse_notificationConfiguration - The structure that contains the information required for notifications.
If the structure is null, the configuration will be deleted from the
stream.
$sel:httpStatus:DescribeNotificationConfigurationResponse', describeNotificationConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
describeNotificationConfigurationResponse_notificationConfiguration :: Lens' DescribeNotificationConfigurationResponse (Maybe NotificationConfiguration) Source #
The structure that contains the information required for notifications. If the structure is null, the configuration will be deleted from the stream.
describeNotificationConfigurationResponse_httpStatus :: Lens' DescribeNotificationConfigurationResponse Int Source #
The response's http status code.