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

Class: Aws::ServiceDiscovery::Types::DeregisterInstanceRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The value that you specified for Id in the RegisterInstance request.

Returns:

  • (String)


277
278
279
280
281
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 277

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

#service_idString

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

Returns:

  • (String)


277
278
279
280
281
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 277

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