Class: Aws::ServiceDiscovery::Types::GetInstanceRequest

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 GetInstanceRequest data as a hash:

{
  service_id: "ResourceId", # required
  instance_id: "ResourceId", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

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

Returns:

  • (String)


872
873
874
875
876
877
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 872

class GetInstanceRequest < Struct.new(
  :service_id,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end

#service_idString

The ID of the service that the instance is associated with.

Returns:

  • (String)


872
873
874
875
876
877
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 872

class GetInstanceRequest < Struct.new(
  :service_id,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end