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,
}

Constant Summary collapse

SENSITIVE =
[]

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 doesn't deregister the target from the maintenance window.

Returns:

  • (Boolean)

4610
4611
4612
4613
4614
4615
4616
# File 'lib/aws-sdk-ssm/types.rb', line 4610

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

#window_idString

The ID of the maintenance window the target should be removed from.

Returns:

  • (String)

4610
4611
4612
4613
4614
4615
4616
# File 'lib/aws-sdk-ssm/types.rb', line 4610

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

#window_target_idString

The ID of the target definition to remove.

Returns:

  • (String)

4610
4611
4612
4613
4614
4615
4616
# File 'lib/aws-sdk-ssm/types.rb', line 4610

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