| 1 | package Paws::Datasync; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'datasync' } | ||
| 4 | sub signing_name { 'datasync' } | ||
| 5 | sub version { '2018-11-09' } | ||
| 6 | sub target_prefix { 'FmrsService' } | ||
| 7 | sub json_version { "1.1" } | ||
| 8 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 9 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 10 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 11 | }); | ||
| 12 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 13 | ] }); | ||
| 14 | |||
| 15 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller'; | ||
| 16 | |||
| 17 | |||
| 18 | sub CancelTaskExecution { | ||
| 19 | my $self = shift; | ||
| 20 | my $call_object = $self->new_with_coercions('Paws::Datasync::CancelTaskExecution', @_); | ||
| 21 | return $self->caller->do_call($self, $call_object); | ||
| 22 | } | ||
| 23 | sub CreateAgent { | ||
| 24 | my $self = shift; | ||
| 25 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateAgent', @_); | ||
| 26 | return $self->caller->do_call($self, $call_object); | ||
| 27 | } | ||
| 28 | sub CreateLocationEfs { | ||
| 29 | my $self = shift; | ||
| 30 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateLocationEfs', @_); | ||
| 31 | return $self->caller->do_call($self, $call_object); | ||
| 32 | } | ||
| 33 | sub CreateLocationFsxWindows { | ||
| 34 | my $self = shift; | ||
| 35 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateLocationFsxWindows', @_); | ||
| 36 | return $self->caller->do_call($self, $call_object); | ||
| 37 | } | ||
| 38 | sub CreateLocationNfs { | ||
| 39 | my $self = shift; | ||
| 40 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateLocationNfs', @_); | ||
| 41 | return $self->caller->do_call($self, $call_object); | ||
| 42 | } | ||
| 43 | sub CreateLocationObjectStorage { | ||
| 44 | my $self = shift; | ||
| 45 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateLocationObjectStorage', @_); | ||
| 46 | return $self->caller->do_call($self, $call_object); | ||
| 47 | } | ||
| 48 | sub CreateLocationS3 { | ||
| 49 | my $self = shift; | ||
| 50 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateLocationS3', @_); | ||
| 51 | return $self->caller->do_call($self, $call_object); | ||
| 52 | } | ||
| 53 | sub CreateLocationSmb { | ||
| 54 | my $self = shift; | ||
| 55 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateLocationSmb', @_); | ||
| 56 | return $self->caller->do_call($self, $call_object); | ||
| 57 | } | ||
| 58 | sub CreateTask { | ||
| 59 | my $self = shift; | ||
| 60 | my $call_object = $self->new_with_coercions('Paws::Datasync::CreateTask', @_); | ||
| 61 | return $self->caller->do_call($self, $call_object); | ||
| 62 | } | ||
| 63 | sub DeleteAgent { | ||
| 64 | my $self = shift; | ||
| 65 | my $call_object = $self->new_with_coercions('Paws::Datasync::DeleteAgent', @_); | ||
| 66 | return $self->caller->do_call($self, $call_object); | ||
| 67 | } | ||
| 68 | sub DeleteLocation { | ||
| 69 | my $self = shift; | ||
| 70 | my $call_object = $self->new_with_coercions('Paws::Datasync::DeleteLocation', @_); | ||
| 71 | return $self->caller->do_call($self, $call_object); | ||
| 72 | } | ||
| 73 | sub DeleteTask { | ||
| 74 | my $self = shift; | ||
| 75 | my $call_object = $self->new_with_coercions('Paws::Datasync::DeleteTask', @_); | ||
| 76 | return $self->caller->do_call($self, $call_object); | ||
| 77 | } | ||
| 78 | sub DescribeAgent { | ||
| 79 | my $self = shift; | ||
| 80 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeAgent', @_); | ||
| 81 | return $self->caller->do_call($self, $call_object); | ||
| 82 | } | ||
| 83 | sub DescribeLocationEfs { | ||
| 84 | my $self = shift; | ||
| 85 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeLocationEfs', @_); | ||
| 86 | return $self->caller->do_call($self, $call_object); | ||
| 87 | } | ||
| 88 | sub DescribeLocationFsxWindows { | ||
| 89 | my $self = shift; | ||
| 90 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeLocationFsxWindows', @_); | ||
| 91 | return $self->caller->do_call($self, $call_object); | ||
| 92 | } | ||
| 93 | sub DescribeLocationNfs { | ||
| 94 | my $self = shift; | ||
| 95 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeLocationNfs', @_); | ||
| 96 | return $self->caller->do_call($self, $call_object); | ||
| 97 | } | ||
| 98 | sub DescribeLocationObjectStorage { | ||
| 99 | my $self = shift; | ||
| 100 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeLocationObjectStorage', @_); | ||
| 101 | return $self->caller->do_call($self, $call_object); | ||
| 102 | } | ||
| 103 | sub DescribeLocationS3 { | ||
| 104 | my $self = shift; | ||
| 105 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeLocationS3', @_); | ||
| 106 | return $self->caller->do_call($self, $call_object); | ||
| 107 | } | ||
| 108 | sub DescribeLocationSmb { | ||
| 109 | my $self = shift; | ||
| 110 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeLocationSmb', @_); | ||
| 111 | return $self->caller->do_call($self, $call_object); | ||
| 112 | } | ||
| 113 | sub DescribeTask { | ||
| 114 | my $self = shift; | ||
| 115 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeTask', @_); | ||
| 116 | return $self->caller->do_call($self, $call_object); | ||
| 117 | } | ||
| 118 | sub DescribeTaskExecution { | ||
| 119 | my $self = shift; | ||
| 120 | my $call_object = $self->new_with_coercions('Paws::Datasync::DescribeTaskExecution', @_); | ||
| 121 | return $self->caller->do_call($self, $call_object); | ||
| 122 | } | ||
| 123 | sub ListAgents { | ||
| 124 | my $self = shift; | ||
| 125 | my $call_object = $self->new_with_coercions('Paws::Datasync::ListAgents', @_); | ||
| 126 | return $self->caller->do_call($self, $call_object); | ||
| 127 | } | ||
| 128 | sub ListLocations { | ||
| 129 | my $self = shift; | ||
| 130 | my $call_object = $self->new_with_coercions('Paws::Datasync::ListLocations', @_); | ||
| 131 | return $self->caller->do_call($self, $call_object); | ||
| 132 | } | ||
| 133 | sub ListTagsForResource { | ||
| 134 | my $self = shift; | ||
| 135 | my $call_object = $self->new_with_coercions('Paws::Datasync::ListTagsForResource', @_); | ||
| 136 | return $self->caller->do_call($self, $call_object); | ||
| 137 | } | ||
| 138 | sub ListTaskExecutions { | ||
| 139 | my $self = shift; | ||
| 140 | my $call_object = $self->new_with_coercions('Paws::Datasync::ListTaskExecutions', @_); | ||
| 141 | return $self->caller->do_call($self, $call_object); | ||
| 142 | } | ||
| 143 | sub ListTasks { | ||
| 144 | my $self = shift; | ||
| 145 | my $call_object = $self->new_with_coercions('Paws::Datasync::ListTasks', @_); | ||
| 146 | return $self->caller->do_call($self, $call_object); | ||
| 147 | } | ||
| 148 | sub StartTaskExecution { | ||
| 149 | my $self = shift; | ||
| 150 | my $call_object = $self->new_with_coercions('Paws::Datasync::StartTaskExecution', @_); | ||
| 151 | return $self->caller->do_call($self, $call_object); | ||
| 152 | } | ||
| 153 | sub TagResource { | ||
| 154 | my $self = shift; | ||
| 155 | my $call_object = $self->new_with_coercions('Paws::Datasync::TagResource', @_); | ||
| 156 | return $self->caller->do_call($self, $call_object); | ||
| 157 | } | ||
| 158 | sub UntagResource { | ||
| 159 | my $self = shift; | ||
| 160 | my $call_object = $self->new_with_coercions('Paws::Datasync::UntagResource', @_); | ||
| 161 | return $self->caller->do_call($self, $call_object); | ||
| 162 | } | ||
| 163 | sub UpdateAgent { | ||
| 164 | my $self = shift; | ||
| 165 | my $call_object = $self->new_with_coercions('Paws::Datasync::UpdateAgent', @_); | ||
| 166 | return $self->caller->do_call($self, $call_object); | ||
| 167 | } | ||
| 168 | sub UpdateLocationNfs { | ||
| 169 | my $self = shift; | ||
| 170 | my $call_object = $self->new_with_coercions('Paws::Datasync::UpdateLocationNfs', @_); | ||
| 171 | return $self->caller->do_call($self, $call_object); | ||
| 172 | } | ||
| 173 | sub UpdateLocationObjectStorage { | ||
| 174 | my $self = shift; | ||
| 175 | my $call_object = $self->new_with_coercions('Paws::Datasync::UpdateLocationObjectStorage', @_); | ||
| 176 | return $self->caller->do_call($self, $call_object); | ||
| 177 | } | ||
| 178 | sub UpdateLocationSmb { | ||
| 179 | my $self = shift; | ||
| 180 | my $call_object = $self->new_with_coercions('Paws::Datasync::UpdateLocationSmb', @_); | ||
| 181 | return $self->caller->do_call($self, $call_object); | ||
| 182 | } | ||
| 183 | sub UpdateTask { | ||
| 184 | my $self = shift; | ||
| 185 | my $call_object = $self->new_with_coercions('Paws::Datasync::UpdateTask', @_); | ||
| 186 | return $self->caller->do_call($self, $call_object); | ||
| 187 | } | ||
| 188 | sub UpdateTaskExecution { | ||
| 189 | my $self = shift; | ||
| 190 | my $call_object = $self->new_with_coercions('Paws::Datasync::UpdateTaskExecution', @_); | ||
| 191 | return $self->caller->do_call($self, $call_object); | ||
| 192 | } | ||
| 193 | |||
| 194 | sub ListAllAgents { | ||
| 195 | my $self = shift; | ||
| 196 | |||
| 197 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 198 | my $result = $self->ListAgents(@_); | ||
| 199 | my $next_result = $result; | ||
| 200 | |||
| 201 | if (not defined $callback) { | ||
| 202 | while ($next_result->NextToken) { | ||
| 203 | $next_result = $self->ListAgents(@_, NextToken => $next_result->NextToken); | ||
| 204 | push @{ $result->Agents }, @{ $next_result->Agents }; | ||
| 205 | } | ||
| 206 | return $result; | ||
| 207 | } else { | ||
| 208 | while ($result->NextToken) { | ||
| 209 | $callback->($_ => 'Agents') foreach (@{ $result->Agents }); | ||
| 210 | $result = $self->ListAgents(@_, NextToken => $result->NextToken); | ||
| 211 | } | ||
| 212 | $callback->($_ => 'Agents') foreach (@{ $result->Agents }); | ||
| 213 | } | ||
| 214 | |||
| 215 | return undef | ||
| 216 | } | ||
| 217 | sub ListAllLocations { | ||
| 218 | my $self = shift; | ||
| 219 | |||
| 220 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 221 | my $result = $self->ListLocations(@_); | ||
| 222 | my $next_result = $result; | ||
| 223 | |||
| 224 | if (not defined $callback) { | ||
| 225 | while ($next_result->NextToken) { | ||
| 226 | $next_result = $self->ListLocations(@_, NextToken => $next_result->NextToken); | ||
| 227 | push @{ $result->Locations }, @{ $next_result->Locations }; | ||
| 228 | } | ||
| 229 | return $result; | ||
| 230 | } else { | ||
| 231 | while ($result->NextToken) { | ||
| 232 | $callback->($_ => 'Locations') foreach (@{ $result->Locations }); | ||
| 233 | $result = $self->ListLocations(@_, NextToken => $result->NextToken); | ||
| 234 | } | ||
| 235 | $callback->($_ => 'Locations') foreach (@{ $result->Locations }); | ||
| 236 | } | ||
| 237 | |||
| 238 | return undef | ||
| 239 | } | ||
| 240 | sub ListAllTagsForResource { | ||
| 241 | my $self = shift; | ||
| 242 | |||
| 243 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 244 | my $result = $self->ListTagsForResource(@_); | ||
| 245 | my $next_result = $result; | ||
| 246 | |||
| 247 | if (not defined $callback) { | ||
| 248 | while ($next_result->NextToken) { | ||
| 249 | $next_result = $self->ListTagsForResource(@_, NextToken => $next_result->NextToken); | ||
| 250 | push @{ $result->Tags }, @{ $next_result->Tags }; | ||
| 251 | } | ||
| 252 | return $result; | ||
| 253 | } else { | ||
| 254 | while ($result->NextToken) { | ||
| 255 | $callback->($_ => 'Tags') foreach (@{ $result->Tags }); | ||
| 256 | $result = $self->ListTagsForResource(@_, NextToken => $result->NextToken); | ||
| 257 | } | ||
| 258 | $callback->($_ => 'Tags') foreach (@{ $result->Tags }); | ||
| 259 | } | ||
| 260 | |||
| 261 | return undef | ||
| 262 | } | ||
| 263 | sub ListAllTaskExecutions { | ||
| 264 | my $self = shift; | ||
| 265 | |||
| 266 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 267 | my $result = $self->ListTaskExecutions(@_); | ||
| 268 | my $next_result = $result; | ||
| 269 | |||
| 270 | if (not defined $callback) { | ||
| 271 | while ($next_result->NextToken) { | ||
| 272 | $next_result = $self->ListTaskExecutions(@_, NextToken => $next_result->NextToken); | ||
| 273 | push @{ $result->TaskExecutions }, @{ $next_result->TaskExecutions }; | ||
| 274 | } | ||
| 275 | return $result; | ||
| 276 | } else { | ||
| 277 | while ($result->NextToken) { | ||
| 278 | $callback->($_ => 'TaskExecutions') foreach (@{ $result->TaskExecutions }); | ||
| 279 | $result = $self->ListTaskExecutions(@_, NextToken => $result->NextToken); | ||
| 280 | } | ||
| 281 | $callback->($_ => 'TaskExecutions') foreach (@{ $result->TaskExecutions }); | ||
| 282 | } | ||
| 283 | |||
| 284 | return undef | ||
| 285 | } | ||
| 286 | sub ListAllTasks { | ||
| 287 | my $self = shift; | ||
| 288 | |||
| 289 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 290 | my $result = $self->ListTasks(@_); | ||
| 291 | my $next_result = $result; | ||
| 292 | |||
| 293 | if (not defined $callback) { | ||
| 294 | while ($next_result->NextToken) { | ||
| 295 | $next_result = $self->ListTasks(@_, NextToken => $next_result->NextToken); | ||
| 296 | push @{ $result->Tasks }, @{ $next_result->Tasks }; | ||
| 297 | } | ||
| 298 | return $result; | ||
| 299 | } else { | ||
| 300 | while ($result->NextToken) { | ||
| 301 | $callback->($_ => 'Tasks') foreach (@{ $result->Tasks }); | ||
| 302 | $result = $self->ListTasks(@_, NextToken => $result->NextToken); | ||
| 303 | } | ||
| 304 | $callback->($_ => 'Tasks') foreach (@{ $result->Tasks }); | ||
| 305 | } | ||
| 306 | |||
| 307 | return undef | ||
| 308 | } | ||
| 309 | |||
| 310 | |||
| 311 | sub operations { qw/CancelTaskExecution CreateAgent CreateLocationEfs CreateLocationFsxWindows CreateLocationNfs CreateLocationObjectStorage CreateLocationS3 CreateLocationSmb CreateTask DeleteAgent DeleteLocation DeleteTask DescribeAgent DescribeLocationEfs DescribeLocationFsxWindows DescribeLocationNfs DescribeLocationObjectStorage DescribeLocationS3 DescribeLocationSmb DescribeTask DescribeTaskExecution ListAgents ListLocations ListTagsForResource ListTaskExecutions ListTasks StartTaskExecution TagResource UntagResource UpdateAgent UpdateLocationNfs UpdateLocationObjectStorage UpdateLocationSmb UpdateTask UpdateTaskExecution / } | ||
| 312 | |||
| 313 | 1; | ||
| 314 | |||
| 315 | ### main pod documentation begin ### | ||
| 316 | |||
| 317 | =head1 NAME | ||
| 318 | |||
| 319 | Paws::Datasync - Perl Interface to AWS AWS DataSync | ||
| 320 | |||
| 321 | =head1 SYNOPSIS | ||
| 322 | |||
| 323 | use Paws; | ||
| 324 | |||
| 325 | my $obj = Paws->service('Datasync'); | ||
| 326 | my $res = $obj->Method( | ||
| 327 | Arg1 => $val1, | ||
| 328 | Arg2 => [ 'V1', 'V2' ], | ||
| 329 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 330 | # of the arguments type | ||
| 331 | Arg3 => { Att1 => 'Val1' }, | ||
| 332 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 333 | # the constructor of the arguments type | ||
| 334 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 335 | ); | ||
| 336 | |||
| 337 | =head1 DESCRIPTION | ||
| 338 | |||
| 339 | AWS DataSync | ||
| 340 | |||
| 341 | AWS DataSync is a managed data transfer service that makes it simpler | ||
| 342 | for you to automate moving data between on-premises storage and Amazon | ||
| 343 | Simple Storage Service (Amazon S3) or Amazon Elastic File System | ||
| 344 | (Amazon EFS). | ||
| 345 | |||
| 346 | This API interface reference for AWS DataSync contains documentation | ||
| 347 | for a programming interface that you can use to manage AWS DataSync. | ||
| 348 | |||
| 349 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09> | ||
| 350 | |||
| 351 | |||
| 352 | =head1 METHODS | ||
| 353 | |||
| 354 | =head2 CancelTaskExecution | ||
| 355 | |||
| 356 | =over | ||
| 357 | |||
| 358 | =item TaskExecutionArn => Str | ||
| 359 | |||
| 360 | |||
| 361 | =back | ||
| 362 | |||
| 363 | Each argument is described in detail in: L<Paws::Datasync::CancelTaskExecution> | ||
| 364 | |||
| 365 | Returns: a L<Paws::Datasync::CancelTaskExecutionResponse> instance | ||
| 366 | |||
| 367 | Cancels execution of a task. | ||
| 368 | |||
| 369 | When you cancel a task execution, the transfer of some files is | ||
| 370 | abruptly interrupted. The contents of files that are transferred to the | ||
| 371 | destination might be incomplete or inconsistent with the source files. | ||
| 372 | However, if you start a new task execution on the same task and you | ||
| 373 | allow the task execution to complete, file content on the destination | ||
| 374 | is complete and consistent. This applies to other unexpected failures | ||
| 375 | that interrupt a task execution. In all of these cases, AWS DataSync | ||
| 376 | successfully complete the transfer when you start the next task | ||
| 377 | execution. | ||
| 378 | |||
| 379 | |||
| 380 | =head2 CreateAgent | ||
| 381 | |||
| 382 | =over | ||
| 383 | |||
| 384 | =item ActivationKey => Str | ||
| 385 | |||
| 386 | =item [AgentName => Str] | ||
| 387 | |||
| 388 | =item [SecurityGroupArns => ArrayRef[Str|Undef]] | ||
| 389 | |||
| 390 | =item [SubnetArns => ArrayRef[Str|Undef]] | ||
| 391 | |||
| 392 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 393 | |||
| 394 | =item [VpcEndpointId => Str] | ||
| 395 | |||
| 396 | |||
| 397 | =back | ||
| 398 | |||
| 399 | Each argument is described in detail in: L<Paws::Datasync::CreateAgent> | ||
| 400 | |||
| 401 | Returns: a L<Paws::Datasync::CreateAgentResponse> instance | ||
| 402 | |||
| 403 | Activates an AWS DataSync agent that you have deployed on your host. | ||
| 404 | The activation process associates your agent with your account. In the | ||
| 405 | activation process, you specify information such as the AWS Region that | ||
| 406 | you want to activate the agent in. You activate the agent in the AWS | ||
| 407 | Region where your target locations (in Amazon S3 or Amazon EFS) reside. | ||
| 408 | Your tasks are created in this AWS Region. | ||
| 409 | |||
| 410 | You can activate the agent in a VPC (virtual private cloud) or provide | ||
| 411 | the agent access to a VPC endpoint so you can run tasks without going | ||
| 412 | over the public internet. | ||
| 413 | |||
| 414 | You can use an agent for more than one location. If a task uses | ||
| 415 | multiple agents, all of them need to have status AVAILABLE for the task | ||
| 416 | to run. If you use multiple agents for a source location, the status of | ||
| 417 | all the agents must be AVAILABLE for the task to run. | ||
| 418 | |||
| 419 | Agents are automatically updated by AWS on a regular basis, using a | ||
| 420 | mechanism that ensures minimal interruption to your tasks. | ||
| 421 | |||
| 422 | |||
| 423 | =head2 CreateLocationEfs | ||
| 424 | |||
| 425 | =over | ||
| 426 | |||
| 427 | =item Ec2Config => L<Paws::Datasync::Ec2Config> | ||
| 428 | |||
| 429 | =item EfsFilesystemArn => Str | ||
| 430 | |||
| 431 | =item [Subdirectory => Str] | ||
| 432 | |||
| 433 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 434 | |||
| 435 | |||
| 436 | =back | ||
| 437 | |||
| 438 | Each argument is described in detail in: L<Paws::Datasync::CreateLocationEfs> | ||
| 439 | |||
| 440 | Returns: a L<Paws::Datasync::CreateLocationEfsResponse> instance | ||
| 441 | |||
| 442 | Creates an endpoint for an Amazon EFS file system. | ||
| 443 | |||
| 444 | |||
| 445 | =head2 CreateLocationFsxWindows | ||
| 446 | |||
| 447 | =over | ||
| 448 | |||
| 449 | =item FsxFilesystemArn => Str | ||
| 450 | |||
| 451 | =item Password => Str | ||
| 452 | |||
| 453 | =item SecurityGroupArns => ArrayRef[Str|Undef] | ||
| 454 | |||
| 455 | =item User => Str | ||
| 456 | |||
| 457 | =item [Domain => Str] | ||
| 458 | |||
| 459 | =item [Subdirectory => Str] | ||
| 460 | |||
| 461 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 462 | |||
| 463 | |||
| 464 | =back | ||
| 465 | |||
| 466 | Each argument is described in detail in: L<Paws::Datasync::CreateLocationFsxWindows> | ||
| 467 | |||
| 468 | Returns: a L<Paws::Datasync::CreateLocationFsxWindowsResponse> instance | ||
| 469 | |||
| 470 | Creates an endpoint for an Amazon FSx for Windows File Server file | ||
| 471 | system. | ||
| 472 | |||
| 473 | |||
| 474 | =head2 CreateLocationNfs | ||
| 475 | |||
| 476 | =over | ||
| 477 | |||
| 478 | =item OnPremConfig => L<Paws::Datasync::OnPremConfig> | ||
| 479 | |||
| 480 | =item ServerHostname => Str | ||
| 481 | |||
| 482 | =item Subdirectory => Str | ||
| 483 | |||
| 484 | =item [MountOptions => L<Paws::Datasync::NfsMountOptions>] | ||
| 485 | |||
| 486 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 487 | |||
| 488 | |||
| 489 | =back | ||
| 490 | |||
| 491 | Each argument is described in detail in: L<Paws::Datasync::CreateLocationNfs> | ||
| 492 | |||
| 493 | Returns: a L<Paws::Datasync::CreateLocationNfsResponse> instance | ||
| 494 | |||
| 495 | Defines a file system on a Network File System (NFS) server that can be | ||
| 496 | read from or written to. | ||
| 497 | |||
| 498 | |||
| 499 | =head2 CreateLocationObjectStorage | ||
| 500 | |||
| 501 | =over | ||
| 502 | |||
| 503 | =item AgentArns => ArrayRef[Str|Undef] | ||
| 504 | |||
| 505 | =item BucketName => Str | ||
| 506 | |||
| 507 | =item ServerHostname => Str | ||
| 508 | |||
| 509 | =item [AccessKey => Str] | ||
| 510 | |||
| 511 | =item [SecretKey => Str] | ||
| 512 | |||
| 513 | =item [ServerPort => Int] | ||
| 514 | |||
| 515 | =item [ServerProtocol => Str] | ||
| 516 | |||
| 517 | =item [Subdirectory => Str] | ||
| 518 | |||
| 519 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 520 | |||
| 521 | |||
| 522 | =back | ||
| 523 | |||
| 524 | Each argument is described in detail in: L<Paws::Datasync::CreateLocationObjectStorage> | ||
| 525 | |||
| 526 | Returns: a L<Paws::Datasync::CreateLocationObjectStorageResponse> instance | ||
| 527 | |||
| 528 | Creates an endpoint for a self-managed object storage bucket. For more | ||
| 529 | information about self-managed object storage locations, see Creating a | ||
| 530 | location for object storage | ||
| 531 | (https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html). | ||
| 532 | |||
| 533 | |||
| 534 | =head2 CreateLocationS3 | ||
| 535 | |||
| 536 | =over | ||
| 537 | |||
| 538 | =item S3BucketArn => Str | ||
| 539 | |||
| 540 | =item S3Config => L<Paws::Datasync::S3Config> | ||
| 541 | |||
| 542 | =item [AgentArns => ArrayRef[Str|Undef]] | ||
| 543 | |||
| 544 | =item [S3StorageClass => Str] | ||
| 545 | |||
| 546 | =item [Subdirectory => Str] | ||
| 547 | |||
| 548 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 549 | |||
| 550 | |||
| 551 | =back | ||
| 552 | |||
| 553 | Each argument is described in detail in: L<Paws::Datasync::CreateLocationS3> | ||
| 554 | |||
| 555 | Returns: a L<Paws::Datasync::CreateLocationS3Response> instance | ||
| 556 | |||
| 557 | Creates an endpoint for an Amazon S3 bucket. | ||
| 558 | |||
| 559 | For more information, see | ||
| 560 | https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli | ||
| 561 | in the I<AWS DataSync User Guide>. | ||
| 562 | |||
| 563 | |||
| 564 | =head2 CreateLocationSmb | ||
| 565 | |||
| 566 | =over | ||
| 567 | |||
| 568 | =item AgentArns => ArrayRef[Str|Undef] | ||
| 569 | |||
| 570 | =item Password => Str | ||
| 571 | |||
| 572 | =item ServerHostname => Str | ||
| 573 | |||
| 574 | =item Subdirectory => Str | ||
| 575 | |||
| 576 | =item User => Str | ||
| 577 | |||
| 578 | =item [Domain => Str] | ||
| 579 | |||
| 580 | =item [MountOptions => L<Paws::Datasync::SmbMountOptions>] | ||
| 581 | |||
| 582 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 583 | |||
| 584 | |||
| 585 | =back | ||
| 586 | |||
| 587 | Each argument is described in detail in: L<Paws::Datasync::CreateLocationSmb> | ||
| 588 | |||
| 589 | Returns: a L<Paws::Datasync::CreateLocationSmbResponse> instance | ||
| 590 | |||
| 591 | Defines a file system on a Server Message Block (SMB) server that can | ||
| 592 | be read from or written to. | ||
| 593 | |||
| 594 | |||
| 595 | =head2 CreateTask | ||
| 596 | |||
| 597 | =over | ||
| 598 | |||
| 599 | =item DestinationLocationArn => Str | ||
| 600 | |||
| 601 | =item SourceLocationArn => Str | ||
| 602 | |||
| 603 | =item [CloudWatchLogGroupArn => Str] | ||
| 604 | |||
| 605 | =item [Excludes => ArrayRef[L<Paws::Datasync::FilterRule>]] | ||
| 606 | |||
| 607 | =item [Name => Str] | ||
| 608 | |||
| 609 | =item [Options => L<Paws::Datasync::Options>] | ||
| 610 | |||
| 611 | =item [Schedule => L<Paws::Datasync::TaskSchedule>] | ||
| 612 | |||
| 613 | =item [Tags => ArrayRef[L<Paws::Datasync::TagListEntry>]] | ||
| 614 | |||
| 615 | |||
| 616 | =back | ||
| 617 | |||
| 618 | Each argument is described in detail in: L<Paws::Datasync::CreateTask> | ||
| 619 | |||
| 620 | Returns: a L<Paws::Datasync::CreateTaskResponse> instance | ||
| 621 | |||
| 622 | Creates a task. | ||
| 623 | |||
| 624 | A task includes a source location and a destination location, and a | ||
| 625 | configuration that specifies how data is transferred. A task always | ||
| 626 | transfers data from the source location to the destination location. | ||
| 627 | The configuration specifies options such as task scheduling, bandwidth | ||
| 628 | limits, etc. A task is the complete definition of a data transfer. | ||
| 629 | |||
| 630 | When you create a task that transfers data between AWS services in | ||
| 631 | different AWS Regions, one of the two locations that you specify must | ||
| 632 | reside in the Region where DataSync is being used. The other location | ||
| 633 | must be specified in a different Region. | ||
| 634 | |||
| 635 | You can transfer data between commercial AWS Regions except for China, | ||
| 636 | or between AWS GovCloud (US-East and US-West) Regions. | ||
| 637 | |||
| 638 | When you use DataSync to copy files or objects between AWS Regions, you | ||
| 639 | pay for data transfer between Regions. This is billed as data transfer | ||
| 640 | OUT from your source Region to your destination Region. For more | ||
| 641 | information, see Data Transfer pricing | ||
| 642 | (http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer). | ||
| 643 | |||
| 644 | |||
| 645 | =head2 DeleteAgent | ||
| 646 | |||
| 647 | =over | ||
| 648 | |||
| 649 | =item AgentArn => Str | ||
| 650 | |||
| 651 | |||
| 652 | =back | ||
| 653 | |||
| 654 | Each argument is described in detail in: L<Paws::Datasync::DeleteAgent> | ||
| 655 | |||
| 656 | Returns: a L<Paws::Datasync::DeleteAgentResponse> instance | ||
| 657 | |||
| 658 | Deletes an agent. To specify which agent to delete, use the Amazon | ||
| 659 | Resource Name (ARN) of the agent in your request. The operation | ||
| 660 | disassociates the agent from your AWS account. However, it doesn't | ||
| 661 | delete the agent virtual machine (VM) from your on-premises | ||
| 662 | environment. | ||
| 663 | |||
| 664 | |||
| 665 | =head2 DeleteLocation | ||
| 666 | |||
| 667 | =over | ||
| 668 | |||
| 669 | =item LocationArn => Str | ||
| 670 | |||
| 671 | |||
| 672 | =back | ||
| 673 | |||
| 674 | Each argument is described in detail in: L<Paws::Datasync::DeleteLocation> | ||
| 675 | |||
| 676 | Returns: a L<Paws::Datasync::DeleteLocationResponse> instance | ||
| 677 | |||
| 678 | Deletes the configuration of a location used by AWS DataSync. | ||
| 679 | |||
| 680 | |||
| 681 | =head2 DeleteTask | ||
| 682 | |||
| 683 | =over | ||
| 684 | |||
| 685 | =item TaskArn => Str | ||
| 686 | |||
| 687 | |||
| 688 | =back | ||
| 689 | |||
| 690 | Each argument is described in detail in: L<Paws::Datasync::DeleteTask> | ||
| 691 | |||
| 692 | Returns: a L<Paws::Datasync::DeleteTaskResponse> instance | ||
| 693 | |||
| 694 | Deletes a task. | ||
| 695 | |||
| 696 | |||
| 697 | =head2 DescribeAgent | ||
| 698 | |||
| 699 | =over | ||
| 700 | |||
| 701 | =item AgentArn => Str | ||
| 702 | |||
| 703 | |||
| 704 | =back | ||
| 705 | |||
| 706 | Each argument is described in detail in: L<Paws::Datasync::DescribeAgent> | ||
| 707 | |||
| 708 | Returns: a L<Paws::Datasync::DescribeAgentResponse> instance | ||
| 709 | |||
| 710 | Returns metadata such as the name, the network interfaces, and the | ||
| 711 | status (that is, whether the agent is running or not) for an agent. To | ||
| 712 | specify which agent to describe, use the Amazon Resource Name (ARN) of | ||
| 713 | the agent in your request. | ||
| 714 | |||
| 715 | |||
| 716 | =head2 DescribeLocationEfs | ||
| 717 | |||
| 718 | =over | ||
| 719 | |||
| 720 | =item LocationArn => Str | ||
| 721 | |||
| 722 | |||
| 723 | =back | ||
| 724 | |||
| 725 | Each argument is described in detail in: L<Paws::Datasync::DescribeLocationEfs> | ||
| 726 | |||
| 727 | Returns: a L<Paws::Datasync::DescribeLocationEfsResponse> instance | ||
| 728 | |||
| 729 | Returns metadata, such as the path information about an Amazon EFS | ||
| 730 | location. | ||
| 731 | |||
| 732 | |||
| 733 | =head2 DescribeLocationFsxWindows | ||
| 734 | |||
| 735 | =over | ||
| 736 | |||
| 737 | =item LocationArn => Str | ||
| 738 | |||
| 739 | |||
| 740 | =back | ||
| 741 | |||
| 742 | Each argument is described in detail in: L<Paws::Datasync::DescribeLocationFsxWindows> | ||
| 743 | |||
| 744 | Returns: a L<Paws::Datasync::DescribeLocationFsxWindowsResponse> instance | ||
| 745 | |||
| 746 | Returns metadata, such as the path information about an Amazon FSx for | ||
| 747 | Windows File Server location. | ||
| 748 | |||
| 749 | |||
| 750 | =head2 DescribeLocationNfs | ||
| 751 | |||
| 752 | =over | ||
| 753 | |||
| 754 | =item LocationArn => Str | ||
| 755 | |||
| 756 | |||
| 757 | =back | ||
| 758 | |||
| 759 | Each argument is described in detail in: L<Paws::Datasync::DescribeLocationNfs> | ||
| 760 | |||
| 761 | Returns: a L<Paws::Datasync::DescribeLocationNfsResponse> instance | ||
| 762 | |||
| 763 | Returns metadata, such as the path information, about an NFS location. | ||
| 764 | |||
| 765 | |||
| 766 | =head2 DescribeLocationObjectStorage | ||
| 767 | |||
| 768 | =over | ||
| 769 | |||
| 770 | =item LocationArn => Str | ||
| 771 | |||
| 772 | |||
| 773 | =back | ||
| 774 | |||
| 775 | Each argument is described in detail in: L<Paws::Datasync::DescribeLocationObjectStorage> | ||
| 776 | |||
| 777 | Returns: a L<Paws::Datasync::DescribeLocationObjectStorageResponse> instance | ||
| 778 | |||
| 779 | Returns metadata about a self-managed object storage server location. | ||
| 780 | For more information about self-managed object storage locations, see | ||
| 781 | Creating a location for object storage | ||
| 782 | (https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html). | ||
| 783 | |||
| 784 | |||
| 785 | =head2 DescribeLocationS3 | ||
| 786 | |||
| 787 | =over | ||
| 788 | |||
| 789 | =item LocationArn => Str | ||
| 790 | |||
| 791 | |||
| 792 | =back | ||
| 793 | |||
| 794 | Each argument is described in detail in: L<Paws::Datasync::DescribeLocationS3> | ||
| 795 | |||
| 796 | Returns: a L<Paws::Datasync::DescribeLocationS3Response> instance | ||
| 797 | |||
| 798 | Returns metadata, such as bucket name, about an Amazon S3 bucket | ||
| 799 | location. | ||
| 800 | |||
| 801 | |||
| 802 | =head2 DescribeLocationSmb | ||
| 803 | |||
| 804 | =over | ||
| 805 | |||
| 806 | =item LocationArn => Str | ||
| 807 | |||
| 808 | |||
| 809 | =back | ||
| 810 | |||
| 811 | Each argument is described in detail in: L<Paws::Datasync::DescribeLocationSmb> | ||
| 812 | |||
| 813 | Returns: a L<Paws::Datasync::DescribeLocationSmbResponse> instance | ||
| 814 | |||
| 815 | Returns metadata, such as the path and user information about an SMB | ||
| 816 | location. | ||
| 817 | |||
| 818 | |||
| 819 | =head2 DescribeTask | ||
| 820 | |||
| 821 | =over | ||
| 822 | |||
| 823 | =item TaskArn => Str | ||
| 824 | |||
| 825 | |||
| 826 | =back | ||
| 827 | |||
| 828 | Each argument is described in detail in: L<Paws::Datasync::DescribeTask> | ||
| 829 | |||
| 830 | Returns: a L<Paws::Datasync::DescribeTaskResponse> instance | ||
| 831 | |||
| 832 | Returns metadata about a task. | ||
| 833 | |||
| 834 | |||
| 835 | =head2 DescribeTaskExecution | ||
| 836 | |||
| 837 | =over | ||
| 838 | |||
| 839 | =item TaskExecutionArn => Str | ||
| 840 | |||
| 841 | |||
| 842 | =back | ||
| 843 | |||
| 844 | Each argument is described in detail in: L<Paws::Datasync::DescribeTaskExecution> | ||
| 845 | |||
| 846 | Returns: a L<Paws::Datasync::DescribeTaskExecutionResponse> instance | ||
| 847 | |||
| 848 | Returns detailed metadata about a task that is being executed. | ||
| 849 | |||
| 850 | |||
| 851 | =head2 ListAgents | ||
| 852 | |||
| 853 | =over | ||
| 854 | |||
| 855 | =item [MaxResults => Int] | ||
| 856 | |||
| 857 | =item [NextToken => Str] | ||
| 858 | |||
| 859 | |||
| 860 | =back | ||
| 861 | |||
| 862 | Each argument is described in detail in: L<Paws::Datasync::ListAgents> | ||
| 863 | |||
| 864 | Returns: a L<Paws::Datasync::ListAgentsResponse> instance | ||
| 865 | |||
| 866 | Returns a list of agents owned by an AWS account in the AWS Region | ||
| 867 | specified in the request. The returned list is ordered by agent Amazon | ||
| 868 | Resource Name (ARN). | ||
| 869 | |||
| 870 | By default, this operation returns a maximum of 100 agents. This | ||
| 871 | operation supports pagination that enables you to optionally reduce the | ||
| 872 | number of agents returned in a response. | ||
| 873 | |||
| 874 | If you have more agents than are returned in a response (that is, the | ||
| 875 | response returns only a truncated list of your agents), the response | ||
| 876 | contains a marker that you can specify in your next request to fetch | ||
| 877 | the next page of agents. | ||
| 878 | |||
| 879 | |||
| 880 | =head2 ListLocations | ||
| 881 | |||
| 882 | =over | ||
| 883 | |||
| 884 | =item [Filters => ArrayRef[L<Paws::Datasync::LocationFilter>]] | ||
| 885 | |||
| 886 | =item [MaxResults => Int] | ||
| 887 | |||
| 888 | =item [NextToken => Str] | ||
| 889 | |||
| 890 | |||
| 891 | =back | ||
| 892 | |||
| 893 | Each argument is described in detail in: L<Paws::Datasync::ListLocations> | ||
| 894 | |||
| 895 | Returns: a L<Paws::Datasync::ListLocationsResponse> instance | ||
| 896 | |||
| 897 | Returns a list of source and destination locations. | ||
| 898 | |||
| 899 | If you have more locations than are returned in a response (that is, | ||
| 900 | the response returns only a truncated list of your agents), the | ||
| 901 | response contains a token that you can specify in your next request to | ||
| 902 | fetch the next page of locations. | ||
| 903 | |||
| 904 | |||
| 905 | =head2 ListTagsForResource | ||
| 906 | |||
| 907 | =over | ||
| 908 | |||
| 909 | =item ResourceArn => Str | ||
| 910 | |||
| 911 | =item [MaxResults => Int] | ||
| 912 | |||
| 913 | =item [NextToken => Str] | ||
| 914 | |||
| 915 | |||
| 916 | =back | ||
| 917 | |||
| 918 | Each argument is described in detail in: L<Paws::Datasync::ListTagsForResource> | ||
| 919 | |||
| 920 | Returns: a L<Paws::Datasync::ListTagsForResourceResponse> instance | ||
| 921 | |||
| 922 | Returns all the tags associated with a specified resource. | ||
| 923 | |||
| 924 | |||
| 925 | =head2 ListTaskExecutions | ||
| 926 | |||
| 927 | =over | ||
| 928 | |||
| 929 | =item [MaxResults => Int] | ||
| 930 | |||
| 931 | =item [NextToken => Str] | ||
| 932 | |||
| 933 | =item [TaskArn => Str] | ||
| 934 | |||
| 935 | |||
| 936 | =back | ||
| 937 | |||
| 938 | Each argument is described in detail in: L<Paws::Datasync::ListTaskExecutions> | ||
| 939 | |||
| 940 | Returns: a L<Paws::Datasync::ListTaskExecutionsResponse> instance | ||
| 941 | |||
| 942 | Returns a list of executed tasks. | ||
| 943 | |||
| 944 | |||
| 945 | =head2 ListTasks | ||
| 946 | |||
| 947 | =over | ||
| 948 | |||
| 949 | =item [Filters => ArrayRef[L<Paws::Datasync::TaskFilter>]] | ||
| 950 | |||
| 951 | =item [MaxResults => Int] | ||
| 952 | |||
| 953 | =item [NextToken => Str] | ||
| 954 | |||
| 955 | |||
| 956 | =back | ||
| 957 | |||
| 958 | Each argument is described in detail in: L<Paws::Datasync::ListTasks> | ||
| 959 | |||
| 960 | Returns: a L<Paws::Datasync::ListTasksResponse> instance | ||
| 961 | |||
| 962 | Returns a list of all the tasks. | ||
| 963 | |||
| 964 | |||
| 965 | =head2 StartTaskExecution | ||
| 966 | |||
| 967 | =over | ||
| 968 | |||
| 969 | =item TaskArn => Str | ||
| 970 | |||
| 971 | =item [Includes => ArrayRef[L<Paws::Datasync::FilterRule>]] | ||
| 972 | |||
| 973 | =item [OverrideOptions => L<Paws::Datasync::Options>] | ||
| 974 | |||
| 975 | |||
| 976 | =back | ||
| 977 | |||
| 978 | Each argument is described in detail in: L<Paws::Datasync::StartTaskExecution> | ||
| 979 | |||
| 980 | Returns: a L<Paws::Datasync::StartTaskExecutionResponse> instance | ||
| 981 | |||
| 982 | Starts a specific invocation of a task. A C<TaskExecution> value | ||
| 983 | represents an individual run of a task. Each task can have at most one | ||
| 984 | C<TaskExecution> at a time. | ||
| 985 | |||
| 986 | C<TaskExecution> has the following transition phases: INITIALIZING | | ||
| 987 | PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. | ||
| 988 | |||
| 989 | For detailed information, see the Task Execution section in the | ||
| 990 | Components and Terminology topic in the I<AWS DataSync User Guide>. | ||
| 991 | |||
| 992 | |||
| 993 | =head2 TagResource | ||
| 994 | |||
| 995 | =over | ||
| 996 | |||
| 997 | =item ResourceArn => Str | ||
| 998 | |||
| 999 | =item Tags => ArrayRef[L<Paws::Datasync::TagListEntry>] | ||
| 1000 | |||
| 1001 | |||
| 1002 | =back | ||
| 1003 | |||
| 1004 | Each argument is described in detail in: L<Paws::Datasync::TagResource> | ||
| 1005 | |||
| 1006 | Returns: a L<Paws::Datasync::TagResourceResponse> instance | ||
| 1007 | |||
| 1008 | Applies a key-value pair to an AWS resource. | ||
| 1009 | |||
| 1010 | |||
| 1011 | =head2 UntagResource | ||
| 1012 | |||
| 1013 | =over | ||
| 1014 | |||
| 1015 | =item Keys => ArrayRef[Str|Undef] | ||
| 1016 | |||
| 1017 | =item ResourceArn => Str | ||
| 1018 | |||
| 1019 | |||
| 1020 | =back | ||
| 1021 | |||
| 1022 | Each argument is described in detail in: L<Paws::Datasync::UntagResource> | ||
| 1023 | |||
| 1024 | Returns: a L<Paws::Datasync::UntagResourceResponse> instance | ||
| 1025 | |||
| 1026 | Removes a tag from an AWS resource. | ||
| 1027 | |||
| 1028 | |||
| 1029 | =head2 UpdateAgent | ||
| 1030 | |||
| 1031 | =over | ||
| 1032 | |||
| 1033 | =item AgentArn => Str | ||
| 1034 | |||
| 1035 | =item [Name => Str] | ||
| 1036 | |||
| 1037 | |||
| 1038 | =back | ||
| 1039 | |||
| 1040 | Each argument is described in detail in: L<Paws::Datasync::UpdateAgent> | ||
| 1041 | |||
| 1042 | Returns: a L<Paws::Datasync::UpdateAgentResponse> instance | ||
| 1043 | |||
| 1044 | Updates the name of an agent. | ||
| 1045 | |||
| 1046 | |||
| 1047 | =head2 UpdateLocationNfs | ||
| 1048 | |||
| 1049 | =over | ||
| 1050 | |||
| 1051 | =item LocationArn => Str | ||
| 1052 | |||
| 1053 | =item [MountOptions => L<Paws::Datasync::NfsMountOptions>] | ||
| 1054 | |||
| 1055 | =item [OnPremConfig => L<Paws::Datasync::OnPremConfig>] | ||
| 1056 | |||
| 1057 | =item [Subdirectory => Str] | ||
| 1058 | |||
| 1059 | |||
| 1060 | =back | ||
| 1061 | |||
| 1062 | Each argument is described in detail in: L<Paws::Datasync::UpdateLocationNfs> | ||
| 1063 | |||
| 1064 | Returns: a L<Paws::Datasync::UpdateLocationNfsResponse> instance | ||
| 1065 | |||
| 1066 | Updates some of the parameters of a previously created location for | ||
| 1067 | Network File System (NFS) access. For information about creating an NFS | ||
| 1068 | location, see Creating a location for NFS | ||
| 1069 | (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html). | ||
| 1070 | |||
| 1071 | |||
| 1072 | =head2 UpdateLocationObjectStorage | ||
| 1073 | |||
| 1074 | =over | ||
| 1075 | |||
| 1076 | =item LocationArn => Str | ||
| 1077 | |||
| 1078 | =item [AccessKey => Str] | ||
| 1079 | |||
| 1080 | =item [AgentArns => ArrayRef[Str|Undef]] | ||
| 1081 | |||
| 1082 | =item [SecretKey => Str] | ||
| 1083 | |||
| 1084 | =item [ServerPort => Int] | ||
| 1085 | |||
| 1086 | =item [ServerProtocol => Str] | ||
| 1087 | |||
| 1088 | =item [Subdirectory => Str] | ||
| 1089 | |||
| 1090 | |||
| 1091 | =back | ||
| 1092 | |||
| 1093 | Each argument is described in detail in: L<Paws::Datasync::UpdateLocationObjectStorage> | ||
| 1094 | |||
| 1095 | Returns: a L<Paws::Datasync::UpdateLocationObjectStorageResponse> instance | ||
| 1096 | |||
| 1097 | Updates some of the parameters of a previously created location for | ||
| 1098 | self-managed object storage server access. For information about | ||
| 1099 | creating a self-managed object storage location, see Creating a | ||
| 1100 | location for object storage | ||
| 1101 | (https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html). | ||
| 1102 | |||
| 1103 | |||
| 1104 | =head2 UpdateLocationSmb | ||
| 1105 | |||
| 1106 | =over | ||
| 1107 | |||
| 1108 | =item LocationArn => Str | ||
| 1109 | |||
| 1110 | =item [AgentArns => ArrayRef[Str|Undef]] | ||
| 1111 | |||
| 1112 | =item [Domain => Str] | ||
| 1113 | |||
| 1114 | =item [MountOptions => L<Paws::Datasync::SmbMountOptions>] | ||
| 1115 | |||
| 1116 | =item [Password => Str] | ||
| 1117 | |||
| 1118 | =item [Subdirectory => Str] | ||
| 1119 | |||
| 1120 | =item [User => Str] | ||
| 1121 | |||
| 1122 | |||
| 1123 | =back | ||
| 1124 | |||
| 1125 | Each argument is described in detail in: L<Paws::Datasync::UpdateLocationSmb> | ||
| 1126 | |||
| 1127 | Returns: a L<Paws::Datasync::UpdateLocationSmbResponse> instance | ||
| 1128 | |||
| 1129 | Updates some of the parameters of a previously created location for | ||
| 1130 | Server Message Block (SMB) file system access. For information about | ||
| 1131 | creating an SMB location, see Creating a location for SMB | ||
| 1132 | (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html). | ||
| 1133 | |||
| 1134 | |||
| 1135 | =head2 UpdateTask | ||
| 1136 | |||
| 1137 | =over | ||
| 1138 | |||
| 1139 | =item TaskArn => Str | ||
| 1140 | |||
| 1141 | =item [CloudWatchLogGroupArn => Str] | ||
| 1142 | |||
| 1143 | =item [Excludes => ArrayRef[L<Paws::Datasync::FilterRule>]] | ||
| 1144 | |||
| 1145 | =item [Name => Str] | ||
| 1146 | |||
| 1147 | =item [Options => L<Paws::Datasync::Options>] | ||
| 1148 | |||
| 1149 | =item [Schedule => L<Paws::Datasync::TaskSchedule>] | ||
| 1150 | |||
| 1151 | |||
| 1152 | =back | ||
| 1153 | |||
| 1154 | Each argument is described in detail in: L<Paws::Datasync::UpdateTask> | ||
| 1155 | |||
| 1156 | Returns: a L<Paws::Datasync::UpdateTaskResponse> instance | ||
| 1157 | |||
| 1158 | Updates the metadata associated with a task. | ||
| 1159 | |||
| 1160 | |||
| 1161 | =head2 UpdateTaskExecution | ||
| 1162 | |||
| 1163 | =over | ||
| 1164 | |||
| 1165 | =item Options => L<Paws::Datasync::Options> | ||
| 1166 | |||
| 1167 | =item TaskExecutionArn => Str | ||
| 1168 | |||
| 1169 | |||
| 1170 | =back | ||
| 1171 | |||
| 1172 | Each argument is described in detail in: L<Paws::Datasync::UpdateTaskExecution> | ||
| 1173 | |||
| 1174 | Returns: a L<Paws::Datasync::UpdateTaskExecutionResponse> instance | ||
| 1175 | |||
| 1176 | Updates execution of a task. | ||
| 1177 | |||
| 1178 | You can modify bandwidth throttling for a task execution that is | ||
| 1179 | running or queued. For more information, see Adjusting Bandwidth | ||
| 1180 | Throttling for a Task Execution | ||
| 1181 | (https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling). | ||
| 1182 | |||
| 1183 | The only C<Option> that can be modified by C<UpdateTaskExecution> is C< | ||
| 1184 | BytesPerSecond | ||
| 1185 | (https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond) | ||
| 1186 | >. | ||
| 1187 | |||
| 1188 | |||
| 1189 | |||
| 1190 | |||
| 1191 | =head1 PAGINATORS | ||
| 1192 | |||
| 1193 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 1194 | |||
| 1195 | =head2 ListAllAgents(sub { },[MaxResults => Int, NextToken => Str]) | ||
| 1196 | |||
| 1197 | =head2 ListAllAgents([MaxResults => Int, NextToken => Str]) | ||
| 1198 | |||
| 1199 | |||
| 1200 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1201 | |||
| 1202 | - Agents, passing the object as the first parameter, and the string 'Agents' as the second parameter | ||
| 1203 | |||
| 1204 | If not, it will return a a L<Paws::Datasync::ListAgentsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1205 | |||
| 1206 | |||
| 1207 | =head2 ListAllLocations(sub { },[Filters => ArrayRef[L<Paws::Datasync::LocationFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1208 | |||
| 1209 | =head2 ListAllLocations([Filters => ArrayRef[L<Paws::Datasync::LocationFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1210 | |||
| 1211 | |||
| 1212 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1213 | |||
| 1214 | - Locations, passing the object as the first parameter, and the string 'Locations' as the second parameter | ||
| 1215 | |||
| 1216 | If not, it will return a a L<Paws::Datasync::ListLocationsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1217 | |||
| 1218 | |||
| 1219 | =head2 ListAllTagsForResource(sub { },ResourceArn => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1220 | |||
| 1221 | =head2 ListAllTagsForResource(ResourceArn => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1222 | |||
| 1223 | |||
| 1224 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1225 | |||
| 1226 | - Tags, passing the object as the first parameter, and the string 'Tags' as the second parameter | ||
| 1227 | |||
| 1228 | If not, it will return a a L<Paws::Datasync::ListTagsForResourceResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1229 | |||
| 1230 | |||
| 1231 | =head2 ListAllTaskExecutions(sub { },[MaxResults => Int, NextToken => Str, TaskArn => Str]) | ||
| 1232 | |||
| 1233 | =head2 ListAllTaskExecutions([MaxResults => Int, NextToken => Str, TaskArn => Str]) | ||
| 1234 | |||
| 1235 | |||
| 1236 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1237 | |||
| 1238 | - TaskExecutions, passing the object as the first parameter, and the string 'TaskExecutions' as the second parameter | ||
| 1239 | |||
| 1240 | If not, it will return a a L<Paws::Datasync::ListTaskExecutionsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1241 | |||
| 1242 | |||
| 1243 | =head2 ListAllTasks(sub { },[Filters => ArrayRef[L<Paws::Datasync::TaskFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1244 | |||
| 1245 | =head2 ListAllTasks([Filters => ArrayRef[L<Paws::Datasync::TaskFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1246 | |||
| 1247 | |||
| 1248 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1249 | |||
| 1250 | - Tasks, passing the object as the first parameter, and the string 'Tasks' as the second parameter | ||
| 1251 | |||
| 1252 | If not, it will return a a L<Paws::Datasync::ListTasksResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1253 | |||
| 1254 | |||
| 1255 | |||
| 1256 | |||
| 1257 | |||
| 1258 | =head1 SEE ALSO | ||
| 1259 | |||
| 1260 | This service class forms part of L<Paws> | ||
| 1261 | |||
| 1262 | =head1 BUGS and CONTRIBUTIONS | ||
| 1263 | |||
| 1264 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 1265 | |||
| 1266 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 1267 | |||
| 1268 | =cut | ||
| 1269 |