NAME
Paws::RedShift::ModifyScheduledAction - Arguments for method ModifyScheduledAction on Paws::RedShift
DESCRIPTION
This class represents the parameters used for calling the method ModifyScheduledAction on the Amazon Redshift service. Use the attributes of this class as arguments to method ModifyScheduledAction.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyScheduledAction.
SYNOPSIS
my $redshift = Paws->service('RedShift');
my $ScheduledAction = $redshift->ModifyScheduledAction(
ScheduledActionName => 'MyString',
Enable => 1, # OPTIONAL
EndTime => '1970-01-01T01:00:00', # OPTIONAL
IamRole => 'MyString', # OPTIONAL
Schedule => 'MyString', # OPTIONAL
ScheduledActionDescription => 'MyString', # OPTIONAL
StartTime => '1970-01-01T01:00:00', # OPTIONAL
TargetAction => {
PauseCluster => {
ClusterIdentifier => 'MyString', # max: 2147483647
}, # OPTIONAL
ResizeCluster => {
ClusterIdentifier => 'MyString', # max: 2147483647
Classic => 1,
ClusterType => 'MyString', # max: 2147483647
NodeType => 'MyString', # max: 2147483647
NumberOfNodes => 1, # OPTIONAL
}, # OPTIONAL
ResumeCluster => {
ClusterIdentifier => 'MyString', # max: 2147483647
}, # OPTIONAL
}, # OPTIONAL
);
# Results:
my $EndTime = $ScheduledAction->EndTime;
my $IamRole = $ScheduledAction->IamRole;
my $NextInvocations = $ScheduledAction->NextInvocations;
my $Schedule = $ScheduledAction->Schedule;
my $ScheduledActionDescription =
$ScheduledAction->ScheduledActionDescription;
my $ScheduledActionName = $ScheduledAction->ScheduledActionName;
my $StartTime = $ScheduledAction->StartTime;
my $State = $ScheduledAction->State;
my $TargetAction = $ScheduledAction->TargetAction;
# Returns a L<Paws::RedShift::ScheduledAction> 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/redshift/ModifyScheduledAction
ATTRIBUTES
Enable => Bool
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
EndTime => Str
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
IamRole => Str
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
Schedule => Str
A modified schedule in either at( )
or cron( )
format. For more information about this parameter, see ScheduledAction.
ScheduledActionDescription => Str
A modified description of the scheduled action.
REQUIRED ScheduledActionName => Str
The name of the scheduled action to modify.
StartTime => Str
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
TargetAction => Paws::RedShift::ScheduledActionType
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
SEE ALSO
This class forms part of Paws, documenting arguments for method ModifyScheduledAction in Paws::RedShift
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