Class: Aws::ServiceDiscovery::Types::Operation
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::Operation
- Defined in:
- gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb
Overview
A complex type that contains information about a specified operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#create_date ⇒ Time
The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC).
-
#error_code ⇒ String
The code associated with
ErrorMessage. -
#error_message ⇒ String
If the value of
StatusisFAIL, the reason that the operation failed. -
#id ⇒ String
The ID of the operation that you want to get information about.
-
#owner_account ⇒ String
The ID of the Amazon Web Services account that owns the namespace associated with the operation.
-
#status ⇒ String
The status of the operation.
-
#targets ⇒ Hash<String,String>
The name of the target entity that's associated with the operation:.
-
#type ⇒ String
The name of the operation that's associated with the specified ID.
-
#update_date ⇒ Time
The date and time that the value of
Statuschanged to the current value, in Unix date/time format and Coordinated Universal Time (UTC).
Instance Attribute Details
#create_date ⇒ Time
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.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#error_code ⇒ String
The code associated with ErrorMessage. Values for ErrorCode
include the following:
ACCESS_DENIEDCANNOT_CREATE_HOSTED_ZONEEXPIRED_TOKENHOSTED_ZONE_NOT_FOUNDINTERNAL_FAILUREINVALID_CHANGE_BATCHTHROTTLED_REQUEST
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#error_message ⇒ String
If the value of Status is FAIL, the reason that the operation
failed.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID of the operation that you want to get information about.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#owner_account ⇒ String
The ID of the Amazon Web Services account that owns the namespace associated with the operation.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
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.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#targets ⇒ Hash<String,String>
The name of the target entity that's associated with the operation:
- NAMESPACE
The namespace ID is returned in the
ResourceIdproperty.- SERVICE
The service ID is returned in the
ResourceIdproperty.- INSTANCE
The instance ID is returned in the
ResourceIdproperty.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The name of the operation that's associated with the specified ID.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |
#update_date ⇒ Time
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.
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2410 class Operation < Struct.new( :id, :owner_account, :type, :status, :error_message, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end |