Class: Aws::SSM::Types::UpdateMaintenanceWindowTargetRequest

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 UpdateMaintenanceWindowTargetRequest data as a hash:

{
  window_id: "MaintenanceWindowId", # required
  window_target_id: "MaintenanceWindowTargetId", # required
  targets: [
    {
      key: "TargetKey",
      values: ["TargetValue"],
    },
  ],
  owner_information: "OwnerInformation",
  name: "MaintenanceWindowName",
  description: "MaintenanceWindowDescription",
  replace: false,
}

Constant Summary collapse

SENSITIVE =
[:owner_information, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An optional description for the update.

Returns:

  • (String)

20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end

#nameString

A name for the update.

Returns:

  • (String)

20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end

#owner_informationString

User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.

Returns:

  • (String)

20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end

#replaceBoolean

If `True`, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.

Returns:

  • (Boolean)

20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end

#targetsArray<Types::Target>

The targets to add or replace.

Returns:


20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end

#window_idString

The maintenance window ID with which to modify the target.

Returns:

  • (String)

20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end

#window_target_idString

The target ID to modify.

Returns:

  • (String)

20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
# File 'lib/aws-sdk-ssm/types.rb', line 20229

class UpdateMaintenanceWindowTargetRequest < Struct.new(
  :window_id,
  :window_target_id,
  :targets,
  :owner_information,
  :name,
  :description,
  :replace)
  SENSITIVE = [:owner_information, :description]
  include Aws::Structure
end