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)


3717
3718
3719
3720
3721
3722
# File 'lib/aws-sdk-ssm/types.rb', line 3717

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)


3717
3718
3719
3720
3721
3722
# File 'lib/aws-sdk-ssm/types.rb', line 3717

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)


3717
3718
3719
3720
3721
3722
# File 'lib/aws-sdk-ssm/types.rb', line 3717

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