@aws-sdk/client-efs 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/EFS.js +0 -8
- package/dist-cjs/EFSClient.js +0 -13
- package/dist-cjs/commands/CreateAccessPointCommand.js +0 -32
- package/dist-cjs/commands/CreateFileSystemCommand.js +0 -78
- package/dist-cjs/commands/CreateMountTargetCommand.js +0 -166
- package/dist-cjs/commands/CreateTagsCommand.js +0 -36
- package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -28
- package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -39
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -28
- package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -58
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -37
- package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -28
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -26
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -26
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -47
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -32
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -40
- package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -32
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -35
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -44
- package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -28
- package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -25
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -34
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -55
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -26
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -35
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -232
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +8 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/EFS.js +0 -1
- package/dist-es/EFSClient.js +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js +0 -1
- package/dist-es/commands/CreateTagsCommand.js +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -35
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +22 -15
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/EFS.d.ts +15 -8
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +7 -3
- package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +3 -1
- package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +4 -34
- package/dist-types/models/models_0.d.ts +34 -6
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/EFS.d.ts +28 -496
- package/dist-types/ts3.4/EFSClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -73
- package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +2 -161
- package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DescribeAccessPointsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeAccountPreferencesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeBackupPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFileSystemPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeMountTargetsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutAccountPreferencesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutBackupPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PutLifecycleConfigurationCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +4 -34
- package/dist-types/ts3.4/models/models_0.d.ts +273 -1088
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/EFS.js.map +0 -1
- package/dist-cjs/EFSClient.js.map +0 -1
- package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/EFS.js.map +0 -1
- package/dist-es/EFSClient.js.map +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-es/commands/CreateTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/EFS.ts +0 -1386
- package/src/EFSClient.ts +0 -363
- package/src/commands/CreateAccessPointCommand.ts +0 -102
- package/src/commands/CreateFileSystemCommand.ts +0 -148
- package/src/commands/CreateMountTargetCommand.ts +0 -236
- package/src/commands/CreateTagsCommand.ts +0 -106
- package/src/commands/DeleteAccessPointCommand.ts +0 -98
- package/src/commands/DeleteFileSystemCommand.ts +0 -109
- package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
- package/src/commands/DeleteMountTargetCommand.ts +0 -128
- package/src/commands/DeleteTagsCommand.ts +0 -107
- package/src/commands/DescribeAccessPointsCommand.ts +0 -98
- package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
- package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
- package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
- package/src/commands/DescribeFileSystemsCommand.ts +0 -117
- package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
- package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
- package/src/commands/DescribeMountTargetsCommand.ts +0 -102
- package/src/commands/DescribeTagsCommand.ts +0 -105
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
- package/src/commands/PutAccountPreferencesCommand.ts +0 -98
- package/src/commands/PutBackupPolicyCommand.ts +0 -95
- package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
- package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/commands/UpdateFileSystemCommand.ts +0 -96
- package/src/endpoints.ts +0 -183
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2185
- package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
- package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
- package/src/pagination/DescribeTagsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4420
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -6,38 +6,11 @@ export interface PutFileSystemPolicyCommandInput extends PutFileSystemPolicyRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutFileSystemPolicyCommandOutput extends FileSystemPolicyDescription, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Applies an Amazon EFS <code>FileSystemPolicy</code> to an Amazon EFS file system.
|
|
11
|
-
* A file system policy is an IAM resource-based policy and can contain multiple policy statements.
|
|
12
|
-
* A file system always has exactly one file system policy, which can be the default policy or
|
|
13
|
-
* an explicit policy set or updated using this API operation.
|
|
14
|
-
* EFS file system policies have a 20,000 character limit.
|
|
15
|
-
* When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>EFS file system policies have a 20,000 character limit.</p>
|
|
19
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { EFSClient, PutFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
24
|
-
* // const { EFSClient, PutFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
25
|
-
* const client = new EFSClient(config);
|
|
26
|
-
* const command = new PutFileSystemPolicyCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link PutFileSystemPolicyCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link PutFileSystemPolicyCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class PutFileSystemPolicyCommand extends $Command<PutFileSystemPolicyCommandInput, PutFileSystemPolicyCommandOutput, EFSClientResolvedConfig> {
|
|
36
11
|
readonly input: PutFileSystemPolicyCommandInput;
|
|
37
12
|
constructor(input: PutFileSystemPolicyCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutFileSystemPolicyCommandInput, PutFileSystemPolicyCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,59 +6,11 @@ export interface PutLifecycleConfigurationCommandInput extends PutLifecycleConfi
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigurationDescription, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Enables lifecycle management by creating a new <code>LifecycleConfiguration</code>
|
|
11
|
-
* object. A <code>LifecycleConfiguration</code> object defines when files in an Amazon EFS file
|
|
12
|
-
* system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
|
|
13
|
-
* To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
|
|
14
|
-
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
|
|
15
|
-
* <p>A <code>LifecycleConfiguration</code> applies to all files in a file system.</p>
|
|
16
|
-
* <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
|
|
17
|
-
* <code>LifecycleConfiguration</code> object already exists for the specified file system, a
|
|
18
|
-
* <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
|
|
19
|
-
* <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
|
|
20
|
-
* array in the request body deletes any existing <code>LifecycleConfiguration</code> and
|
|
21
|
-
* disables lifecycle management.</p>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* <p>In the request, specify the following: </p>
|
|
25
|
-
* <ul>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
|
|
31
|
-
* define when files are moved to the IA storage class. The array can contain only one
|
|
32
|
-
* <code>LifecyclePolicy</code> item.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* </ul>
|
|
35
|
-
*
|
|
36
|
-
* <p>This operation requires permissions for the
|
|
37
|
-
* <code>elasticfilesystem:PutLifecycleConfiguration</code> operation.</p>
|
|
38
|
-
* <p>To apply a <code>LifecycleConfiguration</code> object to an encrypted file system, you
|
|
39
|
-
* need the same Key Management Service permissions as when you created the encrypted
|
|
40
|
-
* file system. </p>
|
|
41
|
-
* @example
|
|
42
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
-
* ```javascript
|
|
44
|
-
* import { EFSClient, PutLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
45
|
-
* // const { EFSClient, PutLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
46
|
-
* const client = new EFSClient(config);
|
|
47
|
-
* const command = new PutLifecycleConfigurationCommand(input);
|
|
48
|
-
* const response = await client.send(command);
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @see {@link PutLifecycleConfigurationCommandInput} for command's `input` shape.
|
|
52
|
-
* @see {@link PutLifecycleConfigurationCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
9
|
+
|
|
56
10
|
export declare class PutLifecycleConfigurationCommand extends $Command<PutLifecycleConfigurationCommandInput, PutLifecycleConfigurationCommandOutput, EFSClientResolvedConfig> {
|
|
57
11
|
readonly input: PutLifecycleConfigurationCommandInput;
|
|
58
12
|
constructor(input: PutLifecycleConfigurationCommandInput);
|
|
59
|
-
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
13
|
+
|
|
62
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLifecycleConfigurationCommandInput, PutLifecycleConfigurationCommandOutput>;
|
|
63
15
|
private serialize;
|
|
64
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.</p>
|
|
11
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:TagResource</code> action.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { EFSClient, TagResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
16
|
-
* // const { EFSClient, TagResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
17
|
-
* const client = new EFSClient(config);
|
|
18
|
-
* const command = new TagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, EFSClientResolvedConfig> {
|
|
28
11
|
readonly input: TagResourceCommandInput;
|
|
29
12
|
constructor(input: TagResourceCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation.</p>
|
|
11
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:UntagResource</code> action.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { EFSClient, UntagResourceCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
16
|
-
* // const { EFSClient, UntagResourceCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
17
|
-
* const client = new EFSClient(config);
|
|
18
|
-
* const command = new UntagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, EFSClientResolvedConfig> {
|
|
28
11
|
readonly input: UntagResourceCommandInput;
|
|
29
12
|
constructor(input: UntagResourceCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface UpdateFileSystemCommandInput extends UpdateFileSystemRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateFileSystemCommandOutput extends FileSystemDescription, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates the throughput mode or the amount of provisioned throughput of an existing file
|
|
11
|
-
* system.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { EFSClient, UpdateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
16
|
-
* // const { EFSClient, UpdateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
17
|
-
* const client = new EFSClient(config);
|
|
18
|
-
* const command = new UpdateFileSystemCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateFileSystemCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateFileSystemCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link EFSClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class UpdateFileSystemCommand extends $Command<UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput, EFSClientResolvedConfig> {
|
|
28
11
|
readonly input: UpdateFileSystemCommandInput;
|
|
29
12
|
constructor(input: UpdateFileSystemCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./CreateAccessPointCommand";
|
|
2
|
+
export * from "./CreateFileSystemCommand";
|
|
3
|
+
export * from "./CreateMountTargetCommand";
|
|
4
|
+
export * from "./CreateTagsCommand";
|
|
5
|
+
export * from "./DeleteAccessPointCommand";
|
|
6
|
+
export * from "./DeleteFileSystemCommand";
|
|
7
|
+
export * from "./DeleteFileSystemPolicyCommand";
|
|
8
|
+
export * from "./DeleteMountTargetCommand";
|
|
9
|
+
export * from "./DeleteTagsCommand";
|
|
10
|
+
export * from "./DescribeAccessPointsCommand";
|
|
11
|
+
export * from "./DescribeAccountPreferencesCommand";
|
|
12
|
+
export * from "./DescribeBackupPolicyCommand";
|
|
13
|
+
export * from "./DescribeFileSystemPolicyCommand";
|
|
14
|
+
export * from "./DescribeFileSystemsCommand";
|
|
15
|
+
export * from "./DescribeLifecycleConfigurationCommand";
|
|
16
|
+
export * from "./DescribeMountTargetSecurityGroupsCommand";
|
|
17
|
+
export * from "./DescribeMountTargetsCommand";
|
|
18
|
+
export * from "./DescribeTagsCommand";
|
|
19
|
+
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./ModifyMountTargetSecurityGroupsCommand";
|
|
21
|
+
export * from "./PutAccountPreferencesCommand";
|
|
22
|
+
export * from "./PutBackupPolicyCommand";
|
|
23
|
+
export * from "./PutFileSystemPolicyCommand";
|
|
24
|
+
export * from "./PutLifecycleConfigurationCommand";
|
|
25
|
+
export * from "./TagResourceCommand";
|
|
26
|
+
export * from "./UntagResourceCommand";
|
|
27
|
+
export * from "./UpdateFileSystemCommand";
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
export * from "./EFSClient";
|
|
2
1
|
export * from "./EFS";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/DeleteAccessPointCommand";
|
|
8
|
-
export * from "./commands/DeleteFileSystemCommand";
|
|
9
|
-
export * from "./commands/DeleteFileSystemPolicyCommand";
|
|
10
|
-
export * from "./commands/DeleteMountTargetCommand";
|
|
11
|
-
export * from "./commands/DeleteTagsCommand";
|
|
12
|
-
export * from "./commands/DescribeAccessPointsCommand";
|
|
13
|
-
export * from "./pagination/DescribeAccessPointsPaginator";
|
|
14
|
-
export * from "./commands/DescribeAccountPreferencesCommand";
|
|
15
|
-
export * from "./commands/DescribeBackupPolicyCommand";
|
|
16
|
-
export * from "./commands/DescribeFileSystemPolicyCommand";
|
|
17
|
-
export * from "./commands/DescribeFileSystemsCommand";
|
|
18
|
-
export * from "./pagination/DescribeFileSystemsPaginator";
|
|
19
|
-
export * from "./commands/DescribeLifecycleConfigurationCommand";
|
|
20
|
-
export * from "./commands/DescribeMountTargetsCommand";
|
|
21
|
-
export * from "./commands/DescribeMountTargetSecurityGroupsCommand";
|
|
22
|
-
export * from "./commands/DescribeTagsCommand";
|
|
23
|
-
export * from "./pagination/DescribeTagsPaginator";
|
|
24
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
25
|
-
export * from "./pagination/ListTagsForResourcePaginator";
|
|
26
|
-
export * from "./commands/ModifyMountTargetSecurityGroupsCommand";
|
|
27
|
-
export * from "./commands/PutAccountPreferencesCommand";
|
|
28
|
-
export * from "./commands/PutBackupPolicyCommand";
|
|
29
|
-
export * from "./commands/PutFileSystemPolicyCommand";
|
|
30
|
-
export * from "./commands/PutLifecycleConfigurationCommand";
|
|
31
|
-
export * from "./commands/TagResourceCommand";
|
|
32
|
-
export * from "./commands/UntagResourceCommand";
|
|
33
|
-
export * from "./commands/UpdateFileSystemCommand";
|
|
34
|
-
export * from "./pagination/Interfaces";
|
|
35
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./EFSClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|