The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use Moose;
has Includes => (is => 'ro', isa => 'ArrayRef[Paws::Datasync::FilterRule]');
has OverrideOptions => (is => 'ro', isa => 'Paws::Datasync::Options');
has TaskArn => (is => 'ro', isa => 'Str', required => 1);
class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartTaskExecution');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Datasync::StartTaskExecutionResponse');
class_has _result_key => (isa => 'Str', is => 'ro');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Datasync::StartTaskExecution - Arguments for method StartTaskExecution on L<Paws::Datasync>
=head1 DESCRIPTION
This class represents the parameters used for calling the method StartTaskExecution on the
L<AWS DataSync|Paws::Datasync> service. Use the attributes of this class
as arguments to method StartTaskExecution.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartTaskExecution.
=head1 SYNOPSIS
my $datasync = Paws->service('Datasync');
my $StartTaskExecutionResponse = $datasync->StartTaskExecution(
TaskArn => 'MyTaskArn',
Includes => [
{
FilterType =>
'SIMPLE_PATTERN', # values: SIMPLE_PATTERNmax: 128; OPTIONAL
Value => 'MyFilterValue', # max: 409600; OPTIONAL
},
...
], # OPTIONAL
OverrideOptions => {
Atime => 'NONE', # values: NONE, BEST_EFFORT; OPTIONAL
BytesPerSecond => 1, # min: -1; OPTIONAL
Gid => 'NONE', # values: NONE, INT_VALUE, NAME, BOTH; OPTIONAL
LogLevel => 'OFF', # values: OFF, BASIC, TRANSFER; OPTIONAL
Mtime => 'NONE', # values: NONE, PRESERVE; OPTIONAL
OverwriteMode => 'ALWAYS', # values: ALWAYS, NEVER; OPTIONAL
PosixPermissions => 'NONE', # values: NONE, PRESERVE; OPTIONAL
PreserveDeletedFiles => 'PRESERVE', # values: PRESERVE, REMOVE; OPTIONAL
PreserveDevices => 'NONE', # values: NONE, PRESERVE; OPTIONAL
SecurityDescriptorCopyFlags =>
'NONE', # values: NONE, OWNER_DACL, OWNER_DACL_SACL; OPTIONAL
TaskQueueing => 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL
TransferMode => 'CHANGED', # values: CHANGED, ALL; OPTIONAL
Uid => 'NONE', # values: NONE, INT_VALUE, NAME, BOTH; OPTIONAL
VerifyMode => 'POINT_IN_TIME_CONSISTENT'
, # values: POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE; OPTIONAL
}, # OPTIONAL
);
# Results:
my $TaskExecutionArn = $StartTaskExecutionResponse->TaskExecutionArn;
# Returns a L<Paws::Datasync::StartTaskExecutionResponse> 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.
=head1 ATTRIBUTES
=head2 Includes => ArrayRef[L<Paws::Datasync::FilterRule>]
A list of filter rules that determines which files to include when
running a task. The pattern should contain a single filter string that
consists of the patterns to include. The patterns are delimited by "|"
(that is, a pipe). For example: C<"/folder1|/folder2">
=head2 OverrideOptions => L<Paws::Datasync::Options>
=head2 B<REQUIRED> TaskArn => Str
The Amazon Resource Name (ARN) of the task to start.
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for method StartTaskExecution in L<Paws::Datasync>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut