@aws-sdk/client-kinesis-video-media 3.952.0 → 3.954.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
@@ -110,14 +110,14 @@ class KinesisVideoMediaClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let KinesisVideoMediaServiceException$1 = class KinesisVideoMediaServiceException extends smithyClient.ServiceException {
113
+ class KinesisVideoMediaServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, KinesisVideoMediaServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let ClientLimitExceededException$1 = class ClientLimitExceededException extends KinesisVideoMediaServiceException$1 {
120
+ class ClientLimitExceededException extends KinesisVideoMediaServiceException {
121
121
  name = "ClientLimitExceededException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ let ClientLimitExceededException$1 = class ClientLimitExceededException extends
130
130
  Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- };
134
- let ConnectionLimitExceededException$1 = class ConnectionLimitExceededException extends KinesisVideoMediaServiceException$1 {
133
+ }
134
+ class ConnectionLimitExceededException extends KinesisVideoMediaServiceException {
135
135
  name = "ConnectionLimitExceededException";
136
136
  $fault = "client";
137
137
  Message;
@@ -144,8 +144,8 @@ let ConnectionLimitExceededException$1 = class ConnectionLimitExceededException
144
144
  Object.setPrototypeOf(this, ConnectionLimitExceededException.prototype);
145
145
  this.Message = opts.Message;
146
146
  }
147
- };
148
- let InvalidArgumentException$1 = class InvalidArgumentException extends KinesisVideoMediaServiceException$1 {
147
+ }
148
+ class InvalidArgumentException extends KinesisVideoMediaServiceException {
149
149
  name = "InvalidArgumentException";
150
150
  $fault = "client";
151
151
  Message;
@@ -158,8 +158,8 @@ let InvalidArgumentException$1 = class InvalidArgumentException extends KinesisV
158
158
  Object.setPrototypeOf(this, InvalidArgumentException.prototype);
159
159
  this.Message = opts.Message;
160
160
  }
161
- };
162
- let InvalidEndpointException$1 = class InvalidEndpointException extends KinesisVideoMediaServiceException$1 {
161
+ }
162
+ class InvalidEndpointException extends KinesisVideoMediaServiceException {
163
163
  name = "InvalidEndpointException";
164
164
  $fault = "client";
165
165
  Message;
@@ -172,8 +172,8 @@ let InvalidEndpointException$1 = class InvalidEndpointException extends KinesisV
172
172
  Object.setPrototypeOf(this, InvalidEndpointException.prototype);
173
173
  this.Message = opts.Message;
174
174
  }
175
- };
176
- let NotAuthorizedException$1 = class NotAuthorizedException extends KinesisVideoMediaServiceException$1 {
175
+ }
176
+ class NotAuthorizedException extends KinesisVideoMediaServiceException {
177
177
  name = "NotAuthorizedException";
178
178
  $fault = "client";
179
179
  Message;
@@ -186,8 +186,8 @@ let NotAuthorizedException$1 = class NotAuthorizedException extends KinesisVideo
186
186
  Object.setPrototypeOf(this, NotAuthorizedException.prototype);
187
187
  this.Message = opts.Message;
188
188
  }
189
- };
190
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends KinesisVideoMediaServiceException$1 {
189
+ }
190
+ class ResourceNotFoundException extends KinesisVideoMediaServiceException {
191
191
  name = "ResourceNotFoundException";
192
192
  $fault = "client";
193
193
  Message;
@@ -200,7 +200,7 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Kinesi
200
200
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
201
201
  this.Message = opts.Message;
202
202
  }
203
- };
203
+ }
204
204
 
205
205
  const _AFN = "AfterFragmentNumber";
206
206
  const _CLEE = "ClientLimitExceededException";
@@ -231,12 +231,12 @@ const _s = "streaming";
231
231
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kinesisvideomedia";
232
232
  const n0 = "com.amazonaws.kinesisvideomedia";
233
233
  var Payload = [0, n0, _P, { [_s]: 1 }, 42];
234
- var ClientLimitExceededException = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
235
- schema.TypeRegistry.for(n0).registerError(ClientLimitExceededException, ClientLimitExceededException$1);
236
- var ConnectionLimitExceededException = [-3, n0, _CLEEo, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
237
- schema.TypeRegistry.for(n0).registerError(ConnectionLimitExceededException, ConnectionLimitExceededException$1);
238
- var GetMediaInput = [3, n0, _GMI, 0, [_SN, _SARN, _SS], [0, 0, () => StartSelector]];
239
- var GetMediaOutput = [
234
+ var ClientLimitExceededException$ = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
235
+ schema.TypeRegistry.for(n0).registerError(ClientLimitExceededException$, ClientLimitExceededException);
236
+ var ConnectionLimitExceededException$ = [-3, n0, _CLEEo, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
237
+ schema.TypeRegistry.for(n0).registerError(ConnectionLimitExceededException$, ConnectionLimitExceededException);
238
+ var GetMediaInput$ = [3, n0, _GMI, 0, [_SN, _SARN, _SS], [0, 0, () => StartSelector$]];
239
+ var GetMediaOutput$ = [
240
240
  3,
241
241
  n0,
242
242
  _GMO,
@@ -247,16 +247,16 @@ var GetMediaOutput = [
247
247
  [() => Payload, 16],
248
248
  ],
249
249
  ];
250
- var InvalidArgumentException = [-3, n0, _IAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
251
- schema.TypeRegistry.for(n0).registerError(InvalidArgumentException, InvalidArgumentException$1);
252
- var InvalidEndpointException = [-3, n0, _IEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
253
- schema.TypeRegistry.for(n0).registerError(InvalidEndpointException, InvalidEndpointException$1);
254
- var NotAuthorizedException = [-3, n0, _NAE, { [_e]: _c, [_hE]: 401 }, [_M], [0]];
255
- schema.TypeRegistry.for(n0).registerError(NotAuthorizedException, NotAuthorizedException$1);
256
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
257
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
258
- var StartSelector = [3, n0, _SS, 0, [_SST, _AFN, _ST, _CTo], [0, 0, 4, 0]];
259
- var KinesisVideoMediaServiceException = [
250
+ var InvalidArgumentException$ = [-3, n0, _IAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
251
+ schema.TypeRegistry.for(n0).registerError(InvalidArgumentException$, InvalidArgumentException);
252
+ var InvalidEndpointException$ = [-3, n0, _IEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
253
+ schema.TypeRegistry.for(n0).registerError(InvalidEndpointException$, InvalidEndpointException);
254
+ var NotAuthorizedException$ = [-3, n0, _NAE, { [_e]: _c, [_hE]: 401 }, [_M], [0]];
255
+ schema.TypeRegistry.for(n0).registerError(NotAuthorizedException$, NotAuthorizedException);
256
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
257
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
258
+ var StartSelector$ = [3, n0, _SS, 0, [_SST, _AFN, _ST, _CTo], [0, 0, 4, 0]];
259
+ var KinesisVideoMediaServiceException$ = [
260
260
  -3,
261
261
  _sm,
262
262
  "KinesisVideoMediaServiceException",
@@ -264,14 +264,14 @@ var KinesisVideoMediaServiceException = [
264
264
  [],
265
265
  [],
266
266
  ];
267
- schema.TypeRegistry.for(_sm).registerError(KinesisVideoMediaServiceException, KinesisVideoMediaServiceException$1);
268
- var GetMedia = [
267
+ schema.TypeRegistry.for(_sm).registerError(KinesisVideoMediaServiceException$, KinesisVideoMediaServiceException);
268
+ var GetMedia$ = [
269
269
  9,
270
270
  n0,
271
271
  _GM,
272
272
  { [_h]: ["POST", "/getMedia", 200] },
273
- () => GetMediaInput,
274
- () => GetMediaOutput,
273
+ () => GetMediaInput$,
274
+ () => GetMediaOutput$,
275
275
  ];
276
276
 
277
277
  class GetMediaCommand extends smithyClient.Command
@@ -282,7 +282,7 @@ class GetMediaCommand extends smithyClient.Command
282
282
  })
283
283
  .s("AWSAcuityInletService", "GetMedia", {})
284
284
  .n("KinesisVideoMediaClient", "GetMediaCommand")
285
- .sc(GetMedia)
285
+ .sc(GetMedia$)
286
286
  .build() {
287
287
  }
288
288
 
@@ -310,14 +310,25 @@ Object.defineProperty(exports, "__Client", {
310
310
  enumerable: true,
311
311
  get: function () { return smithyClient.Client; }
312
312
  });
313
- exports.ClientLimitExceededException = ClientLimitExceededException$1;
314
- exports.ConnectionLimitExceededException = ConnectionLimitExceededException$1;
313
+ exports.ClientLimitExceededException = ClientLimitExceededException;
314
+ exports.ClientLimitExceededException$ = ClientLimitExceededException$;
315
+ exports.ConnectionLimitExceededException = ConnectionLimitExceededException;
316
+ exports.ConnectionLimitExceededException$ = ConnectionLimitExceededException$;
317
+ exports.GetMedia$ = GetMedia$;
315
318
  exports.GetMediaCommand = GetMediaCommand;
316
- exports.InvalidArgumentException = InvalidArgumentException$1;
317
- exports.InvalidEndpointException = InvalidEndpointException$1;
319
+ exports.GetMediaInput$ = GetMediaInput$;
320
+ exports.GetMediaOutput$ = GetMediaOutput$;
321
+ exports.InvalidArgumentException = InvalidArgumentException;
322
+ exports.InvalidArgumentException$ = InvalidArgumentException$;
323
+ exports.InvalidEndpointException = InvalidEndpointException;
324
+ exports.InvalidEndpointException$ = InvalidEndpointException$;
318
325
  exports.KinesisVideoMedia = KinesisVideoMedia;
319
326
  exports.KinesisVideoMediaClient = KinesisVideoMediaClient;
320
- exports.KinesisVideoMediaServiceException = KinesisVideoMediaServiceException$1;
321
- exports.NotAuthorizedException = NotAuthorizedException$1;
322
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
327
+ exports.KinesisVideoMediaServiceException = KinesisVideoMediaServiceException;
328
+ exports.KinesisVideoMediaServiceException$ = KinesisVideoMediaServiceException$;
329
+ exports.NotAuthorizedException = NotAuthorizedException;
330
+ exports.NotAuthorizedException$ = NotAuthorizedException$;
331
+ exports.ResourceNotFoundException = ResourceNotFoundException;
332
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
333
+ exports.StartSelector$ = StartSelector$;
323
334
  exports.StartSelectorType = StartSelectorType;
@@ -27,7 +27,12 @@ const getRuntimeConfig = (config) => {
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
30
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.kinesisvideomedia" }),
30
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
+ protocolSettings: config?.protocolSettings ?? {
32
+ defaultNamespace: "com.amazonaws.kinesisvideomedia",
33
+ version: "2017-09-30",
34
+ serviceTarget: "AWSAcuityInletService",
35
+ },
31
36
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
32
37
  serviceId: config?.serviceId ?? "Kinesis Video Media",
33
38
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetMedia } from "../schemas/schemas_0";
4
+ import { GetMedia$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetMediaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetMediaCommand extends $Command
11
11
  })
12
12
  .s("AWSAcuityInletService", "GetMedia", {})
13
13
  .n("KinesisVideoMediaClient", "GetMediaCommand")
14
- .sc(GetMedia)
14
+ .sc(GetMedia$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { KinesisVideoMediaServiceException } from "./models/KinesisVideoMediaServiceException";
@@ -24,7 +24,12 @@ export const getRuntimeConfig = (config) => {
24
24
  },
25
25
  ],
26
26
  logger: config?.logger ?? new NoOpLogger(),
27
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.kinesisvideomedia" }),
27
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
28
+ protocolSettings: config?.protocolSettings ?? {
29
+ defaultNamespace: "com.amazonaws.kinesisvideomedia",
30
+ version: "2017-09-30",
31
+ serviceTarget: "AWSAcuityInletService",
32
+ },
28
33
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
29
34
  serviceId: config?.serviceId ?? "Kinesis Video Media",
30
35
  urlParser: config?.urlParser ?? parseUrl,
@@ -27,15 +27,15 @@ const _s = "streaming";
27
27
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kinesisvideomedia";
28
28
  const n0 = "com.amazonaws.kinesisvideomedia";
29
29
  import { TypeRegistry } from "@smithy/core/schema";
30
- import { ClientLimitExceededException as __ClientLimitExceededException, ConnectionLimitExceededException as __ConnectionLimitExceededException, InvalidArgumentException as __InvalidArgumentException, InvalidEndpointException as __InvalidEndpointException, NotAuthorizedException as __NotAuthorizedException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
31
- import { KinesisVideoMediaServiceException as __KinesisVideoMediaServiceException } from "../models/KinesisVideoMediaServiceException";
32
- export var Payload = [0, n0, _P, { [_s]: 1 }, 42];
33
- export var ClientLimitExceededException = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
34
- TypeRegistry.for(n0).registerError(ClientLimitExceededException, __ClientLimitExceededException);
35
- export var ConnectionLimitExceededException = [-3, n0, _CLEEo, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
36
- TypeRegistry.for(n0).registerError(ConnectionLimitExceededException, __ConnectionLimitExceededException);
37
- export var GetMediaInput = [3, n0, _GMI, 0, [_SN, _SARN, _SS], [0, 0, () => StartSelector]];
38
- export var GetMediaOutput = [
30
+ import { ClientLimitExceededException, ConnectionLimitExceededException, InvalidArgumentException, InvalidEndpointException, NotAuthorizedException, ResourceNotFoundException, } from "../models/errors";
31
+ import { KinesisVideoMediaServiceException } from "../models/KinesisVideoMediaServiceException";
32
+ var Payload = [0, n0, _P, { [_s]: 1 }, 42];
33
+ export var ClientLimitExceededException$ = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
34
+ TypeRegistry.for(n0).registerError(ClientLimitExceededException$, ClientLimitExceededException);
35
+ export var ConnectionLimitExceededException$ = [-3, n0, _CLEEo, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
36
+ TypeRegistry.for(n0).registerError(ConnectionLimitExceededException$, ConnectionLimitExceededException);
37
+ export var GetMediaInput$ = [3, n0, _GMI, 0, [_SN, _SARN, _SS], [0, 0, () => StartSelector$]];
38
+ export var GetMediaOutput$ = [
39
39
  3,
40
40
  n0,
41
41
  _GMO,
@@ -46,16 +46,16 @@ export var GetMediaOutput = [
46
46
  [() => Payload, 16],
47
47
  ],
48
48
  ];
49
- export var InvalidArgumentException = [-3, n0, _IAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
50
- TypeRegistry.for(n0).registerError(InvalidArgumentException, __InvalidArgumentException);
51
- export var InvalidEndpointException = [-3, n0, _IEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
52
- TypeRegistry.for(n0).registerError(InvalidEndpointException, __InvalidEndpointException);
53
- export var NotAuthorizedException = [-3, n0, _NAE, { [_e]: _c, [_hE]: 401 }, [_M], [0]];
54
- TypeRegistry.for(n0).registerError(NotAuthorizedException, __NotAuthorizedException);
55
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
56
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
57
- export var StartSelector = [3, n0, _SS, 0, [_SST, _AFN, _ST, _CTo], [0, 0, 4, 0]];
58
- export var KinesisVideoMediaServiceException = [
49
+ export var InvalidArgumentException$ = [-3, n0, _IAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
50
+ TypeRegistry.for(n0).registerError(InvalidArgumentException$, InvalidArgumentException);
51
+ export var InvalidEndpointException$ = [-3, n0, _IEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
52
+ TypeRegistry.for(n0).registerError(InvalidEndpointException$, InvalidEndpointException);
53
+ export var NotAuthorizedException$ = [-3, n0, _NAE, { [_e]: _c, [_hE]: 401 }, [_M], [0]];
54
+ TypeRegistry.for(n0).registerError(NotAuthorizedException$, NotAuthorizedException);
55
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
56
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
57
+ export var StartSelector$ = [3, n0, _SS, 0, [_SST, _AFN, _ST, _CTo], [0, 0, 4, 0]];
58
+ export var KinesisVideoMediaServiceException$ = [
59
59
  -3,
60
60
  _sm,
61
61
  "KinesisVideoMediaServiceException",
@@ -63,12 +63,12 @@ export var KinesisVideoMediaServiceException = [
63
63
  [],
64
64
  [],
65
65
  ];
66
- TypeRegistry.for(_sm).registerError(KinesisVideoMediaServiceException, __KinesisVideoMediaServiceException);
67
- export var GetMedia = [
66
+ TypeRegistry.for(_sm).registerError(KinesisVideoMediaServiceException$, KinesisVideoMediaServiceException);
67
+ export var GetMedia$ = [
68
68
  9,
69
69
  n0,
70
70
  _GM,
71
71
  { [_h]: ["POST", "/getMedia", 200] },
72
- () => GetMediaInput,
73
- () => GetMediaOutput,
72
+ () => GetMediaInput$,
73
+ () => GetMediaOutput$,
74
74
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetMediaCommandInput, GetMediaCommandOutput } from "./commands/GetMediaCommand";
11
11
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
@@ -142,15 +142,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
142
142
  * Optional extensions
143
143
  */
144
144
  extensions?: RuntimeExtension[];
145
- /**
146
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
147
- * may be overridden. A default will always be set by the client.
148
- * Available options depend on the service's supported protocols and will not be validated by
149
- * the client.
150
- * @alpha
151
- *
152
- */
153
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
154
145
  /**
155
146
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
147
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { KinesisVideoMediaExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
34
38
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
39
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
36
40
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
41
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisVideoMediaHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
19
24
  serviceId: string;
20
25
  urlParser: import("@smithy/types").UrlParser;
@@ -1,13 +1,12 @@
1
- import type { StaticErrorSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var Payload: StaticSimpleSchema;
3
- export declare var ClientLimitExceededException: StaticErrorSchema;
4
- export declare var ConnectionLimitExceededException: StaticErrorSchema;
5
- export declare var GetMediaInput: StaticStructureSchema;
6
- export declare var GetMediaOutput: StaticStructureSchema;
7
- export declare var InvalidArgumentException: StaticErrorSchema;
8
- export declare var InvalidEndpointException: StaticErrorSchema;
9
- export declare var NotAuthorizedException: StaticErrorSchema;
10
- export declare var ResourceNotFoundException: StaticErrorSchema;
11
- export declare var StartSelector: StaticStructureSchema;
12
- export declare var KinesisVideoMediaServiceException: StaticErrorSchema;
13
- export declare var GetMedia: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var ClientLimitExceededException$: StaticErrorSchema;
3
+ export declare var ConnectionLimitExceededException$: StaticErrorSchema;
4
+ export declare var GetMediaInput$: StaticStructureSchema;
5
+ export declare var GetMediaOutput$: StaticStructureSchema;
6
+ export declare var InvalidArgumentException$: StaticErrorSchema;
7
+ export declare var InvalidEndpointException$: StaticErrorSchema;
8
+ export declare var NotAuthorizedException$: StaticErrorSchema;
9
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
10
+ export declare var StartSelector$: StaticStructureSchema;
11
+ export declare var KinesisVideoMediaServiceException$: StaticErrorSchema;
12
+ export declare var GetMedia$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
@@ -86,7 +83,6 @@ export interface ClientDefaults
86
83
  retryMode?: string | __Provider<string>;
87
84
  logger?: __Logger;
88
85
  extensions?: RuntimeExtension[];
89
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
90
86
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
91
87
  sdkStreamMixin?: __SdkStreamMixinInjector;
92
88
  }
@@ -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 * from "./schemas/schemas_0";
7
8
  export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
48
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
53
  userAgentAppId?:
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
48
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
53
  retryStrategy?:
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: KinesisVideoMediaClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisVideoMediaHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
24
29
  serviceId: string;
25
30
  urlParser: import("@smithy/types").UrlParser;
@@ -1,18 +1,16 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
3
  StaticOperationSchema,
4
- StaticSimpleSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var Payload: StaticSimpleSchema;
8
- export declare var ClientLimitExceededException: StaticErrorSchema;
9
- export declare var ConnectionLimitExceededException: StaticErrorSchema;
10
- export declare var GetMediaInput: StaticStructureSchema;
11
- export declare var GetMediaOutput: StaticStructureSchema;
12
- export declare var InvalidArgumentException: StaticErrorSchema;
13
- export declare var InvalidEndpointException: StaticErrorSchema;
14
- export declare var NotAuthorizedException: StaticErrorSchema;
15
- export declare var ResourceNotFoundException: StaticErrorSchema;
16
- export declare var StartSelector: StaticStructureSchema;
17
- export declare var KinesisVideoMediaServiceException: StaticErrorSchema;
18
- export declare var GetMedia: StaticOperationSchema;
6
+ export declare var ClientLimitExceededException$: StaticErrorSchema;
7
+ export declare var ConnectionLimitExceededException$: StaticErrorSchema;
8
+ export declare var GetMediaInput$: StaticStructureSchema;
9
+ export declare var GetMediaOutput$: StaticStructureSchema;
10
+ export declare var InvalidArgumentException$: StaticErrorSchema;
11
+ export declare var InvalidEndpointException$: StaticErrorSchema;
12
+ export declare var NotAuthorizedException$: StaticErrorSchema;
13
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
14
+ export declare var StartSelector$: StaticStructureSchema;
15
+ export declare var KinesisVideoMediaServiceException$: StaticErrorSchema;
16
+ export declare var GetMedia$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.952.0",
4
+ "version": "3.954.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-media",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.954.0",
25
+ "@aws-sdk/credential-provider-node": "3.954.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.954.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.954.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.4.0",
42
+ "@smithy/middleware-retry": "^4.4.16",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.1",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
59
- "@smithy/util-stream": "^4.5.6",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.15",
55
+ "@smithy/util-defaults-mode-node": "^4.2.18",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
+ "@smithy/util-stream": "^4.5.7",
60
60
  "@smithy/util-utf8": "^4.2.0",
61
61
  "tslib": "^2.6.2"
62
62
  },