@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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
8
|
+
return {
|
|
9
|
+
...browserDefaults,
|
|
10
|
+
...config,
|
|
11
|
+
runtime: "react-native",
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
8
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
9
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
|
+
const getRuntimeConfig = (config) => {
|
|
14
|
+
return {
|
|
15
|
+
apiVersion: "2025-05-05",
|
|
16
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
17
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
18
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
|
+
extensions: config?.extensions ?? [],
|
|
21
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultS3FilesHttpAuthSchemeProvider,
|
|
22
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
23
|
+
{
|
|
24
|
+
schemeId: "aws.auth#sigv4",
|
|
25
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
30
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
32
|
+
defaultNamespace: "com.amazonaws.s3files",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
34
|
+
xmlNamespace: "s3files",
|
|
35
|
+
version: "2025-05-05",
|
|
36
|
+
serviceTarget: "S3Files",
|
|
37
|
+
},
|
|
38
|
+
serviceId: config?.serviceId ?? "S3Files",
|
|
39
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
40
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
41
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceRequest$ = exports.Tag$ = exports.RootDirectory$ = exports.PutSynchronizationConfigurationResponse$ = exports.PutSynchronizationConfigurationRequest$ = exports.PutFileSystemPolicyResponse$ = exports.PutFileSystemPolicyRequest$ = exports.PosixUser$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListMountTargetsResponse$ = exports.ListMountTargetsRequest$ = exports.ListMountTargetsDescription$ = exports.ListFileSystemsResponse$ = exports.ListFileSystemsRequest$ = exports.ListFileSystemsDescription$ = exports.ListAccessPointsResponse$ = exports.ListAccessPointsRequest$ = exports.ListAccessPointsDescription$ = exports.ImportDataRule$ = exports.GetSynchronizationConfigurationResponse$ = exports.GetSynchronizationConfigurationRequest$ = exports.GetMountTargetResponse$ = exports.GetMountTargetRequest$ = exports.GetFileSystemResponse$ = exports.GetFileSystemRequest$ = exports.GetFileSystemPolicyResponse$ = exports.GetFileSystemPolicyRequest$ = exports.GetAccessPointResponse$ = exports.GetAccessPointRequest$ = exports.ExpirationDataRule$ = exports.DeleteMountTargetRequest$ = exports.DeleteFileSystemRequest$ = exports.DeleteFileSystemPolicyRequest$ = exports.DeleteAccessPointRequest$ = exports.CreationPermissions$ = exports.CreateMountTargetResponse$ = exports.CreateMountTargetRequest$ = exports.CreateFileSystemResponse$ = exports.CreateFileSystemRequest$ = exports.CreateAccessPointResponse$ = exports.CreateAccessPointRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.S3FilesServiceException$ = void 0;
|
|
4
|
+
exports.UpdateMountTarget$ = exports.UntagResource$ = exports.TagResource$ = exports.PutSynchronizationConfiguration$ = exports.PutFileSystemPolicy$ = exports.ListTagsForResource$ = exports.ListMountTargets$ = exports.ListFileSystems$ = exports.ListAccessPoints$ = exports.GetSynchronizationConfiguration$ = exports.GetMountTarget$ = exports.GetFileSystemPolicy$ = exports.GetFileSystem$ = exports.GetAccessPoint$ = exports.DeleteMountTarget$ = exports.DeleteFileSystemPolicy$ = exports.DeleteFileSystem$ = exports.DeleteAccessPoint$ = exports.CreateMountTarget$ = exports.CreateFileSystem$ = exports.CreateAccessPoint$ = exports.UpdateMountTargetResponse$ = exports.UpdateMountTargetRequest$ = exports.UntagResourceRequest$ = void 0;
|
|
5
|
+
const _AP = "AccessPoints";
|
|
6
|
+
const _CAP = "CreateAccessPoint";
|
|
7
|
+
const _CAPR = "CreateAccessPointRequest";
|
|
8
|
+
const _CAPRr = "CreateAccessPointResponse";
|
|
9
|
+
const _CE = "ConflictException";
|
|
10
|
+
const _CFS = "CreateFileSystem";
|
|
11
|
+
const _CFSR = "CreateFileSystemRequest";
|
|
12
|
+
const _CFSRr = "CreateFileSystemResponse";
|
|
13
|
+
const _CMT = "CreateMountTarget";
|
|
14
|
+
const _CMTR = "CreateMountTargetRequest";
|
|
15
|
+
const _CMTRr = "CreateMountTargetResponse";
|
|
16
|
+
const _CP = "CreationPermissions";
|
|
17
|
+
const _DAP = "DeleteAccessPoint";
|
|
18
|
+
const _DAPR = "DeleteAccessPointRequest";
|
|
19
|
+
const _DFS = "DeleteFileSystem";
|
|
20
|
+
const _DFSP = "DeleteFileSystemPolicy";
|
|
21
|
+
const _DFSPR = "DeleteFileSystemPolicyRequest";
|
|
22
|
+
const _DFSR = "DeleteFileSystemRequest";
|
|
23
|
+
const _DMT = "DeleteMountTarget";
|
|
24
|
+
const _DMTR = "DeleteMountTargetRequest";
|
|
25
|
+
const _EDR = "ExpirationDataRule";
|
|
26
|
+
const _EDRL = "ExpirationDataRuleList";
|
|
27
|
+
const _FS = "FileSystems";
|
|
28
|
+
const _GAP = "GetAccessPoint";
|
|
29
|
+
const _GAPR = "GetAccessPointRequest";
|
|
30
|
+
const _GAPRe = "GetAccessPointResponse";
|
|
31
|
+
const _GFS = "GetFileSystem";
|
|
32
|
+
const _GFSP = "GetFileSystemPolicy";
|
|
33
|
+
const _GFSPR = "GetFileSystemPolicyRequest";
|
|
34
|
+
const _GFSPRe = "GetFileSystemPolicyResponse";
|
|
35
|
+
const _GFSR = "GetFileSystemRequest";
|
|
36
|
+
const _GFSRe = "GetFileSystemResponse";
|
|
37
|
+
const _GMT = "GetMountTarget";
|
|
38
|
+
const _GMTR = "GetMountTargetRequest";
|
|
39
|
+
const _GMTRe = "GetMountTargetResponse";
|
|
40
|
+
const _GSC = "GetSynchronizationConfiguration";
|
|
41
|
+
const _GSCR = "GetSynchronizationConfigurationRequest";
|
|
42
|
+
const _GSCRe = "GetSynchronizationConfigurationResponse";
|
|
43
|
+
const _IDR = "ImportDataRule";
|
|
44
|
+
const _IDRL = "ImportDataRuleList";
|
|
45
|
+
const _ISE = "InternalServerException";
|
|
46
|
+
const _LAP = "ListAccessPoints";
|
|
47
|
+
const _LAPD = "ListAccessPointsDescription";
|
|
48
|
+
const _LAPR = "ListAccessPointsRequest";
|
|
49
|
+
const _LAPRi = "ListAccessPointsResponse";
|
|
50
|
+
const _LFS = "ListFileSystems";
|
|
51
|
+
const _LFSD = "ListFileSystemsDescription";
|
|
52
|
+
const _LFSR = "ListFileSystemsRequest";
|
|
53
|
+
const _LFSRi = "ListFileSystemsResponse";
|
|
54
|
+
const _LMT = "ListMountTargets";
|
|
55
|
+
const _LMTD = "ListMountTargetsDescription";
|
|
56
|
+
const _LMTR = "ListMountTargetsRequest";
|
|
57
|
+
const _LMTRi = "ListMountTargetsResponse";
|
|
58
|
+
const _LTFR = "ListTagsForResource";
|
|
59
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
60
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
61
|
+
const _MR = "MaxResults";
|
|
62
|
+
const _MT = "MountTargets";
|
|
63
|
+
const _NT = "NextToken";
|
|
64
|
+
const _PFSP = "PutFileSystemPolicy";
|
|
65
|
+
const _PFSPR = "PutFileSystemPolicyRequest";
|
|
66
|
+
const _PFSPRu = "PutFileSystemPolicyResponse";
|
|
67
|
+
const _PSC = "PutSynchronizationConfiguration";
|
|
68
|
+
const _PSCR = "PutSynchronizationConfigurationRequest";
|
|
69
|
+
const _PSCRu = "PutSynchronizationConfigurationResponse";
|
|
70
|
+
const _PU = "PosixUser";
|
|
71
|
+
const _RD = "RootDirectory";
|
|
72
|
+
const _RNFE = "ResourceNotFoundException";
|
|
73
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
74
|
+
const _T = "Tag";
|
|
75
|
+
const _TE = "ThrottlingException";
|
|
76
|
+
const _TL = "TagList";
|
|
77
|
+
const _TR = "TagResource";
|
|
78
|
+
const _TRR = "TagResourceRequest";
|
|
79
|
+
const _UMT = "UpdateMountTarget";
|
|
80
|
+
const _UMTR = "UpdateMountTargetRequest";
|
|
81
|
+
const _UMTRp = "UpdateMountTargetResponse";
|
|
82
|
+
const _UR = "UntagResource";
|
|
83
|
+
const _URR = "UntagResourceRequest";
|
|
84
|
+
const _VE = "ValidationException";
|
|
85
|
+
const _aBW = "acceptBucketWarning";
|
|
86
|
+
const _aP = "accessPoints";
|
|
87
|
+
const _aPA = "accessPointArn";
|
|
88
|
+
const _aPI = "accessPointId";
|
|
89
|
+
const _aZI = "availabilityZoneId";
|
|
90
|
+
const _b = "bucket";
|
|
91
|
+
const _c = "client";
|
|
92
|
+
const _cP = "creationPermissions";
|
|
93
|
+
const _cT = "clientToken";
|
|
94
|
+
const _cTr = "creationTime";
|
|
95
|
+
const _dALA = "daysAfterLastAccess";
|
|
96
|
+
const _e = "error";
|
|
97
|
+
const _eC = "errorCode";
|
|
98
|
+
const _eDR = "expirationDataRules";
|
|
99
|
+
const _fD = "forceDelete";
|
|
100
|
+
const _fS = "fileSystems";
|
|
101
|
+
const _fSA = "fileSystemArn";
|
|
102
|
+
const _fSI = "fileSystemId";
|
|
103
|
+
const _g = "gid";
|
|
104
|
+
const _h = "http";
|
|
105
|
+
const _hE = "httpError";
|
|
106
|
+
const _hQ = "httpQuery";
|
|
107
|
+
const _iA = "ipv4Address";
|
|
108
|
+
const _iAT = "ipAddressType";
|
|
109
|
+
const _iAp = "ipv6Address";
|
|
110
|
+
const _iDR = "importDataRules";
|
|
111
|
+
const _jN = "jsonName";
|
|
112
|
+
const _k = "key";
|
|
113
|
+
const _kKI = "kmsKeyId";
|
|
114
|
+
const _lVN = "latestVersionNumber";
|
|
115
|
+
const _m = "message";
|
|
116
|
+
const _mR = "maxResults";
|
|
117
|
+
const _mT = "mountTargets";
|
|
118
|
+
const _mTI = "mountTargetId";
|
|
119
|
+
const _n = "name";
|
|
120
|
+
const _nII = "networkInterfaceId";
|
|
121
|
+
const _nT = "nextToken";
|
|
122
|
+
const _oG = "ownerGid";
|
|
123
|
+
const _oI = "ownerId";
|
|
124
|
+
const _oU = "ownerUid";
|
|
125
|
+
const _p = "prefix";
|
|
126
|
+
const _pU = "posixUser";
|
|
127
|
+
const _pa = "path";
|
|
128
|
+
const _pe = "permissions";
|
|
129
|
+
const _po = "policy";
|
|
130
|
+
const _rA = "roleArn";
|
|
131
|
+
const _rD = "rootDirectory";
|
|
132
|
+
const _rI = "resourceId";
|
|
133
|
+
const _rT = "resourceType";
|
|
134
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3files";
|
|
135
|
+
const _sG = "securityGroups";
|
|
136
|
+
const _sGe = "secondaryGids";
|
|
137
|
+
const _sI = "subnetId";
|
|
138
|
+
const _sLT = "sizeLessThan";
|
|
139
|
+
const _sM = "statusMessage";
|
|
140
|
+
const _se = "server";
|
|
141
|
+
const _st = "status";
|
|
142
|
+
const _t = "tags";
|
|
143
|
+
const _tK = "tagKeys";
|
|
144
|
+
const _tr = "trigger";
|
|
145
|
+
const _u = "uid";
|
|
146
|
+
const _v = "value";
|
|
147
|
+
const _vI = "vpcId";
|
|
148
|
+
const n0 = "com.amazonaws.s3files";
|
|
149
|
+
const schema_1 = require("@smithy/core/schema");
|
|
150
|
+
const errors_1 = require("../models/errors");
|
|
151
|
+
const S3FilesServiceException_1 = require("../models/S3FilesServiceException");
|
|
152
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
153
|
+
exports.S3FilesServiceException$ = [-3, _s, "S3FilesServiceException", 0, [], []];
|
|
154
|
+
_s_registry.registerError(exports.S3FilesServiceException$, S3FilesServiceException_1.S3FilesServiceException);
|
|
155
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
156
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
157
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
158
|
+
[_eC, _m, _rI, _rT],
|
|
159
|
+
[0, 0, 0, 0], 1
|
|
160
|
+
];
|
|
161
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
162
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
163
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
164
|
+
[_eC, _m],
|
|
165
|
+
[0, 0], 1
|
|
166
|
+
];
|
|
167
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
168
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
169
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
170
|
+
[_eC, _m],
|
|
171
|
+
[0, 0], 1
|
|
172
|
+
];
|
|
173
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
174
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
175
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
176
|
+
[_eC, _m],
|
|
177
|
+
[0, 0], 1
|
|
178
|
+
];
|
|
179
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
180
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
181
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
182
|
+
[_eC, _m],
|
|
183
|
+
[0, 0], 1
|
|
184
|
+
];
|
|
185
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
186
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
187
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
188
|
+
[_eC, _m],
|
|
189
|
+
[0, 0], 1
|
|
190
|
+
];
|
|
191
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
192
|
+
exports.errorTypeRegistries = [
|
|
193
|
+
_s_registry,
|
|
194
|
+
n0_registry,
|
|
195
|
+
];
|
|
196
|
+
exports.CreateAccessPointRequest$ = [3, n0, _CAPR,
|
|
197
|
+
0,
|
|
198
|
+
[_fSI, _cT, _t, _pU, _rD],
|
|
199
|
+
[0, [0, 4], () => TagList, () => exports.PosixUser$, () => exports.RootDirectory$], 1
|
|
200
|
+
];
|
|
201
|
+
exports.CreateAccessPointResponse$ = [3, n0, _CAPRr,
|
|
202
|
+
0,
|
|
203
|
+
[_aPA, _aPI, _cT, _fSI, _st, _oI, _pU, _rD, _t, _n],
|
|
204
|
+
[0, 0, 0, 0, 0, 0, () => exports.PosixUser$, () => exports.RootDirectory$, () => TagList, 0], 6
|
|
205
|
+
];
|
|
206
|
+
exports.CreateFileSystemRequest$ = [3, n0, _CFSR,
|
|
207
|
+
0,
|
|
208
|
+
[_b, _rA, _p, _cT, _kKI, _t, _aBW],
|
|
209
|
+
[0, 0, 0, [0, 4], 0, () => TagList, 2], 2
|
|
210
|
+
];
|
|
211
|
+
exports.CreateFileSystemResponse$ = [3, n0, _CFSRr,
|
|
212
|
+
0,
|
|
213
|
+
[_cTr, _fSA, _fSI, _b, _p, _cT, _kKI, _st, _sM, _rA, _oI, _t, _n],
|
|
214
|
+
[4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => TagList, 0]
|
|
215
|
+
];
|
|
216
|
+
exports.CreateMountTargetRequest$ = [3, n0, _CMTR,
|
|
217
|
+
0,
|
|
218
|
+
[_fSI, _sI, _iA, _iAp, _iAT, _sG],
|
|
219
|
+
[0, 0, 0, 0, 0, 64 | 0], 2
|
|
220
|
+
];
|
|
221
|
+
exports.CreateMountTargetResponse$ = [3, n0, _CMTRr,
|
|
222
|
+
0,
|
|
223
|
+
[_oI, _mTI, _sI, _aZI, _fSI, _iA, _iAp, _nII, _vI, _sG, _st, _sM],
|
|
224
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0], 3
|
|
225
|
+
];
|
|
226
|
+
exports.CreationPermissions$ = [3, n0, _CP,
|
|
227
|
+
0,
|
|
228
|
+
[_oU, _oG, _pe],
|
|
229
|
+
[1, 1, 0], 3
|
|
230
|
+
];
|
|
231
|
+
exports.DeleteAccessPointRequest$ = [3, n0, _DAPR,
|
|
232
|
+
0,
|
|
233
|
+
[_aPI],
|
|
234
|
+
[[0, 1]], 1
|
|
235
|
+
];
|
|
236
|
+
exports.DeleteFileSystemPolicyRequest$ = [3, n0, _DFSPR,
|
|
237
|
+
0,
|
|
238
|
+
[_fSI],
|
|
239
|
+
[[0, 1]], 1
|
|
240
|
+
];
|
|
241
|
+
exports.DeleteFileSystemRequest$ = [3, n0, _DFSR,
|
|
242
|
+
0,
|
|
243
|
+
[_fSI, _fD],
|
|
244
|
+
[[0, 1], [2, { [_hQ]: _fD }]], 1
|
|
245
|
+
];
|
|
246
|
+
exports.DeleteMountTargetRequest$ = [3, n0, _DMTR,
|
|
247
|
+
0,
|
|
248
|
+
[_mTI],
|
|
249
|
+
[[0, 1]], 1
|
|
250
|
+
];
|
|
251
|
+
exports.ExpirationDataRule$ = [3, n0, _EDR,
|
|
252
|
+
0,
|
|
253
|
+
[_dALA],
|
|
254
|
+
[[1, { [_jN]: _dALA }]], 1
|
|
255
|
+
];
|
|
256
|
+
exports.GetAccessPointRequest$ = [3, n0, _GAPR,
|
|
257
|
+
0,
|
|
258
|
+
[_aPI],
|
|
259
|
+
[[0, 1]], 1
|
|
260
|
+
];
|
|
261
|
+
exports.GetAccessPointResponse$ = [3, n0, _GAPRe,
|
|
262
|
+
0,
|
|
263
|
+
[_aPA, _aPI, _cT, _fSI, _st, _oI, _pU, _rD, _t, _n],
|
|
264
|
+
[0, 0, 0, 0, 0, 0, () => exports.PosixUser$, () => exports.RootDirectory$, () => TagList, 0], 6
|
|
265
|
+
];
|
|
266
|
+
exports.GetFileSystemPolicyRequest$ = [3, n0, _GFSPR,
|
|
267
|
+
0,
|
|
268
|
+
[_fSI],
|
|
269
|
+
[[0, 1]], 1
|
|
270
|
+
];
|
|
271
|
+
exports.GetFileSystemPolicyResponse$ = [3, n0, _GFSPRe,
|
|
272
|
+
0,
|
|
273
|
+
[_fSI, _po],
|
|
274
|
+
[0, [0, { [_jN]: _po }]], 2
|
|
275
|
+
];
|
|
276
|
+
exports.GetFileSystemRequest$ = [3, n0, _GFSR,
|
|
277
|
+
0,
|
|
278
|
+
[_fSI],
|
|
279
|
+
[[0, 1]], 1
|
|
280
|
+
];
|
|
281
|
+
exports.GetFileSystemResponse$ = [3, n0, _GFSRe,
|
|
282
|
+
0,
|
|
283
|
+
[_cTr, _fSA, _fSI, _b, _p, _cT, _kKI, _st, _sM, _rA, _oI, _t, _n],
|
|
284
|
+
[4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => TagList, 0]
|
|
285
|
+
];
|
|
286
|
+
exports.GetMountTargetRequest$ = [3, n0, _GMTR,
|
|
287
|
+
0,
|
|
288
|
+
[_mTI],
|
|
289
|
+
[[0, 1]], 1
|
|
290
|
+
];
|
|
291
|
+
exports.GetMountTargetResponse$ = [3, n0, _GMTRe,
|
|
292
|
+
0,
|
|
293
|
+
[_oI, _mTI, _sI, _aZI, _fSI, _iA, _iAp, _nII, _vI, _sG, _st, _sM],
|
|
294
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0], 3
|
|
295
|
+
];
|
|
296
|
+
exports.GetSynchronizationConfigurationRequest$ = [3, n0, _GSCR,
|
|
297
|
+
0,
|
|
298
|
+
[_fSI],
|
|
299
|
+
[[0, 1]], 1
|
|
300
|
+
];
|
|
301
|
+
exports.GetSynchronizationConfigurationResponse$ = [3, n0, _GSCRe,
|
|
302
|
+
0,
|
|
303
|
+
[_iDR, _eDR, _lVN],
|
|
304
|
+
[[() => ImportDataRuleList, { [_jN]: _iDR }], [() => ExpirationDataRuleList, { [_jN]: _eDR }], [1, { [_jN]: _lVN }]], 2
|
|
305
|
+
];
|
|
306
|
+
exports.ImportDataRule$ = [3, n0, _IDR,
|
|
307
|
+
0,
|
|
308
|
+
[_p, _tr, _sLT],
|
|
309
|
+
[[0, { [_jN]: _p }], [0, { [_jN]: _tr }], [1, { [_jN]: _sLT }]], 3
|
|
310
|
+
];
|
|
311
|
+
exports.ListAccessPointsDescription$ = [3, n0, _LAPD,
|
|
312
|
+
0,
|
|
313
|
+
[_aPA, _aPI, _fSI, _st, _oI, _pU, _rD, _n],
|
|
314
|
+
[0, 0, 0, 0, 0, () => exports.PosixUser$, () => exports.RootDirectory$, 0], 5
|
|
315
|
+
];
|
|
316
|
+
exports.ListAccessPointsRequest$ = [3, n0, _LAPR,
|
|
317
|
+
0,
|
|
318
|
+
[_fSI, _mR, _nT],
|
|
319
|
+
[[0, { [_hQ]: _fSI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
320
|
+
];
|
|
321
|
+
exports.ListAccessPointsResponse$ = [3, n0, _LAPRi,
|
|
322
|
+
0,
|
|
323
|
+
[_aP, _nT],
|
|
324
|
+
[() => AccessPoints, 0], 1
|
|
325
|
+
];
|
|
326
|
+
exports.ListFileSystemsDescription$ = [3, n0, _LFSD,
|
|
327
|
+
0,
|
|
328
|
+
[_cTr, _fSA, _fSI, _b, _st, _rA, _oI, _n, _sM],
|
|
329
|
+
[4, 0, 0, 0, 0, 0, 0, 0, 0], 7
|
|
330
|
+
];
|
|
331
|
+
exports.ListFileSystemsRequest$ = [3, n0, _LFSR,
|
|
332
|
+
0,
|
|
333
|
+
[_b, _mR, _nT],
|
|
334
|
+
[[0, { [_hQ]: _b }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
335
|
+
];
|
|
336
|
+
exports.ListFileSystemsResponse$ = [3, n0, _LFSRi,
|
|
337
|
+
0,
|
|
338
|
+
[_fS, _nT],
|
|
339
|
+
[() => FileSystems, 0], 1
|
|
340
|
+
];
|
|
341
|
+
exports.ListMountTargetsDescription$ = [3, n0, _LMTD,
|
|
342
|
+
0,
|
|
343
|
+
[_mTI, _oI, _sI, _aZI, _fSI, _iA, _iAp, _st, _sM, _nII, _vI],
|
|
344
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 3
|
|
345
|
+
];
|
|
346
|
+
exports.ListMountTargetsRequest$ = [3, n0, _LMTR,
|
|
347
|
+
0,
|
|
348
|
+
[_fSI, _aPI, _mR, _nT],
|
|
349
|
+
[[0, { [_hQ]: _fSI }], [0, { [_hQ]: _aPI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
350
|
+
];
|
|
351
|
+
exports.ListMountTargetsResponse$ = [3, n0, _LMTRi,
|
|
352
|
+
0,
|
|
353
|
+
[_mT, _nT],
|
|
354
|
+
[() => MountTargets, 0], 1
|
|
355
|
+
];
|
|
356
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
357
|
+
0,
|
|
358
|
+
[_rI, _mR, _nT],
|
|
359
|
+
[[0, 1], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
|
|
360
|
+
];
|
|
361
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
362
|
+
0,
|
|
363
|
+
[_t, _nT],
|
|
364
|
+
[() => TagList, 0]
|
|
365
|
+
];
|
|
366
|
+
exports.PosixUser$ = [3, n0, _PU,
|
|
367
|
+
0,
|
|
368
|
+
[_u, _g, _sGe],
|
|
369
|
+
[1, 1, 64 | 1], 2
|
|
370
|
+
];
|
|
371
|
+
exports.PutFileSystemPolicyRequest$ = [3, n0, _PFSPR,
|
|
372
|
+
0,
|
|
373
|
+
[_fSI, _po],
|
|
374
|
+
[[0, 1], [0, { [_jN]: _po }]], 2
|
|
375
|
+
];
|
|
376
|
+
exports.PutFileSystemPolicyResponse$ = [3, n0, _PFSPRu,
|
|
377
|
+
0,
|
|
378
|
+
[],
|
|
379
|
+
[]
|
|
380
|
+
];
|
|
381
|
+
exports.PutSynchronizationConfigurationRequest$ = [3, n0, _PSCR,
|
|
382
|
+
0,
|
|
383
|
+
[_fSI, _iDR, _eDR, _lVN],
|
|
384
|
+
[[0, 1], [() => ImportDataRuleList, { [_jN]: _iDR }], [() => ExpirationDataRuleList, { [_jN]: _eDR }], [1, { [_jN]: _lVN }]], 3
|
|
385
|
+
];
|
|
386
|
+
exports.PutSynchronizationConfigurationResponse$ = [3, n0, _PSCRu,
|
|
387
|
+
0,
|
|
388
|
+
[],
|
|
389
|
+
[]
|
|
390
|
+
];
|
|
391
|
+
exports.RootDirectory$ = [3, n0, _RD,
|
|
392
|
+
0,
|
|
393
|
+
[_pa, _cP],
|
|
394
|
+
[0, () => exports.CreationPermissions$]
|
|
395
|
+
];
|
|
396
|
+
exports.Tag$ = [3, n0, _T,
|
|
397
|
+
0,
|
|
398
|
+
[_k, _v],
|
|
399
|
+
[0, 0], 2
|
|
400
|
+
];
|
|
401
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
402
|
+
0,
|
|
403
|
+
[_rI, _t],
|
|
404
|
+
[[0, 1], () => TagList], 2
|
|
405
|
+
];
|
|
406
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
407
|
+
0,
|
|
408
|
+
[_rI, _tK],
|
|
409
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
410
|
+
];
|
|
411
|
+
exports.UpdateMountTargetRequest$ = [3, n0, _UMTR,
|
|
412
|
+
0,
|
|
413
|
+
[_mTI, _sG],
|
|
414
|
+
[[0, 1], 64 | 0], 2
|
|
415
|
+
];
|
|
416
|
+
exports.UpdateMountTargetResponse$ = [3, n0, _UMTRp,
|
|
417
|
+
0,
|
|
418
|
+
[_oI, _mTI, _sI, _aZI, _fSI, _iA, _iAp, _nII, _vI, _sG, _st, _sM],
|
|
419
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0], 3
|
|
420
|
+
];
|
|
421
|
+
var __Unit = "unit";
|
|
422
|
+
var AccessPoints = [1, n0, _AP,
|
|
423
|
+
0, () => exports.ListAccessPointsDescription$
|
|
424
|
+
];
|
|
425
|
+
var ExpirationDataRuleList = [1, n0, _EDRL,
|
|
426
|
+
0, [() => exports.ExpirationDataRule$,
|
|
427
|
+
0]
|
|
428
|
+
];
|
|
429
|
+
var FileSystems = [1, n0, _FS,
|
|
430
|
+
0, () => exports.ListFileSystemsDescription$
|
|
431
|
+
];
|
|
432
|
+
var ImportDataRuleList = [1, n0, _IDRL,
|
|
433
|
+
0, [() => exports.ImportDataRule$,
|
|
434
|
+
0]
|
|
435
|
+
];
|
|
436
|
+
var MountTargets = [1, n0, _MT,
|
|
437
|
+
0, () => exports.ListMountTargetsDescription$
|
|
438
|
+
];
|
|
439
|
+
var SecondaryGids = 64 | 1;
|
|
440
|
+
var SecurityGroups = 64 | 0;
|
|
441
|
+
var TagKeys = 64 | 0;
|
|
442
|
+
var TagList = [1, n0, _TL,
|
|
443
|
+
0, () => exports.Tag$
|
|
444
|
+
];
|
|
445
|
+
exports.CreateAccessPoint$ = [9, n0, _CAP,
|
|
446
|
+
{ [_h]: ["PUT", "/access-points", 200] }, () => exports.CreateAccessPointRequest$, () => exports.CreateAccessPointResponse$
|
|
447
|
+
];
|
|
448
|
+
exports.CreateFileSystem$ = [9, n0, _CFS,
|
|
449
|
+
{ [_h]: ["PUT", "/file-systems", 201] }, () => exports.CreateFileSystemRequest$, () => exports.CreateFileSystemResponse$
|
|
450
|
+
];
|
|
451
|
+
exports.CreateMountTarget$ = [9, n0, _CMT,
|
|
452
|
+
{ [_h]: ["PUT", "/mount-targets", 200] }, () => exports.CreateMountTargetRequest$, () => exports.CreateMountTargetResponse$
|
|
453
|
+
];
|
|
454
|
+
exports.DeleteAccessPoint$ = [9, n0, _DAP,
|
|
455
|
+
{ [_h]: ["DELETE", "/access-points/{accessPointId}", 204] }, () => exports.DeleteAccessPointRequest$, () => __Unit
|
|
456
|
+
];
|
|
457
|
+
exports.DeleteFileSystem$ = [9, n0, _DFS,
|
|
458
|
+
{ [_h]: ["DELETE", "/file-systems/{fileSystemId}", 204] }, () => exports.DeleteFileSystemRequest$, () => __Unit
|
|
459
|
+
];
|
|
460
|
+
exports.DeleteFileSystemPolicy$ = [9, n0, _DFSP,
|
|
461
|
+
{ [_h]: ["DELETE", "/file-systems/{fileSystemId}/policy", 204] }, () => exports.DeleteFileSystemPolicyRequest$, () => __Unit
|
|
462
|
+
];
|
|
463
|
+
exports.DeleteMountTarget$ = [9, n0, _DMT,
|
|
464
|
+
{ [_h]: ["DELETE", "/mount-targets/{mountTargetId}", 204] }, () => exports.DeleteMountTargetRequest$, () => __Unit
|
|
465
|
+
];
|
|
466
|
+
exports.GetAccessPoint$ = [9, n0, _GAP,
|
|
467
|
+
{ [_h]: ["GET", "/access-points/{accessPointId}", 200] }, () => exports.GetAccessPointRequest$, () => exports.GetAccessPointResponse$
|
|
468
|
+
];
|
|
469
|
+
exports.GetFileSystem$ = [9, n0, _GFS,
|
|
470
|
+
{ [_h]: ["GET", "/file-systems/{fileSystemId}", 200] }, () => exports.GetFileSystemRequest$, () => exports.GetFileSystemResponse$
|
|
471
|
+
];
|
|
472
|
+
exports.GetFileSystemPolicy$ = [9, n0, _GFSP,
|
|
473
|
+
{ [_h]: ["GET", "/file-systems/{fileSystemId}/policy", 200] }, () => exports.GetFileSystemPolicyRequest$, () => exports.GetFileSystemPolicyResponse$
|
|
474
|
+
];
|
|
475
|
+
exports.GetMountTarget$ = [9, n0, _GMT,
|
|
476
|
+
{ [_h]: ["GET", "/mount-targets/{mountTargetId}", 200] }, () => exports.GetMountTargetRequest$, () => exports.GetMountTargetResponse$
|
|
477
|
+
];
|
|
478
|
+
exports.GetSynchronizationConfiguration$ = [9, n0, _GSC,
|
|
479
|
+
{ [_h]: ["GET", "/file-systems/{fileSystemId}/synchronization-configuration", 200] }, () => exports.GetSynchronizationConfigurationRequest$, () => exports.GetSynchronizationConfigurationResponse$
|
|
480
|
+
];
|
|
481
|
+
exports.ListAccessPoints$ = [9, n0, _LAP,
|
|
482
|
+
{ [_h]: ["GET", "/access-points", 200] }, () => exports.ListAccessPointsRequest$, () => exports.ListAccessPointsResponse$
|
|
483
|
+
];
|
|
484
|
+
exports.ListFileSystems$ = [9, n0, _LFS,
|
|
485
|
+
{ [_h]: ["GET", "/file-systems", 200] }, () => exports.ListFileSystemsRequest$, () => exports.ListFileSystemsResponse$
|
|
486
|
+
];
|
|
487
|
+
exports.ListMountTargets$ = [9, n0, _LMT,
|
|
488
|
+
{ [_h]: ["GET", "/mount-targets", 200] }, () => exports.ListMountTargetsRequest$, () => exports.ListMountTargetsResponse$
|
|
489
|
+
];
|
|
490
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
491
|
+
{ [_h]: ["GET", "/resource-tags/{resourceId}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
492
|
+
];
|
|
493
|
+
exports.PutFileSystemPolicy$ = [9, n0, _PFSP,
|
|
494
|
+
{ [_h]: ["PUT", "/file-systems/{fileSystemId}/policy", 200] }, () => exports.PutFileSystemPolicyRequest$, () => exports.PutFileSystemPolicyResponse$
|
|
495
|
+
];
|
|
496
|
+
exports.PutSynchronizationConfiguration$ = [9, n0, _PSC,
|
|
497
|
+
{ [_h]: ["PUT", "/file-systems/{fileSystemId}/synchronization-configuration", 200] }, () => exports.PutSynchronizationConfigurationRequest$, () => exports.PutSynchronizationConfigurationResponse$
|
|
498
|
+
];
|
|
499
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
500
|
+
{ [_h]: ["POST", "/resource-tags/{resourceId}", 200] }, () => exports.TagResourceRequest$, () => __Unit
|
|
501
|
+
];
|
|
502
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
503
|
+
{ [_h]: ["DELETE", "/resource-tags/{resourceId}", 200] }, () => exports.UntagResourceRequest$, () => __Unit
|
|
504
|
+
];
|
|
505
|
+
exports.UpdateMountTarget$ = [9, n0, _UMT,
|
|
506
|
+
{ [_h]: ["PUT", "/mount-targets/{mountTargetId}", 200] }, () => exports.UpdateMountTargetRequest$, () => exports.UpdateMountTargetResponse$
|
|
507
|
+
];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { CreateAccessPointCommand, } from "./commands/CreateAccessPointCommand";
|
|
3
|
+
import { CreateFileSystemCommand, } from "./commands/CreateFileSystemCommand";
|
|
4
|
+
import { CreateMountTargetCommand, } from "./commands/CreateMountTargetCommand";
|
|
5
|
+
import { DeleteAccessPointCommand, } from "./commands/DeleteAccessPointCommand";
|
|
6
|
+
import { DeleteFileSystemCommand, } from "./commands/DeleteFileSystemCommand";
|
|
7
|
+
import { DeleteFileSystemPolicyCommand, } from "./commands/DeleteFileSystemPolicyCommand";
|
|
8
|
+
import { DeleteMountTargetCommand, } from "./commands/DeleteMountTargetCommand";
|
|
9
|
+
import { GetAccessPointCommand, } from "./commands/GetAccessPointCommand";
|
|
10
|
+
import { GetFileSystemCommand, } from "./commands/GetFileSystemCommand";
|
|
11
|
+
import { GetFileSystemPolicyCommand, } from "./commands/GetFileSystemPolicyCommand";
|
|
12
|
+
import { GetMountTargetCommand, } from "./commands/GetMountTargetCommand";
|
|
13
|
+
import { GetSynchronizationConfigurationCommand, } from "./commands/GetSynchronizationConfigurationCommand";
|
|
14
|
+
import { ListAccessPointsCommand, } from "./commands/ListAccessPointsCommand";
|
|
15
|
+
import { ListFileSystemsCommand, } from "./commands/ListFileSystemsCommand";
|
|
16
|
+
import { ListMountTargetsCommand, } from "./commands/ListMountTargetsCommand";
|
|
17
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
18
|
+
import { PutFileSystemPolicyCommand, } from "./commands/PutFileSystemPolicyCommand";
|
|
19
|
+
import { PutSynchronizationConfigurationCommand, } from "./commands/PutSynchronizationConfigurationCommand";
|
|
20
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
21
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
22
|
+
import { UpdateMountTargetCommand, } from "./commands/UpdateMountTargetCommand";
|
|
23
|
+
import { paginateListAccessPoints } from "./pagination/ListAccessPointsPaginator";
|
|
24
|
+
import { paginateListFileSystems } from "./pagination/ListFileSystemsPaginator";
|
|
25
|
+
import { paginateListMountTargets } from "./pagination/ListMountTargetsPaginator";
|
|
26
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
27
|
+
import { S3FilesClient } from "./S3FilesClient";
|
|
28
|
+
const commands = {
|
|
29
|
+
CreateAccessPointCommand,
|
|
30
|
+
CreateFileSystemCommand,
|
|
31
|
+
CreateMountTargetCommand,
|
|
32
|
+
DeleteAccessPointCommand,
|
|
33
|
+
DeleteFileSystemCommand,
|
|
34
|
+
DeleteFileSystemPolicyCommand,
|
|
35
|
+
DeleteMountTargetCommand,
|
|
36
|
+
GetAccessPointCommand,
|
|
37
|
+
GetFileSystemCommand,
|
|
38
|
+
GetFileSystemPolicyCommand,
|
|
39
|
+
GetMountTargetCommand,
|
|
40
|
+
GetSynchronizationConfigurationCommand,
|
|
41
|
+
ListAccessPointsCommand,
|
|
42
|
+
ListFileSystemsCommand,
|
|
43
|
+
ListMountTargetsCommand,
|
|
44
|
+
ListTagsForResourceCommand,
|
|
45
|
+
PutFileSystemPolicyCommand,
|
|
46
|
+
PutSynchronizationConfigurationCommand,
|
|
47
|
+
TagResourceCommand,
|
|
48
|
+
UntagResourceCommand,
|
|
49
|
+
UpdateMountTargetCommand,
|
|
50
|
+
};
|
|
51
|
+
const paginators = {
|
|
52
|
+
paginateListAccessPoints,
|
|
53
|
+
paginateListFileSystems,
|
|
54
|
+
paginateListMountTargets,
|
|
55
|
+
paginateListTagsForResource,
|
|
56
|
+
};
|
|
57
|
+
export class S3Files extends S3FilesClient {
|
|
58
|
+
}
|
|
59
|
+
createAggregatedClient(commands, S3Files, { paginators });
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
|
+
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
|
+
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
|
+
import { defaultS3FilesHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
14
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
15
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
16
|
+
export { __Client };
|
|
17
|
+
export class S3FilesClient extends __Client {
|
|
18
|
+
config;
|
|
19
|
+
constructor(...[configuration]) {
|
|
20
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
21
|
+
super(_config_0);
|
|
22
|
+
this.initConfig = _config_0;
|
|
23
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
24
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
25
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
26
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
27
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
28
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
29
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
30
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
31
|
+
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
37
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
38
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
39
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
40
|
+
httpAuthSchemeParametersProvider: defaultS3FilesHttpAuthSchemeParametersProvider,
|
|
41
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
42
|
+
"aws.auth#sigv4": config.credentials,
|
|
43
|
+
}),
|
|
44
|
+
}));
|
|
45
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
46
|
+
}
|
|
47
|
+
destroy() {
|
|
48
|
+
super.destroy();
|
|
49
|
+
}
|
|
50
|
+
}
|