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

Class: Aws::ServiceDiscovery::Types::UpdateInstanceCustomHealthStatusRequest

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

Overview

Note:

When making an API call, you may pass UpdateInstanceCustomHealthStatusRequest data as a hash:

{
  service_id: "ResourceId", # required
  instance_id: "ResourceId", # required
  status: "HEALTHY", # required, accepts HEALTHY, UNHEALTHY
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

Returns:

  • (String)


2182
2183
2184
2185
2186
2187
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2182

class UpdateInstanceCustomHealthStatusRequest < Struct.new(
  :service_id,
  :instance_id,
  :status)
  include Aws::Structure
end

#service_idString

Returns:

  • (String)


2182
2183
2184
2185
2186
2187
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2182

class UpdateInstanceCustomHealthStatusRequest < Struct.new(
  :service_id,
  :instance_id,
  :status)
  include Aws::Structure
end

#statusString

Returns:

  • (String)


2182
2183
2184
2185
2186
2187
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2182

class UpdateInstanceCustomHealthStatusRequest < Struct.new(
  :service_id,
  :instance_id,
  :status)
  include Aws::Structure
end