| 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.CloudControl.Types.ProgressEvent
Description
Synopsis
- data ProgressEvent = ProgressEvent' {}
- newProgressEvent :: ProgressEvent
- progressEvent_errorCode :: Lens' ProgressEvent (Maybe HandlerErrorCode)
- progressEvent_eventTime :: Lens' ProgressEvent (Maybe UTCTime)
- progressEvent_identifier :: Lens' ProgressEvent (Maybe Text)
- progressEvent_operation :: Lens' ProgressEvent (Maybe Operation)
- progressEvent_operationStatus :: Lens' ProgressEvent (Maybe OperationStatus)
- progressEvent_requestToken :: Lens' ProgressEvent (Maybe Text)
- progressEvent_resourceModel :: Lens' ProgressEvent (Maybe Text)
- progressEvent_retryAfter :: Lens' ProgressEvent (Maybe UTCTime)
- progressEvent_statusMessage :: Lens' ProgressEvent (Maybe Text)
- progressEvent_typeName :: Lens' ProgressEvent (Maybe Text)
Documentation
data ProgressEvent Source #
Represents the current status of a resource operation request. For more information, see Managing resource operation requests in the Amazon Web Services Cloud Control API User Guide.
See: newProgressEvent smart constructor.
Constructors
| ProgressEvent' | |
Fields
| |
Instances
newProgressEvent :: ProgressEvent Source #
Create a value of ProgressEvent 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:errorCode:ProgressEvent', progressEvent_errorCode - For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the /CloudFormation Command Line Interface User Guide for Extension Development/.
$sel:eventTime:ProgressEvent', progressEvent_eventTime - When the resource operation request was initiated.
$sel:identifier:ProgressEvent', progressEvent_identifier - The primary identifier for the resource.
In some cases, the resource identifier may be available before the
resource operation has reached a status of SUCCESS.
$sel:operation:ProgressEvent', progressEvent_operation - The resource operation type.
$sel:operationStatus:ProgressEvent', progressEvent_operationStatus - The current status of the resource operation request.
PENDING: The resource operation hasn't yet started.IN_PROGRESS: The resource operation is currently in progress.SUCCESS: The resource operation has successfully completed.FAILED: The resource operation has failed. Refer to the error code and status message for more information.CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.CANCEL_COMPLETE: The resource operation has been canceled.
$sel:requestToken:ProgressEvent', progressEvent_requestToken - The unique token representing this resource operation request.
Use the RequestToken with
GetResourceRequestStatus
to return the current status of a resource operation request.
$sel:resourceModel:ProgressEvent', progressEvent_resourceModel - A JSON string containing the resource model, consisting of each resource
property and its current value.
$sel:retryAfter:ProgressEvent', progressEvent_retryAfter - When to next request the status of this resource operation request.
$sel:statusMessage:ProgressEvent', progressEvent_statusMessage - Any message explaining the current status.
$sel:typeName:ProgressEvent', progressEvent_typeName - The name of the resource type used in the operation.
progressEvent_errorCode :: Lens' ProgressEvent (Maybe HandlerErrorCode) Source #
For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the /CloudFormation Command Line Interface User Guide for Extension Development/.
progressEvent_eventTime :: Lens' ProgressEvent (Maybe UTCTime) Source #
When the resource operation request was initiated.
progressEvent_identifier :: Lens' ProgressEvent (Maybe Text) Source #
The primary identifier for the resource.
In some cases, the resource identifier may be available before the
resource operation has reached a status of SUCCESS.
progressEvent_operation :: Lens' ProgressEvent (Maybe Operation) Source #
The resource operation type.
progressEvent_operationStatus :: Lens' ProgressEvent (Maybe OperationStatus) Source #
The current status of the resource operation request.
PENDING: The resource operation hasn't yet started.IN_PROGRESS: The resource operation is currently in progress.SUCCESS: The resource operation has successfully completed.FAILED: The resource operation has failed. Refer to the error code and status message for more information.CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.CANCEL_COMPLETE: The resource operation has been canceled.
progressEvent_requestToken :: Lens' ProgressEvent (Maybe Text) Source #
The unique token representing this resource operation request.
Use the RequestToken with
GetResourceRequestStatus
to return the current status of a resource operation request.
progressEvent_resourceModel :: Lens' ProgressEvent (Maybe Text) Source #
A JSON string containing the resource model, consisting of each resource property and its current value.
progressEvent_retryAfter :: Lens' ProgressEvent (Maybe UTCTime) Source #
When to next request the status of this resource operation request.
progressEvent_statusMessage :: Lens' ProgressEvent (Maybe Text) Source #
Any message explaining the current status.
progressEvent_typeName :: Lens' ProgressEvent (Maybe Text) Source #
The name of the resource type used in the operation.