amazonka-route53-autonaming-2.0: Amazon Cloud Map SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53AutoNaming.Types.Operation

Description

 
Synopsis

Documentation

data Operation Source #

A complex type that contains information about a specified operation.

See: newOperation smart constructor.

Constructors

Operation' 

Fields

  • createDate :: Maybe POSIX

    The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

  • errorCode :: Maybe Text

    The code associated with ErrorMessage. Values for ErrorCode include the following:

    • ACCESS_DENIED
    • CANNOT_CREATE_HOSTED_ZONE
    • EXPIRED_TOKEN
    • HOSTED_ZONE_NOT_FOUND
    • INTERNAL_FAILURE
    • INVALID_CHANGE_BATCH
    • THROTTLED_REQUEST
  • errorMessage :: Maybe Text

    If the value of Status is FAIL, the reason that the operation failed.

  • id :: Maybe Text

    The ID of the operation that you want to get information about.

  • status :: Maybe OperationStatus

    The status of the operation. Values include the following:

    SUBMITTED
    This is the initial state that occurs immediately after you submit a request.
    PENDING
    Cloud Map is performing the operation.
    SUCCESS
    The operation succeeded.
    FAIL
    The operation failed. For the failure reason, see ErrorMessage.
  • targets :: Maybe (HashMap OperationTargetType Text)

    The name of the target entity that's associated with the operation:

    NAMESPACE
    The namespace ID is returned in the ResourceId property.
    SERVICE
    The service ID is returned in the ResourceId property.
    INSTANCE
    The instance ID is returned in the ResourceId property.
  • type' :: Maybe OperationType

    The name of the operation that's associated with the specified ID.

  • updateDate :: Maybe POSIX

    The date and time that the value of Status changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value of UpdateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Instances

Instances details
FromJSON Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

Generic Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

Associated Types

type Rep Operation :: Type -> Type #

Read Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

Show Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

NFData Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

Methods

rnf :: Operation -> () #

Eq Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

Hashable Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

type Rep Operation Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.Operation

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:createDate:Operation', operation_createDate - The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:errorCode:Operation', operation_errorCode - The code associated with ErrorMessage. Values for ErrorCode include the following:

  • ACCESS_DENIED
  • CANNOT_CREATE_HOSTED_ZONE
  • EXPIRED_TOKEN
  • HOSTED_ZONE_NOT_FOUND
  • INTERNAL_FAILURE
  • INVALID_CHANGE_BATCH
  • THROTTLED_REQUEST

$sel:errorMessage:Operation', operation_errorMessage - If the value of Status is FAIL, the reason that the operation failed.

$sel:id:Operation', operation_id - The ID of the operation that you want to get information about.

$sel:status:Operation', operation_status - The status of the operation. Values include the following:

SUBMITTED
This is the initial state that occurs immediately after you submit a request.
PENDING
Cloud Map is performing the operation.
SUCCESS
The operation succeeded.
FAIL
The operation failed. For the failure reason, see ErrorMessage.

$sel:targets:Operation', operation_targets - The name of the target entity that's associated with the operation:

NAMESPACE
The namespace ID is returned in the ResourceId property.
SERVICE
The service ID is returned in the ResourceId property.
INSTANCE
The instance ID is returned in the ResourceId property.

$sel:type':Operation', operation_type - The name of the operation that's associated with the specified ID.

$sel:updateDate:Operation', operation_updateDate - The date and time that the value of Status changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value of UpdateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

operation_createDate :: Lens' Operation (Maybe UTCTime) Source #

The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

operation_errorCode :: Lens' Operation (Maybe Text) Source #

The code associated with ErrorMessage. Values for ErrorCode include the following:

  • ACCESS_DENIED
  • CANNOT_CREATE_HOSTED_ZONE
  • EXPIRED_TOKEN
  • HOSTED_ZONE_NOT_FOUND
  • INTERNAL_FAILURE
  • INVALID_CHANGE_BATCH
  • THROTTLED_REQUEST

operation_errorMessage :: Lens' Operation (Maybe Text) Source #

If the value of Status is FAIL, the reason that the operation failed.

operation_id :: Lens' Operation (Maybe Text) Source #

The ID of the operation that you want to get information about.

operation_status :: Lens' Operation (Maybe OperationStatus) Source #

The status of the operation. Values include the following:

SUBMITTED
This is the initial state that occurs immediately after you submit a request.
PENDING
Cloud Map is performing the operation.
SUCCESS
The operation succeeded.
FAIL
The operation failed. For the failure reason, see ErrorMessage.

operation_targets :: Lens' Operation (Maybe (HashMap OperationTargetType Text)) Source #

The name of the target entity that's associated with the operation:

NAMESPACE
The namespace ID is returned in the ResourceId property.
SERVICE
The service ID is returned in the ResourceId property.
INSTANCE
The instance ID is returned in the ResourceId property.

operation_type :: Lens' Operation (Maybe OperationType) Source #

The name of the operation that's associated with the specified ID.

operation_updateDate :: Lens' Operation (Maybe UTCTime) Source #

The date and time that the value of Status changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value of UpdateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.