Paws::SSM::UpdateMaintenanceWindow - Arguments for method UpdateMaintenanceWindow on Paws::SSM
This class represents the parameters used for calling the method UpdateMaintenanceWindow on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method UpdateMaintenanceWindow.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMaintenanceWindow.
my $ssm = Paws->service('SSM'); my $UpdateMaintenanceWindowResult = $ssm->UpdateMaintenanceWindow( WindowId => 'MyMaintenanceWindowId', AllowUnassociatedTargets => 1, # OPTIONAL Cutoff => 1, # OPTIONAL Description => 'MyMaintenanceWindowDescription', # OPTIONAL Duration => 1, # OPTIONAL Enabled => 1, # OPTIONAL EndDate => 'MyMaintenanceWindowStringDateTime', # OPTIONAL Name => 'MyMaintenanceWindowName', # OPTIONAL Replace => 1, # OPTIONAL Schedule => 'MyMaintenanceWindowSchedule', # OPTIONAL ScheduleOffset => 1, # OPTIONAL ScheduleTimezone => 'MyMaintenanceWindowTimezone', # OPTIONAL StartDate => 'MyMaintenanceWindowStringDateTime', # OPTIONAL ); # Results: my $AllowUnassociatedTargets = $UpdateMaintenanceWindowResult->AllowUnassociatedTargets; my $Cutoff = $UpdateMaintenanceWindowResult->Cutoff; my $Description = $UpdateMaintenanceWindowResult->Description; my $Duration = $UpdateMaintenanceWindowResult->Duration; my $Enabled = $UpdateMaintenanceWindowResult->Enabled; my $EndDate = $UpdateMaintenanceWindowResult->EndDate; my $Name = $UpdateMaintenanceWindowResult->Name; my $Schedule = $UpdateMaintenanceWindowResult->Schedule; my $ScheduleOffset = $UpdateMaintenanceWindowResult->ScheduleOffset; my $ScheduleTimezone = $UpdateMaintenanceWindowResult->ScheduleTimezone; my $StartDate = $UpdateMaintenanceWindowResult->StartDate; my $WindowId = $UpdateMaintenanceWindowResult->WindowId; # Returns a L<Paws::SSM::UpdateMaintenanceWindowResult> 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/UpdateMaintenanceWindow
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
The number of hours before the end of the maintenance window that Systems Manager stops scheduling new tasks for execution.
An optional description for the update request.
The duration of the maintenance window in hours.
Whether the maintenance window is enabled.
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive. EndDate allows you to set a date and time in the future when the maintenance window will no longer run.
The name of the maintenance window.
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
The schedule of the maintenance window in the form of a cron or rate expression.
The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM.
cron(30 23 ? * TUE#3 *)
If the schedule offset is 2, the maintenance window won't run until two days later.
2
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database (https://www.iana.org/time-zones) on the IANA website.
The ID of the maintenance window to update.
This class forms part of Paws, documenting arguments for method UpdateMaintenanceWindow 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, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.