@aws-sdk/client-mediastore-data 3.721.0 → 3.726.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
@@ -139,7 +139,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
139
139
  }, "resolveRuntimeExtensions");
140
140
 
141
141
  // src/MediaStoreDataClient.ts
142
- var _MediaStoreDataClient = class _MediaStoreDataClient extends import_smithy_client.Client {
142
+ var MediaStoreDataClient = class extends import_smithy_client.Client {
143
+ static {
144
+ __name(this, "MediaStoreDataClient");
145
+ }
146
+ /**
147
+ * The resolved configuration of MediaStoreDataClient class. This is resolved and normalized from the {@link MediaStoreDataClientConfig | constructor configuration interface}.
148
+ */
149
+ config;
143
150
  constructor(...[configuration]) {
144
151
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
145
152
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -149,7 +156,7 @@ var _MediaStoreDataClient = class _MediaStoreDataClient extends import_smithy_cl
149
156
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
150
157
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
151
158
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
152
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
159
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
153
160
  super(_config_8);
154
161
  this.config = _config_8;
155
162
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -177,8 +184,6 @@ var _MediaStoreDataClient = class _MediaStoreDataClient extends import_smithy_cl
177
184
  super.destroy();
178
185
  }
179
186
  };
180
- __name(_MediaStoreDataClient, "MediaStoreDataClient");
181
- var MediaStoreDataClient = _MediaStoreDataClient;
182
187
 
183
188
  // src/MediaStoreData.ts
184
189
 
@@ -195,7 +200,10 @@ var import_core2 = require("@aws-sdk/core");
195
200
 
196
201
  // src/models/MediaStoreDataServiceException.ts
197
202
 
198
- var _MediaStoreDataServiceException = class _MediaStoreDataServiceException extends import_smithy_client.ServiceException {
203
+ var MediaStoreDataServiceException = class _MediaStoreDataServiceException extends import_smithy_client.ServiceException {
204
+ static {
205
+ __name(this, "MediaStoreDataServiceException");
206
+ }
199
207
  /**
200
208
  * @internal
201
209
  */
@@ -204,11 +212,15 @@ var _MediaStoreDataServiceException = class _MediaStoreDataServiceException exte
204
212
  Object.setPrototypeOf(this, _MediaStoreDataServiceException.prototype);
205
213
  }
206
214
  };
207
- __name(_MediaStoreDataServiceException, "MediaStoreDataServiceException");
208
- var MediaStoreDataServiceException = _MediaStoreDataServiceException;
209
215
 
210
216
  // src/models/models_0.ts
211
- var _ContainerNotFoundException = class _ContainerNotFoundException extends MediaStoreDataServiceException {
217
+ var ContainerNotFoundException = class _ContainerNotFoundException extends MediaStoreDataServiceException {
218
+ static {
219
+ __name(this, "ContainerNotFoundException");
220
+ }
221
+ name = "ContainerNotFoundException";
222
+ $fault = "client";
223
+ Message;
212
224
  /**
213
225
  * @internal
214
226
  */
@@ -218,15 +230,17 @@ var _ContainerNotFoundException = class _ContainerNotFoundException extends Medi
218
230
  $fault: "client",
219
231
  ...opts
220
232
  });
221
- this.name = "ContainerNotFoundException";
222
- this.$fault = "client";
223
233
  Object.setPrototypeOf(this, _ContainerNotFoundException.prototype);
224
234
  this.Message = opts.Message;
225
235
  }
226
236
  };
227
- __name(_ContainerNotFoundException, "ContainerNotFoundException");
228
- var ContainerNotFoundException = _ContainerNotFoundException;
229
- var _InternalServerError = class _InternalServerError extends MediaStoreDataServiceException {
237
+ var InternalServerError = class _InternalServerError extends MediaStoreDataServiceException {
238
+ static {
239
+ __name(this, "InternalServerError");
240
+ }
241
+ name = "InternalServerError";
242
+ $fault = "server";
243
+ Message;
230
244
  /**
231
245
  * @internal
232
246
  */
@@ -236,15 +250,17 @@ var _InternalServerError = class _InternalServerError extends MediaStoreDataServ
236
250
  $fault: "server",
237
251
  ...opts
238
252
  });
239
- this.name = "InternalServerError";
240
- this.$fault = "server";
241
253
  Object.setPrototypeOf(this, _InternalServerError.prototype);
242
254
  this.Message = opts.Message;
243
255
  }
244
256
  };
245
- __name(_InternalServerError, "InternalServerError");
246
- var InternalServerError = _InternalServerError;
247
- var _ObjectNotFoundException = class _ObjectNotFoundException extends MediaStoreDataServiceException {
257
+ var ObjectNotFoundException = class _ObjectNotFoundException extends MediaStoreDataServiceException {
258
+ static {
259
+ __name(this, "ObjectNotFoundException");
260
+ }
261
+ name = "ObjectNotFoundException";
262
+ $fault = "client";
263
+ Message;
248
264
  /**
249
265
  * @internal
250
266
  */
@@ -254,15 +270,17 @@ var _ObjectNotFoundException = class _ObjectNotFoundException extends MediaStore
254
270
  $fault: "client",
255
271
  ...opts
256
272
  });
257
- this.name = "ObjectNotFoundException";
258
- this.$fault = "client";
259
273
  Object.setPrototypeOf(this, _ObjectNotFoundException.prototype);
260
274
  this.Message = opts.Message;
261
275
  }
262
276
  };
263
- __name(_ObjectNotFoundException, "ObjectNotFoundException");
264
- var ObjectNotFoundException = _ObjectNotFoundException;
265
- var _RequestedRangeNotSatisfiableException = class _RequestedRangeNotSatisfiableException extends MediaStoreDataServiceException {
277
+ var RequestedRangeNotSatisfiableException = class _RequestedRangeNotSatisfiableException extends MediaStoreDataServiceException {
278
+ static {
279
+ __name(this, "RequestedRangeNotSatisfiableException");
280
+ }
281
+ name = "RequestedRangeNotSatisfiableException";
282
+ $fault = "client";
283
+ Message;
266
284
  /**
267
285
  * @internal
268
286
  */
@@ -272,14 +290,10 @@ var _RequestedRangeNotSatisfiableException = class _RequestedRangeNotSatisfiable
272
290
  $fault: "client",
273
291
  ...opts
274
292
  });
275
- this.name = "RequestedRangeNotSatisfiableException";
276
- this.$fault = "client";
277
293
  Object.setPrototypeOf(this, _RequestedRangeNotSatisfiableException.prototype);
278
294
  this.Message = opts.Message;
279
295
  }
280
296
  };
281
- __name(_RequestedRangeNotSatisfiableException, "RequestedRangeNotSatisfiableException");
282
- var RequestedRangeNotSatisfiableException = _RequestedRangeNotSatisfiableException;
283
297
  var ItemType = {
284
298
  FOLDER: "FOLDER",
285
299
  OBJECT: "OBJECT"
@@ -562,71 +576,76 @@ var _xasc = "x-amz-storage-class";
562
576
  var _xaua = "x-amz-upload-availability";
563
577
 
564
578
  // src/commands/DeleteObjectCommand.ts
565
- var _DeleteObjectCommand = class _DeleteObjectCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
579
+ var DeleteObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
566
580
  return [
567
581
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
568
582
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
569
583
  ];
570
584
  }).s("MediaStoreObject_20170901", "DeleteObject", {}).n("MediaStoreDataClient", "DeleteObjectCommand").f(void 0, void 0).ser(se_DeleteObjectCommand).de(de_DeleteObjectCommand).build() {
585
+ static {
586
+ __name(this, "DeleteObjectCommand");
587
+ }
571
588
  };
572
- __name(_DeleteObjectCommand, "DeleteObjectCommand");
573
- var DeleteObjectCommand = _DeleteObjectCommand;
574
589
 
575
590
  // src/commands/DescribeObjectCommand.ts
576
591
 
577
592
 
578
593
 
579
- var _DescribeObjectCommand = class _DescribeObjectCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
594
+ var DescribeObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
580
595
  return [
581
596
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
582
597
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
583
598
  ];
584
599
  }).s("MediaStoreObject_20170901", "DescribeObject", {}).n("MediaStoreDataClient", "DescribeObjectCommand").f(void 0, void 0).ser(se_DescribeObjectCommand).de(de_DescribeObjectCommand).build() {
600
+ static {
601
+ __name(this, "DescribeObjectCommand");
602
+ }
585
603
  };
586
- __name(_DescribeObjectCommand, "DescribeObjectCommand");
587
- var DescribeObjectCommand = _DescribeObjectCommand;
588
604
 
589
605
  // src/commands/GetObjectCommand.ts
590
606
 
591
607
 
592
608
 
593
- var _GetObjectCommand = class _GetObjectCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
609
+ var GetObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
594
610
  return [
595
611
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
596
612
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
597
613
  ];
598
614
  }).s("MediaStoreObject_20170901", "GetObject", {}).n("MediaStoreDataClient", "GetObjectCommand").f(void 0, GetObjectResponseFilterSensitiveLog).ser(se_GetObjectCommand).de(de_GetObjectCommand).build() {
615
+ static {
616
+ __name(this, "GetObjectCommand");
617
+ }
599
618
  };
600
- __name(_GetObjectCommand, "GetObjectCommand");
601
- var GetObjectCommand = _GetObjectCommand;
602
619
 
603
620
  // src/commands/ListItemsCommand.ts
604
621
 
605
622
 
606
623
 
607
- var _ListItemsCommand = class _ListItemsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
624
+ var ListItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
608
625
  return [
609
626
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
610
627
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
611
628
  ];
612
629
  }).s("MediaStoreObject_20170901", "ListItems", {}).n("MediaStoreDataClient", "ListItemsCommand").f(void 0, void 0).ser(se_ListItemsCommand).de(de_ListItemsCommand).build() {
630
+ static {
631
+ __name(this, "ListItemsCommand");
632
+ }
613
633
  };
614
- __name(_ListItemsCommand, "ListItemsCommand");
615
- var ListItemsCommand = _ListItemsCommand;
616
634
 
617
635
  // src/commands/PutObjectCommand.ts
618
636
 
619
637
 
620
638
 
621
- var _PutObjectCommand = class _PutObjectCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
639
+ var PutObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
622
640
  return [
623
641
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
624
642
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
625
643
  ];
626
644
  }).s("MediaStoreObject_20170901", "PutObject", {}).n("MediaStoreDataClient", "PutObjectCommand").f(PutObjectRequestFilterSensitiveLog, void 0).ser(se_PutObjectCommand).de(de_PutObjectCommand).build() {
645
+ static {
646
+ __name(this, "PutObjectCommand");
647
+ }
627
648
  };
628
- __name(_PutObjectCommand, "PutObjectCommand");
629
- var PutObjectCommand = _PutObjectCommand;
630
649
 
631
650
  // src/MediaStoreData.ts
632
651
  var commands = {
@@ -636,10 +655,11 @@ var commands = {
636
655
  ListItemsCommand,
637
656
  PutObjectCommand
638
657
  };
639
- var _MediaStoreData = class _MediaStoreData extends MediaStoreDataClient {
658
+ var MediaStoreData = class extends MediaStoreDataClient {
659
+ static {
660
+ __name(this, "MediaStoreData");
661
+ }
640
662
  };
641
- __name(_MediaStoreData, "MediaStoreData");
642
- var MediaStoreData = _MediaStoreData;
643
663
  (0, import_smithy_client.createAggregatedClient)(commands, MediaStoreData);
644
664
 
645
665
  // src/pagination/ListItemsPaginator.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 MediaStoreDataClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,52 +1,56 @@
1
1
  import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
2
2
  export class ContainerNotFoundException extends __BaseException {
3
+ name = "ContainerNotFoundException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "ContainerNotFoundException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "ContainerNotFoundException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
14
15
  }
15
16
  export class InternalServerError extends __BaseException {
17
+ name = "InternalServerError";
18
+ $fault = "server";
19
+ Message;
16
20
  constructor(opts) {
17
21
  super({
18
22
  name: "InternalServerError",
19
23
  $fault: "server",
20
24
  ...opts,
21
25
  });
22
- this.name = "InternalServerError";
23
- this.$fault = "server";
24
26
  Object.setPrototypeOf(this, InternalServerError.prototype);
25
27
  this.Message = opts.Message;
26
28
  }
27
29
  }
28
30
  export class ObjectNotFoundException extends __BaseException {
31
+ name = "ObjectNotFoundException";
32
+ $fault = "client";
33
+ Message;
29
34
  constructor(opts) {
30
35
  super({
31
36
  name: "ObjectNotFoundException",
32
37
  $fault: "client",
33
38
  ...opts,
34
39
  });
35
- this.name = "ObjectNotFoundException";
36
- this.$fault = "client";
37
40
  Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
38
41
  this.Message = opts.Message;
39
42
  }
40
43
  }
41
44
  export class RequestedRangeNotSatisfiableException extends __BaseException {
45
+ name = "RequestedRangeNotSatisfiableException";
46
+ $fault = "client";
47
+ Message;
42
48
  constructor(opts) {
43
49
  super({
44
50
  name: "RequestedRangeNotSatisfiableException",
45
51
  $fault: "client",
46
52
  ...opts,
47
53
  });
48
- this.name = "RequestedRangeNotSatisfiableException";
49
- this.$fault = "client";
50
54
  Object.setPrototypeOf(this, RequestedRangeNotSatisfiableException.prototype);
51
55
  this.Message = opts.Message;
52
56
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
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: MediaStoreDataClientConfig) => {
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: MediaStoreDataClientConfig) => {
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;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
32
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
33
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- 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;
35
+ 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;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
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: MediaStoreDataClientConfig) => {
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: MediaStoreDataClientConfig) => {
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;
@@ -51,11 +53,21 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
51
53
  | import("@smithy/types").RetryStrategyV2
52
54
  | undefined;
53
55
  endpoint?:
54
- | string
55
- | import("@smithy/types").Endpoint
56
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
- | import("@smithy/types").EndpointV2
58
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
+ | ((
57
+ | string
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ) &
63
+ (
64
+ | string
65
+ | import("@smithy/types").Provider<string>
66
+ | import("@smithy/types").Endpoint
67
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
+ | import("@smithy/types").EndpointV2
69
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
70
+ ))
59
71
  | undefined;
60
72
  endpointProvider: (
61
73
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediastore-data",
3
3
  "description": "AWS SDK for JavaScript Mediastore Data Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.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-mediastore-data",
@@ -22,57 +22,57 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.721.0",
26
- "@aws-sdk/client-sts": "3.721.0",
27
- "@aws-sdk/core": "3.716.0",
28
- "@aws-sdk/credential-provider-node": "3.721.0",
29
- "@aws-sdk/middleware-host-header": "3.714.0",
30
- "@aws-sdk/middleware-logger": "3.714.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
32
- "@aws-sdk/middleware-user-agent": "3.721.0",
33
- "@aws-sdk/region-config-resolver": "3.714.0",
34
- "@aws-sdk/types": "3.714.0",
35
- "@aws-sdk/util-endpoints": "3.714.0",
36
- "@aws-sdk/util-user-agent-browser": "3.714.0",
37
- "@aws-sdk/util-user-agent-node": "3.721.0",
38
- "@smithy/config-resolver": "^3.0.13",
39
- "@smithy/core": "^2.5.5",
40
- "@smithy/fetch-http-handler": "^4.1.2",
41
- "@smithy/hash-node": "^3.0.11",
42
- "@smithy/invalid-dependency": "^3.0.11",
43
- "@smithy/middleware-content-length": "^3.0.13",
44
- "@smithy/middleware-endpoint": "^3.2.6",
45
- "@smithy/middleware-retry": "^3.0.31",
46
- "@smithy/middleware-serde": "^3.0.11",
47
- "@smithy/middleware-stack": "^3.0.11",
48
- "@smithy/node-config-provider": "^3.1.12",
49
- "@smithy/node-http-handler": "^3.3.2",
50
- "@smithy/protocol-http": "^4.1.8",
51
- "@smithy/smithy-client": "^3.5.1",
52
- "@smithy/types": "^3.7.2",
53
- "@smithy/url-parser": "^3.0.11",
54
- "@smithy/util-base64": "^3.0.0",
55
- "@smithy/util-body-length-browser": "^3.0.0",
56
- "@smithy/util-body-length-node": "^3.0.0",
57
- "@smithy/util-defaults-mode-browser": "^3.0.31",
58
- "@smithy/util-defaults-mode-node": "^3.0.31",
59
- "@smithy/util-endpoints": "^2.1.7",
60
- "@smithy/util-middleware": "^3.0.11",
61
- "@smithy/util-retry": "^3.0.11",
62
- "@smithy/util-stream": "^3.3.2",
63
- "@smithy/util-utf8": "^3.0.0",
25
+ "@aws-sdk/client-sso-oidc": "3.726.0",
26
+ "@aws-sdk/client-sts": "3.726.0",
27
+ "@aws-sdk/core": "3.723.0",
28
+ "@aws-sdk/credential-provider-node": "3.726.0",
29
+ "@aws-sdk/middleware-host-header": "3.723.0",
30
+ "@aws-sdk/middleware-logger": "3.723.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
32
+ "@aws-sdk/middleware-user-agent": "3.726.0",
33
+ "@aws-sdk/region-config-resolver": "3.723.0",
34
+ "@aws-sdk/types": "3.723.0",
35
+ "@aws-sdk/util-endpoints": "3.726.0",
36
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
37
+ "@aws-sdk/util-user-agent-node": "3.726.0",
38
+ "@smithy/config-resolver": "^4.0.0",
39
+ "@smithy/core": "^3.0.0",
40
+ "@smithy/fetch-http-handler": "^5.0.0",
41
+ "@smithy/hash-node": "^4.0.0",
42
+ "@smithy/invalid-dependency": "^4.0.0",
43
+ "@smithy/middleware-content-length": "^4.0.0",
44
+ "@smithy/middleware-endpoint": "^4.0.0",
45
+ "@smithy/middleware-retry": "^4.0.0",
46
+ "@smithy/middleware-serde": "^4.0.0",
47
+ "@smithy/middleware-stack": "^4.0.0",
48
+ "@smithy/node-config-provider": "^4.0.0",
49
+ "@smithy/node-http-handler": "^4.0.0",
50
+ "@smithy/protocol-http": "^5.0.0",
51
+ "@smithy/smithy-client": "^4.0.0",
52
+ "@smithy/types": "^4.0.0",
53
+ "@smithy/url-parser": "^4.0.0",
54
+ "@smithy/util-base64": "^4.0.0",
55
+ "@smithy/util-body-length-browser": "^4.0.0",
56
+ "@smithy/util-body-length-node": "^4.0.0",
57
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
58
+ "@smithy/util-defaults-mode-node": "^4.0.0",
59
+ "@smithy/util-endpoints": "^3.0.0",
60
+ "@smithy/util-middleware": "^4.0.0",
61
+ "@smithy/util-retry": "^4.0.0",
62
+ "@smithy/util-stream": "^4.0.0",
63
+ "@smithy/util-utf8": "^4.0.0",
64
64
  "tslib": "^2.6.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsconfig/node16": "16.1.3",
68
- "@types/node": "^16.18.96",
67
+ "@tsconfig/node18": "18.2.4",
68
+ "@types/node": "^18.19.69",
69
69
  "concurrently": "7.0.0",
70
70
  "downlevel-dts": "0.10.1",
71
71
  "rimraf": "3.0.2",
72
- "typescript": "~4.9.5"
72
+ "typescript": "~5.2.2"
73
73
  },
74
74
  "engines": {
75
- "node": ">=16.0.0"
75
+ "node": ">=18.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {