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 |
Describes a stream’s edge configuration that was set using the
StartEdgeConfigurationUpdate
API. Use this API to get the status of
the configuration if the configuration is in sync with the Edge Agent.
Synopsis
- data DescribeEdgeConfiguration = DescribeEdgeConfiguration' {}
- newDescribeEdgeConfiguration :: DescribeEdgeConfiguration
- describeEdgeConfiguration_streamARN :: Lens' DescribeEdgeConfiguration (Maybe Text)
- describeEdgeConfiguration_streamName :: Lens' DescribeEdgeConfiguration (Maybe Text)
- data DescribeEdgeConfigurationResponse = DescribeEdgeConfigurationResponse' {}
- newDescribeEdgeConfigurationResponse :: Int -> DescribeEdgeConfigurationResponse
- describeEdgeConfigurationResponse_creationTime :: Lens' DescribeEdgeConfigurationResponse (Maybe UTCTime)
- describeEdgeConfigurationResponse_edgeConfig :: Lens' DescribeEdgeConfigurationResponse (Maybe EdgeConfig)
- describeEdgeConfigurationResponse_failedStatusDetails :: Lens' DescribeEdgeConfigurationResponse (Maybe Text)
- describeEdgeConfigurationResponse_lastUpdatedTime :: Lens' DescribeEdgeConfigurationResponse (Maybe UTCTime)
- describeEdgeConfigurationResponse_streamARN :: Lens' DescribeEdgeConfigurationResponse (Maybe Text)
- describeEdgeConfigurationResponse_streamName :: Lens' DescribeEdgeConfigurationResponse (Maybe Text)
- describeEdgeConfigurationResponse_syncStatus :: Lens' DescribeEdgeConfigurationResponse (Maybe SyncStatus)
- describeEdgeConfigurationResponse_httpStatus :: Lens' DescribeEdgeConfigurationResponse Int
Creating a Request
data DescribeEdgeConfiguration Source #
See: newDescribeEdgeConfiguration
smart constructor.
Instances
newDescribeEdgeConfiguration :: DescribeEdgeConfiguration Source #
Create a value of DescribeEdgeConfiguration
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:
DescribeEdgeConfiguration
, describeEdgeConfiguration_streamARN
- The Amazon Resource Name (ARN) of the stream. Specify either the
StreamName
or the StreamARN
.
DescribeEdgeConfiguration
, describeEdgeConfiguration_streamName
- The name of the stream whose edge configuration you want to update.
Specify either the StreamName
or the StreamARN
.
Request Lenses
describeEdgeConfiguration_streamARN :: Lens' DescribeEdgeConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream. Specify either the
StreamName
or the StreamARN
.
describeEdgeConfiguration_streamName :: Lens' DescribeEdgeConfiguration (Maybe Text) Source #
The name of the stream whose edge configuration you want to update.
Specify either the StreamName
or the StreamARN
.
Destructuring the Response
data DescribeEdgeConfigurationResponse Source #
See: newDescribeEdgeConfigurationResponse
smart constructor.
DescribeEdgeConfigurationResponse' | |
|
Instances
newDescribeEdgeConfigurationResponse Source #
Create a value of DescribeEdgeConfigurationResponse
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:
DescribeEdgeConfigurationResponse
, describeEdgeConfigurationResponse_creationTime
- The timestamp at which a stream’s edge configuration was first created.
$sel:edgeConfig:DescribeEdgeConfigurationResponse'
, describeEdgeConfigurationResponse_edgeConfig
- A description of the stream's edge configuration that will be used to
sync with the Edge Agent IoT Greengrass component. The Edge Agent
component will run on an IoT Hub Device setup at your premise.
$sel:failedStatusDetails:DescribeEdgeConfigurationResponse'
, describeEdgeConfigurationResponse_failedStatusDetails
- A description of the generated failure status.
$sel:lastUpdatedTime:DescribeEdgeConfigurationResponse'
, describeEdgeConfigurationResponse_lastUpdatedTime
- The timestamp at which a stream’s edge configuration was last updated.
DescribeEdgeConfiguration
, describeEdgeConfigurationResponse_streamARN
- The Amazon Resource Name (ARN) of the stream.
DescribeEdgeConfiguration
, describeEdgeConfigurationResponse_streamName
- The name of the stream from which the edge configuration was updated.
$sel:syncStatus:DescribeEdgeConfigurationResponse'
, describeEdgeConfigurationResponse_syncStatus
- The latest status of the edge configuration update.
$sel:httpStatus:DescribeEdgeConfigurationResponse'
, describeEdgeConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
describeEdgeConfigurationResponse_creationTime :: Lens' DescribeEdgeConfigurationResponse (Maybe UTCTime) Source #
The timestamp at which a stream’s edge configuration was first created.
describeEdgeConfigurationResponse_edgeConfig :: Lens' DescribeEdgeConfigurationResponse (Maybe EdgeConfig) Source #
A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.
describeEdgeConfigurationResponse_failedStatusDetails :: Lens' DescribeEdgeConfigurationResponse (Maybe Text) Source #
A description of the generated failure status.
describeEdgeConfigurationResponse_lastUpdatedTime :: Lens' DescribeEdgeConfigurationResponse (Maybe UTCTime) Source #
The timestamp at which a stream’s edge configuration was last updated.
describeEdgeConfigurationResponse_streamARN :: Lens' DescribeEdgeConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream.
describeEdgeConfigurationResponse_streamName :: Lens' DescribeEdgeConfigurationResponse (Maybe Text) Source #
The name of the stream from which the edge configuration was updated.
describeEdgeConfigurationResponse_syncStatus :: Lens' DescribeEdgeConfigurationResponse (Maybe SyncStatus) Source #
The latest status of the edge configuration update.
describeEdgeConfigurationResponse_httpStatus :: Lens' DescribeEdgeConfigurationResponse Int Source #
The response's http status code.