File Coverage

blib/lib/Paws/StorageGateway/UpdateNFSFileShare.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::StorageGateway::UpdateNFSFileShare;
3 1     1   290 use Moose;
  1         2  
  1         7  
4             has ClientList => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has DefaultStorageClass => (is => 'ro', isa => 'Str');
6             has FileShareARN => (is => 'ro', isa => 'Str', required => 1);
7             has KMSEncrypted => (is => 'ro', isa => 'Bool');
8             has KMSKey => (is => 'ro', isa => 'Str');
9             has NFSFileShareDefaults => (is => 'ro', isa => 'Paws::StorageGateway::NFSFileShareDefaults');
10             has ReadOnly => (is => 'ro', isa => 'Bool');
11             has Squash => (is => 'ro', isa => 'Str');
12              
13 1     1   5494 use MooseX::ClassAttribute;
  1         3  
  1         8  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateNFSFileShare');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::StorageGateway::UpdateNFSFileShareOutput');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::StorageGateway::UpdateNFSFileShare - Arguments for method UpdateNFSFileShare on Paws::StorageGateway
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method UpdateNFSFileShare on the
29             AWS Storage Gateway service. Use the attributes of this class
30             as arguments to method UpdateNFSFileShare.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateNFSFileShare.
33              
34             As an example:
35              
36             $service_obj->UpdateNFSFileShare(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 ClientList => ArrayRef[Str|Undef]
44              
45             The list of clients that are allowed to access the file gateway. The
46             list must contain either valid IP addresses or valid CIDR blocks.
47              
48              
49              
50             =head2 DefaultStorageClass => Str
51              
52             The default storage class for objects put into an Amazon S3 bucket by a
53             file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If
54             this field is not populated, the default value S3_STANDARD is used.
55             Optional.
56              
57              
58              
59             =head2 B<REQUIRED> FileShareARN => Str
60              
61             The Amazon Resource Name (ARN) of the file share to be updated.
62              
63              
64              
65             =head2 KMSEncrypted => Bool
66              
67             True to use Amazon S3 server side encryption with your own AWS KMS key,
68             or false to use a key managed by Amazon S3. Optional.
69              
70              
71              
72             =head2 KMSKey => Str
73              
74             The KMS key used for Amazon S3 server side encryption. This value can
75             only be set when KmsEncrypted is true. Optional.
76              
77              
78              
79             =head2 NFSFileShareDefaults => L<Paws::StorageGateway::NFSFileShareDefaults>
80              
81             The default values for the file share. Optional.
82              
83              
84              
85             =head2 ReadOnly => Bool
86              
87             Sets the write status of a file share: "true" if the write status is
88             read-only, otherwise "false".
89              
90              
91              
92             =head2 Squash => Str
93              
94             The user mapped to anonymous user. Valid options are the following:
95              
96             =over
97              
98             =item *
99              
100             "RootSquash" - Only root is mapped to anonymous user.
101              
102             =item *
103              
104             "NoSquash" - No one is mapped to anonymous user
105              
106             =item *
107              
108             "AllSquash" - Everyone is mapped to anonymous user.
109              
110             =back
111              
112              
113              
114              
115              
116             =head1 SEE ALSO
117              
118             This class forms part of L<Paws>, documenting arguments for method UpdateNFSFileShare in L<Paws::StorageGateway>
119              
120             =head1 BUGS and CONTRIBUTIONS
121              
122             The source code is located here: https://github.com/pplu/aws-sdk-perl
123              
124             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
125              
126             =cut
127