@aws-sdk/client-kinesis-video-media 3.1087.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/KinesisVideoMedia.d.ts +4 -10
- package/dist-types/ts3.4/KinesisVideoMediaClient.d.ts +6 -19
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -10
- package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +8 -8
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +6 -21
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetMediaCommandInput,
|
|
4
|
-
GetMediaCommandOutput,
|
|
5
|
-
} from "./commands/GetMediaCommand";
|
|
2
|
+
import { GetMediaCommandInput, GetMediaCommandOutput } from "./commands/GetMediaCommand";
|
|
6
3
|
import { KinesisVideoMediaClient } from "./KinesisVideoMediaClient";
|
|
7
4
|
export interface KinesisVideoMedia {
|
|
8
5
|
getMedia(
|
|
9
6
|
args: GetMediaCommandInput,
|
|
10
|
-
options?: __HttpHandlerOptions
|
|
7
|
+
options?: __HttpHandlerOptions,
|
|
11
8
|
): Promise<GetMediaCommandOutput>;
|
|
12
|
-
getMedia(
|
|
13
|
-
args: GetMediaCommandInput,
|
|
14
|
-
cb: (err: any, data?: GetMediaCommandOutput) => void
|
|
15
|
-
): void;
|
|
9
|
+
getMedia(args: GetMediaCommandInput, cb: (err: any, data?: GetMediaCommandOutput) => void): void;
|
|
16
10
|
getMedia(
|
|
17
11
|
args: GetMediaCommandInput,
|
|
18
12
|
options: __HttpHandlerOptions,
|
|
19
|
-
cb: (err: any, data?: GetMediaCommandOutput) => void
|
|
13
|
+
cb: (err: any, data?: GetMediaCommandOutput) => void,
|
|
20
14
|
): void;
|
|
21
15
|
}
|
|
22
16
|
export declare class KinesisVideoMedia
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -37,10 +34,7 @@ import {
|
|
|
37
34
|
HttpAuthSchemeInputConfig,
|
|
38
35
|
HttpAuthSchemeResolvedConfig,
|
|
39
36
|
} from "./auth/httpAuthSchemeProvider";
|
|
40
|
-
import {
|
|
41
|
-
GetMediaCommandInput,
|
|
42
|
-
GetMediaCommandOutput,
|
|
43
|
-
} from "./commands/GetMediaCommand";
|
|
37
|
+
import { GetMediaCommandInput, GetMediaCommandOutput } from "./commands/GetMediaCommand";
|
|
44
38
|
import {
|
|
45
39
|
ClientInputEndpointParameters,
|
|
46
40
|
ClientResolvedEndpointParameters,
|
|
@@ -50,8 +44,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
50
44
|
export { __Client };
|
|
51
45
|
export type ServiceInputTypes = GetMediaCommandInput;
|
|
52
46
|
export type ServiceOutputTypes = GetMediaCommandOutput;
|
|
53
|
-
export interface ClientDefaults
|
|
54
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
47
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
55
48
|
requestHandler?: __HttpHandlerUserInput;
|
|
56
49
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
57
50
|
urlParser?: __UrlParser;
|
|
@@ -88,8 +81,7 @@ export type KinesisVideoMediaClientConfigType = Partial<
|
|
|
88
81
|
EndpointInputConfig<EndpointParameters> &
|
|
89
82
|
HttpAuthSchemeInputConfig &
|
|
90
83
|
ClientInputEndpointParameters;
|
|
91
|
-
export interface KinesisVideoMediaClientConfig
|
|
92
|
-
extends KinesisVideoMediaClientConfigType {}
|
|
84
|
+
export interface KinesisVideoMediaClientConfig extends KinesisVideoMediaClientConfigType {}
|
|
93
85
|
export type KinesisVideoMediaClientResolvedConfigType =
|
|
94
86
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
95
87
|
Required<ClientDefaults> &
|
|
@@ -101,8 +93,7 @@ export type KinesisVideoMediaClientResolvedConfigType =
|
|
|
101
93
|
EndpointResolvedConfig<EndpointParameters> &
|
|
102
94
|
HttpAuthSchemeResolvedConfig &
|
|
103
95
|
ClientResolvedEndpointParameters;
|
|
104
|
-
export interface KinesisVideoMediaClientResolvedConfig
|
|
105
|
-
extends KinesisVideoMediaClientResolvedConfigType {}
|
|
96
|
+
export interface KinesisVideoMediaClientResolvedConfig extends KinesisVideoMediaClientResolvedConfigType {}
|
|
106
97
|
export declare class KinesisVideoMediaClient extends __Client<
|
|
107
98
|
__HttpHandlerOptions,
|
|
108
99
|
ServiceInputTypes,
|
|
@@ -110,10 +101,6 @@ export declare class KinesisVideoMediaClient extends __Client<
|
|
|
110
101
|
KinesisVideoMediaClientResolvedConfig
|
|
111
102
|
> {
|
|
112
103
|
readonly config: KinesisVideoMediaClientResolvedConfig;
|
|
113
|
-
constructor(
|
|
114
|
-
...[
|
|
115
|
-
configuration,
|
|
116
|
-
]: __CheckOptionalClientConfig<KinesisVideoMediaClientConfig>
|
|
117
|
-
);
|
|
104
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<KinesisVideoMediaClientConfig>);
|
|
118
105
|
destroy(): void;
|
|
119
106
|
}
|
|
@@ -7,17 +7,10 @@ import { KinesisVideoMediaHttpAuthSchemeProvider } from "./httpAuthSchemeProvide
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: KinesisVideoMediaHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: KinesisVideoMediaHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): KinesisVideoMediaHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { KinesisVideoMediaClientResolvedConfig } from "../KinesisVideoMediaClient";
|
|
15
|
-
export interface KinesisVideoMediaHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface KinesisVideoMediaHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface KinesisVideoMediaHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface KinesisVideoMediaHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
KinesisVideoMediaClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
KinesisVideoMediaHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultKinesisVideoMediaHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: KinesisVideoMediaClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<KinesisVideoMediaHttpAuthSchemeParameters>;
|
|
31
|
-
export interface KinesisVideoMediaHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<KinesisVideoMediaHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface KinesisVideoMediaHttpAuthSchemeProvider extends HttpAuthSchemeProvider<KinesisVideoMediaHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultKinesisVideoMediaHttpAuthSchemeProvider: KinesisVideoMediaHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: KinesisVideoMediaHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: KinesisVideoMediaHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -2,20 +2,22 @@ import { EndpointParameterInstructions } from "@smithy/types";
|
|
|
2
2
|
import { KinesisVideoMediaClientResolvedConfig } from "./KinesisVideoMediaClient";
|
|
3
3
|
export declare const command: <
|
|
4
4
|
I extends import("./commands").GetMediaCommandInput,
|
|
5
|
-
O extends import("./commands").GetMediaCommandOutput
|
|
5
|
+
O extends import("./commands").GetMediaCommandOutput,
|
|
6
6
|
>(
|
|
7
7
|
added: EndpointParameterInstructions,
|
|
8
8
|
plugins: (
|
|
9
9
|
CommandCtor: any,
|
|
10
10
|
clientStack: any,
|
|
11
11
|
config: any,
|
|
12
|
-
options: any
|
|
12
|
+
options: any,
|
|
13
13
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
14
14
|
op: string,
|
|
15
15
|
$: import("@smithy/types").StaticOperationSchema,
|
|
16
|
-
smithyContext?: Record<string, unknown
|
|
16
|
+
smithyContext?: Record<string, unknown>,
|
|
17
17
|
) => {
|
|
18
|
-
new (
|
|
18
|
+
new (
|
|
19
|
+
input: I,
|
|
20
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
21
|
I,
|
|
20
22
|
O,
|
|
21
23
|
KinesisVideoMediaClientResolvedConfig,
|
|
@@ -34,9 +36,4 @@ export declare const command: <
|
|
|
34
36
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
};
|
|
36
38
|
export declare const _ep0: EndpointParameterInstructions;
|
|
37
|
-
export declare const _mw0: (
|
|
38
|
-
Command: any,
|
|
39
|
-
cs: any,
|
|
40
|
-
config: any,
|
|
41
|
-
o: any
|
|
42
|
-
) => never[];
|
|
39
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MetadataBearer as __MetadataBearer,
|
|
3
|
-
StreamingBlobPayloadOutputTypes,
|
|
4
|
-
} from "@smithy/types";
|
|
1
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
5
2
|
import { GetMediaInput, GetMediaOutput } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface GetMediaCommandInput extends GetMediaInput {}
|
|
8
5
|
export interface GetMediaCommandOutput
|
|
9
|
-
extends Pick<GetMediaOutput, Exclude<keyof GetMediaOutput, "Payload">>,
|
|
10
|
-
__MetadataBearer {
|
|
6
|
+
extends Pick<GetMediaOutput, Exclude<keyof GetMediaOutput, "Payload">>, __MetadataBearer {
|
|
11
7
|
Payload?: StreamingBlobPayloadOutputTypes;
|
|
12
8
|
}
|
|
13
9
|
declare const GetMediaCommand_base: {
|
|
14
|
-
new (
|
|
10
|
+
new (
|
|
11
|
+
input: GetMediaCommandInput,
|
|
12
|
+
): import("@smithy/core/client").CommandImpl<
|
|
15
13
|
GetMediaCommandInput,
|
|
16
14
|
GetMediaCommandOutput,
|
|
17
15
|
import("..").KinesisVideoMediaClientResolvedConfig,
|
|
18
16
|
GetMediaCommandInput,
|
|
19
17
|
GetMediaCommandOutput
|
|
20
18
|
>;
|
|
21
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: GetMediaCommandInput,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
GetMediaCommandInput,
|
|
23
23
|
GetMediaCommandOutput,
|
|
24
24
|
import("..").KinesisVideoMediaClientResolvedConfig,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface KinesisVideoMediaExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -6,5 +6,4 @@ export declare const StartSelectorType: {
|
|
|
6
6
|
readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
|
|
7
7
|
readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
|
|
8
8
|
};
|
|
9
|
-
export type StartSelectorType =
|
|
10
|
-
(typeof StartSelectorType)[keyof typeof StartSelectorType];
|
|
9
|
+
export type StartSelectorType = (typeof StartSelectorType)[keyof typeof StartSelectorType];
|
|
@@ -4,50 +4,35 @@ export declare class ClientLimitExceededException extends __BaseException {
|
|
|
4
4
|
readonly name: "ClientLimitExceededException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class ConnectionLimitExceededException extends __BaseException {
|
|
12
10
|
readonly name: "ConnectionLimitExceededException";
|
|
13
11
|
readonly $fault: "client";
|
|
14
12
|
Message?: string | undefined;
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<
|
|
17
|
-
ConnectionLimitExceededException,
|
|
18
|
-
__BaseException
|
|
19
|
-
>
|
|
20
|
-
);
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConnectionLimitExceededException, __BaseException>);
|
|
21
14
|
}
|
|
22
15
|
export declare class InvalidArgumentException extends __BaseException {
|
|
23
16
|
readonly name: "InvalidArgumentException";
|
|
24
17
|
readonly $fault: "client";
|
|
25
18
|
Message?: string | undefined;
|
|
26
|
-
constructor(
|
|
27
|
-
opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
|
|
28
|
-
);
|
|
19
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
29
20
|
}
|
|
30
21
|
export declare class InvalidEndpointException extends __BaseException {
|
|
31
22
|
readonly name: "InvalidEndpointException";
|
|
32
23
|
readonly $fault: "client";
|
|
33
24
|
Message?: string | undefined;
|
|
34
|
-
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
|
|
36
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
37
26
|
}
|
|
38
27
|
export declare class NotAuthorizedException extends __BaseException {
|
|
39
28
|
readonly name: "NotAuthorizedException";
|
|
40
29
|
readonly $fault: "client";
|
|
41
30
|
Message?: string | undefined;
|
|
42
|
-
constructor(
|
|
43
|
-
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
44
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
45
32
|
}
|
|
46
33
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
34
|
readonly name: "ResourceNotFoundException";
|
|
48
35
|
readonly $fault: "client";
|
|
49
36
|
Message?: string | undefined;
|
|
50
|
-
constructor(
|
|
51
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
52
|
-
);
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
53
38
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: KinesisVideoMediaClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -56,13 +46,8 @@ export declare const getRuntimeConfig: (
|
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
userAgentAppId?:
|
|
60
|
-
|
|
61
|
-
| undefined
|
|
62
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
63
|
-
retryStrategy?:
|
|
64
|
-
| import("@smithy/types").RetryStrategy
|
|
65
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
66
51
|
endpoint?:
|
|
67
52
|
| ((
|
|
68
53
|
| string
|
|
@@ -84,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
84
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
85
70
|
context?: {
|
|
86
71
|
logger?: import("@smithy/types").Logger;
|
|
87
|
-
}
|
|
72
|
+
},
|
|
88
73
|
) => import("@smithy/types").EndpointV2;
|
|
89
74
|
tls?: boolean;
|
|
90
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -97,13 +82,13 @@ export declare const getRuntimeConfig: (
|
|
|
97
82
|
signer?:
|
|
98
83
|
| import("@smithy/types").RequestSigner
|
|
99
84
|
| ((
|
|
100
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
101
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
102
87
|
signingEscapePath?: boolean;
|
|
103
88
|
systemClockOffset?: number;
|
|
104
89
|
signingRegion?: string;
|
|
105
90
|
signerConstructor?: new (
|
|
106
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
107
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
108
93
|
) => import("@smithy/types").RequestSigner;
|
|
109
94
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: KinesisVideoMediaClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -56,9 +48,7 @@ export declare const getRuntimeConfig: (
|
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
51
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
62
52
|
endpoint?:
|
|
63
53
|
| ((
|
|
64
54
|
| string
|
|
@@ -80,7 +70,7 @@ export declare const getRuntimeConfig: (
|
|
|
80
70
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
81
71
|
context?: {
|
|
82
72
|
logger?: import("@smithy/types").Logger;
|
|
83
|
-
}
|
|
73
|
+
},
|
|
84
74
|
) => import("@smithy/types").EndpointV2;
|
|
85
75
|
tls?: boolean;
|
|
86
76
|
serviceConfiguredEndpoint?: never;
|
|
@@ -92,13 +82,13 @@ export declare const getRuntimeConfig: (
|
|
|
92
82
|
signer?:
|
|
93
83
|
| import("@smithy/types").RequestSigner
|
|
94
84
|
| ((
|
|
95
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
96
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
87
|
signingEscapePath?: boolean;
|
|
98
88
|
systemClockOffset?: number;
|
|
99
89
|
signingRegion?: string;
|
|
100
90
|
signerConstructor?: new (
|
|
101
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
103
93
|
) => import("@smithy/types").RequestSigner;
|
|
104
94
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: KinesisVideoMediaClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,31 +36,22 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
62
52
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
63
|
-
userAgentAppId?:
|
|
64
|
-
|
|
65
|
-
| undefined
|
|
66
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
67
|
-
retryStrategy?:
|
|
68
|
-
| import("@smithy/types").RetryStrategy
|
|
69
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
70
55
|
endpoint?:
|
|
71
56
|
| ((
|
|
72
57
|
| string
|
|
@@ -88,7 +73,7 @@ export declare const getRuntimeConfig: (
|
|
|
88
73
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
89
74
|
context?: {
|
|
90
75
|
logger?: import("@smithy/types").Logger;
|
|
91
|
-
}
|
|
76
|
+
},
|
|
92
77
|
) => import("@smithy/types").EndpointV2;
|
|
93
78
|
tls?: boolean;
|
|
94
79
|
serviceConfiguredEndpoint?: never;
|
|
@@ -101,13 +86,13 @@ export declare const getRuntimeConfig: (
|
|
|
101
86
|
signer?:
|
|
102
87
|
| import("@smithy/types").RequestSigner
|
|
103
88
|
| ((
|
|
104
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
89
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
105
90
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
106
91
|
signingEscapePath?: boolean;
|
|
107
92
|
systemClockOffset?: number;
|
|
108
93
|
signingRegion?: string;
|
|
109
94
|
signerConstructor?: new (
|
|
110
95
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
111
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
96
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
112
97
|
) => import("@smithy/types").RequestSigner;
|
|
113
98
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: KinesisVideoMediaClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: KinesisVideoMediaClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisVideoMediaHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { KinesisVideoMediaExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: KinesisVideoMediaExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: KinesisVideoMediaExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var KinesisVideoMediaServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var ClientLimitExceededException$: StaticErrorSchema;
|
|
9
5
|
export declare var ConnectionLimitExceededException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-media",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Kinesis Video Media Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis-video-media",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-kinesis-video-media"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis-video-media",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-kinesis-video-media"
|
|
68
68
|
}
|
|
69
69
|
}
|