Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Operation = Operation' {
- status :: Maybe OperationStatus
- operationDetails :: Maybe Text
- resourceType :: Maybe ResourceType
- createdAt :: Maybe POSIX
- resourceName :: Maybe Text
- location :: Maybe ResourceLocation
- statusChangedAt :: Maybe POSIX
- errorDetails :: Maybe Text
- errorCode :: Maybe Text
- id :: Maybe Text
- operationType :: Maybe OperationType
- isTerminal :: Maybe Bool
- newOperation :: Operation
- operation_status :: Lens' Operation (Maybe OperationStatus)
- operation_operationDetails :: Lens' Operation (Maybe Text)
- operation_resourceType :: Lens' Operation (Maybe ResourceType)
- operation_createdAt :: Lens' Operation (Maybe UTCTime)
- operation_resourceName :: Lens' Operation (Maybe Text)
- operation_location :: Lens' Operation (Maybe ResourceLocation)
- operation_statusChangedAt :: Lens' Operation (Maybe UTCTime)
- operation_errorDetails :: Lens' Operation (Maybe Text)
- operation_errorCode :: Lens' Operation (Maybe Text)
- operation_id :: Lens' Operation (Maybe Text)
- operation_operationType :: Lens' Operation (Maybe OperationType)
- operation_isTerminal :: Lens' Operation (Maybe Bool)
Documentation
Describes the API operation.
See: newOperation
smart constructor.
Operation' | |
|
Instances
newOperation :: Operation Source #
Create a value of Operation
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:status:Operation'
, operation_status
- The status of the operation.
$sel:operationDetails:Operation'
, operation_operationDetails
- Details about the operation (e.g., Debian-1GB-Ohio-1
).
$sel:resourceType:Operation'
, operation_resourceType
- The resource type.
$sel:createdAt:Operation'
, operation_createdAt
- The timestamp when the operation was initialized (e.g.,
1479816991.349
).
$sel:resourceName:Operation'
, operation_resourceName
- The resource name.
$sel:location:Operation'
, operation_location
- The AWS Region and Availability Zone.
$sel:statusChangedAt:Operation'
, operation_statusChangedAt
- The timestamp when the status was changed (e.g., 1479816991.349
).
$sel:errorDetails:Operation'
, operation_errorDetails
- The error details.
$sel:errorCode:Operation'
, operation_errorCode
- The error code.
$sel:id:Operation'
, operation_id
- The ID of the operation.
$sel:operationType:Operation'
, operation_operationType
- The type of operation.
$sel:isTerminal:Operation'
, operation_isTerminal
- A Boolean value indicating whether the operation is terminal.
operation_status :: Lens' Operation (Maybe OperationStatus) Source #
The status of the operation.
operation_operationDetails :: Lens' Operation (Maybe Text) Source #
Details about the operation (e.g., Debian-1GB-Ohio-1
).
operation_resourceType :: Lens' Operation (Maybe ResourceType) Source #
The resource type.
operation_createdAt :: Lens' Operation (Maybe UTCTime) Source #
The timestamp when the operation was initialized (e.g.,
1479816991.349
).
operation_location :: Lens' Operation (Maybe ResourceLocation) Source #
The AWS Region and Availability Zone.
operation_statusChangedAt :: Lens' Operation (Maybe UTCTime) Source #
The timestamp when the status was changed (e.g., 1479816991.349
).
operation_operationType :: Lens' Operation (Maybe OperationType) Source #
The type of operation.