« blib/lib/Paws/Datasync/UpdateLocationSmbResponse.pm
↑ Summary
blib/lib/Paws/Datasync/UpdateTaskExecution.pm »
| 1 | |||
| 2 | package Paws::Datasync::UpdateTask; | ||
| 3 | use Moose; | ||
| 4 | has CloudWatchLogGroupArn => (is => 'ro', isa => 'Str'); | ||
| 5 | has Excludes => (is => 'ro', isa => 'ArrayRef[Paws::Datasync::FilterRule]'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str'); | ||
| 7 | has Options => (is => 'ro', isa => 'Paws::Datasync::Options'); | ||
| 8 | has Schedule => (is => 'ro', isa => 'Paws::Datasync::TaskSchedule'); | ||
| 9 | has TaskArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTask'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Datasync::UpdateTaskResponse'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Datasync::UpdateTask - Arguments for method UpdateTask on L<Paws::Datasync> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateTask on the | ||
| 27 | L<AWS DataSync|Paws::Datasync> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateTask. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTask. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $datasync = Paws->service('Datasync'); | ||
| 35 | my $UpdateTaskResponse = $datasync->UpdateTask( | ||
| 36 | TaskArn => 'MyTaskArn', | ||
| 37 | CloudWatchLogGroupArn => 'MyLogGroupArn', # OPTIONAL | ||
| 38 | Excludes => [ | ||
| 39 | { | ||
| 40 | FilterType => | ||
| 41 | 'SIMPLE_PATTERN', # values: SIMPLE_PATTERNmax: 128; OPTIONAL | ||
| 42 | Value => 'MyFilterValue', # max: 409600; OPTIONAL | ||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | Name => 'MyTagValue', # OPTIONAL | ||
| 47 | Options => { | ||
| 48 | Atime => 'NONE', # values: NONE, BEST_EFFORT; OPTIONAL | ||
| 49 | BytesPerSecond => 1, # min: -1; OPTIONAL | ||
| 50 | Gid => 'NONE', # values: NONE, INT_VALUE, NAME, BOTH; OPTIONAL | ||
| 51 | LogLevel => 'OFF', # values: OFF, BASIC, TRANSFER; OPTIONAL | ||
| 52 | Mtime => 'NONE', # values: NONE, PRESERVE; OPTIONAL | ||
| 53 | OverwriteMode => 'ALWAYS', # values: ALWAYS, NEVER; OPTIONAL | ||
| 54 | PosixPermissions => 'NONE', # values: NONE, PRESERVE; OPTIONAL | ||
| 55 | PreserveDeletedFiles => 'PRESERVE', # values: PRESERVE, REMOVE; OPTIONAL | ||
| 56 | PreserveDevices => 'NONE', # values: NONE, PRESERVE; OPTIONAL | ||
| 57 | SecurityDescriptorCopyFlags => | ||
| 58 | 'NONE', # values: NONE, OWNER_DACL, OWNER_DACL_SACL; OPTIONAL | ||
| 59 | TaskQueueing => 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 60 | TransferMode => 'CHANGED', # values: CHANGED, ALL; OPTIONAL | ||
| 61 | Uid => 'NONE', # values: NONE, INT_VALUE, NAME, BOTH; OPTIONAL | ||
| 62 | VerifyMode => 'POINT_IN_TIME_CONSISTENT' | ||
| 63 | , # values: POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE; OPTIONAL | ||
| 64 | }, # OPTIONAL | ||
| 65 | Schedule => { | ||
| 66 | ScheduleExpression => 'MyScheduleExpressionCron', # max: 256 | ||
| 67 | |||
| 68 | }, # OPTIONAL | ||
| 69 | ); | ||
| 70 | |||
| 71 | 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. | ||
| 72 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datasync/UpdateTask> | ||
| 73 | |||
| 74 | =head1 ATTRIBUTES | ||
| 75 | |||
| 76 | |||
| 77 | =head2 CloudWatchLogGroupArn => Str | ||
| 78 | |||
| 79 | The Amazon Resource Name (ARN) of the resource name of the CloudWatch | ||
| 80 | LogGroup. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 Excludes => ArrayRef[L<Paws::Datasync::FilterRule>] | ||
| 85 | |||
| 86 | A list of filter rules that determines which files to exclude from a | ||
| 87 | task. The list should contain a single filter string that consists of | ||
| 88 | the patterns to exclude. The patterns are delimited by "|" (that is, a | ||
| 89 | pipe), for example: C<"/folder1|/folder2"> | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 Name => Str | ||
| 94 | |||
| 95 | The name of the task to update. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 Options => L<Paws::Datasync::Options> | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 Schedule => L<Paws::Datasync::TaskSchedule> | ||
| 106 | |||
| 107 | Specifies a schedule used to periodically transfer files from a source | ||
| 108 | to a destination location. You can configure your task to execute | ||
| 109 | hourly, daily, weekly or on specific days of the week. You control when | ||
| 110 | in the day or hour you want the task to execute. The time you specify | ||
| 111 | is UTC time. For more information, see Scheduling your task | ||
| 112 | (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html). | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head2 B<REQUIRED> TaskArn => Str | ||
| 117 | |||
| 118 | The Amazon Resource Name (ARN) of the resource name of the task to | ||
| 119 | update. | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | =head1 SEE ALSO | ||
| 125 | |||
| 126 | This class forms part of L<Paws>, documenting arguments for method UpdateTask in L<Paws::Datasync> | ||
| 127 | |||
| 128 | =head1 BUGS and CONTRIBUTIONS | ||
| 129 | |||
| 130 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 131 | |||
| 132 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 133 | |||
| 134 | =cut | ||
| 135 |