NAME
Paws::ServiceDiscovery::Operation
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ServiceDiscovery::Operation object:
$service_obj->Method(Att1 => { CreateDate => $value, ..., UpdateDate => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::ServiceDiscovery::Operation object:
$result = $service_obj->Method(...);
$result->Att1->CreateDate
DESCRIPTION
A complex type that contains information about a specified operation.
ATTRIBUTES
CreateDate => Str
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 => Str
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 => Str
If the value of Status
is FAIL
, the reason that the operation failed.
Id => Str
The ID of the operation that you want to get information about.
Status => Str
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 => Paws::ServiceDiscovery::OperationTargetsMap
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 => Str
The name of the operation that's associated with the specified ID.
UpdateDate => Str
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.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::ServiceDiscovery
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues