| 1 | package Paws::EFS; | ||||||||||
| 2 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 6 | ▶ | sub service { 'elasticfilesystem' } | ||||||||
|
Subroutine
service: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 4 | 6 | ▶ | sub signing_name { 'elasticfilesystem' } | ||||||||
|
Subroutine
signing_name: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 5 | 0 | ▶ | sub version { '2015-02-01' } | ||||||||
|
Subroutine
version: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 6 | 0 | ▶ | sub flattened_arrays { 0 } | ||||||||
|
Subroutine
flattened_arrays: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 7 | 2 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | |||||||||
| 8 | 6 | ▶ | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 6 | { base => 'rand', type => 'exponential', growth_factor => 2 } | |||||||||
| 10 | 2 | }); | |||||||||
| 11 | 6 | ▶ | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 6 | ] }); | |||||||||
| 13 | |||||||||||
| 14 | 2 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | |||||||||
| 15 | |||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub CreateAccessPoint { | ||||||||
|
Subroutine
CreateAccessPoint: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 18 | 0 | my $self = shift; | |||||||||
| 19 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::CreateAccessPoint', @_); | |||||||||
| 20 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 21 | } | ||||||||||
| 22 | 3 | ▶ | sub CreateFileSystem { | ||||||||
|
Subroutine
CreateFileSystem: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 23 | 3 | my $self = shift; | |||||||||
| 24 | 3 | my $call_object = $self->new_with_coercions('Paws::EFS::CreateFileSystem', @_); | |||||||||
| 25 | 3 | return $self->caller->do_call($self, $call_object); | |||||||||
| 26 | } | ||||||||||
| 27 | 0 | ▶ | sub CreateMountTarget { | ||||||||
|
Subroutine
CreateMountTarget: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 28 | 0 | my $self = shift; | |||||||||
| 29 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::CreateMountTarget', @_); | |||||||||
| 30 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 31 | } | ||||||||||
| 32 | 0 | ▶ | sub CreateTags { | ||||||||
|
Subroutine
CreateTags: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 33 | 0 | my $self = shift; | |||||||||
| 34 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::CreateTags', @_); | |||||||||
| 35 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 36 | } | ||||||||||
| 37 | 0 | ▶ | sub DeleteAccessPoint { | ||||||||
|
Subroutine
DeleteAccessPoint: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 38 | 0 | my $self = shift; | |||||||||
| 39 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DeleteAccessPoint', @_); | |||||||||
| 40 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 41 | } | ||||||||||
| 42 | 1 | ▶ | sub DeleteFileSystem { | ||||||||
|
Subroutine
DeleteFileSystem: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 43 | 1 | my $self = shift; | |||||||||
| 44 | 1 | my $call_object = $self->new_with_coercions('Paws::EFS::DeleteFileSystem', @_); | |||||||||
| 45 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 46 | } | ||||||||||
| 47 | 0 | ▶ | sub DeleteFileSystemPolicy { | ||||||||
|
Subroutine
DeleteFileSystemPolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 48 | 0 | my $self = shift; | |||||||||
| 49 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DeleteFileSystemPolicy', @_); | |||||||||
| 50 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 51 | } | ||||||||||
| 52 | 0 | ▶ | sub DeleteMountTarget { | ||||||||
|
Subroutine
DeleteMountTarget: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 53 | 0 | my $self = shift; | |||||||||
| 54 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DeleteMountTarget', @_); | |||||||||
| 55 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 56 | } | ||||||||||
| 57 | 0 | ▶ | sub DeleteTags { | ||||||||
|
Subroutine
DeleteTags: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 58 | 0 | my $self = shift; | |||||||||
| 59 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DeleteTags', @_); | |||||||||
| 60 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 61 | } | ||||||||||
| 62 | 0 | ▶ | sub DescribeAccessPoints { | ||||||||
|
Subroutine
DescribeAccessPoints: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 63 | 0 | my $self = shift; | |||||||||
| 64 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeAccessPoints', @_); | |||||||||
| 65 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 66 | } | ||||||||||
| 67 | 0 | ▶ | sub DescribeAccountPreferences { | ||||||||
|
Subroutine
DescribeAccountPreferences: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 68 | 0 | my $self = shift; | |||||||||
| 69 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeAccountPreferences', @_); | |||||||||
| 70 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 71 | } | ||||||||||
| 72 | 0 | ▶ | sub DescribeBackupPolicy { | ||||||||
|
Subroutine
DescribeBackupPolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 73 | 0 | my $self = shift; | |||||||||
| 74 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeBackupPolicy', @_); | |||||||||
| 75 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 76 | } | ||||||||||
| 77 | 0 | ▶ | sub DescribeFileSystemPolicy { | ||||||||
|
Subroutine
DescribeFileSystemPolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 78 | 0 | my $self = shift; | |||||||||
| 79 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeFileSystemPolicy', @_); | |||||||||
| 80 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 81 | } | ||||||||||
| 82 | 2 | ▶ | sub DescribeFileSystems { | ||||||||
|
Subroutine
DescribeFileSystems: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 83 | 2 | my $self = shift; | |||||||||
| 84 | 2 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeFileSystems', @_); | |||||||||
| 85 | 2 | return $self->caller->do_call($self, $call_object); | |||||||||
| 86 | } | ||||||||||
| 87 | 0 | ▶ | sub DescribeLifecycleConfiguration { | ||||||||
|
Subroutine
DescribeLifecycleConfiguration: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 88 | 0 | my $self = shift; | |||||||||
| 89 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeLifecycleConfiguration', @_); | |||||||||
| 90 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 91 | } | ||||||||||
| 92 | 0 | ▶ | sub DescribeMountTargets { | ||||||||
|
Subroutine
DescribeMountTargets: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 93 | 0 | my $self = shift; | |||||||||
| 94 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeMountTargets', @_); | |||||||||
| 95 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 96 | } | ||||||||||
| 97 | 0 | ▶ | sub DescribeMountTargetSecurityGroups { | ||||||||
|
Subroutine
DescribeMountTargetSecurityGroups: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 98 | 0 | my $self = shift; | |||||||||
| 99 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeMountTargetSecurityGroups', @_); | |||||||||
| 100 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 101 | } | ||||||||||
| 102 | 0 | ▶ | sub DescribeTags { | ||||||||
|
Subroutine
DescribeTags: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 103 | 0 | my $self = shift; | |||||||||
| 104 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::DescribeTags', @_); | |||||||||
| 105 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 106 | } | ||||||||||
| 107 | 0 | ▶ | sub ListTagsForResource { | ||||||||
|
Subroutine
ListTagsForResource: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 108 | 0 | my $self = shift; | |||||||||
| 109 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::ListTagsForResource', @_); | |||||||||
| 110 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 111 | } | ||||||||||
| 112 | 0 | ▶ | sub ModifyMountTargetSecurityGroups { | ||||||||
|
Subroutine
ModifyMountTargetSecurityGroups: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 113 | 0 | my $self = shift; | |||||||||
| 114 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::ModifyMountTargetSecurityGroups', @_); | |||||||||
| 115 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 116 | } | ||||||||||
| 117 | 0 | ▶ | sub PutAccountPreferences { | ||||||||
|
Subroutine
PutAccountPreferences: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 118 | 0 | my $self = shift; | |||||||||
| 119 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::PutAccountPreferences', @_); | |||||||||
| 120 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 121 | } | ||||||||||
| 122 | 0 | ▶ | sub PutBackupPolicy { | ||||||||
|
Subroutine
PutBackupPolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 123 | 0 | my $self = shift; | |||||||||
| 124 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::PutBackupPolicy', @_); | |||||||||
| 125 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 126 | } | ||||||||||
| 127 | 0 | ▶ | sub PutFileSystemPolicy { | ||||||||
|
Subroutine
PutFileSystemPolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 128 | 0 | my $self = shift; | |||||||||
| 129 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::PutFileSystemPolicy', @_); | |||||||||
| 130 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 131 | } | ||||||||||
| 132 | 0 | ▶ | sub PutLifecycleConfiguration { | ||||||||
|
Subroutine
PutLifecycleConfiguration: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 133 | 0 | my $self = shift; | |||||||||
| 134 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::PutLifecycleConfiguration', @_); | |||||||||
| 135 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 136 | } | ||||||||||
| 137 | 0 | ▶ | sub TagResource { | ||||||||
|
Subroutine
TagResource: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 138 | 0 | my $self = shift; | |||||||||
| 139 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::TagResource', @_); | |||||||||
| 140 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 141 | } | ||||||||||
| 142 | 0 | ▶ | sub UntagResource { | ||||||||
|
Subroutine
UntagResource: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 143 | 0 | my $self = shift; | |||||||||
| 144 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::UntagResource', @_); | |||||||||
| 145 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 146 | } | ||||||||||
| 147 | 0 | ▶ | sub UpdateFileSystem { | ||||||||
|
Subroutine
UpdateFileSystem: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 148 | 0 | my $self = shift; | |||||||||
| 149 | 0 | my $call_object = $self->new_with_coercions('Paws::EFS::UpdateFileSystem', @_); | |||||||||
| 150 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 151 | } | ||||||||||
| 152 | |||||||||||
| 153 | 0 | ▶ | sub DescribeAllFileSystems { | ||||||||
|
Subroutine
DescribeAllFileSystems: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 154 | 0 | my $self = shift; | |||||||||
| 155 | |||||||||||
| 156 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 157 | 0 | my $result = $self->DescribeFileSystems(@_); | |||||||||
| 158 | 0 | my $next_result = $result; | |||||||||
| 159 | |||||||||||
| 160 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 161 | 0 | ▶ | while ($next_result->NextMarker) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 162 | 0 | $next_result = $self->DescribeFileSystems(@_, Marker => $next_result->NextMarker); | |||||||||
| 163 | 0 | push @{ $result->FileSystems }, @{ $next_result->FileSystems }; | |||||||||
| 164 | } | ||||||||||
| 165 | 0 | return $result; | |||||||||
| 166 | } else { | ||||||||||
| 167 | 0 | ▶ | while ($result->NextMarker) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 168 | 0 | $callback->($_ => 'FileSystems') foreach (@{ $result->FileSystems }); | |||||||||
| 169 | 0 | $result = $self->DescribeFileSystems(@_, Marker => $result->NextMarker); | |||||||||
| 170 | } | ||||||||||
| 171 | 0 | $callback->($_ => 'FileSystems') foreach (@{ $result->FileSystems }); | |||||||||
| 172 | } | ||||||||||
| 173 | |||||||||||
| 174 | return undef | ||||||||||
| 175 | 0 | } | |||||||||
| 176 | 0 | ▶ | sub DescribeAllMountTargets { | ||||||||
|
Subroutine
DescribeAllMountTargets: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 177 | 0 | my $self = shift; | |||||||||
| 178 | |||||||||||
| 179 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 180 | 0 | my $result = $self->DescribeMountTargets(@_); | |||||||||
| 181 | 0 | my $next_result = $result; | |||||||||
| 182 | |||||||||||
| 183 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 184 | 0 | ▶ | while ($next_result->NextMarker) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 185 | 0 | $next_result = $self->DescribeMountTargets(@_, Marker => $next_result->NextMarker); | |||||||||
| 186 | 0 | push @{ $result->MountTargets }, @{ $next_result->MountTargets }; | |||||||||
| 187 | } | ||||||||||
| 188 | 0 | return $result; | |||||||||
| 189 | } else { | ||||||||||
| 190 | 0 | ▶ | while ($result->NextMarker) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 191 | 0 | $callback->($_ => 'MountTargets') foreach (@{ $result->MountTargets }); | |||||||||
| 192 | 0 | $result = $self->DescribeMountTargets(@_, Marker => $result->NextMarker); | |||||||||
| 193 | } | ||||||||||
| 194 | 0 | $callback->($_ => 'MountTargets') foreach (@{ $result->MountTargets }); | |||||||||
| 195 | } | ||||||||||
| 196 | |||||||||||
| 197 | return undef | ||||||||||
| 198 | 0 | } | |||||||||
| 199 | 0 | ▶ | sub DescribeAllTags { | ||||||||
|
Subroutine
DescribeAllTags: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 200 | 0 | my $self = shift; | |||||||||
| 201 | |||||||||||
| 202 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 203 | 0 | my $result = $self->DescribeTags(@_); | |||||||||
| 204 | 0 | my $next_result = $result; | |||||||||
| 205 | |||||||||||
| 206 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 207 | 0 | ▶ | while ($next_result->NextMarker) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 208 | 0 | $next_result = $self->DescribeTags(@_, Marker => $next_result->NextMarker); | |||||||||
| 209 | 0 | push @{ $result->Tags }, @{ $next_result->Tags }; | |||||||||
| 210 | } | ||||||||||
| 211 | 0 | return $result; | |||||||||
| 212 | } else { | ||||||||||
| 213 | 0 | ▶ | while ($result->NextMarker) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 214 | 0 | $callback->($_ => 'Tags') foreach (@{ $result->Tags }); | |||||||||
| 215 | 0 | $result = $self->DescribeTags(@_, Marker => $result->NextMarker); | |||||||||
| 216 | } | ||||||||||
| 217 | 0 | $callback->($_ => 'Tags') foreach (@{ $result->Tags }); | |||||||||
| 218 | } | ||||||||||
| 219 | |||||||||||
| 220 | return undef | ||||||||||
| 221 | 0 | } | |||||||||
| 222 | |||||||||||
| 223 | |||||||||||
| 224 | 0 | ▶ | sub operations { qw/CreateAccessPoint CreateFileSystem CreateMountTarget CreateTags DeleteAccessPoint DeleteFileSystem DeleteFileSystemPolicy DeleteMountTarget DeleteTags DescribeAccessPoints DescribeAccountPreferences DescribeBackupPolicy DescribeFileSystemPolicy DescribeFileSystems DescribeLifecycleConfiguration DescribeMountTargets DescribeMountTargetSecurityGroups DescribeTags ListTagsForResource ModifyMountTargetSecurityGroups PutAccountPreferences PutBackupPolicy PutFileSystemPolicy PutLifecycleConfiguration TagResource UntagResource UpdateFileSystem / } | ||||||||
|
Subroutine
operations: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 225 | |||||||||||
| 226 | 2 | 1; | |||||||||
| 227 | |||||||||||
| 228 | ### main pod documentation begin ### | ||||||||||
| 229 | |||||||||||
| 230 | =head1 NAME | ||||||||||
| 231 | |||||||||||
| 232 | Paws::EFS - Perl Interface to AWS Amazon Elastic File System | ||||||||||
| 233 | |||||||||||
| 234 | =head1 SYNOPSIS | ||||||||||
| 235 | |||||||||||
| 236 | use Paws; | ||||||||||
| 237 | |||||||||||
| 238 | my $obj = Paws->service('EFS'); | ||||||||||
| 239 | my $res = $obj->Method( | ||||||||||
| 240 | Arg1 => $val1, | ||||||||||
| 241 | Arg2 => [ 'V1', 'V2' ], | ||||||||||
| 242 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||||||||||
| 243 | # of the arguments type | ||||||||||
| 244 | Arg3 => { Att1 => 'Val1' }, | ||||||||||
| 245 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||||||||||
| 246 | # the constructor of the arguments type | ||||||||||
| 247 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||||||||||
| 248 | ); | ||||||||||
| 249 | |||||||||||
| 250 | =head1 DESCRIPTION | ||||||||||
| 251 | |||||||||||
| 252 | Amazon Elastic File System | ||||||||||
| 253 | |||||||||||
| 254 | Amazon Elastic File System (Amazon EFS) provides simple, scalable file | ||||||||||
| 255 | storage for use with Amazon EC2 instances in the AWS Cloud. With Amazon | ||||||||||
| 256 | EFS, storage capacity is elastic, growing and shrinking automatically | ||||||||||
| 257 | as you add and remove files, so your applications have the storage they | ||||||||||
| 258 | need, when they need it. For more information, see the Amazon Elastic | ||||||||||
| 259 | File System API Reference | ||||||||||
| 260 | (https://docs.aws.amazon.com/efs/latest/ug/api-reference.html) and the | ||||||||||
| 261 | Amazon Elastic File System User Guide | ||||||||||
| 262 | (https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html). | ||||||||||
| 263 | |||||||||||
| 264 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01> | ||||||||||
| 265 | |||||||||||
| 266 | |||||||||||
| 267 | =head1 METHODS | ||||||||||
| 268 | |||||||||||
| 269 | =head2 CreateAccessPoint | ||||||||||
| 270 | |||||||||||
| 271 | =over | ||||||||||
| 272 | |||||||||||
| 273 | =item ClientToken => Str | ||||||||||
| 274 | |||||||||||
| 275 | =item FileSystemId => Str | ||||||||||
| 276 | |||||||||||
| 277 | =item [PosixUser => L<Paws::EFS::PosixUser>] | ||||||||||
| 278 | |||||||||||
| 279 | =item [RootDirectory => L<Paws::EFS::RootDirectory>] | ||||||||||
| 280 | |||||||||||
| 281 | =item [Tags => ArrayRef[L<Paws::EFS::Tag>]] | ||||||||||
| 282 | |||||||||||
| 283 | |||||||||||
| 284 | =back | ||||||||||
| 285 | |||||||||||
| 286 | Each argument is described in detail in: L<Paws::EFS::CreateAccessPoint> | ||||||||||
| 287 | |||||||||||
| 288 | Returns: a L<Paws::EFS::AccessPointDescription> instance | ||||||||||
| 289 | |||||||||||
| 290 | Creates an EFS access point. An access point is an application-specific | ||||||||||
| 291 | view into an EFS file system that applies an operating system user and | ||||||||||
| 292 | group, and a file system path, to any file system request made through | ||||||||||
| 293 | the access point. The operating system user and group override any | ||||||||||
| 294 | identity information provided by the NFS client. The file system path | ||||||||||
| 295 | is exposed as the access point's root directory. Applications using the | ||||||||||
| 296 | access point can only access data in its own directory and below. To | ||||||||||
| 297 | learn more, see Mounting a file system using EFS access points | ||||||||||
| 298 | (https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html). | ||||||||||
| 299 | |||||||||||
| 300 | This operation requires permissions for the | ||||||||||
| 301 | C<elasticfilesystem:CreateAccessPoint> action. | ||||||||||
| 302 | |||||||||||
| 303 | |||||||||||
| 304 | =head2 CreateFileSystem | ||||||||||
| 305 | |||||||||||
| 306 | =over | ||||||||||
| 307 | |||||||||||
| 308 | =item CreationToken => Str | ||||||||||
| 309 | |||||||||||
| 310 | =item [AvailabilityZoneName => Str] | ||||||||||
| 311 | |||||||||||
| 312 | =item [Backup => Bool] | ||||||||||
| 313 | |||||||||||
| 314 | =item [Encrypted => Bool] | ||||||||||
| 315 | |||||||||||
| 316 | =item [KmsKeyId => Str] | ||||||||||
| 317 | |||||||||||
| 318 | =item [PerformanceMode => Str] | ||||||||||
| 319 | |||||||||||
| 320 | =item [ProvisionedThroughputInMibps => Num] | ||||||||||
| 321 | |||||||||||
| 322 | =item [Tags => ArrayRef[L<Paws::EFS::Tag>]] | ||||||||||
| 323 | |||||||||||
| 324 | =item [ThroughputMode => Str] | ||||||||||
| 325 | |||||||||||
| 326 | |||||||||||
| 327 | =back | ||||||||||
| 328 | |||||||||||
| 329 | Each argument is described in detail in: L<Paws::EFS::CreateFileSystem> | ||||||||||
| 330 | |||||||||||
| 331 | Returns: a L<Paws::EFS::FileSystemDescription> instance | ||||||||||
| 332 | |||||||||||
| 333 | Creates a new, empty file system. The operation requires a creation | ||||||||||
| 334 | token in the request that Amazon EFS uses to ensure idempotent creation | ||||||||||
| 335 | (calling the operation with same creation token has no effect). If a | ||||||||||
| 336 | file system does not currently exist that is owned by the caller's AWS | ||||||||||
| 337 | account with the specified creation token, this operation does the | ||||||||||
| 338 | following: | ||||||||||
| 339 | |||||||||||
| 340 | =over | ||||||||||
| 341 | |||||||||||
| 342 | =item * | ||||||||||
| 343 | |||||||||||
| 344 | Creates a new, empty file system. The file system will have an Amazon | ||||||||||
| 345 | EFS assigned ID, and an initial lifecycle state C<creating>. | ||||||||||
| 346 | |||||||||||
| 347 | =item * | ||||||||||
| 348 | |||||||||||
| 349 | Returns with the description of the created file system. | ||||||||||
| 350 | |||||||||||
| 351 | =back | ||||||||||
| 352 | |||||||||||
| 353 | Otherwise, this operation returns a C<FileSystemAlreadyExists> error | ||||||||||
| 354 | with the ID of the existing file system. | ||||||||||
| 355 | |||||||||||
| 356 | For basic use cases, you can use a randomly generated UUID for the | ||||||||||
| 357 | creation token. | ||||||||||
| 358 | |||||||||||
| 359 | The idempotent operation allows you to retry a C<CreateFileSystem> call | ||||||||||
| 360 | without risk of creating an extra file system. This can happen when an | ||||||||||
| 361 | initial call fails in a way that leaves it uncertain whether or not a | ||||||||||
| 362 | file system was actually created. An example might be that a transport | ||||||||||
| 363 | level timeout occurred or your connection was reset. As long as you use | ||||||||||
| 364 | the same creation token, if the initial call had succeeded in creating | ||||||||||
| 365 | a file system, the client can learn of its existence from the | ||||||||||
| 366 | C<FileSystemAlreadyExists> error. | ||||||||||
| 367 | |||||||||||
| 368 | For more information, see Creating a file system | ||||||||||
| 369 | (https://docs.aws.amazon.com/efs/latest/ug/creating-using-create-fs.html#creating-using-create-fs-part1) | ||||||||||
| 370 | in the I<Amazon EFS User Guide>. | ||||||||||
| 371 | |||||||||||
| 372 | The C<CreateFileSystem> call returns while the file system's lifecycle | ||||||||||
| 373 | state is still C<creating>. You can check the file system creation | ||||||||||
| 374 | status by calling the DescribeFileSystems operation, which among other | ||||||||||
| 375 | things returns the file system state. | ||||||||||
| 376 | |||||||||||
| 377 | This operation accepts an optional C<PerformanceMode> parameter that | ||||||||||
| 378 | you choose for your file system. We recommend C<generalPurpose> | ||||||||||
| 379 | performance mode for most file systems. File systems using the C<maxIO> | ||||||||||
| 380 | performance mode can scale to higher levels of aggregate throughput and | ||||||||||
| 381 | operations per second with a tradeoff of slightly higher latencies for | ||||||||||
| 382 | most file operations. The performance mode can't be changed after the | ||||||||||
| 383 | file system has been created. For more information, see Amazon EFS | ||||||||||
| 384 | performance modes | ||||||||||
| 385 | (https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html). | ||||||||||
| 386 | |||||||||||
| 387 | You can set the throughput mode for the file system using the | ||||||||||
| 388 | C<ThroughputMode> parameter. | ||||||||||
| 389 | |||||||||||
| 390 | After the file system is fully created, Amazon EFS sets its lifecycle | ||||||||||
| 391 | state to C<available>, at which point you can create one or more mount | ||||||||||
| 392 | targets for the file system in your VPC. For more information, see | ||||||||||
| 393 | CreateMountTarget. You mount your Amazon EFS file system on an EC2 | ||||||||||
| 394 | instances in your VPC by using the mount target. For more information, | ||||||||||
| 395 | see Amazon EFS: How it Works | ||||||||||
| 396 | (https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html). | ||||||||||
| 397 | |||||||||||
| 398 | This operation requires permissions for the | ||||||||||
| 399 | C<elasticfilesystem:CreateFileSystem> action. | ||||||||||
| 400 | |||||||||||
| 401 | |||||||||||
| 402 | =head2 CreateMountTarget | ||||||||||
| 403 | |||||||||||
| 404 | =over | ||||||||||
| 405 | |||||||||||
| 406 | =item FileSystemId => Str | ||||||||||
| 407 | |||||||||||
| 408 | =item SubnetId => Str | ||||||||||
| 409 | |||||||||||
| 410 | =item [IpAddress => Str] | ||||||||||
| 411 | |||||||||||
| 412 | =item [SecurityGroups => ArrayRef[Str|Undef]] | ||||||||||
| 413 | |||||||||||
| 414 | |||||||||||
| 415 | =back | ||||||||||
| 416 | |||||||||||
| 417 | Each argument is described in detail in: L<Paws::EFS::CreateMountTarget> | ||||||||||
| 418 | |||||||||||
| 419 | Returns: a L<Paws::EFS::MountTargetDescription> instance | ||||||||||
| 420 | |||||||||||
| 421 | Creates a mount target for a file system. You can then mount the file | ||||||||||
| 422 | system on EC2 instances by using the mount target. | ||||||||||
| 423 | |||||||||||
| 424 | You can create one mount target in each Availability Zone in your VPC. | ||||||||||
| 425 | All EC2 instances in a VPC within a given Availability Zone share a | ||||||||||
| 426 | single mount target for a given file system. If you have multiple | ||||||||||
| 427 | subnets in an Availability Zone, you create a mount target in one of | ||||||||||
| 428 | the subnets. EC2 instances do not need to be in the same subnet as the | ||||||||||
| 429 | mount target in order to access their file system. | ||||||||||
| 430 | |||||||||||
| 431 | You can create only one mount target for an EFS file system using One | ||||||||||
| 432 | Zone storage classes. You must create that mount target in the same | ||||||||||
| 433 | Availability Zone in which the file system is located. Use the | ||||||||||
| 434 | C<AvailabilityZoneName> and C<AvailabiltyZoneId> properties in the | ||||||||||
| 435 | DescribeFileSystems response object to get this information. Use the | ||||||||||
| 436 | C<subnetId> associated with the file system's Availability Zone when | ||||||||||
| 437 | creating the mount target. | ||||||||||
| 438 | |||||||||||
| 439 | For more information, see Amazon EFS: How it Works | ||||||||||
| 440 | (https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html). | ||||||||||
| 441 | |||||||||||
| 442 | To create a mount target for a file system, the file system's lifecycle | ||||||||||
| 443 | state must be C<available>. For more information, see | ||||||||||
| 444 | DescribeFileSystems. | ||||||||||
| 445 | |||||||||||
| 446 | In the request, provide the following: | ||||||||||
| 447 | |||||||||||
| 448 | =over | ||||||||||
| 449 | |||||||||||
| 450 | =item * | ||||||||||
| 451 | |||||||||||
| 452 | The file system ID for which you are creating the mount target. | ||||||||||
| 453 | |||||||||||
| 454 | =item * | ||||||||||
| 455 | |||||||||||
| 456 | A subnet ID, which determines the following: | ||||||||||
| 457 | |||||||||||
| 458 | =over | ||||||||||
| 459 | |||||||||||
| 460 | =item * | ||||||||||
| 461 | |||||||||||
| 462 | The VPC in which Amazon EFS creates the mount target | ||||||||||
| 463 | |||||||||||
| 464 | =item * | ||||||||||
| 465 | |||||||||||
| 466 | The Availability Zone in which Amazon EFS creates the mount target | ||||||||||
| 467 | |||||||||||
| 468 | =item * | ||||||||||
| 469 | |||||||||||
| 470 | The IP address range from which Amazon EFS selects the IP address of | ||||||||||
| 471 | the mount target (if you don't specify an IP address in the request) | ||||||||||
| 472 | |||||||||||
| 473 | =back | ||||||||||
| 474 | |||||||||||
| 475 | =back | ||||||||||
| 476 | |||||||||||
| 477 | After creating the mount target, Amazon EFS returns a response that | ||||||||||
| 478 | includes, a C<MountTargetId> and an C<IpAddress>. You use this IP | ||||||||||
| 479 | address when mounting the file system in an EC2 instance. You can also | ||||||||||
| 480 | use the mount target's DNS name when mounting the file system. The EC2 | ||||||||||
| 481 | instance on which you mount the file system by using the mount target | ||||||||||
| 482 | can resolve the mount target's DNS name to its IP address. For more | ||||||||||
| 483 | information, see How it Works: Implementation Overview | ||||||||||
| 484 | (https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation). | ||||||||||
| 485 | |||||||||||
| 486 | Note that you can create mount targets for a file system in only one | ||||||||||
| 487 | VPC, and there can be only one mount target per Availability Zone. That | ||||||||||
| 488 | is, if the file system already has one or more mount targets created | ||||||||||
| 489 | for it, the subnet specified in the request to add another mount target | ||||||||||
| 490 | must meet the following requirements: | ||||||||||
| 491 | |||||||||||
| 492 | =over | ||||||||||
| 493 | |||||||||||
| 494 | =item * | ||||||||||
| 495 | |||||||||||
| 496 | Must belong to the same VPC as the subnets of the existing mount | ||||||||||
| 497 | targets | ||||||||||
| 498 | |||||||||||
| 499 | =item * | ||||||||||
| 500 | |||||||||||
| 501 | Must not be in the same Availability Zone as any of the subnets of the | ||||||||||
| 502 | existing mount targets | ||||||||||
| 503 | |||||||||||
| 504 | =back | ||||||||||
| 505 | |||||||||||
| 506 | If the request satisfies the requirements, Amazon EFS does the | ||||||||||
| 507 | following: | ||||||||||
| 508 | |||||||||||
| 509 | =over | ||||||||||
| 510 | |||||||||||
| 511 | =item * | ||||||||||
| 512 | |||||||||||
| 513 | Creates a new mount target in the specified subnet. | ||||||||||
| 514 | |||||||||||
| 515 | =item * | ||||||||||
| 516 | |||||||||||
| 517 | Also creates a new network interface in the subnet as follows: | ||||||||||
| 518 | |||||||||||
| 519 | =over | ||||||||||
| 520 | |||||||||||
| 521 | =item * | ||||||||||
| 522 | |||||||||||
| 523 | If the request provides an C<IpAddress>, Amazon EFS assigns that IP | ||||||||||
| 524 | address to the network interface. Otherwise, Amazon EFS assigns a free | ||||||||||
| 525 | address in the subnet (in the same way that the Amazon EC2 | ||||||||||
| 526 | C<CreateNetworkInterface> call does when a request does not specify a | ||||||||||
| 527 | primary private IP address). | ||||||||||
| 528 | |||||||||||
| 529 | =item * | ||||||||||
| 530 | |||||||||||
| 531 | If the request provides C<SecurityGroups>, this network interface is | ||||||||||
| 532 | associated with those security groups. Otherwise, it belongs to the | ||||||||||
| 533 | default security group for the subnet's VPC. | ||||||||||
| 534 | |||||||||||
| 535 | =item * | ||||||||||
| 536 | |||||||||||
| 537 | Assigns the description C<Mount target I<fsmt-id> for file system | ||||||||||
| 538 | I<fs-id> > where C< I<fsmt-id> > is the mount target ID, and C< | ||||||||||
| 539 | I<fs-id> > is the C<FileSystemId>. | ||||||||||
| 540 | |||||||||||
| 541 | =item * | ||||||||||
| 542 | |||||||||||
| 543 | Sets the C<requesterManaged> property of the network interface to | ||||||||||
| 544 | C<true>, and the C<requesterId> value to C<EFS>. | ||||||||||
| 545 | |||||||||||
| 546 | =back | ||||||||||
| 547 | |||||||||||
| 548 | Each Amazon EFS mount target has one corresponding requester-managed | ||||||||||
| 549 | EC2 network interface. After the network interface is created, Amazon | ||||||||||
| 550 | EFS sets the C<NetworkInterfaceId> field in the mount target's | ||||||||||
| 551 | description to the network interface ID, and the C<IpAddress> field to | ||||||||||
| 552 | its address. If network interface creation fails, the entire | ||||||||||
| 553 | C<CreateMountTarget> operation fails. | ||||||||||
| 554 | |||||||||||
| 555 | =back | ||||||||||
| 556 | |||||||||||
| 557 | The C<CreateMountTarget> call returns only after creating the network | ||||||||||
| 558 | interface, but while the mount target state is still C<creating>, you | ||||||||||
| 559 | can check the mount target creation status by calling the | ||||||||||
| 560 | DescribeMountTargets operation, which among other things returns the | ||||||||||
| 561 | mount target state. | ||||||||||
| 562 | |||||||||||
| 563 | We recommend that you create a mount target in each of the Availability | ||||||||||
| 564 | Zones. There are cost considerations for using a file system in an | ||||||||||
| 565 | Availability Zone through a mount target created in another | ||||||||||
| 566 | Availability Zone. For more information, see Amazon EFS | ||||||||||
| 567 | (http://aws.amazon.com/efs/). In addition, by always using a mount | ||||||||||
| 568 | target local to the instance's Availability Zone, you eliminate a | ||||||||||
| 569 | partial failure scenario. If the Availability Zone in which your mount | ||||||||||
| 570 | target is created goes down, then you can't access your file system | ||||||||||
| 571 | through that mount target. | ||||||||||
| 572 | |||||||||||
| 573 | This operation requires permissions for the following action on the | ||||||||||
| 574 | file system: | ||||||||||
| 575 | |||||||||||
| 576 | =over | ||||||||||
| 577 | |||||||||||
| 578 | =item * | ||||||||||
| 579 | |||||||||||
| 580 | C<elasticfilesystem:CreateMountTarget> | ||||||||||
| 581 | |||||||||||
| 582 | =back | ||||||||||
| 583 | |||||||||||
| 584 | This operation also requires permissions for the following Amazon EC2 | ||||||||||
| 585 | actions: | ||||||||||
| 586 | |||||||||||
| 587 | =over | ||||||||||
| 588 | |||||||||||
| 589 | =item * | ||||||||||
| 590 | |||||||||||
| 591 | C<ec2:DescribeSubnets> | ||||||||||
| 592 | |||||||||||
| 593 | =item * | ||||||||||
| 594 | |||||||||||
| 595 | C<ec2:DescribeNetworkInterfaces> | ||||||||||
| 596 | |||||||||||
| 597 | =item * | ||||||||||
| 598 | |||||||||||
| 599 | C<ec2:CreateNetworkInterface> | ||||||||||
| 600 | |||||||||||
| 601 | =back | ||||||||||
| 602 | |||||||||||
| 603 | |||||||||||
| 604 | |||||||||||
| 605 | =head2 CreateTags | ||||||||||
| 606 | |||||||||||
| 607 | =over | ||||||||||
| 608 | |||||||||||
| 609 | =item FileSystemId => Str | ||||||||||
| 610 | |||||||||||
| 611 | =item Tags => ArrayRef[L<Paws::EFS::Tag>] | ||||||||||
| 612 | |||||||||||
| 613 | |||||||||||
| 614 | =back | ||||||||||
| 615 | |||||||||||
| 616 | Each argument is described in detail in: L<Paws::EFS::CreateTags> | ||||||||||
| 617 | |||||||||||
| 618 | Returns: nothing | ||||||||||
| 619 | |||||||||||
| 620 | DEPRECATED - CreateTags is deprecated and not maintained. Please use | ||||||||||
| 621 | the API action to create tags for EFS resources. | ||||||||||
| 622 | |||||||||||
| 623 | Creates or overwrites tags associated with a file system. Each tag is a | ||||||||||
| 624 | key-value pair. If a tag key specified in the request already exists on | ||||||||||
| 625 | the file system, this operation overwrites its value with the value | ||||||||||
| 626 | provided in the request. If you add the C<Name> tag to your file | ||||||||||
| 627 | system, Amazon EFS returns it in the response to the | ||||||||||
| 628 | DescribeFileSystems operation. | ||||||||||
| 629 | |||||||||||
| 630 | This operation requires permission for the | ||||||||||
| 631 | C<elasticfilesystem:CreateTags> action. | ||||||||||
| 632 | |||||||||||
| 633 | |||||||||||
| 634 | =head2 DeleteAccessPoint | ||||||||||
| 635 | |||||||||||
| 636 | =over | ||||||||||
| 637 | |||||||||||
| 638 | =item AccessPointId => Str | ||||||||||
| 639 | |||||||||||
| 640 | |||||||||||
| 641 | =back | ||||||||||
| 642 | |||||||||||
| 643 | Each argument is described in detail in: L<Paws::EFS::DeleteAccessPoint> | ||||||||||
| 644 | |||||||||||
| 645 | Returns: nothing | ||||||||||
| 646 | |||||||||||
| 647 | Deletes the specified access point. After deletion is complete, new | ||||||||||
| 648 | clients can no longer connect to the access points. Clients connected | ||||||||||
| 649 | to the access point at the time of deletion will continue to function | ||||||||||
| 650 | until they terminate their connection. | ||||||||||
| 651 | |||||||||||
| 652 | This operation requires permissions for the | ||||||||||
| 653 | C<elasticfilesystem:DeleteAccessPoint> action. | ||||||||||
| 654 | |||||||||||
| 655 | |||||||||||
| 656 | =head2 DeleteFileSystem | ||||||||||
| 657 | |||||||||||
| 658 | =over | ||||||||||
| 659 | |||||||||||
| 660 | =item FileSystemId => Str | ||||||||||
| 661 | |||||||||||
| 662 | |||||||||||
| 663 | =back | ||||||||||
| 664 | |||||||||||
| 665 | Each argument is described in detail in: L<Paws::EFS::DeleteFileSystem> | ||||||||||
| 666 | |||||||||||
| 667 | Returns: nothing | ||||||||||
| 668 | |||||||||||
| 669 | Deletes a file system, permanently severing access to its contents. | ||||||||||
| 670 | Upon return, the file system no longer exists and you can't access any | ||||||||||
| 671 | contents of the deleted file system. | ||||||||||
| 672 | |||||||||||
| 673 | You can't delete a file system that is in use. That is, if the file | ||||||||||
| 674 | system has any mount targets, you must first delete them. For more | ||||||||||
| 675 | information, see DescribeMountTargets and DeleteMountTarget. | ||||||||||
| 676 | |||||||||||
| 677 | The C<DeleteFileSystem> call returns while the file system state is | ||||||||||
| 678 | still C<deleting>. You can check the file system deletion status by | ||||||||||
| 679 | calling the DescribeFileSystems operation, which returns a list of file | ||||||||||
| 680 | systems in your account. If you pass file system ID or creation token | ||||||||||
| 681 | for the deleted file system, the DescribeFileSystems returns a C<404 | ||||||||||
| 682 | FileSystemNotFound> error. | ||||||||||
| 683 | |||||||||||
| 684 | This operation requires permissions for the | ||||||||||
| 685 | C<elasticfilesystem:DeleteFileSystem> action. | ||||||||||
| 686 | |||||||||||
| 687 | |||||||||||
| 688 | =head2 DeleteFileSystemPolicy | ||||||||||
| 689 | |||||||||||
| 690 | =over | ||||||||||
| 691 | |||||||||||
| 692 | =item FileSystemId => Str | ||||||||||
| 693 | |||||||||||
| 694 | |||||||||||
| 695 | =back | ||||||||||
| 696 | |||||||||||
| 697 | Each argument is described in detail in: L<Paws::EFS::DeleteFileSystemPolicy> | ||||||||||
| 698 | |||||||||||
| 699 | Returns: nothing | ||||||||||
| 700 | |||||||||||
| 701 | Deletes the C<FileSystemPolicy> for the specified file system. The | ||||||||||
| 702 | default C<FileSystemPolicy> goes into effect once the existing policy | ||||||||||
| 703 | is deleted. For more information about the default file system policy, | ||||||||||
| 704 | see Using Resource-based Policies with EFS | ||||||||||
| 705 | (https://docs.aws.amazon.com/efs/latest/ug/res-based-policies-efs.html). | ||||||||||
| 706 | |||||||||||
| 707 | This operation requires permissions for the | ||||||||||
| 708 | C<elasticfilesystem:DeleteFileSystemPolicy> action. | ||||||||||
| 709 | |||||||||||
| 710 | |||||||||||
| 711 | =head2 DeleteMountTarget | ||||||||||
| 712 | |||||||||||
| 713 | =over | ||||||||||
| 714 | |||||||||||
| 715 | =item MountTargetId => Str | ||||||||||
| 716 | |||||||||||
| 717 | |||||||||||
| 718 | =back | ||||||||||
| 719 | |||||||||||
| 720 | Each argument is described in detail in: L<Paws::EFS::DeleteMountTarget> | ||||||||||
| 721 | |||||||||||
| 722 | Returns: nothing | ||||||||||
| 723 | |||||||||||
| 724 | Deletes the specified mount target. | ||||||||||
| 725 | |||||||||||
| 726 | This operation forcibly breaks any mounts of the file system by using | ||||||||||
| 727 | the mount target that is being deleted, which might disrupt instances | ||||||||||
| 728 | or applications using those mounts. To avoid applications getting cut | ||||||||||
| 729 | off abruptly, you might consider unmounting any mounts of the mount | ||||||||||
| 730 | target, if feasible. The operation also deletes the associated network | ||||||||||
| 731 | interface. Uncommitted writes might be lost, but breaking a mount | ||||||||||
| 732 | target using this operation does not corrupt the file system itself. | ||||||||||
| 733 | The file system you created remains. You can mount an EC2 instance in | ||||||||||
| 734 | your VPC by using another mount target. | ||||||||||
| 735 | |||||||||||
| 736 | This operation requires permissions for the following action on the | ||||||||||
| 737 | file system: | ||||||||||
| 738 | |||||||||||
| 739 | =over | ||||||||||
| 740 | |||||||||||
| 741 | =item * | ||||||||||
| 742 | |||||||||||
| 743 | C<elasticfilesystem:DeleteMountTarget> | ||||||||||
| 744 | |||||||||||
| 745 | =back | ||||||||||
| 746 | |||||||||||
| 747 | The C<DeleteMountTarget> call returns while the mount target state is | ||||||||||
| 748 | still C<deleting>. You can check the mount target deletion by calling | ||||||||||
| 749 | the DescribeMountTargets operation, which returns a list of mount | ||||||||||
| 750 | target descriptions for the given file system. | ||||||||||
| 751 | |||||||||||
| 752 | The operation also requires permissions for the following Amazon EC2 | ||||||||||
| 753 | action on the mount target's network interface: | ||||||||||
| 754 | |||||||||||
| 755 | =over | ||||||||||
| 756 | |||||||||||
| 757 | =item * | ||||||||||
| 758 | |||||||||||
| 759 | C<ec2:DeleteNetworkInterface> | ||||||||||
| 760 | |||||||||||
| 761 | =back | ||||||||||
| 762 | |||||||||||
| 763 | |||||||||||
| 764 | |||||||||||
| 765 | =head2 DeleteTags | ||||||||||
| 766 | |||||||||||
| 767 | =over | ||||||||||
| 768 | |||||||||||
| 769 | =item FileSystemId => Str | ||||||||||
| 770 | |||||||||||
| 771 | =item TagKeys => ArrayRef[Str|Undef] | ||||||||||
| 772 | |||||||||||
| 773 | |||||||||||
| 774 | =back | ||||||||||
| 775 | |||||||||||
| 776 | Each argument is described in detail in: L<Paws::EFS::DeleteTags> | ||||||||||
| 777 | |||||||||||
| 778 | Returns: nothing | ||||||||||
| 779 | |||||||||||
| 780 | DEPRECATED - DeleteTags is deprecated and not maintained. Please use | ||||||||||
| 781 | the API action to remove tags from EFS resources. | ||||||||||
| 782 | |||||||||||
| 783 | Deletes the specified tags from a file system. If the C<DeleteTags> | ||||||||||
| 784 | request includes a tag key that doesn't exist, Amazon EFS ignores it | ||||||||||
| 785 | and doesn't cause an error. For more information about tags and related | ||||||||||
| 786 | restrictions, see Tag Restrictions | ||||||||||
| 787 | (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) | ||||||||||
| 788 | in the I<AWS Billing and Cost Management User Guide>. | ||||||||||
| 789 | |||||||||||
| 790 | This operation requires permissions for the | ||||||||||
| 791 | C<elasticfilesystem:DeleteTags> action. | ||||||||||
| 792 | |||||||||||
| 793 | |||||||||||
| 794 | =head2 DescribeAccessPoints | ||||||||||
| 795 | |||||||||||
| 796 | =over | ||||||||||
| 797 | |||||||||||
| 798 | =item [AccessPointId => Str] | ||||||||||
| 799 | |||||||||||
| 800 | =item [FileSystemId => Str] | ||||||||||
| 801 | |||||||||||
| 802 | =item [MaxResults => Int] | ||||||||||
| 803 | |||||||||||
| 804 | =item [NextToken => Str] | ||||||||||
| 805 | |||||||||||
| 806 | |||||||||||
| 807 | =back | ||||||||||
| 808 | |||||||||||
| 809 | Each argument is described in detail in: L<Paws::EFS::DescribeAccessPoints> | ||||||||||
| 810 | |||||||||||
| 811 | Returns: a L<Paws::EFS::DescribeAccessPointsResponse> instance | ||||||||||
| 812 | |||||||||||
| 813 | Returns the description of a specific Amazon EFS access point if the | ||||||||||
| 814 | C<AccessPointId> is provided. If you provide an EFS C<FileSystemId>, it | ||||||||||
| 815 | returns descriptions of all access points for that file system. You can | ||||||||||
| 816 | provide either an C<AccessPointId> or a C<FileSystemId> in the request, | ||||||||||
| 817 | but not both. | ||||||||||
| 818 | |||||||||||
| 819 | This operation requires permissions for the | ||||||||||
| 820 | C<elasticfilesystem:DescribeAccessPoints> action. | ||||||||||
| 821 | |||||||||||
| 822 | |||||||||||
| 823 | =head2 DescribeAccountPreferences | ||||||||||
| 824 | |||||||||||
| 825 | =over | ||||||||||
| 826 | |||||||||||
| 827 | =item [MaxResults => Int] | ||||||||||
| 828 | |||||||||||
| 829 | =item [NextToken => Str] | ||||||||||
| 830 | |||||||||||
| 831 | |||||||||||
| 832 | =back | ||||||||||
| 833 | |||||||||||
| 834 | Each argument is described in detail in: L<Paws::EFS::DescribeAccountPreferences> | ||||||||||
| 835 | |||||||||||
| 836 | Returns: a L<Paws::EFS::DescribeAccountPreferencesResponse> instance | ||||||||||
| 837 | |||||||||||
| 838 | |||||||||||
| 839 | |||||||||||
| 840 | |||||||||||
| 841 | =head2 DescribeBackupPolicy | ||||||||||
| 842 | |||||||||||
| 843 | =over | ||||||||||
| 844 | |||||||||||
| 845 | =item FileSystemId => Str | ||||||||||
| 846 | |||||||||||
| 847 | |||||||||||
| 848 | =back | ||||||||||
| 849 | |||||||||||
| 850 | Each argument is described in detail in: L<Paws::EFS::DescribeBackupPolicy> | ||||||||||
| 851 | |||||||||||
| 852 | Returns: a L<Paws::EFS::BackupPolicyDescription> instance | ||||||||||
| 853 | |||||||||||
| 854 | Returns the backup policy for the specified EFS file system. | ||||||||||
| 855 | |||||||||||
| 856 | |||||||||||
| 857 | =head2 DescribeFileSystemPolicy | ||||||||||
| 858 | |||||||||||
| 859 | =over | ||||||||||
| 860 | |||||||||||
| 861 | =item FileSystemId => Str | ||||||||||
| 862 | |||||||||||
| 863 | |||||||||||
| 864 | =back | ||||||||||
| 865 | |||||||||||
| 866 | Each argument is described in detail in: L<Paws::EFS::DescribeFileSystemPolicy> | ||||||||||
| 867 | |||||||||||
| 868 | Returns: a L<Paws::EFS::FileSystemPolicyDescription> instance | ||||||||||
| 869 | |||||||||||
| 870 | Returns the C<FileSystemPolicy> for the specified EFS file system. | ||||||||||
| 871 | |||||||||||
| 872 | This operation requires permissions for the | ||||||||||
| 873 | C<elasticfilesystem:DescribeFileSystemPolicy> action. | ||||||||||
| 874 | |||||||||||
| 875 | |||||||||||
| 876 | =head2 DescribeFileSystems | ||||||||||
| 877 | |||||||||||
| 878 | =over | ||||||||||
| 879 | |||||||||||
| 880 | =item [CreationToken => Str] | ||||||||||
| 881 | |||||||||||
| 882 | =item [FileSystemId => Str] | ||||||||||
| 883 | |||||||||||
| 884 | =item [Marker => Str] | ||||||||||
| 885 | |||||||||||
| 886 | =item [MaxItems => Int] | ||||||||||
| 887 | |||||||||||
| 888 | |||||||||||
| 889 | =back | ||||||||||
| 890 | |||||||||||
| 891 | Each argument is described in detail in: L<Paws::EFS::DescribeFileSystems> | ||||||||||
| 892 | |||||||||||
| 893 | Returns: a L<Paws::EFS::DescribeFileSystemsResponse> instance | ||||||||||
| 894 | |||||||||||
| 895 | Returns the description of a specific Amazon EFS file system if either | ||||||||||
| 896 | the file system C<CreationToken> or the C<FileSystemId> is provided. | ||||||||||
| 897 | Otherwise, it returns descriptions of all file systems owned by the | ||||||||||
| 898 | caller's AWS account in the AWS Region of the endpoint that you're | ||||||||||
| 899 | calling. | ||||||||||
| 900 | |||||||||||
| 901 | When retrieving all file system descriptions, you can optionally | ||||||||||
| 902 | specify the C<MaxItems> parameter to limit the number of descriptions | ||||||||||
| 903 | in a response. Currently, this number is automatically set to 10. If | ||||||||||
| 904 | more file system descriptions remain, Amazon EFS returns a | ||||||||||
| 905 | C<NextMarker>, an opaque token, in the response. In this case, you | ||||||||||
| 906 | should send a subsequent request with the C<Marker> request parameter | ||||||||||
| 907 | set to the value of C<NextMarker>. | ||||||||||
| 908 | |||||||||||
| 909 | To retrieve a list of your file system descriptions, this operation is | ||||||||||
| 910 | used in an iterative process, where C<DescribeFileSystems> is called | ||||||||||
| 911 | first without the C<Marker> and then the operation continues to call it | ||||||||||
| 912 | with the C<Marker> parameter set to the value of the C<NextMarker> from | ||||||||||
| 913 | the previous response until the response has no C<NextMarker>. | ||||||||||
| 914 | |||||||||||
| 915 | The order of file systems returned in the response of one | ||||||||||
| 916 | C<DescribeFileSystems> call and the order of file systems returned | ||||||||||
| 917 | across the responses of a multi-call iteration is unspecified. | ||||||||||
| 918 | |||||||||||
| 919 | This operation requires permissions for the | ||||||||||
| 920 | C<elasticfilesystem:DescribeFileSystems> action. | ||||||||||
| 921 | |||||||||||
| 922 | |||||||||||
| 923 | =head2 DescribeLifecycleConfiguration | ||||||||||
| 924 | |||||||||||
| 925 | =over | ||||||||||
| 926 | |||||||||||
| 927 | =item FileSystemId => Str | ||||||||||
| 928 | |||||||||||
| 929 | |||||||||||
| 930 | =back | ||||||||||
| 931 | |||||||||||
| 932 | Each argument is described in detail in: L<Paws::EFS::DescribeLifecycleConfiguration> | ||||||||||
| 933 | |||||||||||
| 934 | Returns: a L<Paws::EFS::LifecycleConfigurationDescription> instance | ||||||||||
| 935 | |||||||||||
| 936 | Returns the current C<LifecycleConfiguration> object for the specified | ||||||||||
| 937 | Amazon EFS file system. EFS lifecycle management uses the | ||||||||||
| 938 | C<LifecycleConfiguration> object to identify which files to move to the | ||||||||||
| 939 | EFS Infrequent Access (IA) storage class. For a file system without a | ||||||||||
| 940 | C<LifecycleConfiguration> object, the call returns an empty array in | ||||||||||
| 941 | the response. | ||||||||||
| 942 | |||||||||||
| 943 | This operation requires permissions for the | ||||||||||
| 944 | C<elasticfilesystem:DescribeLifecycleConfiguration> operation. | ||||||||||
| 945 | |||||||||||
| 946 | |||||||||||
| 947 | =head2 DescribeMountTargets | ||||||||||
| 948 | |||||||||||
| 949 | =over | ||||||||||
| 950 | |||||||||||
| 951 | =item [AccessPointId => Str] | ||||||||||
| 952 | |||||||||||
| 953 | =item [FileSystemId => Str] | ||||||||||
| 954 | |||||||||||
| 955 | =item [Marker => Str] | ||||||||||
| 956 | |||||||||||
| 957 | =item [MaxItems => Int] | ||||||||||
| 958 | |||||||||||
| 959 | =item [MountTargetId => Str] | ||||||||||
| 960 | |||||||||||
| 961 | |||||||||||
| 962 | =back | ||||||||||
| 963 | |||||||||||
| 964 | Each argument is described in detail in: L<Paws::EFS::DescribeMountTargets> | ||||||||||
| 965 | |||||||||||
| 966 | Returns: a L<Paws::EFS::DescribeMountTargetsResponse> instance | ||||||||||
| 967 | |||||||||||
| 968 | Returns the descriptions of all the current mount targets, or a | ||||||||||
| 969 | specific mount target, for a file system. When requesting all of the | ||||||||||
| 970 | current mount targets, the order of mount targets returned in the | ||||||||||
| 971 | response is unspecified. | ||||||||||
| 972 | |||||||||||
| 973 | This operation requires permissions for the | ||||||||||
| 974 | C<elasticfilesystem:DescribeMountTargets> action, on either the file | ||||||||||
| 975 | system ID that you specify in C<FileSystemId>, or on the file system of | ||||||||||
| 976 | the mount target that you specify in C<MountTargetId>. | ||||||||||
| 977 | |||||||||||
| 978 | |||||||||||
| 979 | =head2 DescribeMountTargetSecurityGroups | ||||||||||
| 980 | |||||||||||
| 981 | =over | ||||||||||
| 982 | |||||||||||
| 983 | =item MountTargetId => Str | ||||||||||
| 984 | |||||||||||
| 985 | |||||||||||
| 986 | =back | ||||||||||
| 987 | |||||||||||
| 988 | Each argument is described in detail in: L<Paws::EFS::DescribeMountTargetSecurityGroups> | ||||||||||
| 989 | |||||||||||
| 990 | Returns: a L<Paws::EFS::DescribeMountTargetSecurityGroupsResponse> instance | ||||||||||
| 991 | |||||||||||
| 992 | Returns the security groups currently in effect for a mount target. | ||||||||||
| 993 | This operation requires that the network interface of the mount target | ||||||||||
| 994 | has been created and the lifecycle state of the mount target is not | ||||||||||
| 995 | C<deleted>. | ||||||||||
| 996 | |||||||||||
| 997 | This operation requires permissions for the following actions: | ||||||||||
| 998 | |||||||||||
| 999 | =over | ||||||||||
| 1000 | |||||||||||
| 1001 | =item * | ||||||||||
| 1002 | |||||||||||
| 1003 | C<elasticfilesystem:DescribeMountTargetSecurityGroups> action on the | ||||||||||
| 1004 | mount target's file system. | ||||||||||
| 1005 | |||||||||||
| 1006 | =item * | ||||||||||
| 1007 | |||||||||||
| 1008 | C<ec2:DescribeNetworkInterfaceAttribute> action on the mount target's | ||||||||||
| 1009 | network interface. | ||||||||||
| 1010 | |||||||||||
| 1011 | =back | ||||||||||
| 1012 | |||||||||||
| 1013 | |||||||||||
| 1014 | |||||||||||
| 1015 | =head2 DescribeTags | ||||||||||
| 1016 | |||||||||||
| 1017 | =over | ||||||||||
| 1018 | |||||||||||
| 1019 | =item FileSystemId => Str | ||||||||||
| 1020 | |||||||||||
| 1021 | =item [Marker => Str] | ||||||||||
| 1022 | |||||||||||
| 1023 | =item [MaxItems => Int] | ||||||||||
| 1024 | |||||||||||
| 1025 | |||||||||||
| 1026 | =back | ||||||||||
| 1027 | |||||||||||
| 1028 | Each argument is described in detail in: L<Paws::EFS::DescribeTags> | ||||||||||
| 1029 | |||||||||||
| 1030 | Returns: a L<Paws::EFS::DescribeTagsResponse> instance | ||||||||||
| 1031 | |||||||||||
| 1032 | DEPRECATED - The DeleteTags action is deprecated and not maintained. | ||||||||||
| 1033 | Please use the API action to remove tags from EFS resources. | ||||||||||
| 1034 | |||||||||||
| 1035 | Returns the tags associated with a file system. The order of tags | ||||||||||
| 1036 | returned in the response of one C<DescribeTags> call and the order of | ||||||||||
| 1037 | tags returned across the responses of a multiple-call iteration (when | ||||||||||
| 1038 | using pagination) is unspecified. | ||||||||||
| 1039 | |||||||||||
| 1040 | This operation requires permissions for the | ||||||||||
| 1041 | C<elasticfilesystem:DescribeTags> action. | ||||||||||
| 1042 | |||||||||||
| 1043 | |||||||||||
| 1044 | =head2 ListTagsForResource | ||||||||||
| 1045 | |||||||||||
| 1046 | =over | ||||||||||
| 1047 | |||||||||||
| 1048 | =item ResourceId => Str | ||||||||||
| 1049 | |||||||||||
| 1050 | =item [MaxResults => Int] | ||||||||||
| 1051 | |||||||||||
| 1052 | =item [NextToken => Str] | ||||||||||
| 1053 | |||||||||||
| 1054 | |||||||||||
| 1055 | =back | ||||||||||
| 1056 | |||||||||||
| 1057 | Each argument is described in detail in: L<Paws::EFS::ListTagsForResource> | ||||||||||
| 1058 | |||||||||||
| 1059 | Returns: a L<Paws::EFS::ListTagsForResourceResponse> instance | ||||||||||
| 1060 | |||||||||||
| 1061 | Lists all tags for a top-level EFS resource. You must provide the ID of | ||||||||||
| 1062 | the resource that you want to retrieve the tags for. | ||||||||||
| 1063 | |||||||||||
| 1064 | This operation requires permissions for the | ||||||||||
| 1065 | C<elasticfilesystem:DescribeAccessPoints> action. | ||||||||||
| 1066 | |||||||||||
| 1067 | |||||||||||
| 1068 | =head2 ModifyMountTargetSecurityGroups | ||||||||||
| 1069 | |||||||||||
| 1070 | =over | ||||||||||
| 1071 | |||||||||||
| 1072 | =item MountTargetId => Str | ||||||||||
| 1073 | |||||||||||
| 1074 | =item [SecurityGroups => ArrayRef[Str|Undef]] | ||||||||||
| 1075 | |||||||||||
| 1076 | |||||||||||
| 1077 | =back | ||||||||||
| 1078 | |||||||||||
| 1079 | Each argument is described in detail in: L<Paws::EFS::ModifyMountTargetSecurityGroups> | ||||||||||
| 1080 | |||||||||||
| 1081 | Returns: nothing | ||||||||||
| 1082 | |||||||||||
| 1083 | Modifies the set of security groups in effect for a mount target. | ||||||||||
| 1084 | |||||||||||
| 1085 | When you create a mount target, Amazon EFS also creates a new network | ||||||||||
| 1086 | interface. For more information, see CreateMountTarget. This operation | ||||||||||
| 1087 | replaces the security groups in effect for the network interface | ||||||||||
| 1088 | associated with a mount target, with the C<SecurityGroups> provided in | ||||||||||
| 1089 | the request. This operation requires that the network interface of the | ||||||||||
| 1090 | mount target has been created and the lifecycle state of the mount | ||||||||||
| 1091 | target is not C<deleted>. | ||||||||||
| 1092 | |||||||||||
| 1093 | The operation requires permissions for the following actions: | ||||||||||
| 1094 | |||||||||||
| 1095 | =over | ||||||||||
| 1096 | |||||||||||
| 1097 | =item * | ||||||||||
| 1098 | |||||||||||
| 1099 | C<elasticfilesystem:ModifyMountTargetSecurityGroups> action on the | ||||||||||
| 1100 | mount target's file system. | ||||||||||
| 1101 | |||||||||||
| 1102 | =item * | ||||||||||
| 1103 | |||||||||||
| 1104 | C<ec2:ModifyNetworkInterfaceAttribute> action on the mount target's | ||||||||||
| 1105 | network interface. | ||||||||||
| 1106 | |||||||||||
| 1107 | =back | ||||||||||
| 1108 | |||||||||||
| 1109 | |||||||||||
| 1110 | |||||||||||
| 1111 | =head2 PutAccountPreferences | ||||||||||
| 1112 | |||||||||||
| 1113 | =over | ||||||||||
| 1114 | |||||||||||
| 1115 | =item ResourceIdType => Str | ||||||||||
| 1116 | |||||||||||
| 1117 | |||||||||||
| 1118 | =back | ||||||||||
| 1119 | |||||||||||
| 1120 | Each argument is described in detail in: L<Paws::EFS::PutAccountPreferences> | ||||||||||
| 1121 | |||||||||||
| 1122 | Returns: a L<Paws::EFS::PutAccountPreferencesResponse> instance | ||||||||||
| 1123 | |||||||||||
| 1124 | |||||||||||
| 1125 | |||||||||||
| 1126 | |||||||||||
| 1127 | =head2 PutBackupPolicy | ||||||||||
| 1128 | |||||||||||
| 1129 | =over | ||||||||||
| 1130 | |||||||||||
| 1131 | =item BackupPolicy => L<Paws::EFS::BackupPolicy> | ||||||||||
| 1132 | |||||||||||
| 1133 | =item FileSystemId => Str | ||||||||||
| 1134 | |||||||||||
| 1135 | |||||||||||
| 1136 | =back | ||||||||||
| 1137 | |||||||||||
| 1138 | Each argument is described in detail in: L<Paws::EFS::PutBackupPolicy> | ||||||||||
| 1139 | |||||||||||
| 1140 | Returns: a L<Paws::EFS::BackupPolicyDescription> instance | ||||||||||
| 1141 | |||||||||||
| 1142 | Updates the file system's backup policy. Use this action to start or | ||||||||||
| 1143 | stop automatic backups of the file system. | ||||||||||
| 1144 | |||||||||||
| 1145 | |||||||||||
| 1146 | =head2 PutFileSystemPolicy | ||||||||||
| 1147 | |||||||||||
| 1148 | =over | ||||||||||
| 1149 | |||||||||||
| 1150 | =item FileSystemId => Str | ||||||||||
| 1151 | |||||||||||
| 1152 | =item Policy => Str | ||||||||||
| 1153 | |||||||||||
| 1154 | =item [BypassPolicyLockoutSafetyCheck => Bool] | ||||||||||
| 1155 | |||||||||||
| 1156 | |||||||||||
| 1157 | =back | ||||||||||
| 1158 | |||||||||||
| 1159 | Each argument is described in detail in: L<Paws::EFS::PutFileSystemPolicy> | ||||||||||
| 1160 | |||||||||||
| 1161 | Returns: a L<Paws::EFS::FileSystemPolicyDescription> instance | ||||||||||
| 1162 | |||||||||||
| 1163 | Applies an Amazon EFS C<FileSystemPolicy> to an Amazon EFS file system. | ||||||||||
| 1164 | A file system policy is an IAM resource-based policy and can contain | ||||||||||
| 1165 | multiple policy statements. A file system always has exactly one file | ||||||||||
| 1166 | system policy, which can be the default policy or an explicit policy | ||||||||||
| 1167 | set or updated using this API operation. EFS file system policies have | ||||||||||
| 1168 | a 20,000 character limit. When an explicit policy is set, it overrides | ||||||||||
| 1169 | the default policy. For more information about the default file system | ||||||||||
| 1170 | policy, see Default EFS File System Policy | ||||||||||
| 1171 | (https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy). | ||||||||||
| 1172 | |||||||||||
| 1173 | EFS file system policies have a 20,000 character limit. | ||||||||||
| 1174 | |||||||||||
| 1175 | This operation requires permissions for the | ||||||||||
| 1176 | C<elasticfilesystem:PutFileSystemPolicy> action. | ||||||||||
| 1177 | |||||||||||
| 1178 | |||||||||||
| 1179 | =head2 PutLifecycleConfiguration | ||||||||||
| 1180 | |||||||||||
| 1181 | =over | ||||||||||
| 1182 | |||||||||||
| 1183 | =item FileSystemId => Str | ||||||||||
| 1184 | |||||||||||
| 1185 | =item LifecyclePolicies => ArrayRef[L<Paws::EFS::LifecyclePolicy>] | ||||||||||
| 1186 | |||||||||||
| 1187 | |||||||||||
| 1188 | =back | ||||||||||
| 1189 | |||||||||||
| 1190 | Each argument is described in detail in: L<Paws::EFS::PutLifecycleConfiguration> | ||||||||||
| 1191 | |||||||||||
| 1192 | Returns: a L<Paws::EFS::LifecycleConfigurationDescription> instance | ||||||||||
| 1193 | |||||||||||
| 1194 | Enables lifecycle management by creating a new | ||||||||||
| 1195 | C<LifecycleConfiguration> object. A C<LifecycleConfiguration> object | ||||||||||
| 1196 | defines when files in an Amazon EFS file system are automatically | ||||||||||
| 1197 | transitioned to the lower-cost EFS Infrequent Access (IA) storage | ||||||||||
| 1198 | class. A C<LifecycleConfiguration> applies to all files in a file | ||||||||||
| 1199 | system. | ||||||||||
| 1200 | |||||||||||
| 1201 | Each Amazon EFS file system supports one lifecycle configuration, which | ||||||||||
| 1202 | applies to all files in the file system. If a C<LifecycleConfiguration> | ||||||||||
| 1203 | object already exists for the specified file system, a | ||||||||||
| 1204 | C<PutLifecycleConfiguration> call modifies the existing configuration. | ||||||||||
| 1205 | A C<PutLifecycleConfiguration> call with an empty C<LifecyclePolicies> | ||||||||||
| 1206 | array in the request body deletes any existing | ||||||||||
| 1207 | C<LifecycleConfiguration> and disables lifecycle management. | ||||||||||
| 1208 | |||||||||||
| 1209 | In the request, specify the following: | ||||||||||
| 1210 | |||||||||||
| 1211 | =over | ||||||||||
| 1212 | |||||||||||
| 1213 | =item * | ||||||||||
| 1214 | |||||||||||
| 1215 | The ID for the file system for which you are enabling, disabling, or | ||||||||||
| 1216 | modifying lifecycle management. | ||||||||||
| 1217 | |||||||||||
| 1218 | =item * | ||||||||||
| 1219 | |||||||||||
| 1220 | A C<LifecyclePolicies> array of C<LifecyclePolicy> objects that define | ||||||||||
| 1221 | when files are moved to the IA storage class. The array can contain | ||||||||||
| 1222 | only one C<LifecyclePolicy> item. | ||||||||||
| 1223 | |||||||||||
| 1224 | =back | ||||||||||
| 1225 | |||||||||||
| 1226 | This operation requires permissions for the | ||||||||||
| 1227 | C<elasticfilesystem:PutLifecycleConfiguration> operation. | ||||||||||
| 1228 | |||||||||||
| 1229 | To apply a C<LifecycleConfiguration> object to an encrypted file | ||||||||||
| 1230 | system, you need the same AWS Key Management Service (AWS KMS) | ||||||||||
| 1231 | permissions as when you created the encrypted file system. | ||||||||||
| 1232 | |||||||||||
| 1233 | |||||||||||
| 1234 | =head2 TagResource | ||||||||||
| 1235 | |||||||||||
| 1236 | =over | ||||||||||
| 1237 | |||||||||||
| 1238 | =item ResourceId => Str | ||||||||||
| 1239 | |||||||||||
| 1240 | =item Tags => ArrayRef[L<Paws::EFS::Tag>] | ||||||||||
| 1241 | |||||||||||
| 1242 | |||||||||||
| 1243 | =back | ||||||||||
| 1244 | |||||||||||
| 1245 | Each argument is described in detail in: L<Paws::EFS::TagResource> | ||||||||||
| 1246 | |||||||||||
| 1247 | Returns: nothing | ||||||||||
| 1248 | |||||||||||
| 1249 | Creates a tag for an EFS resource. You can create tags for EFS file | ||||||||||
| 1250 | systems and access points using this API operation. | ||||||||||
| 1251 | |||||||||||
| 1252 | This operation requires permissions for the | ||||||||||
| 1253 | C<elasticfilesystem:TagResource> action. | ||||||||||
| 1254 | |||||||||||
| 1255 | |||||||||||
| 1256 | =head2 UntagResource | ||||||||||
| 1257 | |||||||||||
| 1258 | =over | ||||||||||
| 1259 | |||||||||||
| 1260 | =item ResourceId => Str | ||||||||||
| 1261 | |||||||||||
| 1262 | =item TagKeys => ArrayRef[Str|Undef] | ||||||||||
| 1263 | |||||||||||
| 1264 | |||||||||||
| 1265 | =back | ||||||||||
| 1266 | |||||||||||
| 1267 | Each argument is described in detail in: L<Paws::EFS::UntagResource> | ||||||||||
| 1268 | |||||||||||
| 1269 | Returns: nothing | ||||||||||
| 1270 | |||||||||||
| 1271 | Removes tags from an EFS resource. You can remove tags from EFS file | ||||||||||
| 1272 | systems and access points using this API operation. | ||||||||||
| 1273 | |||||||||||
| 1274 | This operation requires permissions for the | ||||||||||
| 1275 | C<elasticfilesystem:UntagResource> action. | ||||||||||
| 1276 | |||||||||||
| 1277 | |||||||||||
| 1278 | =head2 UpdateFileSystem | ||||||||||
| 1279 | |||||||||||
| 1280 | =over | ||||||||||
| 1281 | |||||||||||
| 1282 | =item FileSystemId => Str | ||||||||||
| 1283 | |||||||||||
| 1284 | =item [ProvisionedThroughputInMibps => Num] | ||||||||||
| 1285 | |||||||||||
| 1286 | =item [ThroughputMode => Str] | ||||||||||
| 1287 | |||||||||||
| 1288 | |||||||||||
| 1289 | =back | ||||||||||
| 1290 | |||||||||||
| 1291 | Each argument is described in detail in: L<Paws::EFS::UpdateFileSystem> | ||||||||||
| 1292 | |||||||||||
| 1293 | Returns: a L<Paws::EFS::FileSystemDescription> instance | ||||||||||
| 1294 | |||||||||||
| 1295 | Updates the throughput mode or the amount of provisioned throughput of | ||||||||||
| 1296 | an existing file system. | ||||||||||
| 1297 | |||||||||||
| 1298 | |||||||||||
| 1299 | |||||||||||
| 1300 | |||||||||||
| 1301 | =head1 PAGINATORS | ||||||||||
| 1302 | |||||||||||
| 1303 | Paginator methods are helpers that repetively call methods that return partial results | ||||||||||
| 1304 | |||||||||||
| 1305 | =head2 DescribeAllFileSystems(sub { },[CreationToken => Str, FileSystemId => Str, Marker => Str, MaxItems => Int]) | ||||||||||
| 1306 | |||||||||||
| 1307 | =head2 DescribeAllFileSystems([CreationToken => Str, FileSystemId => Str, Marker => Str, MaxItems => Int]) | ||||||||||
| 1308 | |||||||||||
| 1309 | |||||||||||
| 1310 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 1311 | |||||||||||
| 1312 | - FileSystems, passing the object as the first parameter, and the string 'FileSystems' as the second parameter | ||||||||||
| 1313 | |||||||||||
| 1314 | If not, it will return a a L<Paws::EFS::DescribeFileSystemsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 1315 | |||||||||||
| 1316 | |||||||||||
| 1317 | =head2 DescribeAllMountTargets(sub { },[AccessPointId => Str, FileSystemId => Str, Marker => Str, MaxItems => Int, MountTargetId => Str]) | ||||||||||
| 1318 | |||||||||||
| 1319 | =head2 DescribeAllMountTargets([AccessPointId => Str, FileSystemId => Str, Marker => Str, MaxItems => Int, MountTargetId => Str]) | ||||||||||
| 1320 | |||||||||||
| 1321 | |||||||||||
| 1322 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 1323 | |||||||||||
| 1324 | - MountTargets, passing the object as the first parameter, and the string 'MountTargets' as the second parameter | ||||||||||
| 1325 | |||||||||||
| 1326 | If not, it will return a a L<Paws::EFS::DescribeMountTargetsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 1327 | |||||||||||
| 1328 | |||||||||||
| 1329 | =head2 DescribeAllTags(sub { },FileSystemId => Str, [Marker => Str, MaxItems => Int]) | ||||||||||
| 1330 | |||||||||||
| 1331 | =head2 DescribeAllTags(FileSystemId => Str, [Marker => Str, MaxItems => Int]) | ||||||||||
| 1332 | |||||||||||
| 1333 | |||||||||||
| 1334 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 1335 | |||||||||||
| 1336 | - Tags, passing the object as the first parameter, and the string 'Tags' as the second parameter | ||||||||||
| 1337 | |||||||||||
| 1338 | If not, it will return a a L<Paws::EFS::DescribeTagsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 1339 | |||||||||||
| 1340 | |||||||||||
| 1341 | |||||||||||
| 1342 | |||||||||||
| 1343 | |||||||||||
| 1344 | =head1 SEE ALSO | ||||||||||
| 1345 | |||||||||||
| 1346 | This service class forms part of L<Paws> | ||||||||||
| 1347 | |||||||||||
| 1348 | =head1 BUGS and CONTRIBUTIONS | ||||||||||
| 1349 | |||||||||||
| 1350 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||||||||||
| 1351 | |||||||||||
| 1352 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||||||||||
| 1353 | |||||||||||
| 1354 | =cut | ||||||||||
| 1355 | |||||||||||