| 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.Lightsail.Types.Operation
Description
Synopsis
- data Operation = Operation' {
- createdAt :: Maybe POSIX
- errorCode :: Maybe Text
- errorDetails :: Maybe Text
- id :: Maybe Text
- isTerminal :: Maybe Bool
- location :: Maybe ResourceLocation
- operationDetails :: Maybe Text
- operationType :: Maybe OperationType
- resourceName :: Maybe Text
- resourceType :: Maybe ResourceType
- status :: Maybe OperationStatus
- statusChangedAt :: Maybe POSIX
- newOperation :: Operation
- operation_createdAt :: Lens' Operation (Maybe UTCTime)
- operation_errorCode :: Lens' Operation (Maybe Text)
- operation_errorDetails :: Lens' Operation (Maybe Text)
- operation_id :: Lens' Operation (Maybe Text)
- operation_isTerminal :: Lens' Operation (Maybe Bool)
- operation_location :: Lens' Operation (Maybe ResourceLocation)
- operation_operationDetails :: Lens' Operation (Maybe Text)
- operation_operationType :: Lens' Operation (Maybe OperationType)
- operation_resourceName :: Lens' Operation (Maybe Text)
- operation_resourceType :: Lens' Operation (Maybe ResourceType)
- operation_status :: Lens' Operation (Maybe OperationStatus)
- operation_statusChangedAt :: Lens' Operation (Maybe UTCTime)
Documentation
Describes the API operation.
See: newOperation smart constructor.
Constructors
| Operation' | |
Fields
| |
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:createdAt:Operation', operation_createdAt - The timestamp when the operation was initialized (e.g.,
1479816991.349).
$sel:errorCode:Operation', operation_errorCode - The error code.
$sel:errorDetails:Operation', operation_errorDetails - The error details.
$sel:id:Operation', operation_id - The ID of the operation.
$sel:isTerminal:Operation', operation_isTerminal - A Boolean value indicating whether the operation is terminal.
$sel:location:Operation', operation_location - The Amazon Web Services Region and Availability Zone.
$sel:operationDetails:Operation', operation_operationDetails - Details about the operation (e.g., Debian-1GB-Ohio-1).
$sel:operationType:Operation', operation_operationType - The type of operation.
$sel:resourceName:Operation', operation_resourceName - The resource name.
$sel:resourceType:Operation', operation_resourceType - The resource type.
$sel:status:Operation', operation_status - The status of the operation.
$sel:statusChangedAt:Operation', operation_statusChangedAt - The timestamp when the status was changed (e.g., 1479816991.349).
operation_createdAt :: Lens' Operation (Maybe UTCTime) Source #
The timestamp when the operation was initialized (e.g.,
1479816991.349).
operation_isTerminal :: Lens' Operation (Maybe Bool) Source #
A Boolean value indicating whether the operation is terminal.
operation_location :: Lens' Operation (Maybe ResourceLocation) Source #
The Amazon Web Services Region and Availability Zone.
operation_operationDetails :: Lens' Operation (Maybe Text) Source #
Details about the operation (e.g., Debian-1GB-Ohio-1).
operation_operationType :: Lens' Operation (Maybe OperationType) Source #
The type of operation.
operation_resourceType :: Lens' Operation (Maybe ResourceType) Source #
The resource type.
operation_status :: Lens' Operation (Maybe OperationStatus) Source #
The status of the operation.