ssm_update_maintenance_window_target: Modifies the target of an existing maintenance window

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

Modifies the target of an existing maintenance window. You can change the following:

If a parameter is null, then the corresponding field is not modified.

Usage

1
2
ssm_update_maintenance_window_target(WindowId, WindowTargetId, Targets,
  OwnerInformation, Name, Description, Replace)

Arguments

WindowId

[required] The maintenance window ID with which to modify the target.

WindowTargetId

[required] The target ID to modify.

Targets

The targets to add or replace.

OwnerInformation

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

Name

A name for the update.

Description

An optional description for the update.

Replace

If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
list(
  WindowId = "string",
  WindowTargetId = "string",
  Targets = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  OwnerInformation = "string",
  Name = "string",
  Description = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
svc$update_maintenance_window_target(
  WindowId = "string",
  WindowTargetId = "string",
  Targets = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  OwnerInformation = "string",
  Name = "string",
  Description = "string",
  Replace = TRUE|FALSE
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.