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

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 does not deregister the target from the maintenance window.

Returns:

  • (Boolean)


4028
4029
4030
4031
4032
4033
4034
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4028

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)


4028
4029
4030
4031
4032
4033
4034
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4028

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)


4028
4029
4030
4031
4032
4033
4034
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4028

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