@aws-sdk/client-kinesis-video-media 3.170.0 → 3.178.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,22 @@
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.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-kinesis-video-media
9
+
10
+
11
+
12
+
13
+
14
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-kinesis-video-media
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-kinesis-video-media
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) =
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -4,7 +4,6 @@ import {
4
4
  GetMediaCommandOutput,
5
5
  } from "./commands/GetMediaCommand";
6
6
  import { KinesisVideoMediaClient } from "./KinesisVideoMediaClient";
7
-
8
7
  export declare class KinesisVideoMedia extends KinesisVideoMediaClient {
9
8
  getMedia(
10
9
  args: GetMediaCommandInput,
@@ -51,47 +51,26 @@ export declare type ServiceOutputTypes = GetMediaCommandOutput;
51
51
  export interface ClientDefaults
52
52
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
53
53
  requestHandler?: __HttpHandler;
54
-
55
54
  sha256?: __HashConstructor;
56
-
57
55
  urlParser?: __UrlParser;
58
-
59
56
  bodyLengthChecker?: __BodyLengthCalculator;
60
-
61
57
  streamCollector?: __StreamCollector;
62
-
63
58
  base64Decoder?: __Decoder;
64
-
65
59
  base64Encoder?: __Encoder;
66
-
67
60
  utf8Decoder?: __Decoder;
68
-
69
61
  utf8Encoder?: __Encoder;
70
-
71
62
  runtime?: string;
72
-
73
63
  disableHostPrefix?: boolean;
74
-
75
64
  maxAttempts?: number | __Provider<number>;
76
-
77
65
  retryMode?: string | __Provider<string>;
78
-
79
66
  logger?: __Logger;
80
-
81
67
  useDualstackEndpoint?: boolean | __Provider<boolean>;
82
-
83
68
  useFipsEndpoint?: boolean | __Provider<boolean>;
84
-
85
69
  serviceId?: string;
86
-
87
70
  region?: string | __Provider<string>;
88
-
89
71
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
90
-
91
72
  regionInfoProvider?: RegionInfoProvider;
92
-
93
73
  defaultUserAgentProvider?: Provider<__UserAgent>;
94
-
95
74
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
96
75
  }
97
76
  declare type KinesisVideoMediaClientConfigType = Partial<
@@ -104,7 +83,6 @@ declare type KinesisVideoMediaClientConfigType = Partial<
104
83
  HostHeaderInputConfig &
105
84
  AwsAuthInputConfig &
106
85
  UserAgentInputConfig;
107
-
108
86
  export interface KinesisVideoMediaClientConfig
109
87
  extends KinesisVideoMediaClientConfigType {}
110
88
  declare type KinesisVideoMediaClientResolvedConfigType =
@@ -116,10 +94,8 @@ declare type KinesisVideoMediaClientResolvedConfigType =
116
94
  HostHeaderResolvedConfig &
117
95
  AwsAuthResolvedConfig &
118
96
  UserAgentResolvedConfig;
119
-
120
97
  export interface KinesisVideoMediaClientResolvedConfig
121
98
  extends KinesisVideoMediaClientResolvedConfigType {}
122
-
123
99
  export declare class KinesisVideoMediaClient extends __Client<
124
100
  __HttpHandlerOptions,
125
101
  ServiceInputTypes,
@@ -128,7 +104,6 @@ export declare class KinesisVideoMediaClient extends __Client<
128
104
  > {
129
105
  readonly config: KinesisVideoMediaClientResolvedConfig;
130
106
  constructor(configuration: KinesisVideoMediaClientConfig);
131
-
132
107
  destroy(): void;
133
108
  }
134
109
  export {};
@@ -15,7 +15,6 @@ export interface GetMediaCommandInput extends GetMediaInput {}
15
15
  export interface GetMediaCommandOutput
16
16
  extends GetMediaOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class GetMediaCommand extends $Command<
20
19
  GetMediaCommandInput,
21
20
  GetMediaCommandOutput,
@@ -23,7 +22,6 @@ export declare class GetMediaCommand extends $Command<
23
22
  > {
24
23
  readonly input: GetMediaCommandInput;
25
24
  constructor(input: GetMediaCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: KinesisVideoMediaClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class KinesisVideoMediaServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,22 +1,18 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { Readable } from "stream";
3
3
  import { KinesisVideoMediaServiceException as __BaseException } from "./KinesisVideoMediaServiceException";
4
-
5
4
  export declare class ClientLimitExceededException extends __BaseException {
6
5
  readonly name: "ClientLimitExceededException";
7
6
  readonly $fault: "client";
8
7
  Message?: string;
9
-
10
8
  constructor(
11
9
  opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>
12
10
  );
13
11
  }
14
-
15
12
  export declare class ConnectionLimitExceededException extends __BaseException {
16
13
  readonly name: "ConnectionLimitExceededException";
17
14
  readonly $fault: "client";
18
15
  Message?: string;
19
-
20
16
  constructor(
21
17
  opts: __ExceptionOptionType<
22
18
  ConnectionLimitExceededException,
@@ -32,77 +28,59 @@ export declare enum StartSelectorType {
32
28
  PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
33
29
  SERVER_TIMESTAMP = "SERVER_TIMESTAMP",
34
30
  }
35
-
36
31
  export interface StartSelector {
37
32
  StartSelectorType: StartSelectorType | string | undefined;
38
-
39
33
  AfterFragmentNumber?: string;
40
-
41
34
  StartTimestamp?: Date;
42
-
43
35
  ContinuationToken?: string;
44
36
  }
45
37
  export interface GetMediaInput {
46
38
  StreamName?: string;
47
-
48
39
  StreamARN?: string;
49
-
50
40
  StartSelector: StartSelector | undefined;
51
41
  }
52
42
  export interface GetMediaOutput {
53
43
  ContentType?: string;
54
-
55
44
  Payload?: Readable | ReadableStream | Blob;
56
45
  }
57
-
58
46
  export declare class InvalidArgumentException extends __BaseException {
59
47
  readonly name: "InvalidArgumentException";
60
48
  readonly $fault: "client";
61
49
  Message?: string;
62
-
63
50
  constructor(
64
51
  opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
65
52
  );
66
53
  }
67
-
68
54
  export declare class InvalidEndpointException extends __BaseException {
69
55
  readonly name: "InvalidEndpointException";
70
56
  readonly $fault: "client";
71
57
  Message?: string;
72
-
73
58
  constructor(
74
59
  opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
75
60
  );
76
61
  }
77
-
78
62
  export declare class NotAuthorizedException extends __BaseException {
79
63
  readonly name: "NotAuthorizedException";
80
64
  readonly $fault: "client";
81
65
  Message?: string;
82
-
83
66
  constructor(
84
67
  opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
85
68
  );
86
69
  }
87
-
88
70
  export declare class ResourceNotFoundException extends __BaseException {
89
71
  readonly name: "ResourceNotFoundException";
90
72
  readonly $fault: "client";
91
73
  Message?: string;
92
-
93
74
  constructor(
94
75
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
95
76
  );
96
77
  }
97
-
98
78
  export declare const StartSelectorFilterSensitiveLog: (
99
79
  obj: StartSelector
100
80
  ) => any;
101
-
102
81
  export declare const GetMediaInputFilterSensitiveLog: (
103
82
  obj: GetMediaInput
104
83
  ) => any;
105
-
106
84
  export declare const GetMediaOutputFilterSensitiveLog: (
107
85
  obj: GetMediaOutput
108
86
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: KinesisVideoMediaClientConfig
6
5
  ) => {
@@ -53,7 +52,9 @@ export declare const getRuntimeConfig: (
53
52
  | undefined;
54
53
  signer?:
55
54
  | import("@aws-sdk/types").RequestSigner
56
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
55
+ | ((
56
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
57
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
57
58
  | undefined;
58
59
  signingEscapePath?: boolean | undefined;
59
60
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: KinesisVideoMediaClientConfig
6
5
  ) => {
@@ -53,7 +52,9 @@ export declare const getRuntimeConfig: (
53
52
  | undefined;
54
53
  signer?:
55
54
  | import("@aws-sdk/types").RequestSigner
56
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
55
+ | ((
56
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
57
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
57
58
  | undefined;
58
59
  signingEscapePath?: boolean | undefined;
59
60
  systemClockOffset?: number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
2
-
3
2
  export declare const getRuntimeConfig: (
4
3
  config: KinesisVideoMediaClientConfig
5
4
  ) => {
@@ -54,7 +53,9 @@ export declare const getRuntimeConfig: (
54
53
  | undefined;
55
54
  signer?:
56
55
  | import("@aws-sdk/types").RequestSigner
57
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
56
+ | ((
57
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
58
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
58
59
  | undefined;
59
60
  signingEscapePath?: boolean | undefined;
60
61
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: KinesisVideoMediaClientConfig
6
5
  ) => {
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.170.0",
4
+ "version": "3.178.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.178.0",
23
+ "@aws-sdk/config-resolver": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.178.0",
25
+ "@aws-sdk/fetch-http-handler": "3.178.0",
26
+ "@aws-sdk/hash-node": "3.178.0",
27
+ "@aws-sdk/invalid-dependency": "3.178.0",
28
+ "@aws-sdk/middleware-content-length": "3.178.0",
29
+ "@aws-sdk/middleware-host-header": "3.178.0",
30
+ "@aws-sdk/middleware-logger": "3.178.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
+ "@aws-sdk/middleware-retry": "3.178.0",
33
+ "@aws-sdk/middleware-serde": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.178.0",
35
+ "@aws-sdk/middleware-stack": "3.178.0",
36
+ "@aws-sdk/middleware-user-agent": "3.178.0",
37
+ "@aws-sdk/node-config-provider": "3.178.0",
38
+ "@aws-sdk/node-http-handler": "3.178.0",
39
+ "@aws-sdk/protocol-http": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.178.0",
41
+ "@aws-sdk/types": "3.178.0",
42
+ "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
50
+ "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"