The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::StorageGateway::RefreshCache - Arguments for method RefreshCache on Paws::StorageGateway

DESCRIPTION

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

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

SYNOPSIS

    my $storagegateway = Paws->service('StorageGateway');
    my $RefreshCacheOutput = $storagegateway->RefreshCache(
      FileShareARN => 'MyFileShareARN',
      FolderList   => [
        'MyFolder', ...    # min: 1, max: 1024
      ],    # OPTIONAL
      Recursive => 1,    # OPTIONAL
    );

    # Results:
    my $FileShareARN   = $RefreshCacheOutput->FileShareARN;
    my $NotificationId = $RefreshCacheOutput->NotificationId;

    # Returns a L<Paws::StorageGateway::RefreshCacheOutput> 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/storagegateway/RefreshCache

ATTRIBUTES

REQUIRED FileShareARN => Str

The Amazon Resource Name (ARN) of the file share you want to refresh.

FolderList => ArrayRef[Str|Undef]

A comma-separated list of the paths of folders to refresh in the cache. The default is ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that the file share has access to is refreshed.

Recursive => Bool

A value that specifies whether to recursively refresh folders in the cache. The refresh includes folders that were in the cache the last time the gateway listed the folder's contents. If this value set to true, each folder that is listed in FolderList is recursively updated. Otherwise, subfolders listed in FolderList are not refreshed. Only objects that are in folders listed directly under FolderList are found and used for the update. The default is true.

Valid Values: true | false

SEE ALSO

This class forms part of Paws, documenting arguments for method RefreshCache in Paws::StorageGateway

BUGS and CONTRIBUTIONS

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