You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServiceDiscovery::Types::Operation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb

Overview

A complex type that contains information about a specified operation.

Instance Attribute Summary collapse

Instance Attribute Details

#create_dateTime

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.

Returns:

  • (Time)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#error_codeString

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

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#error_messageString

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

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#statusString

The status of the operation. Values include the following:

  • SUBMITTED: This is the initial state immediately after you submit a request.

  • PENDING: Route 53 is performing the operation.

  • SUCCESS: The operation succeeded.

  • FAIL: The operation failed. For the failure reason, see ErrorMessage.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#targetsHash<String,String>

The name of the target entity that is 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.

Returns:

  • (Hash<String,String>)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#typeString

The name of the operation that is associated with the specified ID.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end

#update_dateTime

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.

Returns:

  • (Time)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1617

class Operation < Struct.new(
  :id,
  :type,
  :status,
  :error_message,
  :error_code,
  :create_date,
  :update_date,
  :targets)
  include Aws::Structure
end