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