| 1 | |||
| 2 | package Paws::EFS::UpdateFileSystem; | ||
| 3 | use Moose; | ||
| 4 | has FileSystemId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FileSystemId', required => 1); | ||
| 5 | has ProvisionedThroughputInMibps => (is => 'ro', isa => 'Num'); | ||
| 6 | has ThroughputMode => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFileSystem'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-02-01/file-systems/{FileSystemId}'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EFS::FileSystemDescription'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::EFS::UpdateFileSystem - Arguments for method UpdateFileSystem on L<Paws::EFS> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateFileSystem on the | ||
| 25 | L<Amazon Elastic File System|Paws::EFS> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateFileSystem. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFileSystem. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $elasticfilesystem = Paws->service('EFS'); | ||
| 33 | my $FileSystemDescription = $elasticfilesystem->UpdateFileSystem( | ||
| 34 | FileSystemId => 'MyFileSystemId', | ||
| 35 | ProvisionedThroughputInMibps => 1, # OPTIONAL | ||
| 36 | ThroughputMode => 'bursting', # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $AvailabilityZoneId = $FileSystemDescription->AvailabilityZoneId; | ||
| 41 | my $AvailabilityZoneName = $FileSystemDescription->AvailabilityZoneName; | ||
| 42 | my $CreationTime = $FileSystemDescription->CreationTime; | ||
| 43 | my $CreationToken = $FileSystemDescription->CreationToken; | ||
| 44 | my $Encrypted = $FileSystemDescription->Encrypted; | ||
| 45 | my $FileSystemArn = $FileSystemDescription->FileSystemArn; | ||
| 46 | my $FileSystemId = $FileSystemDescription->FileSystemId; | ||
| 47 | my $KmsKeyId = $FileSystemDescription->KmsKeyId; | ||
| 48 | my $LifeCycleState = $FileSystemDescription->LifeCycleState; | ||
| 49 | my $Name = $FileSystemDescription->Name; | ||
| 50 | my $NumberOfMountTargets = $FileSystemDescription->NumberOfMountTargets; | ||
| 51 | my $OwnerId = $FileSystemDescription->OwnerId; | ||
| 52 | my $PerformanceMode = $FileSystemDescription->PerformanceMode; | ||
| 53 | my $ProvisionedThroughputInMibps = | ||
| 54 | $FileSystemDescription->ProvisionedThroughputInMibps; | ||
| 55 | my $SizeInBytes = $FileSystemDescription->SizeInBytes; | ||
| 56 | my $Tags = $FileSystemDescription->Tags; | ||
| 57 | my $ThroughputMode = $FileSystemDescription->ThroughputMode; | ||
| 58 | |||
| 59 | # Returns a L<Paws::EFS::FileSystemDescription> object. | ||
| 60 | |||
| 61 | 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. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem/UpdateFileSystem> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> FileSystemId => Str | ||
| 68 | |||
| 69 | The ID of the file system that you want to update. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 ProvisionedThroughputInMibps => Num | ||
| 74 | |||
| 75 | (Optional) Sets the amount of provisioned throughput, in MiB/s, for the | ||
| 76 | file system. Valid values are 1-1024. If you are changing the | ||
| 77 | throughput mode to provisioned, you must also provide the amount of | ||
| 78 | provisioned throughput. Required if C<ThroughputMode> is changed to | ||
| 79 | C<provisioned> on update. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 ThroughputMode => Str | ||
| 84 | |||
| 85 | (Optional) Updates the file system's throughput mode. If you're not | ||
| 86 | updating your throughput mode, you don't need to provide this value in | ||
| 87 | your request. If you are changing the C<ThroughputMode> to | ||
| 88 | C<provisioned>, you must also set a value for | ||
| 89 | C<ProvisionedThroughputInMibps>. | ||
| 90 | |||
| 91 | Valid values are: C<"bursting">, C<"provisioned"> | ||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, documenting arguments for method UpdateFileSystem in L<Paws::EFS> | ||
| 97 | |||
| 98 | =head1 BUGS and CONTRIBUTIONS | ||
| 99 | |||
| 100 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 101 | |||
| 102 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 103 | |||
| 104 | =cut | ||
| 105 |