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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The value that you specified for ‘Id` in the [RegisterInstance] request.

[1]: docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html

Returns:

  • (String)


471
472
473
474
475
476
# File 'lib/aws-sdk-servicediscovery/types.rb', line 471

class DeregisterInstanceRequest < 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)


471
472
473
474
475
476
# File 'lib/aws-sdk-servicediscovery/types.rb', line 471

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