@aws-sdk/client-s3files 3.1026.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.
Files changed (155) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +328 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +477 -0
  7. package/dist-cjs/models/S3FilesServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +98 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +54 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +44 -0
  13. package/dist-cjs/schemas/schemas_0.js +507 -0
  14. package/dist-es/S3Files.js +59 -0
  15. package/dist-es/S3FilesClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/CreateAccessPointCommand.js +16 -0
  19. package/dist-es/commands/CreateFileSystemCommand.js +16 -0
  20. package/dist-es/commands/CreateMountTargetCommand.js +16 -0
  21. package/dist-es/commands/DeleteAccessPointCommand.js +16 -0
  22. package/dist-es/commands/DeleteFileSystemCommand.js +16 -0
  23. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +16 -0
  24. package/dist-es/commands/DeleteMountTargetCommand.js +16 -0
  25. package/dist-es/commands/GetAccessPointCommand.js +16 -0
  26. package/dist-es/commands/GetFileSystemCommand.js +16 -0
  27. package/dist-es/commands/GetFileSystemPolicyCommand.js +16 -0
  28. package/dist-es/commands/GetMountTargetCommand.js +16 -0
  29. package/dist-es/commands/GetSynchronizationConfigurationCommand.js +16 -0
  30. package/dist-es/commands/ListAccessPointsCommand.js +16 -0
  31. package/dist-es/commands/ListFileSystemsCommand.js +16 -0
  32. package/dist-es/commands/ListMountTargetsCommand.js +16 -0
  33. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  34. package/dist-es/commands/PutFileSystemPolicyCommand.js +16 -0
  35. package/dist-es/commands/PutSynchronizationConfigurationCommand.js +16 -0
  36. package/dist-es/commands/TagResourceCommand.js +16 -0
  37. package/dist-es/commands/UntagResourceCommand.js +16 -0
  38. package/dist-es/commands/UpdateMountTargetCommand.js +16 -0
  39. package/dist-es/commands/index.js +21 -0
  40. package/dist-es/endpoint/EndpointParameters.js +11 -0
  41. package/dist-es/endpoint/endpointResolver.js +14 -0
  42. package/dist-es/endpoint/ruleset.js +4 -0
  43. package/dist-es/extensionConfiguration.js +1 -0
  44. package/dist-es/index.js +9 -0
  45. package/dist-es/models/S3FilesServiceException.js +8 -0
  46. package/dist-es/models/enums.js +17 -0
  47. package/dist-es/models/errors.js +89 -0
  48. package/dist-es/models/models_0.js +1 -0
  49. package/dist-es/pagination/Interfaces.js +1 -0
  50. package/dist-es/pagination/ListAccessPointsPaginator.js +4 -0
  51. package/dist-es/pagination/ListFileSystemsPaginator.js +4 -0
  52. package/dist-es/pagination/ListMountTargetsPaginator.js +4 -0
  53. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -0
  54. package/dist-es/pagination/index.js +5 -0
  55. package/dist-es/runtimeConfig.browser.js +33 -0
  56. package/dist-es/runtimeConfig.js +49 -0
  57. package/dist-es/runtimeConfig.native.js +11 -0
  58. package/dist-es/runtimeConfig.shared.js +40 -0
  59. package/dist-es/runtimeExtensions.js +9 -0
  60. package/dist-es/schemas/schemas_0.js +503 -0
  61. package/dist-types/S3Files.d.ts +187 -0
  62. package/dist-types/S3FilesClient.d.ts +208 -0
  63. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  64. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  65. package/dist-types/commands/CreateAccessPointCommand.d.ts +141 -0
  66. package/dist-types/commands/CreateFileSystemCommand.d.ts +120 -0
  67. package/dist-types/commands/CreateMountTargetCommand.d.ts +112 -0
  68. package/dist-types/commands/DeleteAccessPointCommand.d.ts +87 -0
  69. package/dist-types/commands/DeleteFileSystemCommand.d.ts +88 -0
  70. package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +84 -0
  71. package/dist-types/commands/DeleteMountTargetCommand.d.ts +87 -0
  72. package/dist-types/commands/GetAccessPointCommand.d.ts +113 -0
  73. package/dist-types/commands/GetFileSystemCommand.d.ts +103 -0
  74. package/dist-types/commands/GetFileSystemPolicyCommand.d.ts +87 -0
  75. package/dist-types/commands/GetMountTargetCommand.d.ts +99 -0
  76. package/dist-types/commands/GetSynchronizationConfigurationCommand.d.ts +98 -0
  77. package/dist-types/commands/ListAccessPointsCommand.d.ts +113 -0
  78. package/dist-types/commands/ListFileSystemsCommand.d.ts +98 -0
  79. package/dist-types/commands/ListMountTargetsCommand.d.ts +104 -0
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
  81. package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +85 -0
  82. package/dist-types/commands/PutSynchronizationConfigurationCommand.d.ts +100 -0
  83. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  84. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  85. package/dist-types/commands/UpdateMountTargetCommand.d.ts +102 -0
  86. package/dist-types/commands/index.d.ts +21 -0
  87. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  88. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  89. package/dist-types/endpoint/ruleset.d.ts +2 -0
  90. package/dist-types/extensionConfiguration.d.ts +9 -0
  91. package/dist-types/index.d.ts +17 -0
  92. package/dist-types/models/S3FilesServiceException.d.ts +14 -0
  93. package/dist-types/models/enums.d.ts +41 -0
  94. package/dist-types/models/errors.d.ts +114 -0
  95. package/dist-types/models/models_0.d.ts +1185 -0
  96. package/dist-types/pagination/Interfaces.d.ts +8 -0
  97. package/dist-types/pagination/ListAccessPointsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/ListFileSystemsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/ListMountTargetsPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +5 -0
  102. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  103. package/dist-types/runtimeConfig.d.ts +55 -0
  104. package/dist-types/runtimeConfig.native.d.ts +54 -0
  105. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  106. package/dist-types/runtimeExtensions.d.ts +17 -0
  107. package/dist-types/schemas/schemas_0.d.ts +81 -0
  108. package/dist-types/ts3.4/S3Files.d.ts +396 -0
  109. package/dist-types/ts3.4/S3FilesClient.d.ts +244 -0
  110. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  111. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +50 -0
  114. package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +46 -0
  116. package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +45 -0
  117. package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +46 -0
  118. package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +46 -0
  119. package/dist-types/ts3.4/commands/GetAccessPointCommand.d.ts +50 -0
  120. package/dist-types/ts3.4/commands/GetFileSystemCommand.d.ts +50 -0
  121. package/dist-types/ts3.4/commands/GetFileSystemPolicyCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/GetMountTargetCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/GetSynchronizationConfigurationCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ListAccessPointsCommand.d.ts +50 -0
  125. package/dist-types/ts3.4/commands/ListFileSystemsCommand.d.ts +50 -0
  126. package/dist-types/ts3.4/commands/ListMountTargetsCommand.d.ts +50 -0
  127. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/PutSynchronizationConfigurationCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  131. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  132. package/dist-types/ts3.4/commands/UpdateMountTargetCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  134. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  135. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  136. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  137. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  138. package/dist-types/ts3.4/index.d.ts +12 -0
  139. package/dist-types/ts3.4/models/S3FilesServiceException.d.ts +9 -0
  140. package/dist-types/ts3.4/models/enums.d.ts +21 -0
  141. package/dist-types/ts3.4/models/errors.d.ts +50 -0
  142. package/dist-types/ts3.4/models/models_0.d.ts +279 -0
  143. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  144. package/dist-types/ts3.4/pagination/ListAccessPointsPaginator.d.ts +11 -0
  145. package/dist-types/ts3.4/pagination/ListFileSystemsPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListMountTargetsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  149. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  150. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  151. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  152. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  153. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  154. package/dist-types/ts3.4/schemas/schemas_0.d.ts +80 -0
  155. package/package.json +100 -0
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateFileSystemRequest, CreateFileSystemResponse } from "../models/models_0";
4
+ import type { S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3FilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateFileSystemCommand}.
14
+ */
15
+ export interface CreateFileSystemCommandInput extends CreateFileSystemRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateFileSystemCommand}.
21
+ */
22
+ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateFileSystemCommand_base: {
25
+ new (input: CreateFileSystemCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFileSystemCommandInput, CreateFileSystemCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateFileSystemCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFileSystemCommandInput, CreateFileSystemCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an S3 File System resource scoped to a bucket or prefix within a bucket, enabling file system access to S3 data. To create a file system, you need an S3 bucket and an IAM role that grants the service permission to access the bucket.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, CreateFileSystemCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, CreateFileSystemCommand } = require("@aws-sdk/client-s3files"); // CommonJS import
36
+ * // import type { S3FilesClientConfig } from "@aws-sdk/client-s3files";
37
+ * const config = {}; // type is S3FilesClientConfig
38
+ * const client = new S3FilesClient(config);
39
+ * const input = { // CreateFileSystemRequest
40
+ * bucket: "STRING_VALUE", // required
41
+ * prefix: "STRING_VALUE",
42
+ * clientToken: "STRING_VALUE",
43
+ * kmsKeyId: "STRING_VALUE",
44
+ * roleArn: "STRING_VALUE", // required
45
+ * tags: [ // TagList
46
+ * { // Tag
47
+ * key: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * acceptBucketWarning: true || false,
52
+ * };
53
+ * const command = new CreateFileSystemCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // CreateFileSystemResponse
56
+ * // creationTime: new Date("TIMESTAMP"),
57
+ * // fileSystemArn: "STRING_VALUE",
58
+ * // fileSystemId: "STRING_VALUE",
59
+ * // bucket: "STRING_VALUE",
60
+ * // prefix: "STRING_VALUE",
61
+ * // clientToken: "STRING_VALUE",
62
+ * // kmsKeyId: "STRING_VALUE",
63
+ * // status: "available" || "creating" || "deleting" || "deleted" || "error" || "updating",
64
+ * // statusMessage: "STRING_VALUE",
65
+ * // roleArn: "STRING_VALUE",
66
+ * // ownerId: "STRING_VALUE",
67
+ * // tags: [ // TagList
68
+ * // { // Tag
69
+ * // key: "STRING_VALUE", // required
70
+ * // value: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // name: "STRING_VALUE",
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param CreateFileSystemCommandInput - {@link CreateFileSystemCommandInput}
79
+ * @returns {@link CreateFileSystemCommandOutput}
80
+ * @see {@link CreateFileSystemCommandInput} for command's `input` shape.
81
+ * @see {@link CreateFileSystemCommandOutput} for command's `response` shape.
82
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
83
+ *
84
+ * @throws {@link ConflictException} (client fault)
85
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.</p>
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * <p>An internal server error occurred. Retry your request.</p>
89
+ *
90
+ * @throws {@link ResourceNotFoundException} (client fault)
91
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
92
+ *
93
+ * @throws {@link ServiceQuotaExceededException} (client fault)
94
+ * <p>The request would exceed a service quota. Review your service quotas and either delete resources or request a quota increase.</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
98
+ *
99
+ * @throws {@link ThrottlingException} (client fault)
100
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
101
+ *
102
+ * @throws {@link S3FilesServiceException}
103
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
104
+ *
105
+ *
106
+ * @public
107
+ */
108
+ export declare class CreateFileSystemCommand extends CreateFileSystemCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: CreateFileSystemRequest;
113
+ output: CreateFileSystemResponse;
114
+ };
115
+ sdk: {
116
+ input: CreateFileSystemCommandInput;
117
+ output: CreateFileSystemCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateMountTargetRequest, CreateMountTargetResponse } from "../models/models_0";
4
+ import type { S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3FilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMountTargetCommand}.
14
+ */
15
+ export interface CreateMountTargetCommandInput extends CreateMountTargetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMountTargetCommand}.
21
+ */
22
+ export interface CreateMountTargetCommandOutput extends CreateMountTargetResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateMountTargetCommand_base: {
25
+ new (input: CreateMountTargetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMountTargetCommandInput, CreateMountTargetCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateMountTargetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMountTargetCommandInput, CreateMountTargetCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a mount target resource as an endpoint for mounting the S3 File System from compute resources in a specific Availability Zone and VPC. Mount targets provide network access to the file system.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, CreateMountTargetCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, CreateMountTargetCommand } = require("@aws-sdk/client-s3files"); // CommonJS import
36
+ * // import type { S3FilesClientConfig } from "@aws-sdk/client-s3files";
37
+ * const config = {}; // type is S3FilesClientConfig
38
+ * const client = new S3FilesClient(config);
39
+ * const input = { // CreateMountTargetRequest
40
+ * fileSystemId: "STRING_VALUE", // required
41
+ * subnetId: "STRING_VALUE", // required
42
+ * ipv4Address: "STRING_VALUE",
43
+ * ipv6Address: "STRING_VALUE",
44
+ * ipAddressType: "IPV4_ONLY" || "IPV6_ONLY" || "DUAL_STACK",
45
+ * securityGroups: [ // SecurityGroups
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * };
49
+ * const command = new CreateMountTargetCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateMountTargetResponse
52
+ * // availabilityZoneId: "STRING_VALUE",
53
+ * // ownerId: "STRING_VALUE", // required
54
+ * // mountTargetId: "STRING_VALUE", // required
55
+ * // fileSystemId: "STRING_VALUE",
56
+ * // subnetId: "STRING_VALUE", // required
57
+ * // ipv4Address: "STRING_VALUE",
58
+ * // ipv6Address: "STRING_VALUE",
59
+ * // networkInterfaceId: "STRING_VALUE",
60
+ * // vpcId: "STRING_VALUE",
61
+ * // securityGroups: [ // SecurityGroups
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // status: "available" || "creating" || "deleting" || "deleted" || "error" || "updating",
65
+ * // statusMessage: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param CreateMountTargetCommandInput - {@link CreateMountTargetCommandInput}
71
+ * @returns {@link CreateMountTargetCommandOutput}
72
+ * @see {@link CreateMountTargetCommandInput} for command's `input` shape.
73
+ * @see {@link CreateMountTargetCommandOutput} for command's `response` shape.
74
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>An internal server error occurred. Retry your request.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
84
+ *
85
+ * @throws {@link ServiceQuotaExceededException} (client fault)
86
+ * <p>The request would exceed a service quota. Review your service quotas and either delete resources or request a quota increase.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
93
+ *
94
+ * @throws {@link S3FilesServiceException}
95
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class CreateMountTargetCommand extends CreateMountTargetCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: CreateMountTargetRequest;
105
+ output: CreateMountTargetResponse;
106
+ };
107
+ sdk: {
108
+ input: CreateMountTargetCommandInput;
109
+ output: CreateMountTargetCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteAccessPointRequest } from "../models/models_0";
4
+ import type { S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3FilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAccessPointCommand}.
14
+ */
15
+ export interface DeleteAccessPointCommandInput extends DeleteAccessPointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAccessPointCommand}.
21
+ */
22
+ export interface DeleteAccessPointCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteAccessPointCommand_base: {
25
+ new (input: DeleteAccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an S3 File System Access Point. This operation is irreversible.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, DeleteAccessPointCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, DeleteAccessPointCommand } = require("@aws-sdk/client-s3files"); // CommonJS import
36
+ * // import type { S3FilesClientConfig } from "@aws-sdk/client-s3files";
37
+ * const config = {}; // type is S3FilesClientConfig
38
+ * const client = new S3FilesClient(config);
39
+ * const input = { // DeleteAccessPointRequest
40
+ * accessPointId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteAccessPointCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteAccessPointCommandInput - {@link DeleteAccessPointCommandInput}
49
+ * @returns {@link DeleteAccessPointCommandOutput}
50
+ * @see {@link DeleteAccessPointCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteAccessPointCommandOutput} for command's `response` shape.
52
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An internal server error occurred. Retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
68
+ *
69
+ * @throws {@link S3FilesServiceException}
70
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteAccessPointCommand extends DeleteAccessPointCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteAccessPointRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DeleteAccessPointCommandInput;
84
+ output: DeleteAccessPointCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteFileSystemRequest } from "../models/models_0";
4
+ import type { S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3FilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteFileSystemCommand}.
14
+ */
15
+ export interface DeleteFileSystemCommandInput extends DeleteFileSystemRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteFileSystemCommand}.
21
+ */
22
+ export interface DeleteFileSystemCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteFileSystemCommand_base: {
25
+ new (input: DeleteFileSystemCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteFileSystemCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an S3 File System. You can optionally force deletion of a file system that has pending export data.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, DeleteFileSystemCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, DeleteFileSystemCommand } = require("@aws-sdk/client-s3files"); // CommonJS import
36
+ * // import type { S3FilesClientConfig } from "@aws-sdk/client-s3files";
37
+ * const config = {}; // type is S3FilesClientConfig
38
+ * const client = new S3FilesClient(config);
39
+ * const input = { // DeleteFileSystemRequest
40
+ * fileSystemId: "STRING_VALUE", // required
41
+ * forceDelete: true || false,
42
+ * };
43
+ * const command = new DeleteFileSystemCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteFileSystemCommandInput - {@link DeleteFileSystemCommandInput}
50
+ * @returns {@link DeleteFileSystemCommandOutput}
51
+ * @see {@link DeleteFileSystemCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteFileSystemCommandOutput} for command's `response` shape.
53
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An internal server error occurred. Retry your request.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
69
+ *
70
+ * @throws {@link S3FilesServiceException}
71
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DeleteFileSystemCommand extends DeleteFileSystemCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DeleteFileSystemRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: DeleteFileSystemCommandInput;
85
+ output: DeleteFileSystemCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteFileSystemPolicyRequest } from "../models/models_0";
4
+ import type { S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3FilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteFileSystemPolicyCommand}.
14
+ */
15
+ export interface DeleteFileSystemPolicyCommandInput extends DeleteFileSystemPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteFileSystemPolicyCommand}.
21
+ */
22
+ export interface DeleteFileSystemPolicyCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteFileSystemPolicyCommand_base: {
25
+ new (input: DeleteFileSystemPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFileSystemPolicyCommandInput, DeleteFileSystemPolicyCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteFileSystemPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFileSystemPolicyCommandInput, DeleteFileSystemPolicyCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the IAM resource policy of an S3 File System.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, DeleteFileSystemPolicyCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, DeleteFileSystemPolicyCommand } = require("@aws-sdk/client-s3files"); // CommonJS import
36
+ * // import type { S3FilesClientConfig } from "@aws-sdk/client-s3files";
37
+ * const config = {}; // type is S3FilesClientConfig
38
+ * const client = new S3FilesClient(config);
39
+ * const input = { // DeleteFileSystemPolicyRequest
40
+ * fileSystemId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteFileSystemPolicyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteFileSystemPolicyCommandInput - {@link DeleteFileSystemPolicyCommandInput}
49
+ * @returns {@link DeleteFileSystemPolicyCommandOutput}
50
+ * @see {@link DeleteFileSystemPolicyCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteFileSystemPolicyCommandOutput} for command's `response` shape.
52
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
53
+ *
54
+ * @throws {@link InternalServerException} (server fault)
55
+ * <p>An internal server error occurred. Retry your request.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
59
+ *
60
+ * @throws {@link ValidationException} (client fault)
61
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
65
+ *
66
+ * @throws {@link S3FilesServiceException}
67
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class DeleteFileSystemPolicyCommand extends DeleteFileSystemPolicyCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteFileSystemPolicyRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteFileSystemPolicyCommandInput;
81
+ output: DeleteFileSystemPolicyCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteMountTargetRequest } from "../models/models_0";
4
+ import type { S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3FilesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteMountTargetCommand}.
14
+ */
15
+ export interface DeleteMountTargetCommandInput extends DeleteMountTargetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteMountTargetCommand}.
21
+ */
22
+ export interface DeleteMountTargetCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteMountTargetCommand_base: {
25
+ new (input: DeleteMountTargetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteMountTargetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the specified mount target. This operation is irreversible.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, DeleteMountTargetCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, DeleteMountTargetCommand } = require("@aws-sdk/client-s3files"); // CommonJS import
36
+ * // import type { S3FilesClientConfig } from "@aws-sdk/client-s3files";
37
+ * const config = {}; // type is S3FilesClientConfig
38
+ * const client = new S3FilesClient(config);
39
+ * const input = { // DeleteMountTargetRequest
40
+ * mountTargetId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteMountTargetCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteMountTargetCommandInput - {@link DeleteMountTargetCommandInput}
49
+ * @returns {@link DeleteMountTargetCommandOutput}
50
+ * @see {@link DeleteMountTargetCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteMountTargetCommandOutput} for command's `response` shape.
52
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An internal server error occurred. Retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
68
+ *
69
+ * @throws {@link S3FilesServiceException}
70
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteMountTargetCommand extends DeleteMountTargetCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteMountTargetRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DeleteMountTargetCommandInput;
84
+ output: DeleteMountTargetCommandOutput;
85
+ };
86
+ };
87
+ }