@aws-sdk/client-s3files 3.1075.0 → 3.1077.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/dist-cjs/index.js +839 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -29
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/S3FilesServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -89
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -39
- package/dist-cjs/schemas/schemas_0.js +0 -555
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultS3FilesHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "s3files",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultS3FilesHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -29,6 +66,712 @@ const commonParams = {
|
|
|
29
66
|
Region: { type: "builtInParams", name: "region" },
|
|
30
67
|
};
|
|
31
68
|
|
|
69
|
+
var version = "3.1076.0";
|
|
70
|
+
var packageInfo = {
|
|
71
|
+
version: version};
|
|
72
|
+
|
|
73
|
+
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
74
|
+
const _data = {
|
|
75
|
+
conditions: [
|
|
76
|
+
[a, [b]],
|
|
77
|
+
[a, c],
|
|
78
|
+
["aws.partition", c, "PartitionResult"],
|
|
79
|
+
["booleanEquals", [{ ref: "UseFIPS" }, true]]
|
|
80
|
+
],
|
|
81
|
+
results: [
|
|
82
|
+
[-1],
|
|
83
|
+
[-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
84
|
+
[b, {}],
|
|
85
|
+
["https://s3files-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
|
|
86
|
+
["https://s3files.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
|
|
87
|
+
[-1, "Invalid Configuration: Missing Region"]
|
|
88
|
+
]
|
|
89
|
+
};
|
|
90
|
+
const root = 2;
|
|
91
|
+
const r = 100_000_000;
|
|
92
|
+
const nodes = new Int32Array([
|
|
93
|
+
-1, 1, -1,
|
|
94
|
+
0, 6, 3,
|
|
95
|
+
1, 4, r + 5,
|
|
96
|
+
2, 5, r + 5,
|
|
97
|
+
3, r + 3, r + 4,
|
|
98
|
+
3, r + 1, r + 2,
|
|
99
|
+
]);
|
|
100
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
101
|
+
|
|
102
|
+
const cache = new EndpointCache({
|
|
103
|
+
size: 50,
|
|
104
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
105
|
+
});
|
|
106
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
107
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
108
|
+
endpointParams: endpointParams,
|
|
109
|
+
logger: context.logger,
|
|
110
|
+
}));
|
|
111
|
+
};
|
|
112
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
113
|
+
|
|
114
|
+
class S3FilesServiceException extends ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, S3FilesServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class ConflictException extends S3FilesServiceException {
|
|
122
|
+
name = "ConflictException";
|
|
123
|
+
$fault = "client";
|
|
124
|
+
errorCode;
|
|
125
|
+
resourceId;
|
|
126
|
+
resourceType;
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "ConflictException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
134
|
+
this.errorCode = opts.errorCode;
|
|
135
|
+
this.resourceId = opts.resourceId;
|
|
136
|
+
this.resourceType = opts.resourceType;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
class InternalServerException extends S3FilesServiceException {
|
|
140
|
+
name = "InternalServerException";
|
|
141
|
+
$fault = "server";
|
|
142
|
+
errorCode;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "InternalServerException",
|
|
146
|
+
$fault: "server",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
150
|
+
this.errorCode = opts.errorCode;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class ResourceNotFoundException extends S3FilesServiceException {
|
|
154
|
+
name = "ResourceNotFoundException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
errorCode;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "ResourceNotFoundException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
164
|
+
this.errorCode = opts.errorCode;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class ServiceQuotaExceededException extends S3FilesServiceException {
|
|
168
|
+
name = "ServiceQuotaExceededException";
|
|
169
|
+
$fault = "client";
|
|
170
|
+
errorCode;
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "ServiceQuotaExceededException",
|
|
174
|
+
$fault: "client",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
178
|
+
this.errorCode = opts.errorCode;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class ThrottlingException extends S3FilesServiceException {
|
|
182
|
+
name = "ThrottlingException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
errorCode;
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "ThrottlingException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
192
|
+
this.errorCode = opts.errorCode;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class ValidationException extends S3FilesServiceException {
|
|
196
|
+
name = "ValidationException";
|
|
197
|
+
$fault = "client";
|
|
198
|
+
errorCode;
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ValidationException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
206
|
+
this.errorCode = opts.errorCode;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
const _AP = "AccessPoints";
|
|
211
|
+
const _CAP = "CreateAccessPoint";
|
|
212
|
+
const _CAPR = "CreateAccessPointRequest";
|
|
213
|
+
const _CAPRr = "CreateAccessPointResponse";
|
|
214
|
+
const _CE = "ConflictException";
|
|
215
|
+
const _CFS = "CreateFileSystem";
|
|
216
|
+
const _CFSR = "CreateFileSystemRequest";
|
|
217
|
+
const _CFSRr = "CreateFileSystemResponse";
|
|
218
|
+
const _CMT = "CreateMountTarget";
|
|
219
|
+
const _CMTR = "CreateMountTargetRequest";
|
|
220
|
+
const _CMTRr = "CreateMountTargetResponse";
|
|
221
|
+
const _CP = "CreationPermissions";
|
|
222
|
+
const _DAP = "DeleteAccessPoint";
|
|
223
|
+
const _DAPR = "DeleteAccessPointRequest";
|
|
224
|
+
const _DFS = "DeleteFileSystem";
|
|
225
|
+
const _DFSP = "DeleteFileSystemPolicy";
|
|
226
|
+
const _DFSPR = "DeleteFileSystemPolicyRequest";
|
|
227
|
+
const _DFSR = "DeleteFileSystemRequest";
|
|
228
|
+
const _DMT = "DeleteMountTarget";
|
|
229
|
+
const _DMTR = "DeleteMountTargetRequest";
|
|
230
|
+
const _EDR = "ExpirationDataRule";
|
|
231
|
+
const _EDRL = "ExpirationDataRuleList";
|
|
232
|
+
const _FS = "FileSystems";
|
|
233
|
+
const _GAP = "GetAccessPoint";
|
|
234
|
+
const _GAPR = "GetAccessPointRequest";
|
|
235
|
+
const _GAPRe = "GetAccessPointResponse";
|
|
236
|
+
const _GFS = "GetFileSystem";
|
|
237
|
+
const _GFSP = "GetFileSystemPolicy";
|
|
238
|
+
const _GFSPR = "GetFileSystemPolicyRequest";
|
|
239
|
+
const _GFSPRe = "GetFileSystemPolicyResponse";
|
|
240
|
+
const _GFSR = "GetFileSystemRequest";
|
|
241
|
+
const _GFSRe = "GetFileSystemResponse";
|
|
242
|
+
const _GMT = "GetMountTarget";
|
|
243
|
+
const _GMTR = "GetMountTargetRequest";
|
|
244
|
+
const _GMTRe = "GetMountTargetResponse";
|
|
245
|
+
const _GSC = "GetSynchronizationConfiguration";
|
|
246
|
+
const _GSCR = "GetSynchronizationConfigurationRequest";
|
|
247
|
+
const _GSCRe = "GetSynchronizationConfigurationResponse";
|
|
248
|
+
const _IDR = "ImportDataRule";
|
|
249
|
+
const _IDRL = "ImportDataRuleList";
|
|
250
|
+
const _ISE = "InternalServerException";
|
|
251
|
+
const _LAP = "ListAccessPoints";
|
|
252
|
+
const _LAPD = "ListAccessPointsDescription";
|
|
253
|
+
const _LAPR = "ListAccessPointsRequest";
|
|
254
|
+
const _LAPRi = "ListAccessPointsResponse";
|
|
255
|
+
const _LFS = "ListFileSystems";
|
|
256
|
+
const _LFSD = "ListFileSystemsDescription";
|
|
257
|
+
const _LFSR = "ListFileSystemsRequest";
|
|
258
|
+
const _LFSRi = "ListFileSystemsResponse";
|
|
259
|
+
const _LMT = "ListMountTargets";
|
|
260
|
+
const _LMTD = "ListMountTargetsDescription";
|
|
261
|
+
const _LMTR = "ListMountTargetsRequest";
|
|
262
|
+
const _LMTRi = "ListMountTargetsResponse";
|
|
263
|
+
const _LTFR = "ListTagsForResource";
|
|
264
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
265
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
266
|
+
const _MR = "MaxResults";
|
|
267
|
+
const _MT = "MountTargets";
|
|
268
|
+
const _NT = "NextToken";
|
|
269
|
+
const _PFSP = "PutFileSystemPolicy";
|
|
270
|
+
const _PFSPR = "PutFileSystemPolicyRequest";
|
|
271
|
+
const _PFSPRu = "PutFileSystemPolicyResponse";
|
|
272
|
+
const _PSC = "PutSynchronizationConfiguration";
|
|
273
|
+
const _PSCR = "PutSynchronizationConfigurationRequest";
|
|
274
|
+
const _PSCRu = "PutSynchronizationConfigurationResponse";
|
|
275
|
+
const _PU = "PosixUser";
|
|
276
|
+
const _RD = "RootDirectory";
|
|
277
|
+
const _RNFE = "ResourceNotFoundException";
|
|
278
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
279
|
+
const _T = "Tag";
|
|
280
|
+
const _TE = "ThrottlingException";
|
|
281
|
+
const _TL = "TagList";
|
|
282
|
+
const _TR = "TagResource";
|
|
283
|
+
const _TRR = "TagResourceRequest";
|
|
284
|
+
const _UMT = "UpdateMountTarget";
|
|
285
|
+
const _UMTR = "UpdateMountTargetRequest";
|
|
286
|
+
const _UMTRp = "UpdateMountTargetResponse";
|
|
287
|
+
const _UR = "UntagResource";
|
|
288
|
+
const _URR = "UntagResourceRequest";
|
|
289
|
+
const _VE = "ValidationException";
|
|
290
|
+
const _aBW = "acceptBucketWarning";
|
|
291
|
+
const _aP = "accessPoints";
|
|
292
|
+
const _aPA = "accessPointArn";
|
|
293
|
+
const _aPI = "accessPointId";
|
|
294
|
+
const _aZI = "availabilityZoneId";
|
|
295
|
+
const _b = "bucket";
|
|
296
|
+
const _c = "client";
|
|
297
|
+
const _cP = "creationPermissions";
|
|
298
|
+
const _cT = "clientToken";
|
|
299
|
+
const _cTr = "creationTime";
|
|
300
|
+
const _dALA = "daysAfterLastAccess";
|
|
301
|
+
const _e = "error";
|
|
302
|
+
const _eC = "errorCode";
|
|
303
|
+
const _eDR = "expirationDataRules";
|
|
304
|
+
const _fD = "forceDelete";
|
|
305
|
+
const _fS = "fileSystems";
|
|
306
|
+
const _fSA = "fileSystemArn";
|
|
307
|
+
const _fSI = "fileSystemId";
|
|
308
|
+
const _g = "gid";
|
|
309
|
+
const _h = "http";
|
|
310
|
+
const _hE = "httpError";
|
|
311
|
+
const _hQ = "httpQuery";
|
|
312
|
+
const _iA = "ipv4Address";
|
|
313
|
+
const _iAT = "ipAddressType";
|
|
314
|
+
const _iAp = "ipv6Address";
|
|
315
|
+
const _iDR = "importDataRules";
|
|
316
|
+
const _jN = "jsonName";
|
|
317
|
+
const _k = "key";
|
|
318
|
+
const _kKI = "kmsKeyId";
|
|
319
|
+
const _lVN = "latestVersionNumber";
|
|
320
|
+
const _m = "message";
|
|
321
|
+
const _mR = "maxResults";
|
|
322
|
+
const _mT = "mountTargets";
|
|
323
|
+
const _mTI = "mountTargetId";
|
|
324
|
+
const _n = "name";
|
|
325
|
+
const _nII = "networkInterfaceId";
|
|
326
|
+
const _nT = "nextToken";
|
|
327
|
+
const _oG = "ownerGid";
|
|
328
|
+
const _oI = "ownerId";
|
|
329
|
+
const _oU = "ownerUid";
|
|
330
|
+
const _p = "prefix";
|
|
331
|
+
const _pU = "posixUser";
|
|
332
|
+
const _pa = "path";
|
|
333
|
+
const _pe = "permissions";
|
|
334
|
+
const _po = "policy";
|
|
335
|
+
const _rA = "roleArn";
|
|
336
|
+
const _rD = "rootDirectory";
|
|
337
|
+
const _rI = "resourceId";
|
|
338
|
+
const _rT = "resourceType";
|
|
339
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3files";
|
|
340
|
+
const _sG = "securityGroups";
|
|
341
|
+
const _sGe = "secondaryGids";
|
|
342
|
+
const _sI = "subnetId";
|
|
343
|
+
const _sLT = "sizeLessThan";
|
|
344
|
+
const _sM = "statusMessage";
|
|
345
|
+
const _se = "server";
|
|
346
|
+
const _st = "status";
|
|
347
|
+
const _t = "tags";
|
|
348
|
+
const _tK = "tagKeys";
|
|
349
|
+
const _tr = "trigger";
|
|
350
|
+
const _u = "uid";
|
|
351
|
+
const _v = "value";
|
|
352
|
+
const _vI = "vpcId";
|
|
353
|
+
const n0 = "com.amazonaws.s3files";
|
|
354
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
355
|
+
var S3FilesServiceException$ = [-3, _s, "S3FilesServiceException", 0, [], []];
|
|
356
|
+
_s_registry.registerError(S3FilesServiceException$, S3FilesServiceException);
|
|
357
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
358
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
359
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
360
|
+
[_eC, _m, _rI, _rT],
|
|
361
|
+
[0, 0, 0, 0], 1
|
|
362
|
+
];
|
|
363
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
364
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
365
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
366
|
+
[_eC, _m],
|
|
367
|
+
[0, 0], 1
|
|
368
|
+
];
|
|
369
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
370
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
371
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
372
|
+
[_eC, _m],
|
|
373
|
+
[0, 0], 1
|
|
374
|
+
];
|
|
375
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
376
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
377
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
378
|
+
[_eC, _m],
|
|
379
|
+
[0, 0], 1
|
|
380
|
+
];
|
|
381
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
382
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
383
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
384
|
+
[_eC, _m],
|
|
385
|
+
[0, 0], 1
|
|
386
|
+
];
|
|
387
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
388
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
389
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
390
|
+
[_eC, _m],
|
|
391
|
+
[0, 0], 1
|
|
392
|
+
];
|
|
393
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
394
|
+
const errorTypeRegistries = [
|
|
395
|
+
_s_registry,
|
|
396
|
+
n0_registry,
|
|
397
|
+
];
|
|
398
|
+
var CreateAccessPointRequest$ = [3, n0, _CAPR,
|
|
399
|
+
0,
|
|
400
|
+
[_fSI, _cT, _t, _pU, _rD],
|
|
401
|
+
[0, [0, 4], () => TagList, () => PosixUser$, () => RootDirectory$], 1
|
|
402
|
+
];
|
|
403
|
+
var CreateAccessPointResponse$ = [3, n0, _CAPRr,
|
|
404
|
+
0,
|
|
405
|
+
[_aPA, _aPI, _cT, _fSI, _st, _oI, _pU, _rD, _t, _n],
|
|
406
|
+
[0, 0, 0, 0, 0, 0, () => PosixUser$, () => RootDirectory$, () => TagList, 0], 6
|
|
407
|
+
];
|
|
408
|
+
var CreateFileSystemRequest$ = [3, n0, _CFSR,
|
|
409
|
+
0,
|
|
410
|
+
[_b, _rA, _p, _cT, _kKI, _t, _aBW],
|
|
411
|
+
[0, 0, 0, [0, 4], 0, () => TagList, 2], 2
|
|
412
|
+
];
|
|
413
|
+
var CreateFileSystemResponse$ = [3, n0, _CFSRr,
|
|
414
|
+
0,
|
|
415
|
+
[_cTr, _fSA, _fSI, _b, _p, _cT, _kKI, _st, _sM, _rA, _oI, _t, _n],
|
|
416
|
+
[4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => TagList, 0]
|
|
417
|
+
];
|
|
418
|
+
var CreateMountTargetRequest$ = [3, n0, _CMTR,
|
|
419
|
+
0,
|
|
420
|
+
[_fSI, _sI, _iA, _iAp, _iAT, _sG],
|
|
421
|
+
[0, 0, 0, 0, 0, 64 | 0], 2
|
|
422
|
+
];
|
|
423
|
+
var CreateMountTargetResponse$ = [3, n0, _CMTRr,
|
|
424
|
+
0,
|
|
425
|
+
[_oI, _mTI, _sI, _aZI, _fSI, _iA, _iAp, _nII, _vI, _sG, _st, _sM],
|
|
426
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0], 3
|
|
427
|
+
];
|
|
428
|
+
var CreationPermissions$ = [3, n0, _CP,
|
|
429
|
+
0,
|
|
430
|
+
[_oU, _oG, _pe],
|
|
431
|
+
[1, 1, 0], 3
|
|
432
|
+
];
|
|
433
|
+
var DeleteAccessPointRequest$ = [3, n0, _DAPR,
|
|
434
|
+
0,
|
|
435
|
+
[_aPI],
|
|
436
|
+
[[0, 1]], 1
|
|
437
|
+
];
|
|
438
|
+
var DeleteFileSystemPolicyRequest$ = [3, n0, _DFSPR,
|
|
439
|
+
0,
|
|
440
|
+
[_fSI],
|
|
441
|
+
[[0, 1]], 1
|
|
442
|
+
];
|
|
443
|
+
var DeleteFileSystemRequest$ = [3, n0, _DFSR,
|
|
444
|
+
0,
|
|
445
|
+
[_fSI, _fD],
|
|
446
|
+
[[0, 1], [2, { [_hQ]: _fD }]], 1
|
|
447
|
+
];
|
|
448
|
+
var DeleteMountTargetRequest$ = [3, n0, _DMTR,
|
|
449
|
+
0,
|
|
450
|
+
[_mTI],
|
|
451
|
+
[[0, 1]], 1
|
|
452
|
+
];
|
|
453
|
+
var ExpirationDataRule$ = [3, n0, _EDR,
|
|
454
|
+
0,
|
|
455
|
+
[_dALA],
|
|
456
|
+
[[1, { [_jN]: _dALA }]], 1
|
|
457
|
+
];
|
|
458
|
+
var GetAccessPointRequest$ = [3, n0, _GAPR,
|
|
459
|
+
0,
|
|
460
|
+
[_aPI],
|
|
461
|
+
[[0, 1]], 1
|
|
462
|
+
];
|
|
463
|
+
var GetAccessPointResponse$ = [3, n0, _GAPRe,
|
|
464
|
+
0,
|
|
465
|
+
[_aPA, _aPI, _cT, _fSI, _st, _oI, _pU, _rD, _t, _n],
|
|
466
|
+
[0, 0, 0, 0, 0, 0, () => PosixUser$, () => RootDirectory$, () => TagList, 0], 6
|
|
467
|
+
];
|
|
468
|
+
var GetFileSystemPolicyRequest$ = [3, n0, _GFSPR,
|
|
469
|
+
0,
|
|
470
|
+
[_fSI],
|
|
471
|
+
[[0, 1]], 1
|
|
472
|
+
];
|
|
473
|
+
var GetFileSystemPolicyResponse$ = [3, n0, _GFSPRe,
|
|
474
|
+
0,
|
|
475
|
+
[_fSI, _po],
|
|
476
|
+
[0, [0, { [_jN]: _po }]], 2
|
|
477
|
+
];
|
|
478
|
+
var GetFileSystemRequest$ = [3, n0, _GFSR,
|
|
479
|
+
0,
|
|
480
|
+
[_fSI],
|
|
481
|
+
[[0, 1]], 1
|
|
482
|
+
];
|
|
483
|
+
var GetFileSystemResponse$ = [3, n0, _GFSRe,
|
|
484
|
+
0,
|
|
485
|
+
[_cTr, _fSA, _fSI, _b, _p, _cT, _kKI, _st, _sM, _rA, _oI, _t, _n],
|
|
486
|
+
[4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => TagList, 0]
|
|
487
|
+
];
|
|
488
|
+
var GetMountTargetRequest$ = [3, n0, _GMTR,
|
|
489
|
+
0,
|
|
490
|
+
[_mTI],
|
|
491
|
+
[[0, 1]], 1
|
|
492
|
+
];
|
|
493
|
+
var GetMountTargetResponse$ = [3, n0, _GMTRe,
|
|
494
|
+
0,
|
|
495
|
+
[_oI, _mTI, _sI, _aZI, _fSI, _iA, _iAp, _nII, _vI, _sG, _st, _sM],
|
|
496
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0], 3
|
|
497
|
+
];
|
|
498
|
+
var GetSynchronizationConfigurationRequest$ = [3, n0, _GSCR,
|
|
499
|
+
0,
|
|
500
|
+
[_fSI],
|
|
501
|
+
[[0, 1]], 1
|
|
502
|
+
];
|
|
503
|
+
var GetSynchronizationConfigurationResponse$ = [3, n0, _GSCRe,
|
|
504
|
+
0,
|
|
505
|
+
[_iDR, _eDR, _lVN],
|
|
506
|
+
[[() => ImportDataRuleList, { [_jN]: _iDR }], [() => ExpirationDataRuleList, { [_jN]: _eDR }], [1, { [_jN]: _lVN }]], 2
|
|
507
|
+
];
|
|
508
|
+
var ImportDataRule$ = [3, n0, _IDR,
|
|
509
|
+
0,
|
|
510
|
+
[_p, _tr, _sLT],
|
|
511
|
+
[[0, { [_jN]: _p }], [0, { [_jN]: _tr }], [1, { [_jN]: _sLT }]], 3
|
|
512
|
+
];
|
|
513
|
+
var ListAccessPointsDescription$ = [3, n0, _LAPD,
|
|
514
|
+
0,
|
|
515
|
+
[_aPA, _aPI, _fSI, _st, _oI, _pU, _rD, _n],
|
|
516
|
+
[0, 0, 0, 0, 0, () => PosixUser$, () => RootDirectory$, 0], 5
|
|
517
|
+
];
|
|
518
|
+
var ListAccessPointsRequest$ = [3, n0, _LAPR,
|
|
519
|
+
0,
|
|
520
|
+
[_fSI, _mR, _nT],
|
|
521
|
+
[[0, { [_hQ]: _fSI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
522
|
+
];
|
|
523
|
+
var ListAccessPointsResponse$ = [3, n0, _LAPRi,
|
|
524
|
+
0,
|
|
525
|
+
[_aP, _nT],
|
|
526
|
+
[() => AccessPoints, 0], 1
|
|
527
|
+
];
|
|
528
|
+
var ListFileSystemsDescription$ = [3, n0, _LFSD,
|
|
529
|
+
0,
|
|
530
|
+
[_cTr, _fSA, _fSI, _b, _st, _rA, _oI, _n, _sM],
|
|
531
|
+
[4, 0, 0, 0, 0, 0, 0, 0, 0], 7
|
|
532
|
+
];
|
|
533
|
+
var ListFileSystemsRequest$ = [3, n0, _LFSR,
|
|
534
|
+
0,
|
|
535
|
+
[_b, _mR, _nT],
|
|
536
|
+
[[0, { [_hQ]: _b }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
537
|
+
];
|
|
538
|
+
var ListFileSystemsResponse$ = [3, n0, _LFSRi,
|
|
539
|
+
0,
|
|
540
|
+
[_fS, _nT],
|
|
541
|
+
[() => FileSystems, 0], 1
|
|
542
|
+
];
|
|
543
|
+
var ListMountTargetsDescription$ = [3, n0, _LMTD,
|
|
544
|
+
0,
|
|
545
|
+
[_mTI, _oI, _sI, _aZI, _fSI, _iA, _iAp, _st, _sM, _nII, _vI],
|
|
546
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 3
|
|
547
|
+
];
|
|
548
|
+
var ListMountTargetsRequest$ = [3, n0, _LMTR,
|
|
549
|
+
0,
|
|
550
|
+
[_fSI, _aPI, _mR, _nT],
|
|
551
|
+
[[0, { [_hQ]: _fSI }], [0, { [_hQ]: _aPI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
552
|
+
];
|
|
553
|
+
var ListMountTargetsResponse$ = [3, n0, _LMTRi,
|
|
554
|
+
0,
|
|
555
|
+
[_mT, _nT],
|
|
556
|
+
[() => MountTargets, 0], 1
|
|
557
|
+
];
|
|
558
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
559
|
+
0,
|
|
560
|
+
[_rI, _mR, _nT],
|
|
561
|
+
[[0, 1], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
|
|
562
|
+
];
|
|
563
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
564
|
+
0,
|
|
565
|
+
[_t, _nT],
|
|
566
|
+
[() => TagList, 0]
|
|
567
|
+
];
|
|
568
|
+
var PosixUser$ = [3, n0, _PU,
|
|
569
|
+
0,
|
|
570
|
+
[_u, _g, _sGe],
|
|
571
|
+
[1, 1, 64 | 1], 2
|
|
572
|
+
];
|
|
573
|
+
var PutFileSystemPolicyRequest$ = [3, n0, _PFSPR,
|
|
574
|
+
0,
|
|
575
|
+
[_fSI, _po],
|
|
576
|
+
[[0, 1], [0, { [_jN]: _po }]], 2
|
|
577
|
+
];
|
|
578
|
+
var PutFileSystemPolicyResponse$ = [3, n0, _PFSPRu,
|
|
579
|
+
0,
|
|
580
|
+
[],
|
|
581
|
+
[]
|
|
582
|
+
];
|
|
583
|
+
var PutSynchronizationConfigurationRequest$ = [3, n0, _PSCR,
|
|
584
|
+
0,
|
|
585
|
+
[_fSI, _iDR, _eDR, _lVN],
|
|
586
|
+
[[0, 1], [() => ImportDataRuleList, { [_jN]: _iDR }], [() => ExpirationDataRuleList, { [_jN]: _eDR }], [1, { [_jN]: _lVN }]], 3
|
|
587
|
+
];
|
|
588
|
+
var PutSynchronizationConfigurationResponse$ = [3, n0, _PSCRu,
|
|
589
|
+
0,
|
|
590
|
+
[],
|
|
591
|
+
[]
|
|
592
|
+
];
|
|
593
|
+
var RootDirectory$ = [3, n0, _RD,
|
|
594
|
+
0,
|
|
595
|
+
[_pa, _cP],
|
|
596
|
+
[0, () => CreationPermissions$]
|
|
597
|
+
];
|
|
598
|
+
var Tag$ = [3, n0, _T,
|
|
599
|
+
0,
|
|
600
|
+
[_k, _v],
|
|
601
|
+
[0, 0], 2
|
|
602
|
+
];
|
|
603
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
604
|
+
0,
|
|
605
|
+
[_rI, _t],
|
|
606
|
+
[[0, 1], () => TagList], 2
|
|
607
|
+
];
|
|
608
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
609
|
+
0,
|
|
610
|
+
[_rI, _tK],
|
|
611
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
612
|
+
];
|
|
613
|
+
var UpdateMountTargetRequest$ = [3, n0, _UMTR,
|
|
614
|
+
0,
|
|
615
|
+
[_mTI, _sG],
|
|
616
|
+
[[0, 1], 64 | 0], 2
|
|
617
|
+
];
|
|
618
|
+
var UpdateMountTargetResponse$ = [3, n0, _UMTRp,
|
|
619
|
+
0,
|
|
620
|
+
[_oI, _mTI, _sI, _aZI, _fSI, _iA, _iAp, _nII, _vI, _sG, _st, _sM],
|
|
621
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0], 3
|
|
622
|
+
];
|
|
623
|
+
var __Unit = "unit";
|
|
624
|
+
var AccessPoints = [1, n0, _AP,
|
|
625
|
+
0, () => ListAccessPointsDescription$
|
|
626
|
+
];
|
|
627
|
+
var ExpirationDataRuleList = [1, n0, _EDRL,
|
|
628
|
+
0, [() => ExpirationDataRule$,
|
|
629
|
+
0]
|
|
630
|
+
];
|
|
631
|
+
var FileSystems = [1, n0, _FS,
|
|
632
|
+
0, () => ListFileSystemsDescription$
|
|
633
|
+
];
|
|
634
|
+
var ImportDataRuleList = [1, n0, _IDRL,
|
|
635
|
+
0, [() => ImportDataRule$,
|
|
636
|
+
0]
|
|
637
|
+
];
|
|
638
|
+
var MountTargets = [1, n0, _MT,
|
|
639
|
+
0, () => ListMountTargetsDescription$
|
|
640
|
+
];
|
|
641
|
+
var TagList = [1, n0, _TL,
|
|
642
|
+
0, () => Tag$
|
|
643
|
+
];
|
|
644
|
+
var CreateAccessPoint$ = [9, n0, _CAP,
|
|
645
|
+
{ [_h]: ["PUT", "/access-points", 200] }, () => CreateAccessPointRequest$, () => CreateAccessPointResponse$
|
|
646
|
+
];
|
|
647
|
+
var CreateFileSystem$ = [9, n0, _CFS,
|
|
648
|
+
{ [_h]: ["PUT", "/file-systems", 201] }, () => CreateFileSystemRequest$, () => CreateFileSystemResponse$
|
|
649
|
+
];
|
|
650
|
+
var CreateMountTarget$ = [9, n0, _CMT,
|
|
651
|
+
{ [_h]: ["PUT", "/mount-targets", 200] }, () => CreateMountTargetRequest$, () => CreateMountTargetResponse$
|
|
652
|
+
];
|
|
653
|
+
var DeleteAccessPoint$ = [9, n0, _DAP,
|
|
654
|
+
{ [_h]: ["DELETE", "/access-points/{accessPointId}", 204] }, () => DeleteAccessPointRequest$, () => __Unit
|
|
655
|
+
];
|
|
656
|
+
var DeleteFileSystem$ = [9, n0, _DFS,
|
|
657
|
+
{ [_h]: ["DELETE", "/file-systems/{fileSystemId}", 204] }, () => DeleteFileSystemRequest$, () => __Unit
|
|
658
|
+
];
|
|
659
|
+
var DeleteFileSystemPolicy$ = [9, n0, _DFSP,
|
|
660
|
+
{ [_h]: ["DELETE", "/file-systems/{fileSystemId}/policy", 204] }, () => DeleteFileSystemPolicyRequest$, () => __Unit
|
|
661
|
+
];
|
|
662
|
+
var DeleteMountTarget$ = [9, n0, _DMT,
|
|
663
|
+
{ [_h]: ["DELETE", "/mount-targets/{mountTargetId}", 204] }, () => DeleteMountTargetRequest$, () => __Unit
|
|
664
|
+
];
|
|
665
|
+
var GetAccessPoint$ = [9, n0, _GAP,
|
|
666
|
+
{ [_h]: ["GET", "/access-points/{accessPointId}", 200] }, () => GetAccessPointRequest$, () => GetAccessPointResponse$
|
|
667
|
+
];
|
|
668
|
+
var GetFileSystem$ = [9, n0, _GFS,
|
|
669
|
+
{ [_h]: ["GET", "/file-systems/{fileSystemId}", 200] }, () => GetFileSystemRequest$, () => GetFileSystemResponse$
|
|
670
|
+
];
|
|
671
|
+
var GetFileSystemPolicy$ = [9, n0, _GFSP,
|
|
672
|
+
{ [_h]: ["GET", "/file-systems/{fileSystemId}/policy", 200] }, () => GetFileSystemPolicyRequest$, () => GetFileSystemPolicyResponse$
|
|
673
|
+
];
|
|
674
|
+
var GetMountTarget$ = [9, n0, _GMT,
|
|
675
|
+
{ [_h]: ["GET", "/mount-targets/{mountTargetId}", 200] }, () => GetMountTargetRequest$, () => GetMountTargetResponse$
|
|
676
|
+
];
|
|
677
|
+
var GetSynchronizationConfiguration$ = [9, n0, _GSC,
|
|
678
|
+
{ [_h]: ["GET", "/file-systems/{fileSystemId}/synchronization-configuration", 200] }, () => GetSynchronizationConfigurationRequest$, () => GetSynchronizationConfigurationResponse$
|
|
679
|
+
];
|
|
680
|
+
var ListAccessPoints$ = [9, n0, _LAP,
|
|
681
|
+
{ [_h]: ["GET", "/access-points", 200] }, () => ListAccessPointsRequest$, () => ListAccessPointsResponse$
|
|
682
|
+
];
|
|
683
|
+
var ListFileSystems$ = [9, n0, _LFS,
|
|
684
|
+
{ [_h]: ["GET", "/file-systems", 200] }, () => ListFileSystemsRequest$, () => ListFileSystemsResponse$
|
|
685
|
+
];
|
|
686
|
+
var ListMountTargets$ = [9, n0, _LMT,
|
|
687
|
+
{ [_h]: ["GET", "/mount-targets", 200] }, () => ListMountTargetsRequest$, () => ListMountTargetsResponse$
|
|
688
|
+
];
|
|
689
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
690
|
+
{ [_h]: ["GET", "/resource-tags/{resourceId}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
691
|
+
];
|
|
692
|
+
var PutFileSystemPolicy$ = [9, n0, _PFSP,
|
|
693
|
+
{ [_h]: ["PUT", "/file-systems/{fileSystemId}/policy", 200] }, () => PutFileSystemPolicyRequest$, () => PutFileSystemPolicyResponse$
|
|
694
|
+
];
|
|
695
|
+
var PutSynchronizationConfiguration$ = [9, n0, _PSC,
|
|
696
|
+
{ [_h]: ["PUT", "/file-systems/{fileSystemId}/synchronization-configuration", 200] }, () => PutSynchronizationConfigurationRequest$, () => PutSynchronizationConfigurationResponse$
|
|
697
|
+
];
|
|
698
|
+
var TagResource$ = [9, n0, _TR,
|
|
699
|
+
{ [_h]: ["POST", "/resource-tags/{resourceId}", 200] }, () => TagResourceRequest$, () => __Unit
|
|
700
|
+
];
|
|
701
|
+
var UntagResource$ = [9, n0, _UR,
|
|
702
|
+
{ [_h]: ["DELETE", "/resource-tags/{resourceId}", 200] }, () => UntagResourceRequest$, () => __Unit
|
|
703
|
+
];
|
|
704
|
+
var UpdateMountTarget$ = [9, n0, _UMT,
|
|
705
|
+
{ [_h]: ["PUT", "/mount-targets/{mountTargetId}", 200] }, () => UpdateMountTargetRequest$, () => UpdateMountTargetResponse$
|
|
706
|
+
];
|
|
707
|
+
|
|
708
|
+
const getRuntimeConfig$1 = (config) => {
|
|
709
|
+
return {
|
|
710
|
+
apiVersion: "2025-05-05",
|
|
711
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
712
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
713
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
714
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
715
|
+
extensions: config?.extensions ?? [],
|
|
716
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultS3FilesHttpAuthSchemeProvider,
|
|
717
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
718
|
+
{
|
|
719
|
+
schemeId: "aws.auth#sigv4",
|
|
720
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
721
|
+
signer: new AwsSdkSigV4Signer(),
|
|
722
|
+
},
|
|
723
|
+
],
|
|
724
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
725
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
726
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
727
|
+
defaultNamespace: "com.amazonaws.s3files",
|
|
728
|
+
errorTypeRegistries,
|
|
729
|
+
xmlNamespace: "s3files",
|
|
730
|
+
version: "2025-05-05",
|
|
731
|
+
serviceTarget: "S3Files",
|
|
732
|
+
},
|
|
733
|
+
serviceId: config?.serviceId ?? "S3Files",
|
|
734
|
+
sha256: config?.sha256 ?? Sha256,
|
|
735
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
736
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
737
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
const getRuntimeConfig = (config) => {
|
|
742
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
743
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
744
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
745
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
746
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
747
|
+
const loaderConfig = {
|
|
748
|
+
profile: config?.profile,
|
|
749
|
+
logger: clientSharedValues.logger,
|
|
750
|
+
};
|
|
751
|
+
return {
|
|
752
|
+
...clientSharedValues,
|
|
753
|
+
...config,
|
|
754
|
+
runtime: "node",
|
|
755
|
+
defaultsMode,
|
|
756
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
757
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
758
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
759
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
760
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
761
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
762
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
763
|
+
retryMode: config?.retryMode ??
|
|
764
|
+
loadConfig({
|
|
765
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
766
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
767
|
+
}, config),
|
|
768
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
769
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
770
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
771
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
|
|
32
775
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
776
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
777
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -420,32 +1163,113 @@ const ImportTrigger = {
|
|
|
420
1163
|
ON_FILE_ACCESS: "ON_FILE_ACCESS",
|
|
421
1164
|
};
|
|
422
1165
|
|
|
1166
|
+
exports.ConflictException = ConflictException;
|
|
1167
|
+
exports.ConflictException$ = ConflictException$;
|
|
1168
|
+
exports.CreateAccessPoint$ = CreateAccessPoint$;
|
|
423
1169
|
exports.CreateAccessPointCommand = CreateAccessPointCommand;
|
|
1170
|
+
exports.CreateAccessPointRequest$ = CreateAccessPointRequest$;
|
|
1171
|
+
exports.CreateAccessPointResponse$ = CreateAccessPointResponse$;
|
|
1172
|
+
exports.CreateFileSystem$ = CreateFileSystem$;
|
|
424
1173
|
exports.CreateFileSystemCommand = CreateFileSystemCommand;
|
|
1174
|
+
exports.CreateFileSystemRequest$ = CreateFileSystemRequest$;
|
|
1175
|
+
exports.CreateFileSystemResponse$ = CreateFileSystemResponse$;
|
|
1176
|
+
exports.CreateMountTarget$ = CreateMountTarget$;
|
|
425
1177
|
exports.CreateMountTargetCommand = CreateMountTargetCommand;
|
|
1178
|
+
exports.CreateMountTargetRequest$ = CreateMountTargetRequest$;
|
|
1179
|
+
exports.CreateMountTargetResponse$ = CreateMountTargetResponse$;
|
|
1180
|
+
exports.CreationPermissions$ = CreationPermissions$;
|
|
1181
|
+
exports.DeleteAccessPoint$ = DeleteAccessPoint$;
|
|
426
1182
|
exports.DeleteAccessPointCommand = DeleteAccessPointCommand;
|
|
1183
|
+
exports.DeleteAccessPointRequest$ = DeleteAccessPointRequest$;
|
|
1184
|
+
exports.DeleteFileSystem$ = DeleteFileSystem$;
|
|
427
1185
|
exports.DeleteFileSystemCommand = DeleteFileSystemCommand;
|
|
1186
|
+
exports.DeleteFileSystemPolicy$ = DeleteFileSystemPolicy$;
|
|
428
1187
|
exports.DeleteFileSystemPolicyCommand = DeleteFileSystemPolicyCommand;
|
|
1188
|
+
exports.DeleteFileSystemPolicyRequest$ = DeleteFileSystemPolicyRequest$;
|
|
1189
|
+
exports.DeleteFileSystemRequest$ = DeleteFileSystemRequest$;
|
|
1190
|
+
exports.DeleteMountTarget$ = DeleteMountTarget$;
|
|
429
1191
|
exports.DeleteMountTargetCommand = DeleteMountTargetCommand;
|
|
1192
|
+
exports.DeleteMountTargetRequest$ = DeleteMountTargetRequest$;
|
|
1193
|
+
exports.ExpirationDataRule$ = ExpirationDataRule$;
|
|
1194
|
+
exports.GetAccessPoint$ = GetAccessPoint$;
|
|
430
1195
|
exports.GetAccessPointCommand = GetAccessPointCommand;
|
|
1196
|
+
exports.GetAccessPointRequest$ = GetAccessPointRequest$;
|
|
1197
|
+
exports.GetAccessPointResponse$ = GetAccessPointResponse$;
|
|
1198
|
+
exports.GetFileSystem$ = GetFileSystem$;
|
|
431
1199
|
exports.GetFileSystemCommand = GetFileSystemCommand;
|
|
1200
|
+
exports.GetFileSystemPolicy$ = GetFileSystemPolicy$;
|
|
432
1201
|
exports.GetFileSystemPolicyCommand = GetFileSystemPolicyCommand;
|
|
1202
|
+
exports.GetFileSystemPolicyRequest$ = GetFileSystemPolicyRequest$;
|
|
1203
|
+
exports.GetFileSystemPolicyResponse$ = GetFileSystemPolicyResponse$;
|
|
1204
|
+
exports.GetFileSystemRequest$ = GetFileSystemRequest$;
|
|
1205
|
+
exports.GetFileSystemResponse$ = GetFileSystemResponse$;
|
|
1206
|
+
exports.GetMountTarget$ = GetMountTarget$;
|
|
433
1207
|
exports.GetMountTargetCommand = GetMountTargetCommand;
|
|
1208
|
+
exports.GetMountTargetRequest$ = GetMountTargetRequest$;
|
|
1209
|
+
exports.GetMountTargetResponse$ = GetMountTargetResponse$;
|
|
1210
|
+
exports.GetSynchronizationConfiguration$ = GetSynchronizationConfiguration$;
|
|
434
1211
|
exports.GetSynchronizationConfigurationCommand = GetSynchronizationConfigurationCommand;
|
|
1212
|
+
exports.GetSynchronizationConfigurationRequest$ = GetSynchronizationConfigurationRequest$;
|
|
1213
|
+
exports.GetSynchronizationConfigurationResponse$ = GetSynchronizationConfigurationResponse$;
|
|
1214
|
+
exports.ImportDataRule$ = ImportDataRule$;
|
|
435
1215
|
exports.ImportTrigger = ImportTrigger;
|
|
1216
|
+
exports.InternalServerException = InternalServerException;
|
|
1217
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
436
1218
|
exports.IpAddressType = IpAddressType;
|
|
437
1219
|
exports.LifeCycleState = LifeCycleState;
|
|
1220
|
+
exports.ListAccessPoints$ = ListAccessPoints$;
|
|
438
1221
|
exports.ListAccessPointsCommand = ListAccessPointsCommand;
|
|
1222
|
+
exports.ListAccessPointsDescription$ = ListAccessPointsDescription$;
|
|
1223
|
+
exports.ListAccessPointsRequest$ = ListAccessPointsRequest$;
|
|
1224
|
+
exports.ListAccessPointsResponse$ = ListAccessPointsResponse$;
|
|
1225
|
+
exports.ListFileSystems$ = ListFileSystems$;
|
|
439
1226
|
exports.ListFileSystemsCommand = ListFileSystemsCommand;
|
|
1227
|
+
exports.ListFileSystemsDescription$ = ListFileSystemsDescription$;
|
|
1228
|
+
exports.ListFileSystemsRequest$ = ListFileSystemsRequest$;
|
|
1229
|
+
exports.ListFileSystemsResponse$ = ListFileSystemsResponse$;
|
|
1230
|
+
exports.ListMountTargets$ = ListMountTargets$;
|
|
440
1231
|
exports.ListMountTargetsCommand = ListMountTargetsCommand;
|
|
1232
|
+
exports.ListMountTargetsDescription$ = ListMountTargetsDescription$;
|
|
1233
|
+
exports.ListMountTargetsRequest$ = ListMountTargetsRequest$;
|
|
1234
|
+
exports.ListMountTargetsResponse$ = ListMountTargetsResponse$;
|
|
1235
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
441
1236
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1237
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1238
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1239
|
+
exports.PosixUser$ = PosixUser$;
|
|
1240
|
+
exports.PutFileSystemPolicy$ = PutFileSystemPolicy$;
|
|
442
1241
|
exports.PutFileSystemPolicyCommand = PutFileSystemPolicyCommand;
|
|
1242
|
+
exports.PutFileSystemPolicyRequest$ = PutFileSystemPolicyRequest$;
|
|
1243
|
+
exports.PutFileSystemPolicyResponse$ = PutFileSystemPolicyResponse$;
|
|
1244
|
+
exports.PutSynchronizationConfiguration$ = PutSynchronizationConfiguration$;
|
|
443
1245
|
exports.PutSynchronizationConfigurationCommand = PutSynchronizationConfigurationCommand;
|
|
1246
|
+
exports.PutSynchronizationConfigurationRequest$ = PutSynchronizationConfigurationRequest$;
|
|
1247
|
+
exports.PutSynchronizationConfigurationResponse$ = PutSynchronizationConfigurationResponse$;
|
|
1248
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1249
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1250
|
+
exports.RootDirectory$ = RootDirectory$;
|
|
444
1251
|
exports.S3Files = S3Files;
|
|
445
1252
|
exports.S3FilesClient = S3FilesClient;
|
|
1253
|
+
exports.S3FilesServiceException = S3FilesServiceException;
|
|
1254
|
+
exports.S3FilesServiceException$ = S3FilesServiceException$;
|
|
1255
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1256
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1257
|
+
exports.Tag$ = Tag$;
|
|
1258
|
+
exports.TagResource$ = TagResource$;
|
|
446
1259
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1260
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1261
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1262
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1263
|
+
exports.UntagResource$ = UntagResource$;
|
|
447
1264
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1265
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1266
|
+
exports.UpdateMountTarget$ = UpdateMountTarget$;
|
|
448
1267
|
exports.UpdateMountTargetCommand = UpdateMountTargetCommand;
|
|
1268
|
+
exports.UpdateMountTargetRequest$ = UpdateMountTargetRequest$;
|
|
1269
|
+
exports.UpdateMountTargetResponse$ = UpdateMountTargetResponse$;
|
|
1270
|
+
exports.ValidationException = ValidationException;
|
|
1271
|
+
exports.ValidationException$ = ValidationException$;
|
|
1272
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
449
1273
|
exports.paginateListAccessPoints = paginateListAccessPoints;
|
|
450
1274
|
exports.paginateListFileSystems = paginateListFileSystems;
|
|
451
1275
|
exports.paginateListMountTargets = paginateListMountTargets;
|