Paws::Datasync::CreateTask - Arguments for method CreateTask on Paws::Datasync
This class represents the parameters used for calling the method CreateTask on the AWS DataSync service. Use the attributes of this class as arguments to method CreateTask.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTask.
my $datasync = Paws->service('Datasync'); my $CreateTaskResponse = $datasync->CreateTask( DestinationLocationArn => 'MyLocationArn', SourceLocationArn => 'MyLocationArn', CloudWatchLogGroupArn => 'MyLogGroupArn', # OPTIONAL Name => 'MyTagValue', # OPTIONAL Options => { Atime => 'NONE', # values: NONE, BEST_EFFORT; OPTIONAL BytesPerSecond => 1, # min: -1; OPTIONAL Gid => 'NONE', # values: NONE, INT_VALUE, NAME, BOTH; OPTIONAL Mtime => 'NONE', # values: NONE, PRESERVE; OPTIONAL PosixPermissions => 'NONE', # values: NONE, BEST_EFFORT, PRESERVE; OPTIONAL PreserveDeletedFiles => 'PRESERVE', # values: PRESERVE, REMOVE; OPTIONAL PreserveDevices => 'NONE', # values: NONE, PRESERVE; OPTIONAL Uid => 'NONE', # values: NONE, INT_VALUE, NAME, BOTH; OPTIONAL VerifyMode => 'POINT_IN_TIME_CONSISTENT' , # values: POINT_IN_TIME_CONSISTENT, NONE; OPTIONAL }, # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 256; OPTIONAL Value => 'MyTagValue', # min: 1, max: 256 }, ... ], # OPTIONAL ); # Results: my $TaskArn = $CreateTaskResponse->TaskArn; # Returns a L<Paws::Datasync::CreateTaskResponse> 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/datasync/CreateTask
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task. For more information on these groups, see Working with Log Groups and Log Streams (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see Monitoring Your Task (https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html).
The Amazon Resource Name (ARN) of an AWS storage resource's location.
The name of a task. This value is a text reference that is used to identify the task in the console.
The set of configuration options that control the behavior of a single execution of the task that occurs when you call StartTaskExecution. You can configure these options to preserve metadata such as user ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
StartTaskExecution
For each individual task execution, you can override these options by specifying the OverrideOptions before starting a the task execution. For more information, see the operation.
OverrideOptions
The Amazon Resource Name (ARN) of the source location for the task.
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
This class forms part of Paws, documenting arguments for method CreateTask in Paws::Datasync
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.