@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,187 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { type CreateAccessPointCommandInput, type CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
3
|
+
import { type CreateFileSystemCommandInput, type CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
4
|
+
import { type CreateMountTargetCommandInput, type CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
|
|
5
|
+
import { type DeleteAccessPointCommandInput, type DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
|
|
6
|
+
import { type DeleteFileSystemCommandInput, type DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
7
|
+
import { type DeleteFileSystemPolicyCommandInput, type DeleteFileSystemPolicyCommandOutput } from "./commands/DeleteFileSystemPolicyCommand";
|
|
8
|
+
import { type DeleteMountTargetCommandInput, type DeleteMountTargetCommandOutput } from "./commands/DeleteMountTargetCommand";
|
|
9
|
+
import { type GetAccessPointCommandInput, type GetAccessPointCommandOutput } from "./commands/GetAccessPointCommand";
|
|
10
|
+
import { type GetFileSystemCommandInput, type GetFileSystemCommandOutput } from "./commands/GetFileSystemCommand";
|
|
11
|
+
import { type GetFileSystemPolicyCommandInput, type GetFileSystemPolicyCommandOutput } from "./commands/GetFileSystemPolicyCommand";
|
|
12
|
+
import { type GetMountTargetCommandInput, type GetMountTargetCommandOutput } from "./commands/GetMountTargetCommand";
|
|
13
|
+
import { type GetSynchronizationConfigurationCommandInput, type GetSynchronizationConfigurationCommandOutput } from "./commands/GetSynchronizationConfigurationCommand";
|
|
14
|
+
import { type ListAccessPointsCommandInput, type ListAccessPointsCommandOutput } from "./commands/ListAccessPointsCommand";
|
|
15
|
+
import { type ListFileSystemsCommandInput, type ListFileSystemsCommandOutput } from "./commands/ListFileSystemsCommand";
|
|
16
|
+
import { type ListMountTargetsCommandInput, type ListMountTargetsCommandOutput } from "./commands/ListMountTargetsCommand";
|
|
17
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
|
+
import { type PutFileSystemPolicyCommandInput, type PutFileSystemPolicyCommandOutput } from "./commands/PutFileSystemPolicyCommand";
|
|
19
|
+
import { type PutSynchronizationConfigurationCommandInput, type PutSynchronizationConfigurationCommandOutput } from "./commands/PutSynchronizationConfigurationCommand";
|
|
20
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
|
+
import { type UpdateMountTargetCommandInput, type UpdateMountTargetCommandOutput } from "./commands/UpdateMountTargetCommand";
|
|
23
|
+
import { S3FilesClient } from "./S3FilesClient";
|
|
24
|
+
export interface S3Files {
|
|
25
|
+
/**
|
|
26
|
+
* @see {@link CreateAccessPointCommand}
|
|
27
|
+
*/
|
|
28
|
+
createAccessPoint(args: CreateAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPointCommandOutput>;
|
|
29
|
+
createAccessPoint(args: CreateAccessPointCommandInput, cb: (err: any, data?: CreateAccessPointCommandOutput) => void): void;
|
|
30
|
+
createAccessPoint(args: CreateAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPointCommandOutput) => void): void;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link CreateFileSystemCommand}
|
|
33
|
+
*/
|
|
34
|
+
createFileSystem(args: CreateFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<CreateFileSystemCommandOutput>;
|
|
35
|
+
createFileSystem(args: CreateFileSystemCommandInput, cb: (err: any, data?: CreateFileSystemCommandOutput) => void): void;
|
|
36
|
+
createFileSystem(args: CreateFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFileSystemCommandOutput) => void): void;
|
|
37
|
+
/**
|
|
38
|
+
* @see {@link CreateMountTargetCommand}
|
|
39
|
+
*/
|
|
40
|
+
createMountTarget(args: CreateMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateMountTargetCommandOutput>;
|
|
41
|
+
createMountTarget(args: CreateMountTargetCommandInput, cb: (err: any, data?: CreateMountTargetCommandOutput) => void): void;
|
|
42
|
+
createMountTarget(args: CreateMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMountTargetCommandOutput) => void): void;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link DeleteAccessPointCommand}
|
|
45
|
+
*/
|
|
46
|
+
deleteAccessPoint(args: DeleteAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessPointCommandOutput>;
|
|
47
|
+
deleteAccessPoint(args: DeleteAccessPointCommandInput, cb: (err: any, data?: DeleteAccessPointCommandOutput) => void): void;
|
|
48
|
+
deleteAccessPoint(args: DeleteAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessPointCommandOutput) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* @see {@link DeleteFileSystemCommand}
|
|
51
|
+
*/
|
|
52
|
+
deleteFileSystem(args: DeleteFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileSystemCommandOutput>;
|
|
53
|
+
deleteFileSystem(args: DeleteFileSystemCommandInput, cb: (err: any, data?: DeleteFileSystemCommandOutput) => void): void;
|
|
54
|
+
deleteFileSystem(args: DeleteFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileSystemCommandOutput) => void): void;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link DeleteFileSystemPolicyCommand}
|
|
57
|
+
*/
|
|
58
|
+
deleteFileSystemPolicy(args: DeleteFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileSystemPolicyCommandOutput>;
|
|
59
|
+
deleteFileSystemPolicy(args: DeleteFileSystemPolicyCommandInput, cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void): void;
|
|
60
|
+
deleteFileSystemPolicy(args: DeleteFileSystemPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void): void;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link DeleteMountTargetCommand}
|
|
63
|
+
*/
|
|
64
|
+
deleteMountTarget(args: DeleteMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMountTargetCommandOutput>;
|
|
65
|
+
deleteMountTarget(args: DeleteMountTargetCommandInput, cb: (err: any, data?: DeleteMountTargetCommandOutput) => void): void;
|
|
66
|
+
deleteMountTarget(args: DeleteMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMountTargetCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link GetAccessPointCommand}
|
|
69
|
+
*/
|
|
70
|
+
getAccessPoint(args: GetAccessPointCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessPointCommandOutput>;
|
|
71
|
+
getAccessPoint(args: GetAccessPointCommandInput, cb: (err: any, data?: GetAccessPointCommandOutput) => void): void;
|
|
72
|
+
getAccessPoint(args: GetAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessPointCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* @see {@link GetFileSystemCommand}
|
|
75
|
+
*/
|
|
76
|
+
getFileSystem(args: GetFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<GetFileSystemCommandOutput>;
|
|
77
|
+
getFileSystem(args: GetFileSystemCommandInput, cb: (err: any, data?: GetFileSystemCommandOutput) => void): void;
|
|
78
|
+
getFileSystem(args: GetFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileSystemCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link GetFileSystemPolicyCommand}
|
|
81
|
+
*/
|
|
82
|
+
getFileSystemPolicy(args: GetFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetFileSystemPolicyCommandOutput>;
|
|
83
|
+
getFileSystemPolicy(args: GetFileSystemPolicyCommandInput, cb: (err: any, data?: GetFileSystemPolicyCommandOutput) => void): void;
|
|
84
|
+
getFileSystemPolicy(args: GetFileSystemPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileSystemPolicyCommandOutput) => void): void;
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link GetMountTargetCommand}
|
|
87
|
+
*/
|
|
88
|
+
getMountTarget(args: GetMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<GetMountTargetCommandOutput>;
|
|
89
|
+
getMountTarget(args: GetMountTargetCommandInput, cb: (err: any, data?: GetMountTargetCommandOutput) => void): void;
|
|
90
|
+
getMountTarget(args: GetMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMountTargetCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link GetSynchronizationConfigurationCommand}
|
|
93
|
+
*/
|
|
94
|
+
getSynchronizationConfiguration(args: GetSynchronizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetSynchronizationConfigurationCommandOutput>;
|
|
95
|
+
getSynchronizationConfiguration(args: GetSynchronizationConfigurationCommandInput, cb: (err: any, data?: GetSynchronizationConfigurationCommandOutput) => void): void;
|
|
96
|
+
getSynchronizationConfiguration(args: GetSynchronizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSynchronizationConfigurationCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link ListAccessPointsCommand}
|
|
99
|
+
*/
|
|
100
|
+
listAccessPoints(args: ListAccessPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPointsCommandOutput>;
|
|
101
|
+
listAccessPoints(args: ListAccessPointsCommandInput, cb: (err: any, data?: ListAccessPointsCommandOutput) => void): void;
|
|
102
|
+
listAccessPoints(args: ListAccessPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPointsCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link ListFileSystemsCommand}
|
|
105
|
+
*/
|
|
106
|
+
listFileSystems(): Promise<ListFileSystemsCommandOutput>;
|
|
107
|
+
listFileSystems(args: ListFileSystemsCommandInput, options?: __HttpHandlerOptions): Promise<ListFileSystemsCommandOutput>;
|
|
108
|
+
listFileSystems(args: ListFileSystemsCommandInput, cb: (err: any, data?: ListFileSystemsCommandOutput) => void): void;
|
|
109
|
+
listFileSystems(args: ListFileSystemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFileSystemsCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link ListMountTargetsCommand}
|
|
112
|
+
*/
|
|
113
|
+
listMountTargets(): Promise<ListMountTargetsCommandOutput>;
|
|
114
|
+
listMountTargets(args: ListMountTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListMountTargetsCommandOutput>;
|
|
115
|
+
listMountTargets(args: ListMountTargetsCommandInput, cb: (err: any, data?: ListMountTargetsCommandOutput) => void): void;
|
|
116
|
+
listMountTargets(args: ListMountTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMountTargetsCommandOutput) => void): void;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link ListTagsForResourceCommand}
|
|
119
|
+
*/
|
|
120
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
121
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
122
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link PutFileSystemPolicyCommand}
|
|
125
|
+
*/
|
|
126
|
+
putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutFileSystemPolicyCommandOutput>;
|
|
127
|
+
putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void): void;
|
|
128
|
+
putFileSystemPolicy(args: PutFileSystemPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void): void;
|
|
129
|
+
/**
|
|
130
|
+
* @see {@link PutSynchronizationConfigurationCommand}
|
|
131
|
+
*/
|
|
132
|
+
putSynchronizationConfiguration(args: PutSynchronizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutSynchronizationConfigurationCommandOutput>;
|
|
133
|
+
putSynchronizationConfiguration(args: PutSynchronizationConfigurationCommandInput, cb: (err: any, data?: PutSynchronizationConfigurationCommandOutput) => void): void;
|
|
134
|
+
putSynchronizationConfiguration(args: PutSynchronizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSynchronizationConfigurationCommandOutput) => void): void;
|
|
135
|
+
/**
|
|
136
|
+
* @see {@link TagResourceCommand}
|
|
137
|
+
*/
|
|
138
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
139
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
140
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
141
|
+
/**
|
|
142
|
+
* @see {@link UntagResourceCommand}
|
|
143
|
+
*/
|
|
144
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
145
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
146
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link UpdateMountTargetCommand}
|
|
149
|
+
*/
|
|
150
|
+
updateMountTarget(args: UpdateMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMountTargetCommandOutput>;
|
|
151
|
+
updateMountTarget(args: UpdateMountTargetCommandInput, cb: (err: any, data?: UpdateMountTargetCommandOutput) => void): void;
|
|
152
|
+
updateMountTarget(args: UpdateMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMountTargetCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link ListAccessPointsCommand}
|
|
155
|
+
* @param args - command input.
|
|
156
|
+
* @param paginationConfig - optional pagination config.
|
|
157
|
+
* @returns AsyncIterable of {@link ListAccessPointsCommandOutput}.
|
|
158
|
+
*/
|
|
159
|
+
paginateListAccessPoints(args: ListAccessPointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccessPointsCommandOutput>;
|
|
160
|
+
/**
|
|
161
|
+
* @see {@link ListFileSystemsCommand}
|
|
162
|
+
* @param args - command input.
|
|
163
|
+
* @param paginationConfig - optional pagination config.
|
|
164
|
+
* @returns AsyncIterable of {@link ListFileSystemsCommandOutput}.
|
|
165
|
+
*/
|
|
166
|
+
paginateListFileSystems(args?: ListFileSystemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFileSystemsCommandOutput>;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link ListMountTargetsCommand}
|
|
169
|
+
* @param args - command input.
|
|
170
|
+
* @param paginationConfig - optional pagination config.
|
|
171
|
+
* @returns AsyncIterable of {@link ListMountTargetsCommandOutput}.
|
|
172
|
+
*/
|
|
173
|
+
paginateListMountTargets(args?: ListMountTargetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMountTargetsCommandOutput>;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link ListTagsForResourceCommand}
|
|
176
|
+
* @param args - command input.
|
|
177
|
+
* @param paginationConfig - optional pagination config.
|
|
178
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
179
|
+
*/
|
|
180
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* <p>S3 Files makes S3 buckets accessible as high-performance file systems powered by EFS. This service enables file system interface access to S3 data with sub-millisecond latencies through mount targets, supporting AI/ML workloads, media processing, and hybrid storage workflows that require both file system and object storage access to the same data.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export declare class S3Files extends S3FilesClient implements S3Files {
|
|
187
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import type { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
11
|
+
import type { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
12
|
+
import type { CreateMountTargetCommandInput, CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
|
|
13
|
+
import type { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
|
|
14
|
+
import type { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
15
|
+
import type { DeleteFileSystemPolicyCommandInput, DeleteFileSystemPolicyCommandOutput } from "./commands/DeleteFileSystemPolicyCommand";
|
|
16
|
+
import type { DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput } from "./commands/DeleteMountTargetCommand";
|
|
17
|
+
import type { GetAccessPointCommandInput, GetAccessPointCommandOutput } from "./commands/GetAccessPointCommand";
|
|
18
|
+
import type { GetFileSystemCommandInput, GetFileSystemCommandOutput } from "./commands/GetFileSystemCommand";
|
|
19
|
+
import type { GetFileSystemPolicyCommandInput, GetFileSystemPolicyCommandOutput } from "./commands/GetFileSystemPolicyCommand";
|
|
20
|
+
import type { GetMountTargetCommandInput, GetMountTargetCommandOutput } from "./commands/GetMountTargetCommand";
|
|
21
|
+
import type { GetSynchronizationConfigurationCommandInput, GetSynchronizationConfigurationCommandOutput } from "./commands/GetSynchronizationConfigurationCommand";
|
|
22
|
+
import type { ListAccessPointsCommandInput, ListAccessPointsCommandOutput } from "./commands/ListAccessPointsCommand";
|
|
23
|
+
import type { ListFileSystemsCommandInput, ListFileSystemsCommandOutput } from "./commands/ListFileSystemsCommand";
|
|
24
|
+
import type { ListMountTargetsCommandInput, ListMountTargetsCommandOutput } from "./commands/ListMountTargetsCommand";
|
|
25
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
26
|
+
import type { PutFileSystemPolicyCommandInput, PutFileSystemPolicyCommandOutput } from "./commands/PutFileSystemPolicyCommand";
|
|
27
|
+
import type { PutSynchronizationConfigurationCommandInput, PutSynchronizationConfigurationCommandOutput } from "./commands/PutSynchronizationConfigurationCommand";
|
|
28
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
|
+
import type { UpdateMountTargetCommandInput, UpdateMountTargetCommandOutput } from "./commands/UpdateMountTargetCommand";
|
|
31
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
32
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
33
|
+
export { __Client };
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type ServiceInputTypes = CreateAccessPointCommandInput | CreateFileSystemCommandInput | CreateMountTargetCommandInput | DeleteAccessPointCommandInput | DeleteFileSystemCommandInput | DeleteFileSystemPolicyCommandInput | DeleteMountTargetCommandInput | GetAccessPointCommandInput | GetFileSystemCommandInput | GetFileSystemPolicyCommandInput | GetMountTargetCommandInput | GetSynchronizationConfigurationCommandInput | ListAccessPointsCommandInput | ListFileSystemsCommandInput | ListMountTargetsCommandInput | ListTagsForResourceCommandInput | PutFileSystemPolicyCommandInput | PutSynchronizationConfigurationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMountTargetCommandInput;
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateFileSystemCommandOutput | CreateMountTargetCommandOutput | DeleteAccessPointCommandOutput | DeleteFileSystemCommandOutput | DeleteFileSystemPolicyCommandOutput | DeleteMountTargetCommandOutput | GetAccessPointCommandOutput | GetFileSystemCommandOutput | GetFileSystemPolicyCommandOutput | GetMountTargetCommandOutput | GetSynchronizationConfigurationCommandOutput | ListAccessPointsCommandOutput | ListFileSystemsCommandOutput | ListMountTargetsCommandOutput | ListTagsForResourceCommandOutput | PutFileSystemPolicyCommandOutput | PutSynchronizationConfigurationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMountTargetCommandOutput;
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
46
|
+
/**
|
|
47
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
48
|
+
*/
|
|
49
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
50
|
+
/**
|
|
51
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
52
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
56
|
+
/**
|
|
57
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
urlParser?: __UrlParser;
|
|
61
|
+
/**
|
|
62
|
+
* A function that can calculate the length of a request body.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
66
|
+
/**
|
|
67
|
+
* A function that converts a stream into an array of bytes.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
streamCollector?: __StreamCollector;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
base64Decoder?: __Decoder;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
base64Encoder?: __Encoder;
|
|
81
|
+
/**
|
|
82
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
utf8Decoder?: __Decoder;
|
|
86
|
+
/**
|
|
87
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
utf8Encoder?: __Encoder;
|
|
91
|
+
/**
|
|
92
|
+
* The runtime environment.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
runtime?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
98
|
+
* trait of an operation.
|
|
99
|
+
*/
|
|
100
|
+
disableHostPrefix?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Unique service identifier.
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
serviceId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
108
|
+
*/
|
|
109
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* Enables FIPS compatible endpoints.
|
|
112
|
+
*/
|
|
113
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* The AWS region to which this client will send requests
|
|
116
|
+
*/
|
|
117
|
+
region?: string | __Provider<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Setting a client profile is similar to setting a value for the
|
|
120
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
121
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
122
|
+
*
|
|
123
|
+
* When set, and only for environments where an AWS configuration
|
|
124
|
+
* file exists, fields configurable by this file will be retrieved
|
|
125
|
+
* from the specified profile within that file.
|
|
126
|
+
* Conflicting code configuration and environment variables will
|
|
127
|
+
* still have higher priority.
|
|
128
|
+
*
|
|
129
|
+
* For client credential resolution that involves checking the AWS
|
|
130
|
+
* configuration file, the client's profile (this value) will be
|
|
131
|
+
* used unless a different profile is set in the credential
|
|
132
|
+
* provider options.
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
profile?: string;
|
|
136
|
+
/**
|
|
137
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
141
|
+
/**
|
|
142
|
+
* Default credentials provider; Not available in browser runtime.
|
|
143
|
+
* @deprecated
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
146
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
147
|
+
/**
|
|
148
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
149
|
+
*/
|
|
150
|
+
maxAttempts?: number | __Provider<number>;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies which retry algorithm to use.
|
|
153
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
retryMode?: string | __Provider<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Optional logger for logging debug/info/warn/error.
|
|
159
|
+
*/
|
|
160
|
+
logger?: __Logger;
|
|
161
|
+
/**
|
|
162
|
+
* Optional extensions
|
|
163
|
+
*/
|
|
164
|
+
extensions?: RuntimeExtension[];
|
|
165
|
+
/**
|
|
166
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
167
|
+
*/
|
|
168
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export type S3FilesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*
|
|
177
|
+
* The configuration interface of S3FilesClient class constructor that set the region, credentials and other options.
|
|
178
|
+
*/
|
|
179
|
+
export interface S3FilesClientConfig extends S3FilesClientConfigType {
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export type S3FilesClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
*
|
|
188
|
+
* The resolved configuration interface of S3FilesClient class. This is resolved and normalized from the {@link S3FilesClientConfig | constructor configuration interface}.
|
|
189
|
+
*/
|
|
190
|
+
export interface S3FilesClientResolvedConfig extends S3FilesClientResolvedConfigType {
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* <p>S3 Files makes S3 buckets accessible as high-performance file systems powered by EFS. This service enables file system interface access to S3 data with sub-millisecond latencies through mount targets, supporting AI/ML workloads, media processing, and hybrid storage workflows that require both file system and object storage access to the same data.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export declare class S3FilesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3FilesClientResolvedConfig> {
|
|
197
|
+
/**
|
|
198
|
+
* The resolved configuration of S3FilesClient class. This is resolved and normalized from the {@link S3FilesClientConfig | constructor configuration interface}.
|
|
199
|
+
*/
|
|
200
|
+
readonly config: S3FilesClientResolvedConfig;
|
|
201
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<S3FilesClientConfig>);
|
|
202
|
+
/**
|
|
203
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
204
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
205
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
206
|
+
*/
|
|
207
|
+
destroy(): void;
|
|
208
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { S3FilesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: S3FilesHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): S3FilesHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: S3FilesHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type S3FilesClientResolvedConfig } from "../S3FilesClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface S3FilesHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface S3FilesHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<S3FilesClientResolvedConfig, HandlerExecutionContext, S3FilesHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultS3FilesHttpAuthSchemeParametersProvider: (config: S3FilesClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<S3FilesHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface S3FilesHttpAuthSchemeProvider extends HttpAuthSchemeProvider<S3FilesHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultS3FilesHttpAuthSchemeProvider: S3FilesHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: S3FilesHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: S3FilesHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateAccessPointRequest, CreateAccessPointResponse } 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 CreateAccessPointCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAccessPointCommandInput extends CreateAccessPointRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAccessPointCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccessPointCommandOutput extends CreateAccessPointResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAccessPointCommand_base: {
|
|
25
|
+
new (input: CreateAccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessPointCommandInput, CreateAccessPointCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessPointCommandInput, CreateAccessPointCommandOutput, S3FilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an S3 File System Access Point for application-specific access with POSIX user identity and root directory enforcement. Access points provide a way to manage access to shared datasets in multi-tenant scenarios.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3FilesClient, CreateAccessPointCommand } from "@aws-sdk/client-s3files"; // ES Modules import
|
|
35
|
+
* // const { S3FilesClient, CreateAccessPointCommand } = 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 = { // CreateAccessPointRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* tags: [ // TagList
|
|
42
|
+
* { // Tag
|
|
43
|
+
* key: "STRING_VALUE", // required
|
|
44
|
+
* value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* fileSystemId: "STRING_VALUE", // required
|
|
48
|
+
* posixUser: { // PosixUser
|
|
49
|
+
* uid: Number("long"), // required
|
|
50
|
+
* gid: Number("long"), // required
|
|
51
|
+
* secondaryGids: [ // SecondaryGids
|
|
52
|
+
* Number("long"),
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* rootDirectory: { // RootDirectory
|
|
56
|
+
* path: "STRING_VALUE",
|
|
57
|
+
* creationPermissions: { // CreationPermissions
|
|
58
|
+
* ownerUid: Number("long"), // required
|
|
59
|
+
* ownerGid: Number("long"), // required
|
|
60
|
+
* permissions: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* };
|
|
64
|
+
* const command = new CreateAccessPointCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* // { // CreateAccessPointResponse
|
|
67
|
+
* // accessPointArn: "STRING_VALUE", // required
|
|
68
|
+
* // accessPointId: "STRING_VALUE", // required
|
|
69
|
+
* // clientToken: "STRING_VALUE", // required
|
|
70
|
+
* // fileSystemId: "STRING_VALUE", // required
|
|
71
|
+
* // status: "available" || "creating" || "deleting" || "deleted" || "error" || "updating", // required
|
|
72
|
+
* // ownerId: "STRING_VALUE", // required
|
|
73
|
+
* // posixUser: { // PosixUser
|
|
74
|
+
* // uid: Number("long"), // required
|
|
75
|
+
* // gid: Number("long"), // required
|
|
76
|
+
* // secondaryGids: [ // SecondaryGids
|
|
77
|
+
* // Number("long"),
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // rootDirectory: { // RootDirectory
|
|
81
|
+
* // path: "STRING_VALUE",
|
|
82
|
+
* // creationPermissions: { // CreationPermissions
|
|
83
|
+
* // ownerUid: Number("long"), // required
|
|
84
|
+
* // ownerGid: Number("long"), // required
|
|
85
|
+
* // permissions: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // tags: [ // TagList
|
|
89
|
+
* // { // Tag
|
|
90
|
+
* // key: "STRING_VALUE", // required
|
|
91
|
+
* // value: "STRING_VALUE", // required
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // name: "STRING_VALUE",
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param CreateAccessPointCommandInput - {@link CreateAccessPointCommandInput}
|
|
100
|
+
* @returns {@link CreateAccessPointCommandOutput}
|
|
101
|
+
* @see {@link CreateAccessPointCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link CreateAccessPointCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link S3FilesClientResolvedConfig | config} for S3FilesClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ConflictException} (client fault)
|
|
106
|
+
* <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>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link InternalServerException} (server fault)
|
|
109
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
112
|
+
* <p>The specified resource was not found. Verify that the resource exists and that you have permission to access it.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
115
|
+
* <p>The request would exceed a service quota. Review your service quotas and either delete resources or request a quota increase.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ValidationException} (client fault)
|
|
118
|
+
* <p>The input parameters are not valid. Check the parameter values and try again.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>The request was throttled. Retry your request using exponential backoff.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link S3FilesServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from S3Files service.</p>
|
|
125
|
+
*
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class CreateAccessPointCommand extends CreateAccessPointCommand_base {
|
|
130
|
+
/** @internal type navigation helper, not in runtime. */
|
|
131
|
+
protected static __types: {
|
|
132
|
+
api: {
|
|
133
|
+
input: CreateAccessPointRequest;
|
|
134
|
+
output: CreateAccessPointResponse;
|
|
135
|
+
};
|
|
136
|
+
sdk: {
|
|
137
|
+
input: CreateAccessPointCommandInput;
|
|
138
|
+
output: CreateAccessPointCommandOutput;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}
|