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

Class: Aws::SSM::Types::DeregisterTargetFromMaintenanceWindowRequest

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

Overview

Note:

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

{
  window_id: "MaintenanceWindowId", # required
  window_target_id: "MaintenanceWindowTargetId", # required
  safe: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#safeBoolean

The system checks if the target is being referenced by a task. If the target is being referenced, the system returns an error and does not deregister the target from the Maintenance Window.

Returns:

  • (Boolean)


2203
2204
2205
2206
2207
2208
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 2203

class DeregisterTargetFromMaintenanceWindowRequest < Struct.new(
  :window_id,
  :window_target_id,
  :safe)
  include Aws::Structure
end

#window_idString

The ID of the Maintenance Window the target should be removed from.

Returns:

  • (String)


2203
2204
2205
2206
2207
2208
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 2203

class DeregisterTargetFromMaintenanceWindowRequest < Struct.new(
  :window_id,
  :window_target_id,
  :safe)
  include Aws::Structure
end

#window_target_idString

The ID of the target definition to remove.

Returns:

  • (String)


2203
2204
2205
2206
2207
2208
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 2203

class DeregisterTargetFromMaintenanceWindowRequest < Struct.new(
  :window_id,
  :window_target_id,
  :safe)
  include Aws::Structure
end