@aws-sdk/client-s3outposts 3.948.0 → 3.953.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 CHANGED
@@ -110,14 +110,14 @@ class S3OutpostsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let S3OutpostsServiceException$1 = class S3OutpostsServiceException extends smithyClient.ServiceException {
113
+ class S3OutpostsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, S3OutpostsServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends S3OutpostsServiceException$1 {
120
+ class AccessDeniedException extends S3OutpostsServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends S3OutpostsServ
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- };
134
- let ConflictException$1 = class ConflictException extends S3OutpostsServiceException$1 {
133
+ }
134
+ class ConflictException extends S3OutpostsServiceException {
135
135
  name = "ConflictException";
136
136
  $fault = "client";
137
137
  Message;
@@ -144,8 +144,8 @@ let ConflictException$1 = class ConflictException extends S3OutpostsServiceExcep
144
144
  Object.setPrototypeOf(this, ConflictException.prototype);
145
145
  this.Message = opts.Message;
146
146
  }
147
- };
148
- let InternalServerException$1 = class InternalServerException extends S3OutpostsServiceException$1 {
147
+ }
148
+ class InternalServerException extends S3OutpostsServiceException {
149
149
  name = "InternalServerException";
150
150
  $fault = "server";
151
151
  Message;
@@ -158,8 +158,8 @@ let InternalServerException$1 = class InternalServerException extends S3Outposts
158
158
  Object.setPrototypeOf(this, InternalServerException.prototype);
159
159
  this.Message = opts.Message;
160
160
  }
161
- };
162
- let OutpostOfflineException$1 = class OutpostOfflineException extends S3OutpostsServiceException$1 {
161
+ }
162
+ class OutpostOfflineException extends S3OutpostsServiceException {
163
163
  name = "OutpostOfflineException";
164
164
  $fault = "client";
165
165
  Message;
@@ -172,8 +172,8 @@ let OutpostOfflineException$1 = class OutpostOfflineException extends S3Outposts
172
172
  Object.setPrototypeOf(this, OutpostOfflineException.prototype);
173
173
  this.Message = opts.Message;
174
174
  }
175
- };
176
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends S3OutpostsServiceException$1 {
175
+ }
176
+ class ResourceNotFoundException extends S3OutpostsServiceException {
177
177
  name = "ResourceNotFoundException";
178
178
  $fault = "client";
179
179
  Message;
@@ -186,8 +186,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends S3Outp
186
186
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
187
187
  this.Message = opts.Message;
188
188
  }
189
- };
190
- let ThrottlingException$1 = class ThrottlingException extends S3OutpostsServiceException$1 {
189
+ }
190
+ class ThrottlingException extends S3OutpostsServiceException {
191
191
  name = "ThrottlingException";
192
192
  $fault = "client";
193
193
  Message;
@@ -200,8 +200,8 @@ let ThrottlingException$1 = class ThrottlingException extends S3OutpostsServiceE
200
200
  Object.setPrototypeOf(this, ThrottlingException.prototype);
201
201
  this.Message = opts.Message;
202
202
  }
203
- };
204
- let ValidationException$1 = class ValidationException extends S3OutpostsServiceException$1 {
203
+ }
204
+ class ValidationException extends S3OutpostsServiceException {
205
205
  name = "ValidationException";
206
206
  $fault = "client";
207
207
  Message;
@@ -214,7 +214,7 @@ let ValidationException$1 = class ValidationException extends S3OutpostsServiceE
214
214
  Object.setPrototypeOf(this, ValidationException.prototype);
215
215
  this.Message = opts.Message;
216
216
  }
217
- };
217
+ }
218
218
 
219
219
  const _ADE = "AccessDeniedException";
220
220
  const _AT = "AccessType";
@@ -277,11 +277,11 @@ const _oI = "outpostId";
277
277
  const _s = "server";
278
278
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3outposts";
279
279
  const n0 = "com.amazonaws.s3outposts";
280
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
281
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
282
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
283
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
284
- var CreateEndpointRequest = [
280
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
281
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
282
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
283
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
284
+ var CreateEndpointRequest$ = [
285
285
  3,
286
286
  n0,
287
287
  _CER,
@@ -289,8 +289,8 @@ var CreateEndpointRequest = [
289
289
  [_OI, _SI, _SGI, _AT, _COIP],
290
290
  [0, 0, 0, 0, 0],
291
291
  ];
292
- var CreateEndpointResult = [3, n0, _CERr, 0, [_EA], [0]];
293
- var DeleteEndpointRequest = [
292
+ var CreateEndpointResult$ = [3, n0, _CERr, 0, [_EA], [0]];
293
+ var DeleteEndpointRequest$ = [
294
294
  3,
295
295
  n0,
296
296
  _DER,
@@ -301,18 +301,18 @@ var DeleteEndpointRequest = [
301
301
  [0, { [_hQ]: _oI }],
302
302
  ],
303
303
  ];
304
- var Endpoint = [
304
+ var Endpoint$ = [
305
305
  3,
306
306
  n0,
307
307
  _E,
308
308
  0,
309
309
  [_EA, _OIu, _CB, _S, _CT, _NI, _VI, _SI, _SGI, _AT, _COIP, _FR],
310
- [0, 0, 0, 0, 4, () => NetworkInterfaces, 0, 0, 0, 0, 0, () => FailedReason],
310
+ [0, 0, 0, 0, 4, () => NetworkInterfaces, 0, 0, 0, 0, 0, () => FailedReason$],
311
311
  ];
312
- var FailedReason = [3, n0, _FR, 0, [_EC, _M], [0, 0]];
313
- var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
314
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
315
- var ListEndpointsRequest = [
312
+ var FailedReason$ = [3, n0, _FR, 0, [_EC, _M], [0, 0]];
313
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
314
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
315
+ var ListEndpointsRequest$ = [
316
316
  3,
317
317
  n0,
318
318
  _LER,
@@ -323,8 +323,8 @@ var ListEndpointsRequest = [
323
323
  [1, { [_hQ]: _mR }],
324
324
  ],
325
325
  ];
326
- var ListEndpointsResult = [3, n0, _LERi, 0, [_En, _NT], [() => Endpoints, 0]];
327
- var ListOutpostsWithS3Request = [
326
+ var ListEndpointsResult$ = [3, n0, _LERi, 0, [_En, _NT], [() => Endpoints, 0]];
327
+ var ListOutpostsWithS3Request$ = [
328
328
  3,
329
329
  n0,
330
330
  _LOWSR,
@@ -335,8 +335,8 @@ var ListOutpostsWithS3Request = [
335
335
  [1, { [_hQ]: _mR }],
336
336
  ],
337
337
  ];
338
- var ListOutpostsWithS3Result = [3, n0, _LOWSRi, 0, [_O, _NT], [() => Outposts, 0]];
339
- var ListSharedEndpointsRequest = [
338
+ var ListOutpostsWithS3Result$ = [3, n0, _LOWSRi, 0, [_O, _NT], [() => Outposts, 0]];
339
+ var ListSharedEndpointsRequest$ = [
340
340
  3,
341
341
  n0,
342
342
  _LSER,
@@ -348,62 +348,62 @@ var ListSharedEndpointsRequest = [
348
348
  [0, { [_hQ]: _oI }],
349
349
  ],
350
350
  ];
351
- var ListSharedEndpointsResult = [3, n0, _LSERi, 0, [_En, _NT], [() => Endpoints, 0]];
352
- var NetworkInterface = [3, n0, _NIe, 0, [_NII], [0]];
353
- var Outpost = [3, n0, _Ou, 0, [_OA, _SOA, _OI, _OIw, _CIB], [0, 0, 0, 0, 1]];
354
- var OutpostOfflineException = [-3, n0, _OOE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
355
- schema.TypeRegistry.for(n0).registerError(OutpostOfflineException, OutpostOfflineException$1);
356
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
357
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
358
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
359
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
360
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
361
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
351
+ var ListSharedEndpointsResult$ = [3, n0, _LSERi, 0, [_En, _NT], [() => Endpoints, 0]];
352
+ var NetworkInterface$ = [3, n0, _NIe, 0, [_NII], [0]];
353
+ var Outpost$ = [3, n0, _Ou, 0, [_OA, _SOA, _OI, _OIw, _CIB], [0, 0, 0, 0, 1]];
354
+ var OutpostOfflineException$ = [-3, n0, _OOE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
355
+ schema.TypeRegistry.for(n0).registerError(OutpostOfflineException$, OutpostOfflineException);
356
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
357
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
358
+ var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
359
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
360
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
361
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
362
362
  var __Unit = "unit";
363
- var S3OutpostsServiceException = [-3, _sm, "S3OutpostsServiceException", 0, [], []];
364
- schema.TypeRegistry.for(_sm).registerError(S3OutpostsServiceException, S3OutpostsServiceException$1);
365
- var Endpoints = [1, n0, _En, 0, () => Endpoint];
366
- var NetworkInterfaces = [1, n0, _NI, 0, () => NetworkInterface];
367
- var Outposts = [1, n0, _O, 0, () => Outpost];
368
- var CreateEndpoint = [
363
+ var S3OutpostsServiceException$ = [-3, _sm, "S3OutpostsServiceException", 0, [], []];
364
+ schema.TypeRegistry.for(_sm).registerError(S3OutpostsServiceException$, S3OutpostsServiceException);
365
+ var Endpoints = [1, n0, _En, 0, () => Endpoint$];
366
+ var NetworkInterfaces = [1, n0, _NI, 0, () => NetworkInterface$];
367
+ var Outposts = [1, n0, _O, 0, () => Outpost$];
368
+ var CreateEndpoint$ = [
369
369
  9,
370
370
  n0,
371
371
  _CEr,
372
372
  { [_h]: ["POST", "/S3Outposts/CreateEndpoint", 200] },
373
- () => CreateEndpointRequest,
374
- () => CreateEndpointResult,
373
+ () => CreateEndpointRequest$,
374
+ () => CreateEndpointResult$,
375
375
  ];
376
- var DeleteEndpoint = [
376
+ var DeleteEndpoint$ = [
377
377
  9,
378
378
  n0,
379
379
  _DE,
380
380
  { [_h]: ["DELETE", "/S3Outposts/DeleteEndpoint", 200] },
381
- () => DeleteEndpointRequest,
381
+ () => DeleteEndpointRequest$,
382
382
  () => __Unit,
383
383
  ];
384
- var ListEndpoints = [
384
+ var ListEndpoints$ = [
385
385
  9,
386
386
  n0,
387
387
  _LE,
388
388
  { [_h]: ["GET", "/S3Outposts/ListEndpoints", 200] },
389
- () => ListEndpointsRequest,
390
- () => ListEndpointsResult,
389
+ () => ListEndpointsRequest$,
390
+ () => ListEndpointsResult$,
391
391
  ];
392
- var ListOutpostsWithS3 = [
392
+ var ListOutpostsWithS3$ = [
393
393
  9,
394
394
  n0,
395
395
  _LOWS,
396
396
  { [_h]: ["GET", "/S3Outposts/ListOutpostsWithS3", 200] },
397
- () => ListOutpostsWithS3Request,
398
- () => ListOutpostsWithS3Result,
397
+ () => ListOutpostsWithS3Request$,
398
+ () => ListOutpostsWithS3Result$,
399
399
  ];
400
- var ListSharedEndpoints = [
400
+ var ListSharedEndpoints$ = [
401
401
  9,
402
402
  n0,
403
403
  _LSE,
404
404
  { [_h]: ["GET", "/S3Outposts/ListSharedEndpoints", 200] },
405
- () => ListSharedEndpointsRequest,
406
- () => ListSharedEndpointsResult,
405
+ () => ListSharedEndpointsRequest$,
406
+ () => ListSharedEndpointsResult$,
407
407
  ];
408
408
 
409
409
  class CreateEndpointCommand extends smithyClient.Command
@@ -414,7 +414,7 @@ class CreateEndpointCommand extends smithyClient.Command
414
414
  })
415
415
  .s("S3Outposts", "CreateEndpoint", {})
416
416
  .n("S3OutpostsClient", "CreateEndpointCommand")
417
- .sc(CreateEndpoint)
417
+ .sc(CreateEndpoint$)
418
418
  .build() {
419
419
  }
420
420
 
@@ -426,7 +426,7 @@ class DeleteEndpointCommand extends smithyClient.Command
426
426
  })
427
427
  .s("S3Outposts", "DeleteEndpoint", {})
428
428
  .n("S3OutpostsClient", "DeleteEndpointCommand")
429
- .sc(DeleteEndpoint)
429
+ .sc(DeleteEndpoint$)
430
430
  .build() {
431
431
  }
432
432
 
@@ -438,7 +438,7 @@ class ListEndpointsCommand extends smithyClient.Command
438
438
  })
439
439
  .s("S3Outposts", "ListEndpoints", {})
440
440
  .n("S3OutpostsClient", "ListEndpointsCommand")
441
- .sc(ListEndpoints)
441
+ .sc(ListEndpoints$)
442
442
  .build() {
443
443
  }
444
444
 
@@ -450,7 +450,7 @@ class ListOutpostsWithS3Command extends smithyClient.Command
450
450
  })
451
451
  .s("S3Outposts", "ListOutpostsWithS3", {})
452
452
  .n("S3OutpostsClient", "ListOutpostsWithS3Command")
453
- .sc(ListOutpostsWithS3)
453
+ .sc(ListOutpostsWithS3$)
454
454
  .build() {
455
455
  }
456
456
 
@@ -462,7 +462,7 @@ class ListSharedEndpointsCommand extends smithyClient.Command
462
462
  })
463
463
  .s("S3Outposts", "ListSharedEndpoints", {})
464
464
  .n("S3OutpostsClient", "ListSharedEndpointsCommand")
465
- .sc(ListSharedEndpoints)
465
+ .sc(ListSharedEndpoints$)
466
466
  .build() {
467
467
  }
468
468
 
@@ -503,23 +503,49 @@ Object.defineProperty(exports, "__Client", {
503
503
  enumerable: true,
504
504
  get: function () { return smithyClient.Client; }
505
505
  });
506
- exports.AccessDeniedException = AccessDeniedException$1;
507
- exports.ConflictException = ConflictException$1;
506
+ exports.AccessDeniedException = AccessDeniedException;
507
+ exports.AccessDeniedException$ = AccessDeniedException$;
508
+ exports.ConflictException = ConflictException;
509
+ exports.ConflictException$ = ConflictException$;
510
+ exports.CreateEndpoint$ = CreateEndpoint$;
508
511
  exports.CreateEndpointCommand = CreateEndpointCommand;
512
+ exports.CreateEndpointRequest$ = CreateEndpointRequest$;
513
+ exports.CreateEndpointResult$ = CreateEndpointResult$;
514
+ exports.DeleteEndpoint$ = DeleteEndpoint$;
509
515
  exports.DeleteEndpointCommand = DeleteEndpointCommand;
516
+ exports.DeleteEndpointRequest$ = DeleteEndpointRequest$;
517
+ exports.Endpoint$ = Endpoint$;
510
518
  exports.EndpointAccessType = EndpointAccessType;
511
519
  exports.EndpointStatus = EndpointStatus;
512
- exports.InternalServerException = InternalServerException$1;
520
+ exports.FailedReason$ = FailedReason$;
521
+ exports.InternalServerException = InternalServerException;
522
+ exports.InternalServerException$ = InternalServerException$;
523
+ exports.ListEndpoints$ = ListEndpoints$;
513
524
  exports.ListEndpointsCommand = ListEndpointsCommand;
525
+ exports.ListEndpointsRequest$ = ListEndpointsRequest$;
526
+ exports.ListEndpointsResult$ = ListEndpointsResult$;
527
+ exports.ListOutpostsWithS3$ = ListOutpostsWithS3$;
514
528
  exports.ListOutpostsWithS3Command = ListOutpostsWithS3Command;
529
+ exports.ListOutpostsWithS3Request$ = ListOutpostsWithS3Request$;
530
+ exports.ListOutpostsWithS3Result$ = ListOutpostsWithS3Result$;
531
+ exports.ListSharedEndpoints$ = ListSharedEndpoints$;
515
532
  exports.ListSharedEndpointsCommand = ListSharedEndpointsCommand;
516
- exports.OutpostOfflineException = OutpostOfflineException$1;
517
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
533
+ exports.ListSharedEndpointsRequest$ = ListSharedEndpointsRequest$;
534
+ exports.ListSharedEndpointsResult$ = ListSharedEndpointsResult$;
535
+ exports.NetworkInterface$ = NetworkInterface$;
536
+ exports.Outpost$ = Outpost$;
537
+ exports.OutpostOfflineException = OutpostOfflineException;
538
+ exports.OutpostOfflineException$ = OutpostOfflineException$;
539
+ exports.ResourceNotFoundException = ResourceNotFoundException;
540
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
518
541
  exports.S3Outposts = S3Outposts;
519
542
  exports.S3OutpostsClient = S3OutpostsClient;
520
- exports.S3OutpostsServiceException = S3OutpostsServiceException$1;
521
- exports.ThrottlingException = ThrottlingException$1;
522
- exports.ValidationException = ValidationException$1;
543
+ exports.S3OutpostsServiceException = S3OutpostsServiceException;
544
+ exports.S3OutpostsServiceException$ = S3OutpostsServiceException$;
545
+ exports.ThrottlingException = ThrottlingException;
546
+ exports.ThrottlingException$ = ThrottlingException$;
547
+ exports.ValidationException = ValidationException;
548
+ exports.ValidationException$ = ValidationException$;
523
549
  exports.paginateListEndpoints = paginateListEndpoints;
524
550
  exports.paginateListOutpostsWithS3 = paginateListOutpostsWithS3;
525
551
  exports.paginateListSharedEndpoints = paginateListSharedEndpoints;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3outposts" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.s3outposts",
32
+ version: "2017-07-25",
33
+ serviceTarget: "S3Outposts",
34
+ },
30
35
  serviceId: config?.serviceId ?? "S3Outposts",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateEndpoint } from "../schemas/schemas_0";
4
+ import { CreateEndpoint$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateEndpointCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateEndpointCommand extends $Command
11
11
  })
12
12
  .s("S3Outposts", "CreateEndpoint", {})
13
13
  .n("S3OutpostsClient", "CreateEndpointCommand")
14
- .sc(CreateEndpoint)
14
+ .sc(CreateEndpoint$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteEndpoint } from "../schemas/schemas_0";
4
+ import { DeleteEndpoint$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteEndpointCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteEndpointCommand extends $Command
11
11
  })
12
12
  .s("S3Outposts", "DeleteEndpoint", {})
13
13
  .n("S3OutpostsClient", "DeleteEndpointCommand")
14
- .sc(DeleteEndpoint)
14
+ .sc(DeleteEndpoint$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListEndpoints } from "../schemas/schemas_0";
4
+ import { ListEndpoints$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListEndpointsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListEndpointsCommand extends $Command
11
11
  })
12
12
  .s("S3Outposts", "ListEndpoints", {})
13
13
  .n("S3OutpostsClient", "ListEndpointsCommand")
14
- .sc(ListEndpoints)
14
+ .sc(ListEndpoints$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListOutpostsWithS3 } from "../schemas/schemas_0";
4
+ import { ListOutpostsWithS3$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListOutpostsWithS3Command extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListOutpostsWithS3Command extends $Command
11
11
  })
12
12
  .s("S3Outposts", "ListOutpostsWithS3", {})
13
13
  .n("S3OutpostsClient", "ListOutpostsWithS3Command")
14
- .sc(ListOutpostsWithS3)
14
+ .sc(ListOutpostsWithS3$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSharedEndpoints } from "../schemas/schemas_0";
4
+ import { ListSharedEndpoints$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSharedEndpointsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSharedEndpointsCommand extends $Command
11
11
  })
12
12
  .s("S3Outposts", "ListSharedEndpoints", {})
13
13
  .n("S3OutpostsClient", "ListSharedEndpointsCommand")
14
- .sc(ListSharedEndpoints)
14
+ .sc(ListSharedEndpoints$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./S3OutpostsClient";
2
2
  export * from "./S3Outposts";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3outposts" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.s3outposts",
29
+ version: "2017-07-25",
30
+ serviceTarget: "S3Outposts",
31
+ },
27
32
  serviceId: config?.serviceId ?? "S3Outposts",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -60,13 +60,13 @@ const _s = "server";
60
60
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3outposts";
61
61
  const n0 = "com.amazonaws.s3outposts";
62
62
  import { TypeRegistry } from "@smithy/core/schema";
63
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, OutpostOfflineException as __OutpostOfflineException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
64
- import { S3OutpostsServiceException as __S3OutpostsServiceException } from "../models/S3OutpostsServiceException";
65
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
66
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
67
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
68
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
69
- export var CreateEndpointRequest = [
63
+ import { AccessDeniedException, ConflictException, InternalServerException, OutpostOfflineException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
64
+ import { S3OutpostsServiceException } from "../models/S3OutpostsServiceException";
65
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
66
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
67
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
68
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
69
+ export var CreateEndpointRequest$ = [
70
70
  3,
71
71
  n0,
72
72
  _CER,
@@ -74,8 +74,8 @@ export var CreateEndpointRequest = [
74
74
  [_OI, _SI, _SGI, _AT, _COIP],
75
75
  [0, 0, 0, 0, 0],
76
76
  ];
77
- export var CreateEndpointResult = [3, n0, _CERr, 0, [_EA], [0]];
78
- export var DeleteEndpointRequest = [
77
+ export var CreateEndpointResult$ = [3, n0, _CERr, 0, [_EA], [0]];
78
+ export var DeleteEndpointRequest$ = [
79
79
  3,
80
80
  n0,
81
81
  _DER,
@@ -86,18 +86,18 @@ export var DeleteEndpointRequest = [
86
86
  [0, { [_hQ]: _oI }],
87
87
  ],
88
88
  ];
89
- export var Endpoint = [
89
+ export var Endpoint$ = [
90
90
  3,
91
91
  n0,
92
92
  _E,
93
93
  0,
94
94
  [_EA, _OIu, _CB, _S, _CT, _NI, _VI, _SI, _SGI, _AT, _COIP, _FR],
95
- [0, 0, 0, 0, 4, () => NetworkInterfaces, 0, 0, 0, 0, 0, () => FailedReason],
95
+ [0, 0, 0, 0, 4, () => NetworkInterfaces, 0, 0, 0, 0, 0, () => FailedReason$],
96
96
  ];
97
- export var FailedReason = [3, n0, _FR, 0, [_EC, _M], [0, 0]];
98
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
99
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
100
- export var ListEndpointsRequest = [
97
+ export var FailedReason$ = [3, n0, _FR, 0, [_EC, _M], [0, 0]];
98
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
99
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
100
+ export var ListEndpointsRequest$ = [
101
101
  3,
102
102
  n0,
103
103
  _LER,
@@ -108,8 +108,8 @@ export var ListEndpointsRequest = [
108
108
  [1, { [_hQ]: _mR }],
109
109
  ],
110
110
  ];
111
- export var ListEndpointsResult = [3, n0, _LERi, 0, [_En, _NT], [() => Endpoints, 0]];
112
- export var ListOutpostsWithS3Request = [
111
+ export var ListEndpointsResult$ = [3, n0, _LERi, 0, [_En, _NT], [() => Endpoints, 0]];
112
+ export var ListOutpostsWithS3Request$ = [
113
113
  3,
114
114
  n0,
115
115
  _LOWSR,
@@ -120,8 +120,8 @@ export var ListOutpostsWithS3Request = [
120
120
  [1, { [_hQ]: _mR }],
121
121
  ],
122
122
  ];
123
- export var ListOutpostsWithS3Result = [3, n0, _LOWSRi, 0, [_O, _NT], [() => Outposts, 0]];
124
- export var ListSharedEndpointsRequest = [
123
+ export var ListOutpostsWithS3Result$ = [3, n0, _LOWSRi, 0, [_O, _NT], [() => Outposts, 0]];
124
+ export var ListSharedEndpointsRequest$ = [
125
125
  3,
126
126
  n0,
127
127
  _LSER,
@@ -133,60 +133,60 @@ export var ListSharedEndpointsRequest = [
133
133
  [0, { [_hQ]: _oI }],
134
134
  ],
135
135
  ];
136
- export var ListSharedEndpointsResult = [3, n0, _LSERi, 0, [_En, _NT], [() => Endpoints, 0]];
137
- export var NetworkInterface = [3, n0, _NIe, 0, [_NII], [0]];
138
- export var Outpost = [3, n0, _Ou, 0, [_OA, _SOA, _OI, _OIw, _CIB], [0, 0, 0, 0, 1]];
139
- export var OutpostOfflineException = [-3, n0, _OOE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
140
- TypeRegistry.for(n0).registerError(OutpostOfflineException, __OutpostOfflineException);
141
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
142
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
143
- export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
144
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
145
- export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
146
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
147
- export var __Unit = "unit";
148
- export var S3OutpostsServiceException = [-3, _sm, "S3OutpostsServiceException", 0, [], []];
149
- TypeRegistry.for(_sm).registerError(S3OutpostsServiceException, __S3OutpostsServiceException);
150
- export var Endpoints = [1, n0, _En, 0, () => Endpoint];
151
- export var NetworkInterfaces = [1, n0, _NI, 0, () => NetworkInterface];
152
- export var Outposts = [1, n0, _O, 0, () => Outpost];
153
- export var CreateEndpoint = [
136
+ export var ListSharedEndpointsResult$ = [3, n0, _LSERi, 0, [_En, _NT], [() => Endpoints, 0]];
137
+ export var NetworkInterface$ = [3, n0, _NIe, 0, [_NII], [0]];
138
+ export var Outpost$ = [3, n0, _Ou, 0, [_OA, _SOA, _OI, _OIw, _CIB], [0, 0, 0, 0, 1]];
139
+ export var OutpostOfflineException$ = [-3, n0, _OOE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
140
+ TypeRegistry.for(n0).registerError(OutpostOfflineException$, OutpostOfflineException);
141
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
142
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
143
+ export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
144
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
145
+ export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
146
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
147
+ var __Unit = "unit";
148
+ export var S3OutpostsServiceException$ = [-3, _sm, "S3OutpostsServiceException", 0, [], []];
149
+ TypeRegistry.for(_sm).registerError(S3OutpostsServiceException$, S3OutpostsServiceException);
150
+ var Endpoints = [1, n0, _En, 0, () => Endpoint$];
151
+ var NetworkInterfaces = [1, n0, _NI, 0, () => NetworkInterface$];
152
+ var Outposts = [1, n0, _O, 0, () => Outpost$];
153
+ export var CreateEndpoint$ = [
154
154
  9,
155
155
  n0,
156
156
  _CEr,
157
157
  { [_h]: ["POST", "/S3Outposts/CreateEndpoint", 200] },
158
- () => CreateEndpointRequest,
159
- () => CreateEndpointResult,
158
+ () => CreateEndpointRequest$,
159
+ () => CreateEndpointResult$,
160
160
  ];
161
- export var DeleteEndpoint = [
161
+ export var DeleteEndpoint$ = [
162
162
  9,
163
163
  n0,
164
164
  _DE,
165
165
  { [_h]: ["DELETE", "/S3Outposts/DeleteEndpoint", 200] },
166
- () => DeleteEndpointRequest,
166
+ () => DeleteEndpointRequest$,
167
167
  () => __Unit,
168
168
  ];
169
- export var ListEndpoints = [
169
+ export var ListEndpoints$ = [
170
170
  9,
171
171
  n0,
172
172
  _LE,
173
173
  { [_h]: ["GET", "/S3Outposts/ListEndpoints", 200] },
174
- () => ListEndpointsRequest,
175
- () => ListEndpointsResult,
174
+ () => ListEndpointsRequest$,
175
+ () => ListEndpointsResult$,
176
176
  ];
177
- export var ListOutpostsWithS3 = [
177
+ export var ListOutpostsWithS3$ = [
178
178
  9,
179
179
  n0,
180
180
  _LOWS,
181
181
  { [_h]: ["GET", "/S3Outposts/ListOutpostsWithS3", 200] },
182
- () => ListOutpostsWithS3Request,
183
- () => ListOutpostsWithS3Result,
182
+ () => ListOutpostsWithS3Request$,
183
+ () => ListOutpostsWithS3Result$,
184
184
  ];
185
- export var ListSharedEndpoints = [
185
+ export var ListSharedEndpoints$ = [
186
186
  9,
187
187
  n0,
188
188
  _LSE,
189
189
  { [_h]: ["GET", "/S3Outposts/ListSharedEndpoints", 200] },
190
- () => ListSharedEndpointsRequest,
191
- () => ListSharedEndpointsResult,
190
+ () => ListSharedEndpointsRequest$,
191
+ () => ListSharedEndpointsResult$,
192
192
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateEndpointCommandInput, CreateEndpointCommandOutput } from "./commands/CreateEndpointCommand";
11
11
  import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
- /**
150
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
- * may be overridden. A default will always be set by the client.
152
- * Available options depend on the service's supported protocols and will not be validated by
153
- * the client.
154
- * @alpha
155
- *
156
- */
157
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
149
  /**
159
150
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
151
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { S3OutpostsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./pagination";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { S3OutpostsClientConfig } from "./S3OutpostsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3OutpostsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,31 +1,27 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var ConflictException: StaticErrorSchema;
4
- export declare var CreateEndpointRequest: StaticStructureSchema;
5
- export declare var CreateEndpointResult: StaticStructureSchema;
6
- export declare var DeleteEndpointRequest: StaticStructureSchema;
7
- export declare var Endpoint: StaticStructureSchema;
8
- export declare var FailedReason: StaticStructureSchema;
9
- export declare var InternalServerException: StaticErrorSchema;
10
- export declare var ListEndpointsRequest: StaticStructureSchema;
11
- export declare var ListEndpointsResult: StaticStructureSchema;
12
- export declare var ListOutpostsWithS3Request: StaticStructureSchema;
13
- export declare var ListOutpostsWithS3Result: StaticStructureSchema;
14
- export declare var ListSharedEndpointsRequest: StaticStructureSchema;
15
- export declare var ListSharedEndpointsResult: StaticStructureSchema;
16
- export declare var NetworkInterface: StaticStructureSchema;
17
- export declare var Outpost: StaticStructureSchema;
18
- export declare var OutpostOfflineException: StaticErrorSchema;
19
- export declare var ResourceNotFoundException: StaticErrorSchema;
20
- export declare var ThrottlingException: StaticErrorSchema;
21
- export declare var ValidationException: StaticErrorSchema;
22
- export declare var __Unit: "unit";
23
- export declare var S3OutpostsServiceException: StaticErrorSchema;
24
- export declare var Endpoints: StaticListSchema;
25
- export declare var NetworkInterfaces: StaticListSchema;
26
- export declare var Outposts: StaticListSchema;
27
- export declare var CreateEndpoint: StaticOperationSchema;
28
- export declare var DeleteEndpoint: StaticOperationSchema;
29
- export declare var ListEndpoints: StaticOperationSchema;
30
- export declare var ListOutpostsWithS3: StaticOperationSchema;
31
- export declare var ListSharedEndpoints: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var ConflictException$: StaticErrorSchema;
4
+ export declare var CreateEndpointRequest$: StaticStructureSchema;
5
+ export declare var CreateEndpointResult$: StaticStructureSchema;
6
+ export declare var DeleteEndpointRequest$: StaticStructureSchema;
7
+ export declare var Endpoint$: StaticStructureSchema;
8
+ export declare var FailedReason$: StaticStructureSchema;
9
+ export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var ListEndpointsRequest$: StaticStructureSchema;
11
+ export declare var ListEndpointsResult$: StaticStructureSchema;
12
+ export declare var ListOutpostsWithS3Request$: StaticStructureSchema;
13
+ export declare var ListOutpostsWithS3Result$: StaticStructureSchema;
14
+ export declare var ListSharedEndpointsRequest$: StaticStructureSchema;
15
+ export declare var ListSharedEndpointsResult$: StaticStructureSchema;
16
+ export declare var NetworkInterface$: StaticStructureSchema;
17
+ export declare var Outpost$: StaticStructureSchema;
18
+ export declare var OutpostOfflineException$: StaticErrorSchema;
19
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
20
+ export declare var ThrottlingException$: StaticErrorSchema;
21
+ export declare var ValidationException$: StaticErrorSchema;
22
+ export declare var S3OutpostsServiceException$: StaticErrorSchema;
23
+ export declare var CreateEndpoint$: StaticOperationSchema;
24
+ export declare var DeleteEndpoint$: StaticOperationSchema;
25
+ export declare var ListEndpoints$: StaticOperationSchema;
26
+ export declare var ListOutpostsWithS3$: StaticOperationSchema;
27
+ export declare var ListSharedEndpoints$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -111,7 +108,6 @@ export interface ClientDefaults
111
108
  retryMode?: string | __Provider<string>;
112
109
  logger?: __Logger;
113
110
  extensions?: RuntimeExtension[];
114
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
115
111
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
112
  }
117
113
  export type S3OutpostsClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { S3OutpostsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
26
26
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
27
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  userAgentAppId?:
47
51
  | string
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
26
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  retryStrategy?:
47
51
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
37
45
  retryMode: string | import("@smithy/types").Provider<string>;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol: import("@smithy/types").ClientProtocol<
41
- import("@smithy/types").HttpRequest,
42
- import("@smithy/types").HttpResponse
43
- >;
44
48
  defaultsMode:
45
49
  | import("@smithy/smithy-client").DefaultsMode
46
50
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { S3OutpostsClientConfig } from "./S3OutpostsClient";
2
3
  export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
3
4
  apiVersion: string;
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3OutpostsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<
18
- import("@smithy/types").HttpRequest,
19
- import("@smithy/types").HttpResponse
20
- >;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
21
26
  serviceId: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,36 +1,31 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var AccessDeniedException: StaticErrorSchema;
8
- export declare var ConflictException: StaticErrorSchema;
9
- export declare var CreateEndpointRequest: StaticStructureSchema;
10
- export declare var CreateEndpointResult: StaticStructureSchema;
11
- export declare var DeleteEndpointRequest: StaticStructureSchema;
12
- export declare var Endpoint: StaticStructureSchema;
13
- export declare var FailedReason: StaticStructureSchema;
14
- export declare var InternalServerException: StaticErrorSchema;
15
- export declare var ListEndpointsRequest: StaticStructureSchema;
16
- export declare var ListEndpointsResult: StaticStructureSchema;
17
- export declare var ListOutpostsWithS3Request: StaticStructureSchema;
18
- export declare var ListOutpostsWithS3Result: StaticStructureSchema;
19
- export declare var ListSharedEndpointsRequest: StaticStructureSchema;
20
- export declare var ListSharedEndpointsResult: StaticStructureSchema;
21
- export declare var NetworkInterface: StaticStructureSchema;
22
- export declare var Outpost: StaticStructureSchema;
23
- export declare var OutpostOfflineException: StaticErrorSchema;
24
- export declare var ResourceNotFoundException: StaticErrorSchema;
25
- export declare var ThrottlingException: StaticErrorSchema;
26
- export declare var ValidationException: StaticErrorSchema;
27
- export declare var __Unit: "unit";
28
- export declare var S3OutpostsServiceException: StaticErrorSchema;
29
- export declare var Endpoints: StaticListSchema;
30
- export declare var NetworkInterfaces: StaticListSchema;
31
- export declare var Outposts: StaticListSchema;
32
- export declare var CreateEndpoint: StaticOperationSchema;
33
- export declare var DeleteEndpoint: StaticOperationSchema;
34
- export declare var ListEndpoints: StaticOperationSchema;
35
- export declare var ListOutpostsWithS3: StaticOperationSchema;
36
- export declare var ListSharedEndpoints: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var ConflictException$: StaticErrorSchema;
8
+ export declare var CreateEndpointRequest$: StaticStructureSchema;
9
+ export declare var CreateEndpointResult$: StaticStructureSchema;
10
+ export declare var DeleteEndpointRequest$: StaticStructureSchema;
11
+ export declare var Endpoint$: StaticStructureSchema;
12
+ export declare var FailedReason$: StaticStructureSchema;
13
+ export declare var InternalServerException$: StaticErrorSchema;
14
+ export declare var ListEndpointsRequest$: StaticStructureSchema;
15
+ export declare var ListEndpointsResult$: StaticStructureSchema;
16
+ export declare var ListOutpostsWithS3Request$: StaticStructureSchema;
17
+ export declare var ListOutpostsWithS3Result$: StaticStructureSchema;
18
+ export declare var ListSharedEndpointsRequest$: StaticStructureSchema;
19
+ export declare var ListSharedEndpointsResult$: StaticStructureSchema;
20
+ export declare var NetworkInterface$: StaticStructureSchema;
21
+ export declare var Outpost$: StaticStructureSchema;
22
+ export declare var OutpostOfflineException$: StaticErrorSchema;
23
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
24
+ export declare var ThrottlingException$: StaticErrorSchema;
25
+ export declare var ValidationException$: StaticErrorSchema;
26
+ export declare var S3OutpostsServiceException$: StaticErrorSchema;
27
+ export declare var CreateEndpoint$: StaticOperationSchema;
28
+ export declare var DeleteEndpoint$: StaticOperationSchema;
29
+ export declare var ListEndpoints$: StaticOperationSchema;
30
+ export declare var ListOutpostsWithS3$: StaticOperationSchema;
31
+ export declare var ListSharedEndpoints$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3outposts",
3
3
  "description": "AWS SDK for JavaScript S3outposts Client for Node.js, Browser and React Native",
4
- "version": "3.948.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3outposts",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.948.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },