@aws-sdk/client-s3outposts 3.716.0 → 3.723.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
@@ -141,7 +141,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
141
141
  }, "resolveRuntimeExtensions");
142
142
 
143
143
  // src/S3OutpostsClient.ts
144
- var _S3OutpostsClient = class _S3OutpostsClient extends import_smithy_client.Client {
144
+ var S3OutpostsClient = class extends import_smithy_client.Client {
145
+ static {
146
+ __name(this, "S3OutpostsClient");
147
+ }
148
+ /**
149
+ * The resolved configuration of S3OutpostsClient class. This is resolved and normalized from the {@link S3OutpostsClientConfig | constructor configuration interface}.
150
+ */
151
+ config;
145
152
  constructor(...[configuration]) {
146
153
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
147
154
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -151,7 +158,7 @@ var _S3OutpostsClient = class _S3OutpostsClient extends import_smithy_client.Cli
151
158
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
152
159
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
153
160
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
154
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
161
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
155
162
  super(_config_8);
156
163
  this.config = _config_8;
157
164
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -179,8 +186,6 @@ var _S3OutpostsClient = class _S3OutpostsClient extends import_smithy_client.Cli
179
186
  super.destroy();
180
187
  }
181
188
  };
182
- __name(_S3OutpostsClient, "S3OutpostsClient");
183
- var S3OutpostsClient = _S3OutpostsClient;
184
189
 
185
190
  // src/S3Outposts.ts
186
191
 
@@ -197,7 +202,10 @@ var import_core2 = require("@aws-sdk/core");
197
202
 
198
203
  // src/models/S3OutpostsServiceException.ts
199
204
 
200
- var _S3OutpostsServiceException = class _S3OutpostsServiceException extends import_smithy_client.ServiceException {
205
+ var S3OutpostsServiceException = class _S3OutpostsServiceException extends import_smithy_client.ServiceException {
206
+ static {
207
+ __name(this, "S3OutpostsServiceException");
208
+ }
201
209
  /**
202
210
  * @internal
203
211
  */
@@ -206,11 +214,15 @@ var _S3OutpostsServiceException = class _S3OutpostsServiceException extends impo
206
214
  Object.setPrototypeOf(this, _S3OutpostsServiceException.prototype);
207
215
  }
208
216
  };
209
- __name(_S3OutpostsServiceException, "S3OutpostsServiceException");
210
- var S3OutpostsServiceException = _S3OutpostsServiceException;
211
217
 
212
218
  // src/models/models_0.ts
213
- var _AccessDeniedException = class _AccessDeniedException extends S3OutpostsServiceException {
219
+ var AccessDeniedException = class _AccessDeniedException extends S3OutpostsServiceException {
220
+ static {
221
+ __name(this, "AccessDeniedException");
222
+ }
223
+ name = "AccessDeniedException";
224
+ $fault = "client";
225
+ Message;
214
226
  /**
215
227
  * @internal
216
228
  */
@@ -220,15 +232,17 @@ var _AccessDeniedException = class _AccessDeniedException extends S3OutpostsServ
220
232
  $fault: "client",
221
233
  ...opts
222
234
  });
223
- this.name = "AccessDeniedException";
224
- this.$fault = "client";
225
235
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
226
236
  this.Message = opts.Message;
227
237
  }
228
238
  };
229
- __name(_AccessDeniedException, "AccessDeniedException");
230
- var AccessDeniedException = _AccessDeniedException;
231
- var _ConflictException = class _ConflictException extends S3OutpostsServiceException {
239
+ var ConflictException = class _ConflictException extends S3OutpostsServiceException {
240
+ static {
241
+ __name(this, "ConflictException");
242
+ }
243
+ name = "ConflictException";
244
+ $fault = "client";
245
+ Message;
232
246
  /**
233
247
  * @internal
234
248
  */
@@ -238,19 +252,21 @@ var _ConflictException = class _ConflictException extends S3OutpostsServiceExcep
238
252
  $fault: "client",
239
253
  ...opts
240
254
  });
241
- this.name = "ConflictException";
242
- this.$fault = "client";
243
255
  Object.setPrototypeOf(this, _ConflictException.prototype);
244
256
  this.Message = opts.Message;
245
257
  }
246
258
  };
247
- __name(_ConflictException, "ConflictException");
248
- var ConflictException = _ConflictException;
249
259
  var EndpointAccessType = {
250
260
  CUSTOMER_OWNED_IP: "CustomerOwnedIp",
251
261
  PRIVATE: "Private"
252
262
  };
253
- var _InternalServerException = class _InternalServerException extends S3OutpostsServiceException {
263
+ var InternalServerException = class _InternalServerException extends S3OutpostsServiceException {
264
+ static {
265
+ __name(this, "InternalServerException");
266
+ }
267
+ name = "InternalServerException";
268
+ $fault = "server";
269
+ Message;
254
270
  /**
255
271
  * @internal
256
272
  */
@@ -260,15 +276,17 @@ var _InternalServerException = class _InternalServerException extends S3Outposts
260
276
  $fault: "server",
261
277
  ...opts
262
278
  });
263
- this.name = "InternalServerException";
264
- this.$fault = "server";
265
279
  Object.setPrototypeOf(this, _InternalServerException.prototype);
266
280
  this.Message = opts.Message;
267
281
  }
268
282
  };
269
- __name(_InternalServerException, "InternalServerException");
270
- var InternalServerException = _InternalServerException;
271
- var _OutpostOfflineException = class _OutpostOfflineException extends S3OutpostsServiceException {
283
+ var OutpostOfflineException = class _OutpostOfflineException extends S3OutpostsServiceException {
284
+ static {
285
+ __name(this, "OutpostOfflineException");
286
+ }
287
+ name = "OutpostOfflineException";
288
+ $fault = "client";
289
+ Message;
272
290
  /**
273
291
  * @internal
274
292
  */
@@ -278,15 +296,17 @@ var _OutpostOfflineException = class _OutpostOfflineException extends S3Outposts
278
296
  $fault: "client",
279
297
  ...opts
280
298
  });
281
- this.name = "OutpostOfflineException";
282
- this.$fault = "client";
283
299
  Object.setPrototypeOf(this, _OutpostOfflineException.prototype);
284
300
  this.Message = opts.Message;
285
301
  }
286
302
  };
287
- __name(_OutpostOfflineException, "OutpostOfflineException");
288
- var OutpostOfflineException = _OutpostOfflineException;
289
- var _ResourceNotFoundException = class _ResourceNotFoundException extends S3OutpostsServiceException {
303
+ var ResourceNotFoundException = class _ResourceNotFoundException extends S3OutpostsServiceException {
304
+ static {
305
+ __name(this, "ResourceNotFoundException");
306
+ }
307
+ name = "ResourceNotFoundException";
308
+ $fault = "client";
309
+ Message;
290
310
  /**
291
311
  * @internal
292
312
  */
@@ -296,15 +316,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends S3Outp
296
316
  $fault: "client",
297
317
  ...opts
298
318
  });
299
- this.name = "ResourceNotFoundException";
300
- this.$fault = "client";
301
319
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
302
320
  this.Message = opts.Message;
303
321
  }
304
322
  };
305
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
306
- var ResourceNotFoundException = _ResourceNotFoundException;
307
- var _ThrottlingException = class _ThrottlingException extends S3OutpostsServiceException {
323
+ var ThrottlingException = class _ThrottlingException extends S3OutpostsServiceException {
324
+ static {
325
+ __name(this, "ThrottlingException");
326
+ }
327
+ name = "ThrottlingException";
328
+ $fault = "client";
329
+ Message;
308
330
  /**
309
331
  * @internal
310
332
  */
@@ -314,15 +336,17 @@ var _ThrottlingException = class _ThrottlingException extends S3OutpostsServiceE
314
336
  $fault: "client",
315
337
  ...opts
316
338
  });
317
- this.name = "ThrottlingException";
318
- this.$fault = "client";
319
339
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
320
340
  this.Message = opts.Message;
321
341
  }
322
342
  };
323
- __name(_ThrottlingException, "ThrottlingException");
324
- var ThrottlingException = _ThrottlingException;
325
- var _ValidationException = class _ValidationException extends S3OutpostsServiceException {
343
+ var ValidationException = class _ValidationException extends S3OutpostsServiceException {
344
+ static {
345
+ __name(this, "ValidationException");
346
+ }
347
+ name = "ValidationException";
348
+ $fault = "client";
349
+ Message;
326
350
  /**
327
351
  * @internal
328
352
  */
@@ -332,14 +356,10 @@ var _ValidationException = class _ValidationException extends S3OutpostsServiceE
332
356
  $fault: "client",
333
357
  ...opts
334
358
  });
335
- this.name = "ValidationException";
336
- this.$fault = "client";
337
359
  Object.setPrototypeOf(this, _ValidationException.prototype);
338
360
  this.Message = opts.Message;
339
361
  }
340
362
  };
341
- __name(_ValidationException, "ValidationException");
342
- var ValidationException = _ValidationException;
343
363
  var EndpointStatus = {
344
364
  AVAILABLE: "Available",
345
365
  CREATE_FAILED: "Create_Failed",
@@ -653,71 +673,76 @@ var _nT = "nextToken";
653
673
  var _oI = "outpostId";
654
674
 
655
675
  // src/commands/CreateEndpointCommand.ts
656
- var _CreateEndpointCommand = class _CreateEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
676
+ var CreateEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
657
677
  return [
658
678
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
659
679
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
660
680
  ];
661
681
  }).s("S3Outposts", "CreateEndpoint", {}).n("S3OutpostsClient", "CreateEndpointCommand").f(void 0, void 0).ser(se_CreateEndpointCommand).de(de_CreateEndpointCommand).build() {
682
+ static {
683
+ __name(this, "CreateEndpointCommand");
684
+ }
662
685
  };
663
- __name(_CreateEndpointCommand, "CreateEndpointCommand");
664
- var CreateEndpointCommand = _CreateEndpointCommand;
665
686
 
666
687
  // src/commands/DeleteEndpointCommand.ts
667
688
 
668
689
 
669
690
 
670
- var _DeleteEndpointCommand = class _DeleteEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
691
+ var DeleteEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
671
692
  return [
672
693
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
673
694
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
674
695
  ];
675
696
  }).s("S3Outposts", "DeleteEndpoint", {}).n("S3OutpostsClient", "DeleteEndpointCommand").f(void 0, void 0).ser(se_DeleteEndpointCommand).de(de_DeleteEndpointCommand).build() {
697
+ static {
698
+ __name(this, "DeleteEndpointCommand");
699
+ }
676
700
  };
677
- __name(_DeleteEndpointCommand, "DeleteEndpointCommand");
678
- var DeleteEndpointCommand = _DeleteEndpointCommand;
679
701
 
680
702
  // src/commands/ListEndpointsCommand.ts
681
703
 
682
704
 
683
705
 
684
- var _ListEndpointsCommand = class _ListEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
706
+ var ListEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
685
707
  return [
686
708
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
687
709
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
688
710
  ];
689
711
  }).s("S3Outposts", "ListEndpoints", {}).n("S3OutpostsClient", "ListEndpointsCommand").f(void 0, void 0).ser(se_ListEndpointsCommand).de(de_ListEndpointsCommand).build() {
712
+ static {
713
+ __name(this, "ListEndpointsCommand");
714
+ }
690
715
  };
691
- __name(_ListEndpointsCommand, "ListEndpointsCommand");
692
- var ListEndpointsCommand = _ListEndpointsCommand;
693
716
 
694
717
  // src/commands/ListOutpostsWithS3Command.ts
695
718
 
696
719
 
697
720
 
698
- var _ListOutpostsWithS3Command = class _ListOutpostsWithS3Command extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
721
+ var ListOutpostsWithS3Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
699
722
  return [
700
723
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
701
724
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
702
725
  ];
703
726
  }).s("S3Outposts", "ListOutpostsWithS3", {}).n("S3OutpostsClient", "ListOutpostsWithS3Command").f(void 0, void 0).ser(se_ListOutpostsWithS3Command).de(de_ListOutpostsWithS3Command).build() {
727
+ static {
728
+ __name(this, "ListOutpostsWithS3Command");
729
+ }
704
730
  };
705
- __name(_ListOutpostsWithS3Command, "ListOutpostsWithS3Command");
706
- var ListOutpostsWithS3Command = _ListOutpostsWithS3Command;
707
731
 
708
732
  // src/commands/ListSharedEndpointsCommand.ts
709
733
 
710
734
 
711
735
 
712
- var _ListSharedEndpointsCommand = class _ListSharedEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
736
+ var ListSharedEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
713
737
  return [
714
738
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
715
739
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
716
740
  ];
717
741
  }).s("S3Outposts", "ListSharedEndpoints", {}).n("S3OutpostsClient", "ListSharedEndpointsCommand").f(void 0, void 0).ser(se_ListSharedEndpointsCommand).de(de_ListSharedEndpointsCommand).build() {
742
+ static {
743
+ __name(this, "ListSharedEndpointsCommand");
744
+ }
718
745
  };
719
- __name(_ListSharedEndpointsCommand, "ListSharedEndpointsCommand");
720
- var ListSharedEndpointsCommand = _ListSharedEndpointsCommand;
721
746
 
722
747
  // src/S3Outposts.ts
723
748
  var commands = {
@@ -727,10 +752,11 @@ var commands = {
727
752
  ListOutpostsWithS3Command,
728
753
  ListSharedEndpointsCommand
729
754
  };
730
- var _S3Outposts = class _S3Outposts extends S3OutpostsClient {
755
+ var S3Outposts = class extends S3OutpostsClient {
756
+ static {
757
+ __name(this, "S3Outposts");
758
+ }
731
759
  };
732
- __name(_S3Outposts, "S3Outposts");
733
- var S3Outposts = _S3Outposts;
734
760
  (0, import_smithy_client.createAggregatedClient)(commands, S3Outposts);
735
761
 
736
762
  // src/pagination/ListEndpointsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class S3OutpostsClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,26 +1,28 @@
1
1
  import { S3OutpostsServiceException as __BaseException } from "./S3OutpostsServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
14
15
  }
15
16
  export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
16
20
  constructor(opts) {
17
21
  super({
18
22
  name: "ConflictException",
19
23
  $fault: "client",
20
24
  ...opts,
21
25
  });
22
- this.name = "ConflictException";
23
- this.$fault = "client";
24
26
  Object.setPrototypeOf(this, ConflictException.prototype);
25
27
  this.Message = opts.Message;
26
28
  }
@@ -30,66 +32,71 @@ export const EndpointAccessType = {
30
32
  PRIVATE: "Private",
31
33
  };
32
34
  export class InternalServerException extends __BaseException {
35
+ name = "InternalServerException";
36
+ $fault = "server";
37
+ Message;
33
38
  constructor(opts) {
34
39
  super({
35
40
  name: "InternalServerException",
36
41
  $fault: "server",
37
42
  ...opts,
38
43
  });
39
- this.name = "InternalServerException";
40
- this.$fault = "server";
41
44
  Object.setPrototypeOf(this, InternalServerException.prototype);
42
45
  this.Message = opts.Message;
43
46
  }
44
47
  }
45
48
  export class OutpostOfflineException extends __BaseException {
49
+ name = "OutpostOfflineException";
50
+ $fault = "client";
51
+ Message;
46
52
  constructor(opts) {
47
53
  super({
48
54
  name: "OutpostOfflineException",
49
55
  $fault: "client",
50
56
  ...opts,
51
57
  });
52
- this.name = "OutpostOfflineException";
53
- this.$fault = "client";
54
58
  Object.setPrototypeOf(this, OutpostOfflineException.prototype);
55
59
  this.Message = opts.Message;
56
60
  }
57
61
  }
58
62
  export class ResourceNotFoundException extends __BaseException {
63
+ name = "ResourceNotFoundException";
64
+ $fault = "client";
65
+ Message;
59
66
  constructor(opts) {
60
67
  super({
61
68
  name: "ResourceNotFoundException",
62
69
  $fault: "client",
63
70
  ...opts,
64
71
  });
65
- this.name = "ResourceNotFoundException";
66
- this.$fault = "client";
67
72
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
68
73
  this.Message = opts.Message;
69
74
  }
70
75
  }
71
76
  export class ThrottlingException extends __BaseException {
77
+ name = "ThrottlingException";
78
+ $fault = "client";
79
+ Message;
72
80
  constructor(opts) {
73
81
  super({
74
82
  name: "ThrottlingException",
75
83
  $fault: "client",
76
84
  ...opts,
77
85
  });
78
- this.name = "ThrottlingException";
79
- this.$fault = "client";
80
86
  Object.setPrototypeOf(this, ThrottlingException.prototype);
81
87
  this.Message = opts.Message;
82
88
  }
83
89
  }
84
90
  export class ValidationException extends __BaseException {
91
+ name = "ValidationException";
92
+ $fault = "client";
93
+ Message;
85
94
  constructor(opts) {
86
95
  super({
87
96
  name: "ValidationException",
88
97
  $fault: "client",
89
98
  ...opts,
90
99
  });
91
- this.name = "ValidationException";
92
- this.$fault = "client";
93
100
  Object.setPrototypeOf(this, ValidationException.prototype);
94
101
  this.Message = opts.Message;
95
102
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- 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> | undefined;
34
+ 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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3outposts",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {