![]() |
![]()
| ![]() |
![]()
NAMEPaws::RedShift::CreateScheduledAction - Arguments for method CreateScheduledAction on Paws::RedShift DESCRIPTIONThis class represents the parameters used for calling the method CreateScheduledAction on the Amazon Redshift service. Use the attributes of this class as arguments to method CreateScheduledAction. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateScheduledAction. SYNOPSISmy $redshift = Paws->service('RedShift'); my $ScheduledAction = $redshift->CreateScheduledAction( IamRole => 'MyString', Schedule => 'MyString', ScheduledActionName => 'MyString', TargetAction => { PauseCluster => { ClusterIdentifier => 'MyString', # max: 2147483647 }, # OPTIONAL ResizeCluster => { ClusterIdentifier => 'MyString', # max: 2147483647 Classic => 1, # OPTIONAL ClusterType => 'MyString', # max: 2147483647 NodeType => 'MyString', # max: 2147483647 NumberOfNodes => 1, # OPTIONAL }, # OPTIONAL ResumeCluster => { ClusterIdentifier => 'MyString', # max: 2147483647 }, # OPTIONAL }, Enable => 1, # OPTIONAL EndTime => '1970-01-01T01:00:00', # OPTIONAL ScheduledActionDescription => 'MyString', # OPTIONAL StartTime => '1970-01-01T01:00:00', # 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/CreateScheduledAction> ATTRIBUTESEnable => BoolIf true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about "state" of the scheduled action, see ScheduledAction. EndTime => StrThe end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction. REQUIRED IamRole => StrThe IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction. REQUIRED Schedule => StrThe schedule in at( ) or cron( ) format. For more information about this parameter, see ScheduledAction. ScheduledActionDescription => StrThe description of the scheduled action. REQUIRED ScheduledActionName => StrThe name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction. StartTime => StrThe start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction. REQUIRED TargetAction => Paws::RedShift::ScheduledActionTypeA JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateScheduledAction in Paws::RedShift BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|