NAME

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

DESCRIPTION

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

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

SYNOPSIS

   my $storagegateway = Paws->service('StorageGateway');
# To add a cache
# The following example shows a request that activates a gateway-stored volume.
   my $AddCacheOutput = $storagegateway->AddCache(
     'DiskIds' =>
       [ 'pci-0000:03:00.0-scsi-0:0:0:0', 'pci-0000:03:00.0-scsi-0:0:1:0' ],
     'GatewayARN' =>
       'arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B'
   );

   # Results:
   my $GatewayARN = $AddCacheOutput->GatewayARN;

   # Returns a L<Paws::StorageGateway::AddCacheOutput> 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/AddCache

ATTRIBUTES

REQUIRED DiskIds => ArrayRef[Str|Undef]

An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

REQUIRED GatewayARN => Str

SEE ALSO

This class forms part of Paws, documenting arguments for method AddCache 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