Paws::SSM::UpdateMaintenanceWindowTarget - Arguments for method UpdateMaintenanceWindowTarget on Paws::SSM


This class represents the parameters used for calling the method UpdateMaintenanceWindowTarget on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method UpdateMaintenanceWindowTarget.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMaintenanceWindowTarget.


    my $ssm = Paws->service('SSM');
    my $UpdateMaintenanceWindowTargetResult =
      WindowId         => 'MyMaintenanceWindowId',
      WindowTargetId   => 'MyMaintenanceWindowTargetId',
      Description      => 'MyMaintenanceWindowDescription',    # OPTIONAL
      Name             => 'MyMaintenanceWindowName',           # OPTIONAL
      OwnerInformation => 'MyOwnerInformation',                # OPTIONAL
      Replace          => 1,                                   # OPTIONAL
      Targets          => [
          Key => 'MyTargetKey',                  # min: 1, max: 128; OPTIONAL
          Values => [ 'MyTargetValue', ... ],    # max: 50; OPTIONAL
      ],                                         # OPTIONAL

    # Results:
    my $Description = $UpdateMaintenanceWindowTargetResult->Description;
    my $Name        = $UpdateMaintenanceWindowTargetResult->Name;
    my $OwnerInformation =
    my $Targets        = $UpdateMaintenanceWindowTargetResult->Targets;
    my $WindowId       = $UpdateMaintenanceWindowTargetResult->WindowId;
    my $WindowTargetId = $UpdateMaintenanceWindowTargetResult->WindowTargetId;

    # Returns a L<Paws::SSM::UpdateMaintenanceWindowTargetResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


Description => Str

An optional description for the update.

Name => Str

A name for the update.

OwnerInformation => Str

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

Replace => Bool

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.

Targets => ArrayRef[Paws::SSM::Target]

The targets to add or replace.

REQUIRED WindowId => Str

The Maintenance Window ID with which to modify the target.

REQUIRED WindowTargetId => Str

The target ID to modify.


This class forms part of Paws, documenting arguments for method UpdateMaintenanceWindowTarget in Paws::SSM


The source code is located here:

Please report bugs to: