@aws-sdk/client-mediastore-data 3.53.0 → 3.55.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-mediastore-data
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-mediastore-data
17
+
18
+
19
+
20
+
21
+
22
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-mediastore-data
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
31
 
8
32
 
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class MediaStoreDataClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class DeleteObjectCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "MediaStoreDataClient";
@@ -27,10 +27,10 @@ class DeleteObjectCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteObjectCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteObjectCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteObjectCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteObjectCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteObjectCommand = DeleteObjectCommand;
@@ -11,7 +11,7 @@ class DescribeObjectCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "MediaStoreDataClient";
@@ -27,10 +27,10 @@ class DescribeObjectCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeObjectCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeObjectCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeObjectCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeObjectCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeObjectCommand = DescribeObjectCommand;
@@ -11,7 +11,7 @@ class GetObjectCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "MediaStoreDataClient";
@@ -27,10 +27,10 @@ class GetObjectCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetObjectCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetObjectCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetObjectCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetObjectCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetObjectCommand = GetObjectCommand;
@@ -11,7 +11,7 @@ class ListItemsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "MediaStoreDataClient";
@@ -27,10 +27,10 @@ class ListItemsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListItemsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListItemsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListItemsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListItemsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListItemsCommand = ListItemsCommand;
@@ -11,7 +11,7 @@ class PutObjectCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "MediaStoreDataClient";
@@ -27,10 +27,10 @@ class PutObjectCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1PutObjectCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutObjectCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1PutObjectCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutObjectCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutObjectCommand = PutObjectCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "mediastore",
128
128
  regionHash,
@@ -16,7 +16,7 @@ const serializeAws_restJson1DeleteObjectCommand = async (input, context) => {
16
16
  }
17
17
  resolvedPath = resolvedPath.replace("{Path+}", labelValue
18
18
  .split("/")
19
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
19
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
20
20
  .join("/"));
21
21
  }
22
22
  else {
@@ -45,7 +45,7 @@ const serializeAws_restJson1DescribeObjectCommand = async (input, context) => {
45
45
  }
46
46
  resolvedPath = resolvedPath.replace("{Path+}", labelValue
47
47
  .split("/")
48
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
48
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
49
49
  .join("/"));
50
50
  }
51
51
  else {
@@ -76,7 +76,7 @@ const serializeAws_restJson1GetObjectCommand = async (input, context) => {
76
76
  }
77
77
  resolvedPath = resolvedPath.replace("{Path+}", labelValue
78
78
  .split("/")
79
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
79
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
80
80
  .join("/"));
81
81
  }
82
82
  else {
@@ -136,7 +136,7 @@ const serializeAws_restJson1PutObjectCommand = async (input, context) => {
136
136
  }
137
137
  resolvedPath = resolvedPath.replace("{Path+}", labelValue
138
138
  .split("/")
139
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
139
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
140
140
  .join("/"));
141
141
  }
142
142
  else {
@@ -193,7 +193,7 @@ const deserializeAws_restJson1DeleteObjectCommandError = async (output, context)
193
193
  $fault: "client",
194
194
  $metadata: deserializeMetadata(output),
195
195
  });
196
- throw smithy_client_1.decorateServiceException(response, parsedBody);
196
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
197
197
  }
198
198
  };
199
199
  const deserializeAws_restJson1DescribeObjectCommand = async (output, context) => {
@@ -215,13 +215,13 @@ const deserializeAws_restJson1DescribeObjectCommand = async (output, context) =>
215
215
  contents.ContentType = output.headers["content-type"];
216
216
  }
217
217
  if (output.headers["content-length"] !== undefined) {
218
- contents.ContentLength = smithy_client_1.strictParseLong(output.headers["content-length"]);
218
+ contents.ContentLength = (0, smithy_client_1.strictParseLong)(output.headers["content-length"]);
219
219
  }
220
220
  if (output.headers["cache-control"] !== undefined) {
221
221
  contents.CacheControl = output.headers["cache-control"];
222
222
  }
223
223
  if (output.headers["last-modified"] !== undefined) {
224
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc7231DateTime(output.headers["last-modified"]));
224
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc7231DateTime)(output.headers["last-modified"]));
225
225
  }
226
226
  await collectBody(output.body, context);
227
227
  return Promise.resolve(contents);
@@ -252,7 +252,7 @@ const deserializeAws_restJson1DescribeObjectCommandError = async (output, contex
252
252
  $fault: "client",
253
253
  $metadata: deserializeMetadata(output),
254
254
  });
255
- throw smithy_client_1.decorateServiceException(response, parsedBody);
255
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
256
256
  }
257
257
  };
258
258
  const deserializeAws_restJson1GetObjectCommand = async (output, context) => {
@@ -277,7 +277,7 @@ const deserializeAws_restJson1GetObjectCommand = async (output, context) => {
277
277
  contents.ContentRange = output.headers["content-range"];
278
278
  }
279
279
  if (output.headers["content-length"] !== undefined) {
280
- contents.ContentLength = smithy_client_1.strictParseLong(output.headers["content-length"]);
280
+ contents.ContentLength = (0, smithy_client_1.strictParseLong)(output.headers["content-length"]);
281
281
  }
282
282
  if (output.headers["content-type"] !== undefined) {
283
283
  contents.ContentType = output.headers["content-type"];
@@ -286,7 +286,7 @@ const deserializeAws_restJson1GetObjectCommand = async (output, context) => {
286
286
  contents.ETag = output.headers["etag"];
287
287
  }
288
288
  if (output.headers["last-modified"] !== undefined) {
289
- contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc7231DateTime(output.headers["last-modified"]));
289
+ contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc7231DateTime)(output.headers["last-modified"]));
290
290
  }
291
291
  const data = output.body;
292
292
  contents.Body = data;
@@ -324,7 +324,7 @@ const deserializeAws_restJson1GetObjectCommandError = async (output, context) =>
324
324
  $fault: "client",
325
325
  $metadata: deserializeMetadata(output),
326
326
  });
327
- throw smithy_client_1.decorateServiceException(response, parsedBody);
327
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
328
328
  }
329
329
  };
330
330
  const deserializeAws_restJson1ListItemsCommand = async (output, context) => {
@@ -336,12 +336,12 @@ const deserializeAws_restJson1ListItemsCommand = async (output, context) => {
336
336
  Items: undefined,
337
337
  NextToken: undefined,
338
338
  };
339
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
339
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
340
340
  if (data.Items !== undefined && data.Items !== null) {
341
341
  contents.Items = deserializeAws_restJson1ItemList(data.Items, context);
342
342
  }
343
343
  if (data.NextToken !== undefined && data.NextToken !== null) {
344
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
344
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
345
345
  }
346
346
  return Promise.resolve(contents);
347
347
  };
@@ -368,7 +368,7 @@ const deserializeAws_restJson1ListItemsCommandError = async (output, context) =>
368
368
  $fault: "client",
369
369
  $metadata: deserializeMetadata(output),
370
370
  });
371
- throw smithy_client_1.decorateServiceException(response, parsedBody);
371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
372
372
  }
373
373
  };
374
374
  const deserializeAws_restJson1PutObjectCommand = async (output, context) => {
@@ -381,15 +381,15 @@ const deserializeAws_restJson1PutObjectCommand = async (output, context) => {
381
381
  ETag: undefined,
382
382
  StorageClass: undefined,
383
383
  };
384
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
384
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
385
385
  if (data.ContentSHA256 !== undefined && data.ContentSHA256 !== null) {
386
- contents.ContentSHA256 = smithy_client_1.expectString(data.ContentSHA256);
386
+ contents.ContentSHA256 = (0, smithy_client_1.expectString)(data.ContentSHA256);
387
387
  }
388
388
  if (data.ETag !== undefined && data.ETag !== null) {
389
- contents.ETag = smithy_client_1.expectString(data.ETag);
389
+ contents.ETag = (0, smithy_client_1.expectString)(data.ETag);
390
390
  }
391
391
  if (data.StorageClass !== undefined && data.StorageClass !== null) {
392
- contents.StorageClass = smithy_client_1.expectString(data.StorageClass);
392
+ contents.StorageClass = (0, smithy_client_1.expectString)(data.StorageClass);
393
393
  }
394
394
  return Promise.resolve(contents);
395
395
  };
@@ -416,67 +416,67 @@ const deserializeAws_restJson1PutObjectCommandError = async (output, context) =>
416
416
  $fault: "client",
417
417
  $metadata: deserializeMetadata(output),
418
418
  });
419
- throw smithy_client_1.decorateServiceException(response, parsedBody);
419
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
420
420
  }
421
421
  };
422
422
  const deserializeAws_restJson1ContainerNotFoundExceptionResponse = async (parsedOutput, context) => {
423
423
  const contents = {};
424
424
  const data = parsedOutput.body;
425
425
  if (data.Message !== undefined && data.Message !== null) {
426
- contents.Message = smithy_client_1.expectString(data.Message);
426
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
427
427
  }
428
428
  const exception = new models_0_1.ContainerNotFoundException({
429
429
  $metadata: deserializeMetadata(parsedOutput),
430
430
  ...contents,
431
431
  });
432
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
432
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
433
433
  };
434
434
  const deserializeAws_restJson1InternalServerErrorResponse = async (parsedOutput, context) => {
435
435
  const contents = {};
436
436
  const data = parsedOutput.body;
437
437
  if (data.Message !== undefined && data.Message !== null) {
438
- contents.Message = smithy_client_1.expectString(data.Message);
438
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
439
439
  }
440
440
  const exception = new models_0_1.InternalServerError({
441
441
  $metadata: deserializeMetadata(parsedOutput),
442
442
  ...contents,
443
443
  });
444
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
444
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
445
445
  };
446
446
  const deserializeAws_restJson1ObjectNotFoundExceptionResponse = async (parsedOutput, context) => {
447
447
  const contents = {};
448
448
  const data = parsedOutput.body;
449
449
  if (data.Message !== undefined && data.Message !== null) {
450
- contents.Message = smithy_client_1.expectString(data.Message);
450
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
451
451
  }
452
452
  const exception = new models_0_1.ObjectNotFoundException({
453
453
  $metadata: deserializeMetadata(parsedOutput),
454
454
  ...contents,
455
455
  });
456
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
456
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
457
457
  };
458
458
  const deserializeAws_restJson1RequestedRangeNotSatisfiableExceptionResponse = async (parsedOutput, context) => {
459
459
  const contents = {};
460
460
  const data = parsedOutput.body;
461
461
  if (data.Message !== undefined && data.Message !== null) {
462
- contents.Message = smithy_client_1.expectString(data.Message);
462
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
463
463
  }
464
464
  const exception = new models_0_1.RequestedRangeNotSatisfiableException({
465
465
  $metadata: deserializeMetadata(parsedOutput),
466
466
  ...contents,
467
467
  });
468
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
468
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
469
469
  };
470
470
  const deserializeAws_restJson1Item = (output, context) => {
471
471
  return {
472
- ContentLength: smithy_client_1.expectLong(output.ContentLength),
473
- ContentType: smithy_client_1.expectString(output.ContentType),
474
- ETag: smithy_client_1.expectString(output.ETag),
472
+ ContentLength: (0, smithy_client_1.expectLong)(output.ContentLength),
473
+ ContentType: (0, smithy_client_1.expectString)(output.ContentType),
474
+ ETag: (0, smithy_client_1.expectString)(output.ETag),
475
475
  LastModified: output.LastModified !== undefined && output.LastModified !== null
476
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModified)))
476
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModified)))
477
477
  : undefined,
478
- Name: smithy_client_1.expectString(output.Name),
479
- Type: smithy_client_1.expectString(output.Type),
478
+ Name: (0, smithy_client_1.expectString)(output.Name),
479
+ Type: (0, smithy_client_1.expectString)(output.Type),
480
480
  };
481
481
  };
482
482
  const deserializeAws_restJson1ItemList = (output, context) => {
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
@@ -17,7 +17,7 @@ var MediaStoreData = (function (_super) {
17
17
  }
18
18
  else if (typeof cb === "function") {
19
19
  if (typeof optionsOrCb !== "object")
20
- throw new Error("Expect http options but get " + typeof optionsOrCb);
20
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
21
21
  this.send(command, optionsOrCb || {}, cb);
22
22
  }
23
23
  else {
@@ -31,7 +31,7 @@ var MediaStoreData = (function (_super) {
31
31
  }
32
32
  else if (typeof cb === "function") {
33
33
  if (typeof optionsOrCb !== "object")
34
- throw new Error("Expect http options but get " + typeof optionsOrCb);
34
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
35
35
  this.send(command, optionsOrCb || {}, cb);
36
36
  }
37
37
  else {
@@ -45,7 +45,7 @@ var MediaStoreData = (function (_super) {
45
45
  }
46
46
  else if (typeof cb === "function") {
47
47
  if (typeof optionsOrCb !== "object")
48
- throw new Error("Expect http options but get " + typeof optionsOrCb);
48
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
49
49
  this.send(command, optionsOrCb || {}, cb);
50
50
  }
51
51
  else {
@@ -59,7 +59,7 @@ var MediaStoreData = (function (_super) {
59
59
  }
60
60
  else if (typeof cb === "function") {
61
61
  if (typeof optionsOrCb !== "object")
62
- throw new Error("Expect http options but get " + typeof optionsOrCb);
62
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
63
63
  this.send(command, optionsOrCb || {}, cb);
64
64
  }
65
65
  else {
@@ -73,7 +73,7 @@ var MediaStoreData = (function (_super) {
73
73
  }
74
74
  else if (typeof cb === "function") {
75
75
  if (typeof optionsOrCb !== "object")
76
- throw new Error("Expect http options but get " + typeof optionsOrCb);
76
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
77
77
  this.send(command, optionsOrCb || {}, cb);
78
78
  }
79
79
  else {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListItemsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListItemsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listItems.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listItems.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListItems(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof MediaStoreData)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof MediaStoreDataClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -11,7 +11,7 @@ export var serializeAws_restJson1DeleteObjectCommand = function (input, context)
11
11
  case 1:
12
12
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
13
13
  headers = {};
14
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
14
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
15
15
  if (input.Path !== undefined) {
16
16
  labelValue = input.Path;
17
17
  if (labelValue.length <= 0) {
@@ -45,7 +45,7 @@ export var serializeAws_restJson1DescribeObjectCommand = function (input, contex
45
45
  case 1:
46
46
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
47
47
  headers = {};
48
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
48
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
49
49
  if (input.Path !== undefined) {
50
50
  labelValue = input.Path;
51
51
  if (labelValue.length <= 0) {
@@ -79,7 +79,7 @@ export var serializeAws_restJson1GetObjectCommand = function (input, context) {
79
79
  case 1:
80
80
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
81
81
  headers = __assign({}, (isSerializableHeaderValue(input.Range) && { range: input.Range }));
82
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
82
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
83
83
  if (input.Path !== undefined) {
84
84
  labelValue = input.Path;
85
85
  if (labelValue.length <= 0) {
@@ -113,7 +113,7 @@ export var serializeAws_restJson1ListItemsCommand = function (input, context) {
113
113
  case 1:
114
114
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
115
115
  headers = {};
116
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/";
116
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/";
117
117
  query = __assign(__assign(__assign({}, (input.Path !== undefined && { Path: input.Path })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { NextToken: input.NextToken }));
118
118
  return [2, new __HttpRequest({
119
119
  protocol: protocol,
@@ -138,7 +138,7 @@ export var serializeAws_restJson1PutObjectCommand = function (input, context) {
138
138
  headers = __assign(__assign(__assign(__assign({ "content-type": "application/octet-stream", "x-amz-content-sha256": "UNSIGNED-PAYLOAD" }, (isSerializableHeaderValue(input.ContentType) && { "content-type": input.ContentType })), (isSerializableHeaderValue(input.CacheControl) && { "cache-control": input.CacheControl })), (isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass })), (isSerializableHeaderValue(input.UploadAvailability) && {
139
139
  "x-amz-upload-availability": input.UploadAvailability,
140
140
  }));
141
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
141
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Path+}";
142
142
  if (input.Path !== undefined) {
143
143
  labelValue = input.Path;
144
144
  if (labelValue.length <= 0) {
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand";
10
10
  import { DescribeObjectCommandInput, DescribeObjectCommandOutput } from "./commands/DescribeObjectCommand";
11
11
  import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand";
@@ -33,7 +33,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
33
33
  * A function that can calculate the length of a request body.
34
34
  * @internal
35
35
  */
36
- bodyLengthChecker?: (body: any) => number | undefined;
36
+ bodyLengthChecker?: __BodyLengthCalculator;
37
37
  /**
38
38
  * A function that converts a stream into an array of bytes.
39
39
  * @internal
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand";
10
10
  import { DescribeObjectCommandInput, DescribeObjectCommandOutput } from "./commands/DescribeObjectCommand";
11
11
  import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand";
@@ -21,7 +21,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
21
21
 
22
22
  urlParser?: __UrlParser;
23
23
 
24
- bodyLengthChecker?: (body: any) => number | undefined;
24
+ bodyLengthChecker?: __BodyLengthCalculator;
25
25
 
26
26
  streamCollector?: __StreamCollector;
27
27
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.53.0",
4
+ "version": "3.55.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.53.0",
24
- "@aws-sdk/config-resolver": "3.53.0",
25
- "@aws-sdk/credential-provider-node": "3.53.0",
26
- "@aws-sdk/fetch-http-handler": "3.53.0",
27
- "@aws-sdk/hash-node": "3.53.0",
28
- "@aws-sdk/invalid-dependency": "3.53.0",
29
- "@aws-sdk/middleware-content-length": "3.53.0",
30
- "@aws-sdk/middleware-host-header": "3.53.0",
31
- "@aws-sdk/middleware-logger": "3.53.0",
32
- "@aws-sdk/middleware-retry": "3.53.0",
33
- "@aws-sdk/middleware-serde": "3.53.0",
34
- "@aws-sdk/middleware-signing": "3.53.0",
35
- "@aws-sdk/middleware-stack": "3.53.0",
36
- "@aws-sdk/middleware-user-agent": "3.53.0",
37
- "@aws-sdk/node-config-provider": "3.53.0",
38
- "@aws-sdk/node-http-handler": "3.53.0",
39
- "@aws-sdk/protocol-http": "3.53.0",
40
- "@aws-sdk/smithy-client": "3.53.0",
41
- "@aws-sdk/types": "3.53.0",
42
- "@aws-sdk/url-parser": "3.53.0",
43
- "@aws-sdk/util-base64-browser": "3.52.0",
44
- "@aws-sdk/util-base64-node": "3.52.0",
45
- "@aws-sdk/util-body-length-browser": "3.52.0",
46
- "@aws-sdk/util-body-length-node": "3.52.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
49
- "@aws-sdk/util-user-agent-browser": "3.53.0",
50
- "@aws-sdk/util-user-agent-node": "3.53.0",
51
- "@aws-sdk/util-utf8-browser": "3.52.0",
52
- "@aws-sdk/util-utf8-node": "3.52.0",
53
- "tslib": "^2.3.0"
23
+ "@aws-sdk/client-sts": "3.55.0",
24
+ "@aws-sdk/config-resolver": "3.55.0",
25
+ "@aws-sdk/credential-provider-node": "3.55.0",
26
+ "@aws-sdk/fetch-http-handler": "3.55.0",
27
+ "@aws-sdk/hash-node": "3.55.0",
28
+ "@aws-sdk/invalid-dependency": "3.55.0",
29
+ "@aws-sdk/middleware-content-length": "3.55.0",
30
+ "@aws-sdk/middleware-host-header": "3.55.0",
31
+ "@aws-sdk/middleware-logger": "3.55.0",
32
+ "@aws-sdk/middleware-retry": "3.55.0",
33
+ "@aws-sdk/middleware-serde": "3.55.0",
34
+ "@aws-sdk/middleware-signing": "3.55.0",
35
+ "@aws-sdk/middleware-stack": "3.55.0",
36
+ "@aws-sdk/middleware-user-agent": "3.55.0",
37
+ "@aws-sdk/node-config-provider": "3.55.0",
38
+ "@aws-sdk/node-http-handler": "3.55.0",
39
+ "@aws-sdk/protocol-http": "3.55.0",
40
+ "@aws-sdk/smithy-client": "3.55.0",
41
+ "@aws-sdk/types": "3.55.0",
42
+ "@aws-sdk/url-parser": "3.55.0",
43
+ "@aws-sdk/util-base64-browser": "3.55.0",
44
+ "@aws-sdk/util-base64-node": "3.55.0",
45
+ "@aws-sdk/util-body-length-browser": "3.55.0",
46
+ "@aws-sdk/util-body-length-node": "3.55.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.55.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
50
+ "@aws-sdk/util-user-agent-node": "3.55.0",
51
+ "@aws-sdk/util-utf8-browser": "3.55.0",
52
+ "@aws-sdk/util-utf8-node": "3.55.0",
53
+ "tslib": "^2.3.1"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
57
57
  "@tsconfig/recommended": "1.0.1",
58
58
  "@types/chai": "^4.2.11",
59
59
  "@types/mocha": "^8.0.4",
@@ -62,7 +62,7 @@
62
62
  "downlevel-dts": "0.7.0",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.19.2",
65
- "typescript": "~4.3.5"
65
+ "typescript": "~4.6.2"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=12.0.0"