@aws-sdk/client-kinesis-video-media 3.504.0 → 3.507.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
@@ -290,7 +290,7 @@ var se_GetMediaCommand = /* @__PURE__ */ __name(async (input, context) => {
290
290
  }, "se_GetMediaCommand");
291
291
  var de_GetMediaCommand = /* @__PURE__ */ __name(async (output, context) => {
292
292
  if (output.statusCode !== 200 && output.statusCode >= 300) {
293
- return de_GetMediaCommandError(output, context);
293
+ return de_CommandError(output, context);
294
294
  }
295
295
  const contents = (0, import_smithy_client.map)({
296
296
  $metadata: deserializeMetadata(output),
@@ -301,7 +301,7 @@ var de_GetMediaCommand = /* @__PURE__ */ __name(async (output, context) => {
301
301
  contents.Payload = data;
302
302
  return contents;
303
303
  }, "de_GetMediaCommand");
304
- var de_GetMediaCommandError = /* @__PURE__ */ __name(async (output, context) => {
304
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
305
305
  const parsedOutput = {
306
306
  ...output,
307
307
  body: await parseErrorBody(output.body, context)
@@ -334,7 +334,7 @@ var de_GetMediaCommandError = /* @__PURE__ */ __name(async (output, context) =>
334
334
  errorCode
335
335
  });
336
336
  }
337
- }, "de_GetMediaCommandError");
337
+ }, "de_CommandError");
338
338
  var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisVideoMediaServiceException);
339
339
  var de_ClientLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
340
340
  const contents = (0, import_smithy_client.map)({});
@@ -19,7 +19,7 @@ export const se_GetMediaCommand = async (input, context) => {
19
19
  };
20
20
  export const de_GetMediaCommand = async (output, context) => {
21
21
  if (output.statusCode !== 200 && output.statusCode >= 300) {
22
- return de_GetMediaCommandError(output, context);
22
+ return de_CommandError(output, context);
23
23
  }
24
24
  const contents = map({
25
25
  $metadata: deserializeMetadata(output),
@@ -30,7 +30,7 @@ export const de_GetMediaCommand = async (output, context) => {
30
30
  contents.Payload = data;
31
31
  return contents;
32
32
  };
33
- const de_GetMediaCommandError = async (output, context) => {
33
+ const de_CommandError = async (output, context) => {
34
34
  const parsedOutput = {
35
35
  ...output,
36
36
  body: await parseErrorBody(output.body, context),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video-media",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video Media Client for Node.js, Browser and React Native",
4
- "version": "3.504.0",
4
+ "version": "3.507.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-kinesis-video-media",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.504.0",
23
+ "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.504.0",
25
+ "@aws-sdk/credential-provider-node": "3.507.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",