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 = $ssm->UpdateMaintenanceWindowTarget( 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 = $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
An optional description for the update.
A name for the update.
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
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.
The targets to add or replace.
The Maintenance Window ID with which to modify the target.
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: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.