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

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


3167
3168
3169
3170
3171
3172
# File 'lib/aws-sdk-ssm/types.rb', line 3167

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)


3167
3168
3169
3170
3171
3172
# File 'lib/aws-sdk-ssm/types.rb', line 3167

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)


3167
3168
3169
3170
3171
3172
# File 'lib/aws-sdk-ssm/types.rb', line 3167

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