@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,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListFileSystemsRequest, ListFileSystemsResponse } 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 ListFileSystemsCommand}.
14
+ */
15
+ export interface ListFileSystemsCommandInput extends ListFileSystemsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListFileSystemsCommand}.
21
+ */
22
+ export interface ListFileSystemsCommandOutput extends ListFileSystemsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListFileSystemsCommand_base: {
25
+ new (input: ListFileSystemsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFileSystemsCommandInput, ListFileSystemsCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListFileSystemsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListFileSystemsCommandInput, ListFileSystemsCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of all S3 File Systems owned by the account with optional filtering by 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, ListFileSystemsCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, ListFileSystemsCommand } = 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 = { // ListFileSystemsRequest
40
+ * bucket: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListFileSystemsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListFileSystemsResponse
47
+ * // nextToken: "STRING_VALUE",
48
+ * // fileSystems: [ // FileSystems // required
49
+ * // { // ListFileSystemsDescription
50
+ * // creationTime: new Date("TIMESTAMP"), // required
51
+ * // fileSystemArn: "STRING_VALUE", // required
52
+ * // fileSystemId: "STRING_VALUE", // required
53
+ * // name: "STRING_VALUE",
54
+ * // bucket: "STRING_VALUE", // required
55
+ * // status: "available" || "creating" || "deleting" || "deleted" || "error" || "updating", // required
56
+ * // statusMessage: "STRING_VALUE",
57
+ * // roleArn: "STRING_VALUE", // required
58
+ * // ownerId: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListFileSystemsCommandInput - {@link ListFileSystemsCommandInput}
66
+ * @returns {@link ListFileSystemsCommandOutput}
67
+ * @see {@link ListFileSystemsCommandInput} for command's `input` shape.
68
+ * @see {@link ListFileSystemsCommandOutput} for command's `response` shape.
69
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An internal server error occurred. Retry your request.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
79
+ *
80
+ * @throws {@link S3FilesServiceException}
81
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class ListFileSystemsCommand extends ListFileSystemsCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: ListFileSystemsRequest;
91
+ output: ListFileSystemsResponse;
92
+ };
93
+ sdk: {
94
+ input: ListFileSystemsCommandInput;
95
+ output: ListFileSystemsCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListMountTargetsRequest, ListMountTargetsResponse } 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 ListMountTargetsCommand}.
14
+ */
15
+ export interface ListMountTargetsCommandInput extends ListMountTargetsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMountTargetsCommand}.
21
+ */
22
+ export interface ListMountTargetsCommandOutput extends ListMountTargetsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListMountTargetsCommand_base: {
25
+ new (input: ListMountTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMountTargetsCommandInput, ListMountTargetsCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListMountTargetsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMountTargetsCommandInput, ListMountTargetsCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns resource information for all mount targets with optional filtering by file system, access point, and VPC.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, ListMountTargetsCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, ListMountTargetsCommand } = 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 = { // ListMountTargetsRequest
40
+ * fileSystemId: "STRING_VALUE",
41
+ * accessPointId: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListMountTargetsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListMountTargetsResponse
48
+ * // nextToken: "STRING_VALUE",
49
+ * // mountTargets: [ // MountTargets // required
50
+ * // { // ListMountTargetsDescription
51
+ * // availabilityZoneId: "STRING_VALUE",
52
+ * // fileSystemId: "STRING_VALUE",
53
+ * // ipv4Address: "STRING_VALUE",
54
+ * // ipv6Address: "STRING_VALUE",
55
+ * // status: "available" || "creating" || "deleting" || "deleted" || "error" || "updating",
56
+ * // statusMessage: "STRING_VALUE",
57
+ * // mountTargetId: "STRING_VALUE", // required
58
+ * // networkInterfaceId: "STRING_VALUE",
59
+ * // ownerId: "STRING_VALUE", // required
60
+ * // subnetId: "STRING_VALUE", // required
61
+ * // vpcId: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListMountTargetsCommandInput - {@link ListMountTargetsCommandInput}
69
+ * @returns {@link ListMountTargetsCommandOutput}
70
+ * @see {@link ListMountTargetsCommandInput} for command's `input` shape.
71
+ * @see {@link ListMountTargetsCommandOutput} for command's `response` shape.
72
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An internal server error occurred. Retry your request.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
85
+ *
86
+ * @throws {@link S3FilesServiceException}
87
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class ListMountTargetsCommand extends ListMountTargetsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: ListMountTargetsRequest;
97
+ output: ListMountTargetsResponse;
98
+ };
99
+ sdk: {
100
+ input: ListMountTargetsCommandInput;
101
+ output: ListMountTargetsCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all tags for S3 Files resources.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, ListTagsForResourceCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceRequest
40
+ * resourceId: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListTagsForResourceCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListTagsForResourceResponse
47
+ * // tags: [ // TagList
48
+ * // { // Tag
49
+ * // key: "STRING_VALUE", // required
50
+ * // value: "STRING_VALUE", // required
51
+ * // },
52
+ * // ],
53
+ * // nextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
59
+ * @returns {@link ListTagsForResourceCommandOutput}
60
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
61
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
62
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An internal server error occurred. Retry your request.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
75
+ *
76
+ * @throws {@link S3FilesServiceException}
77
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListTagsForResourceRequest;
87
+ output: ListTagsForResourceResponse;
88
+ };
89
+ sdk: {
90
+ input: ListTagsForResourceCommandInput;
91
+ output: ListTagsForResourceCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { PutFileSystemPolicyRequest, PutFileSystemPolicyResponse } 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 PutFileSystemPolicyCommand}.
14
+ */
15
+ export interface PutFileSystemPolicyCommandInput extends PutFileSystemPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutFileSystemPolicyCommand}.
21
+ */
22
+ export interface PutFileSystemPolicyCommandOutput extends PutFileSystemPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const PutFileSystemPolicyCommand_base: {
25
+ new (input: PutFileSystemPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutFileSystemPolicyCommandInput, PutFileSystemPolicyCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutFileSystemPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutFileSystemPolicyCommandInput, PutFileSystemPolicyCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or replaces the IAM resource policy for an S3 File System to control access permissions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, PutFileSystemPolicyCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, PutFileSystemPolicyCommand } = 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 = { // PutFileSystemPolicyRequest
40
+ * fileSystemId: "STRING_VALUE", // required
41
+ * policy: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new PutFileSystemPolicyCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param PutFileSystemPolicyCommandInput - {@link PutFileSystemPolicyCommandInput}
50
+ * @returns {@link PutFileSystemPolicyCommandOutput}
51
+ * @see {@link PutFileSystemPolicyCommandInput} for command's `input` shape.
52
+ * @see {@link PutFileSystemPolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An internal server error occurred. Retry your request.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
66
+ *
67
+ * @throws {@link S3FilesServiceException}
68
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class PutFileSystemPolicyCommand extends PutFileSystemPolicyCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: PutFileSystemPolicyRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: PutFileSystemPolicyCommandInput;
82
+ output: PutFileSystemPolicyCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { PutSynchronizationConfigurationRequest, PutSynchronizationConfigurationResponse } 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 PutSynchronizationConfigurationCommand}.
14
+ */
15
+ export interface PutSynchronizationConfigurationCommandInput extends PutSynchronizationConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutSynchronizationConfigurationCommand}.
21
+ */
22
+ export interface PutSynchronizationConfigurationCommandOutput extends PutSynchronizationConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const PutSynchronizationConfigurationCommand_base: {
25
+ new (input: PutSynchronizationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutSynchronizationConfigurationCommandInput, PutSynchronizationConfigurationCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutSynchronizationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutSynchronizationConfigurationCommandInput, PutSynchronizationConfigurationCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or updates the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, PutSynchronizationConfigurationCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, PutSynchronizationConfigurationCommand } = 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 = { // PutSynchronizationConfigurationRequest
40
+ * fileSystemId: "STRING_VALUE", // required
41
+ * latestVersionNumber: Number("int"),
42
+ * importDataRules: [ // ImportDataRuleList // required
43
+ * { // ImportDataRule
44
+ * prefix: "STRING_VALUE", // required
45
+ * trigger: "ON_DIRECTORY_FIRST_ACCESS" || "ON_FILE_ACCESS", // required
46
+ * sizeLessThan: Number("long"), // required
47
+ * },
48
+ * ],
49
+ * expirationDataRules: [ // ExpirationDataRuleList // required
50
+ * { // ExpirationDataRule
51
+ * daysAfterLastAccess: Number("int"), // required
52
+ * },
53
+ * ],
54
+ * };
55
+ * const command = new PutSynchronizationConfigurationCommand(input);
56
+ * const response = await client.send(command);
57
+ * // {};
58
+ *
59
+ * ```
60
+ *
61
+ * @param PutSynchronizationConfigurationCommandInput - {@link PutSynchronizationConfigurationCommandInput}
62
+ * @returns {@link PutSynchronizationConfigurationCommandOutput}
63
+ * @see {@link PutSynchronizationConfigurationCommandInput} for command's `input` shape.
64
+ * @see {@link PutSynchronizationConfigurationCommandOutput} for command's `response` shape.
65
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal server error occurred. Retry your request.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
81
+ *
82
+ * @throws {@link S3FilesServiceException}
83
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class PutSynchronizationConfigurationCommand extends PutSynchronizationConfigurationCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: PutSynchronizationConfigurationRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: PutSynchronizationConfigurationCommandInput;
97
+ output: PutSynchronizationConfigurationCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TagResourceRequest } 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 TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates tags for S3 Files resources using standard Amazon Web Services tagging APIs.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, TagResourceCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, TagResourceCommand } = 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 = { // TagResourceRequest
40
+ * resourceId: "STRING_VALUE", // required
41
+ * tags: [ // TagList // required
42
+ * { // Tag
43
+ * key: "STRING_VALUE", // required
44
+ * value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new TagResourceCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
55
+ * @returns {@link TagResourceCommandOutput}
56
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
57
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
58
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>An internal server error occurred. Retry your request.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>The input parameters are not valid. Check the parameter values and try again.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was throttled. Retry your request using exponential backoff.</p>
71
+ *
72
+ * @throws {@link S3FilesServiceException}
73
+ * <p>Base exception class for all service exceptions from S3Files service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class TagResourceCommand extends TagResourceCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: TagResourceRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: TagResourceCommandInput;
87
+ output: TagResourceCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -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 { UntagResourceRequest } 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 UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes tags from S3 Files resources.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3FilesClient, UntagResourceCommand } from "@aws-sdk/client-s3files"; // ES Modules import
35
+ * // const { S3FilesClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
40
+ * resourceId: "STRING_VALUE", // required
41
+ * tagKeys: [ // TagKeys // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new UntagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
52
+ * @returns {@link UntagResourceCommandOutput}
53
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
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 UntagResourceCommand extends UntagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: UntagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: UntagResourceCommandInput;
84
+ output: UntagResourceCommandOutput;
85
+ };
86
+ };
87
+ }