blib/lib/Paws/FSX/DataRepositoryConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FSX::DataRepositoryConfiguration;
3 use Moose;
4 has AutoImportPolicy => (is => 'ro', isa => 'Str');
5 has ExportPath => (is => 'ro', isa => 'Str');
6 has FailureDetails => (is => 'ro', isa => 'Paws::FSX::DataRepositoryFailureDetails');
7 has ImportedFileChunkSize => (is => 'ro', isa => 'Int');
8 has ImportPath => (is => 'ro', isa => 'Str');
9 has Lifecycle => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::FSX::DataRepositoryConfiguration
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::FSX::DataRepositoryConfiguration object:
29  
30 $service_obj->Method(Att1 => { AutoImportPolicy => $value, ..., Lifecycle => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::FSX::DataRepositoryConfiguration object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->AutoImportPolicy
38  
39 =head1 DESCRIPTION
40  
41 The data repository configuration object for Lustre file systems
42 returned in the response of the C<CreateFileSystem> operation.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 AutoImportPolicy => Str
48  
49 Describes the file system's linked S3 data repository's
50 C<AutoImportPolicy>. The AutoImportPolicy configures how Amazon FSx
51 keeps your file and directory listings up to date as you add or modify
52 objects in your linked S3 bucket. C<AutoImportPolicy> can have the
53 following values:
54  
55 =over
56  
57 =item *
58  
59 C<NONE> - (Default) AutoImport is off. Amazon FSx only updates file and
60 directory listings from the linked S3 bucket when the file system is
61 created. FSx does not update file and directory listings for any new or
62 changed objects after choosing this option.
63  
64 =item *
65  
66 C<NEW> - AutoImport is on. Amazon FSx automatically imports directory
67 listings of any new objects added to the linked S3 bucket that do not
68 currently exist in the FSx file system.
69  
70 =item *
71  
72 C<NEW_CHANGED> - AutoImport is on. Amazon FSx automatically imports
73 file and directory listings of any new objects added to the S3 bucket
74 and any existing objects that are changed in the S3 bucket after you
75 choose this option.
76  
77 =back
78  
79 For more information, see Automatically import updates from your S3
80 bucket
81 (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html).
82  
83  
84 =head2 ExportPath => Str
85  
86 The export path to the Amazon S3 bucket (and prefix) that you are using
87 to store new and changed Lustre file system files in S3.
88  
89  
90 =head2 FailureDetails => L<Paws::FSX::DataRepositoryFailureDetails>
91  
92  
93  
94  
95 =head2 ImportedFileChunkSize => Int
96  
97 For files imported from a data repository, this value determines the
98 stripe count and maximum amount of data per file (in MiB) stored on a
99 single physical disk. The maximum number of disks that a single file
100 can be striped across is limited by the total number of disks that make
101 up the file system.
102  
103 The default chunk size is 1,024 MiB (1 GiB) and can go as high as
104 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
105  
106  
107 =head2 ImportPath => Str
108  
109 The import path to the Amazon S3 bucket (and optional prefix) that
110 you're using as the data repository for your FSx for Lustre file
111 system, for example C<s3://import-bucket/optional-prefix>. If a prefix
112 is specified after the Amazon S3 bucket name, only object keys with
113 that prefix are loaded into the file system.
114  
115  
116 =head2 Lifecycle => Str
117  
118 Describes the state of the file system's S3 durable data repository, if
119 it is configured with an S3 repository. The lifecycle can have the
120 following values:
121  
122 =over
123  
124 =item *
125  
126 C<CREATING> - The data repository configuration between the FSx file
127 system and the linked S3 data repository is being created. The data
128 repository is unavailable.
129  
130 =item *
131  
132 C<AVAILABLE> - The data repository is available for use.
133  
134 =item *
135  
136 C<MISCONFIGURED> - Amazon FSx cannot automatically import updates from
137 the S3 bucket until the data repository configuration is corrected. For
138 more information, see Troubleshooting a Misconfigured linked S3 bucket
139 (https://docs.aws.amazon.com/fsx/latest/LustreGuide/troubleshooting.html#troubleshooting-misconfigured-data-repository).
140  
141 =item *
142  
143 C<UPDATING> - The data repository is undergoing a customer initiated
144 update and availability may be impacted.
145  
146 =back
147  
148  
149  
150  
151 =head1 SEE ALSO
152  
153 This class forms part of L<Paws>, describing an object used in L<Paws::FSX>
154  
155 =head1 BUGS and CONTRIBUTIONS
156  
157 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
158  
159 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
160  
161 =cut
162