@aws-sdk/client-kinesis-video-media 3.1077.0 → 3.1079.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
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -461,16 +462,11 @@ class KinesisVideoMediaClient extends Client {
461
462
  }
462
463
  }
463
464
 
464
- class GetMediaCommand extends Command
465
- .classBuilder()
466
- .ep(commonParams)
467
- .m(function (Command, cs, config, o) {
468
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
469
- })
470
- .s("AWSAcuityInletService", "GetMedia", {})
471
- .n("KinesisVideoMediaClient", "GetMediaCommand")
472
- .sc(GetMedia$)
473
- .build() {
465
+ const command = makeBuilder(commonParams, "AWSAcuityInletService", "KinesisVideoMediaClient", getEndpointPlugin);
466
+ const _ep0 = {};
467
+ const _mw0 = (Command, cs, config, o) => [];
468
+
469
+ class GetMediaCommand extends command(_ep0, _mw0, "GetMedia", GetMedia$) {
474
470
  }
475
471
 
476
472
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSAcuityInletService", "KinesisVideoMediaClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetMedia$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMediaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSAcuityInletService", "GetMedia", {})
13
- .n("KinesisVideoMediaClient", "GetMediaCommand")
14
- .sc(GetMedia$)
15
- .build() {
3
+ export class GetMediaCommand extends command(_ep0, _mw0, "GetMedia", GetMedia$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KinesisVideoMediaClient";
2
2
  export * from "./KinesisVideoMedia";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { KinesisVideoMediaClientResolvedConfig } from "./KinesisVideoMediaClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends import("./commands").GetMediaCommandInput, O extends import("./commands").GetMediaCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, KinesisVideoMediaClientResolvedConfig, import("./commands").GetMediaCommandInput, import("./commands").GetMediaCommandOutput>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, KinesisVideoMediaClientResolvedConfig, import("./commands").GetMediaCommandInput, import("./commands").GetMediaCommandOutput>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import type { KinesisVideoMediaClientResolvedConfig } from "../KinesisVideoMediaClient";
4
2
  import type { GetMediaInput, GetMediaOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -23,11 +20,9 @@ export interface GetMediaCommandOutput extends Omit<GetMediaOutput, "Payload">,
23
20
  Payload?: StreamingBlobPayloadOutputTypes;
24
21
  }
25
22
  declare const GetMediaCommand_base: {
26
- new (input: GetMediaCommandInput): import("@smithy/core/client").CommandImpl<GetMediaCommandInput, GetMediaCommandOutput, KinesisVideoMediaClientResolvedConfig, GetMediaCommandInput, GetMediaCommandOutput>;
27
- new (input: GetMediaCommandInput): import("@smithy/core/client").CommandImpl<GetMediaCommandInput, GetMediaCommandOutput, KinesisVideoMediaClientResolvedConfig, GetMediaCommandInput, GetMediaCommandOutput>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
23
+ new (input: GetMediaCommandInput): import("@smithy/core/client").CommandImpl<GetMediaCommandInput, GetMediaCommandOutput, import("..").KinesisVideoMediaClientResolvedConfig, GetMediaCommandInput, GetMediaCommandOutput>;
24
+ new (input: GetMediaCommandInput): import("@smithy/core/client").CommandImpl<GetMediaCommandInput, GetMediaCommandOutput, import("..").KinesisVideoMediaClientResolvedConfig, GetMediaCommandInput, GetMediaCommandOutput>;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
26
  };
32
27
  /**
33
28
  * <p> Use this API to retrieve media content from a Kinesis video stream. In the request,
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { KinesisVideoMediaExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import { KinesisVideoMediaClientResolvedConfig } from "./KinesisVideoMediaClient";
3
+ export declare const command: <
4
+ I extends import("./commands").GetMediaCommandInput,
5
+ O extends import("./commands").GetMediaCommandOutput
6
+ >(
7
+ added: EndpointParameterInstructions,
8
+ plugins: (
9
+ CommandCtor: any,
10
+ clientStack: any,
11
+ config: any,
12
+ options: any
13
+ ) => import("@smithy/types").Pluggable<any, any>[],
14
+ op: string,
15
+ $: import("@smithy/types").StaticOperationSchema,
16
+ smithyContext?: Record<string, unknown>
17
+ ) => {
18
+ new (input: I): import("@smithy/core/client").CommandImpl<
19
+ I,
20
+ O,
21
+ KinesisVideoMediaClientResolvedConfig,
22
+ import("./commands").GetMediaCommandInput,
23
+ import("./commands").GetMediaCommandOutput
24
+ >;
25
+ new (
26
+ ...[input]: import("@smithy/types").OptionalParameter<I>
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ I,
29
+ O,
30
+ KinesisVideoMediaClientResolvedConfig,
31
+ import("./commands").GetMediaCommandInput,
32
+ import("./commands").GetMediaCommandOutput
33
+ >;
34
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ };
36
+ export declare const _ep0: EndpointParameterInstructions;
37
+ export declare const _mw0: (
38
+ Command: any,
39
+ cs: any,
40
+ config: any,
41
+ o: any
42
+ ) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  MetadataBearer as __MetadataBearer,
4
3
  StreamingBlobPayloadOutputTypes,
5
4
  } from "@smithy/types";
6
- import { KinesisVideoMediaClientResolvedConfig } from "../KinesisVideoMediaClient";
7
5
  import { GetMediaInput, GetMediaOutput } from "../models/models_0";
8
6
  export { __MetadataBearer };
9
- export { $Command };
10
7
  export interface GetMediaCommandInput extends GetMediaInput {}
11
8
  export interface GetMediaCommandOutput
12
9
  extends Pick<GetMediaOutput, Exclude<keyof GetMediaOutput, "Payload">>,
@@ -17,20 +14,18 @@ declare const GetMediaCommand_base: {
17
14
  new (input: GetMediaCommandInput): import("@smithy/core/client").CommandImpl<
18
15
  GetMediaCommandInput,
19
16
  GetMediaCommandOutput,
20
- KinesisVideoMediaClientResolvedConfig,
17
+ import("..").KinesisVideoMediaClientResolvedConfig,
21
18
  GetMediaCommandInput,
22
19
  GetMediaCommandOutput
23
20
  >;
24
21
  new (input: GetMediaCommandInput): import("@smithy/core/client").CommandImpl<
25
22
  GetMediaCommandInput,
26
23
  GetMediaCommandOutput,
27
- KinesisVideoMediaClientResolvedConfig,
24
+ import("..").KinesisVideoMediaClientResolvedConfig,
28
25
  GetMediaCommandInput,
29
26
  GetMediaCommandOutput
30
27
  >;
31
- getEndpointParameterInstructions(): {
32
- [x: string]: unknown;
33
- };
28
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
34
29
  };
35
30
  export declare class GetMediaCommand extends GetMediaCommand_base {
36
31
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { KinesisVideoMediaExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
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.1077.0",
4
+ "version": "3.1079.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.27",
23
+ "@aws-sdk/credential-provider-node": "^3.972.62",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {