@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.
- package/LICENSE +201 -0
- package/README.md +328 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +477 -0
- package/dist-cjs/models/S3FilesServiceException.js +12 -0
- package/dist-cjs/models/errors.js +98 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +54 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +44 -0
- package/dist-cjs/schemas/schemas_0.js +507 -0
- package/dist-es/S3Files.js +59 -0
- package/dist-es/S3FilesClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CreateAccessPointCommand.js +16 -0
- package/dist-es/commands/CreateFileSystemCommand.js +16 -0
- package/dist-es/commands/CreateMountTargetCommand.js +16 -0
- package/dist-es/commands/DeleteAccessPointCommand.js +16 -0
- package/dist-es/commands/DeleteFileSystemCommand.js +16 -0
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js +16 -0
- package/dist-es/commands/DeleteMountTargetCommand.js +16 -0
- package/dist-es/commands/GetAccessPointCommand.js +16 -0
- package/dist-es/commands/GetFileSystemCommand.js +16 -0
- package/dist-es/commands/GetFileSystemPolicyCommand.js +16 -0
- package/dist-es/commands/GetMountTargetCommand.js +16 -0
- package/dist-es/commands/GetSynchronizationConfigurationCommand.js +16 -0
- package/dist-es/commands/ListAccessPointsCommand.js +16 -0
- package/dist-es/commands/ListFileSystemsCommand.js +16 -0
- package/dist-es/commands/ListMountTargetsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/PutFileSystemPolicyCommand.js +16 -0
- package/dist-es/commands/PutSynchronizationConfigurationCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateMountTargetCommand.js +16 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/S3FilesServiceException.js +8 -0
- package/dist-es/models/enums.js +17 -0
- package/dist-es/models/errors.js +89 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessPointsPaginator.js +4 -0
- package/dist-es/pagination/ListFileSystemsPaginator.js +4 -0
- package/dist-es/pagination/ListMountTargetsPaginator.js +4 -0
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +49 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +503 -0
- package/dist-types/S3Files.d.ts +187 -0
- package/dist-types/S3FilesClient.d.ts +208 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateAccessPointCommand.d.ts +141 -0
- package/dist-types/commands/CreateFileSystemCommand.d.ts +120 -0
- package/dist-types/commands/CreateMountTargetCommand.d.ts +112 -0
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +87 -0
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +88 -0
- package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +84 -0
- package/dist-types/commands/DeleteMountTargetCommand.d.ts +87 -0
- package/dist-types/commands/GetAccessPointCommand.d.ts +113 -0
- package/dist-types/commands/GetFileSystemCommand.d.ts +103 -0
- package/dist-types/commands/GetFileSystemPolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetMountTargetCommand.d.ts +99 -0
- package/dist-types/commands/GetSynchronizationConfigurationCommand.d.ts +98 -0
- package/dist-types/commands/ListAccessPointsCommand.d.ts +113 -0
- package/dist-types/commands/ListFileSystemsCommand.d.ts +98 -0
- package/dist-types/commands/ListMountTargetsCommand.d.ts +104 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
- package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +85 -0
- package/dist-types/commands/PutSynchronizationConfigurationCommand.d.ts +100 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateMountTargetCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/S3FilesServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/errors.d.ts +114 -0
- package/dist-types/models/models_0.d.ts +1185 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccessPointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFileSystemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMountTargetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +81 -0
- package/dist-types/ts3.4/S3Files.d.ts +396 -0
- package/dist-types/ts3.4/S3FilesClient.d.ts +244 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateMountTargetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteFileSystemPolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteMountTargetCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetAccessPointCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFileSystemCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFileSystemPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMountTargetCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetSynchronizationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAccessPointsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListFileSystemsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMountTargetsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFileSystemPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSynchronizationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateMountTargetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/S3FilesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +21 -0
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +279 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccessPointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFileSystemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMountTargetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +80 -0
- 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
|
+
}
|