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 |
An asynchronous API that updates a stream’s existing edge configuration.
The Kinesis Video Stream will sync the stream’s edge configuration with
the Edge Agent IoT Greengrass component that runs on an IoT Hub Device,
setup at your premise. The time to sync can vary and depends on the
connectivity of the Hub Device. The SyncStatus
will be updated as the
edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will
be created for the stream, and the sync status will be set to SYNCING
.
You will have to wait for the sync status to reach a terminal state such
as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you
invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and
the Edge Agent will be retried for 15 minutes. After 15 minutes, the
status will transition into the SYNC_FAILED
state.
Synopsis
- data StartEdgeConfigurationUpdate = StartEdgeConfigurationUpdate' {}
- newStartEdgeConfigurationUpdate :: EdgeConfig -> StartEdgeConfigurationUpdate
- startEdgeConfigurationUpdate_streamARN :: Lens' StartEdgeConfigurationUpdate (Maybe Text)
- startEdgeConfigurationUpdate_streamName :: Lens' StartEdgeConfigurationUpdate (Maybe Text)
- startEdgeConfigurationUpdate_edgeConfig :: Lens' StartEdgeConfigurationUpdate EdgeConfig
- data StartEdgeConfigurationUpdateResponse = StartEdgeConfigurationUpdateResponse' {}
- newStartEdgeConfigurationUpdateResponse :: Int -> StartEdgeConfigurationUpdateResponse
- startEdgeConfigurationUpdateResponse_creationTime :: Lens' StartEdgeConfigurationUpdateResponse (Maybe UTCTime)
- startEdgeConfigurationUpdateResponse_edgeConfig :: Lens' StartEdgeConfigurationUpdateResponse (Maybe EdgeConfig)
- startEdgeConfigurationUpdateResponse_failedStatusDetails :: Lens' StartEdgeConfigurationUpdateResponse (Maybe Text)
- startEdgeConfigurationUpdateResponse_lastUpdatedTime :: Lens' StartEdgeConfigurationUpdateResponse (Maybe UTCTime)
- startEdgeConfigurationUpdateResponse_streamARN :: Lens' StartEdgeConfigurationUpdateResponse (Maybe Text)
- startEdgeConfigurationUpdateResponse_streamName :: Lens' StartEdgeConfigurationUpdateResponse (Maybe Text)
- startEdgeConfigurationUpdateResponse_syncStatus :: Lens' StartEdgeConfigurationUpdateResponse (Maybe SyncStatus)
- startEdgeConfigurationUpdateResponse_httpStatus :: Lens' StartEdgeConfigurationUpdateResponse Int
Creating a Request
data StartEdgeConfigurationUpdate Source #
See: newStartEdgeConfigurationUpdate
smart constructor.
StartEdgeConfigurationUpdate' | |
|
Instances
newStartEdgeConfigurationUpdate Source #
Create a value of StartEdgeConfigurationUpdate
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:
StartEdgeConfigurationUpdate
, startEdgeConfigurationUpdate_streamARN
- The Amazon Resource Name (ARN) of the stream. Specify either the
StreamName
or the StreamARN
.
StartEdgeConfigurationUpdate
, startEdgeConfigurationUpdate_streamName
- The name of the stream whose edge configuration you want to update.
Specify either the StreamName
or the StreamARN
.
StartEdgeConfigurationUpdate
, startEdgeConfigurationUpdate_edgeConfig
- The edge configuration details required to invoke the update process.
Request Lenses
startEdgeConfigurationUpdate_streamARN :: Lens' StartEdgeConfigurationUpdate (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream. Specify either the
StreamName
or the StreamARN
.
startEdgeConfigurationUpdate_streamName :: Lens' StartEdgeConfigurationUpdate (Maybe Text) Source #
The name of the stream whose edge configuration you want to update.
Specify either the StreamName
or the StreamARN
.
startEdgeConfigurationUpdate_edgeConfig :: Lens' StartEdgeConfigurationUpdate EdgeConfig Source #
The edge configuration details required to invoke the update process.
Destructuring the Response
data StartEdgeConfigurationUpdateResponse Source #
See: newStartEdgeConfigurationUpdateResponse
smart constructor.
StartEdgeConfigurationUpdateResponse' | |
|
Instances
newStartEdgeConfigurationUpdateResponse Source #
Create a value of StartEdgeConfigurationUpdateResponse
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:
StartEdgeConfigurationUpdateResponse
, startEdgeConfigurationUpdateResponse_creationTime
- The timestamp at which a stream’s edge configuration was first created.
StartEdgeConfigurationUpdate
, startEdgeConfigurationUpdateResponse_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:StartEdgeConfigurationUpdateResponse'
, startEdgeConfigurationUpdateResponse_failedStatusDetails
- A description of the generated failure status.
$sel:lastUpdatedTime:StartEdgeConfigurationUpdateResponse'
, startEdgeConfigurationUpdateResponse_lastUpdatedTime
- The timestamp at which a stream’s edge configuration was last updated.
StartEdgeConfigurationUpdate
, startEdgeConfigurationUpdateResponse_streamARN
- The Amazon Resource Name (ARN) of the stream.
StartEdgeConfigurationUpdate
, startEdgeConfigurationUpdateResponse_streamName
- The name of the stream from which the edge configuration was updated.
$sel:syncStatus:StartEdgeConfigurationUpdateResponse'
, startEdgeConfigurationUpdateResponse_syncStatus
- The current sync status of the stream's edge configuration. When you
invoke this API, the sync status will be set to the SYNCING
state. Use
the DescribeEdgeConfiguration
API to get the latest status of the edge
configuration.
$sel:httpStatus:StartEdgeConfigurationUpdateResponse'
, startEdgeConfigurationUpdateResponse_httpStatus
- The response's http status code.
Response Lenses
startEdgeConfigurationUpdateResponse_creationTime :: Lens' StartEdgeConfigurationUpdateResponse (Maybe UTCTime) Source #
The timestamp at which a stream’s edge configuration was first created.
startEdgeConfigurationUpdateResponse_edgeConfig :: Lens' StartEdgeConfigurationUpdateResponse (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.
startEdgeConfigurationUpdateResponse_failedStatusDetails :: Lens' StartEdgeConfigurationUpdateResponse (Maybe Text) Source #
A description of the generated failure status.
startEdgeConfigurationUpdateResponse_lastUpdatedTime :: Lens' StartEdgeConfigurationUpdateResponse (Maybe UTCTime) Source #
The timestamp at which a stream’s edge configuration was last updated.
startEdgeConfigurationUpdateResponse_streamARN :: Lens' StartEdgeConfigurationUpdateResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream.
startEdgeConfigurationUpdateResponse_streamName :: Lens' StartEdgeConfigurationUpdateResponse (Maybe Text) Source #
The name of the stream from which the edge configuration was updated.
startEdgeConfigurationUpdateResponse_syncStatus :: Lens' StartEdgeConfigurationUpdateResponse (Maybe SyncStatus) Source #
The current sync status of the stream's edge configuration. When you
invoke this API, the sync status will be set to the SYNCING
state. Use
the DescribeEdgeConfiguration
API to get the latest status of the edge
configuration.
startEdgeConfigurationUpdateResponse_httpStatus :: Lens' StartEdgeConfigurationUpdateResponse Int Source #
The response's http status code.