NAME

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

DESCRIPTION

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.

SYNOPSIS

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

# Results:
my $Description = $UpdateMaintenanceWindowTargetResult->Description;
my $Name        = $UpdateMaintenanceWindowTargetResult->Name;
my $OwnerInformation =
  $UpdateMaintenanceWindowTargetResult->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 https://docs.aws.amazon.com/goto/WebAPI/ssm/UpdateMaintenanceWindowTarget

ATTRIBUTES

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.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues