Paws::Datasync::UpdateTask - Arguments for method UpdateTask on Paws::Datasync


This class represents the parameters used for calling the method UpdateTask on the AWS DataSync service. Use the attributes of this class as arguments to method UpdateTask.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTask.


    my $datasync = Paws->service('Datasync');
    my $UpdateTaskResponse = $datasync->UpdateTask(
      TaskArn               => 'MyTaskArn',
      CloudWatchLogGroupArn => 'MyLogGroupArn',    # OPTIONAL
      Excludes              => [
          FilterType =>
            'SIMPLE_PATTERN',    # values: SIMPLE_PATTERNmax: 128; OPTIONAL
          Value => 'MyFilterValue',    # max: 409600; OPTIONAL
      ],                               # 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

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


CloudWatchLogGroupArn => Str

The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.

Excludes => ArrayRef[Paws::Datasync::FilterRule]

A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.

Name => Str

The name of the task to update.

Options => Paws::Datasync::Options

REQUIRED TaskArn => Str

The Amazon Resource Name (ARN) of the resource name of the task to update.


This class forms part of Paws, documenting arguments for method UpdateTask in Paws::Datasync


The source code is located here:

Please report bugs to: