@aws-sdk/client-ivs-realtime 3.298.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/LICENSE +201 -0
- package/README.md +373 -0
- package/dist-cjs/IVSRealTime.js +157 -0
- package/dist-cjs/IVSRealTimeClient.js +40 -0
- package/dist-cjs/commands/CreateParticipantTokenCommand.js +45 -0
- package/dist-cjs/commands/CreateStageCommand.js +45 -0
- package/dist-cjs/commands/DeleteStageCommand.js +45 -0
- package/dist-cjs/commands/DisconnectParticipantCommand.js +45 -0
- package/dist-cjs/commands/GetStageCommand.js +45 -0
- package/dist-cjs/commands/ListStagesCommand.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +45 -0
- package/dist-cjs/commands/UntagResourceCommand.js +45 -0
- package/dist-cjs/commands/UpdateStageCommand.js +45 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/IVSRealTimeServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +107 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListStagesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +922 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/IVSRealTime.js +153 -0
- package/dist-es/IVSRealTimeClient.js +36 -0
- package/dist-es/commands/CreateParticipantTokenCommand.js +41 -0
- package/dist-es/commands/CreateStageCommand.js +41 -0
- package/dist-es/commands/DeleteStageCommand.js +41 -0
- package/dist-es/commands/DisconnectParticipantCommand.js +41 -0
- package/dist-es/commands/GetStageCommand.js +41 -0
- package/dist-es/commands/ListStagesCommand.js +41 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +41 -0
- package/dist-es/commands/UntagResourceCommand.js +41 -0
- package/dist-es/commands/UpdateStageCommand.js +41 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/IVSRealTimeServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +97 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListStagesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +899 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/IVSRealTime.d.ts +175 -0
- package/dist-types/IVSRealTimeClient.d.ts +256 -0
- package/dist-types/commands/CreateParticipantTokenCommand.d.ts +77 -0
- package/dist-types/commands/CreateStageCommand.d.ts +72 -0
- package/dist-types/commands/DeleteStageCommand.d.ts +75 -0
- package/dist-types/commands/DisconnectParticipantCommand.d.ts +72 -0
- package/dist-types/commands/GetStageCommand.d.ts +69 -0
- package/dist-types/commands/ListStagesCommand.d.ts +69 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +69 -0
- package/dist-types/commands/TagResourceCommand.d.ts +69 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +69 -0
- package/dist-types/commands/UpdateStageCommand.d.ts +75 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/IVSRealTimeServiceException.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +477 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListStagesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/IVSRealTime.d.ts +174 -0
- package/dist-types/ts3.4/IVSRealTimeClient.d.ts +172 -0
- package/dist-types/ts3.4/commands/CreateParticipantTokenCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListStagesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/IVSRealTimeServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListStagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +98 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
16
|
+
export interface TagResourceCommandOutput
|
|
17
|
+
extends TagResourceResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class TagResourceCommand extends $Command<
|
|
20
|
+
TagResourceCommandInput,
|
|
21
|
+
TagResourceCommandOutput,
|
|
22
|
+
IVSRealTimeClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: TagResourceCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: TagResourceCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import {
|
|
15
|
+
UntagResourceRequest,
|
|
16
|
+
UntagResourceResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
19
|
+
export interface UntagResourceCommandOutput
|
|
20
|
+
extends UntagResourceResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class UntagResourceCommand extends $Command<
|
|
23
|
+
UntagResourceCommandInput,
|
|
24
|
+
UntagResourceCommandOutput,
|
|
25
|
+
IVSRealTimeClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: UntagResourceCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: UntagResourceCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import { UpdateStageRequest, UpdateStageResponse } from "../models/models_0";
|
|
15
|
+
export interface UpdateStageCommandInput extends UpdateStageRequest {}
|
|
16
|
+
export interface UpdateStageCommandOutput
|
|
17
|
+
extends UpdateStageResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class UpdateStageCommand extends $Command<
|
|
20
|
+
UpdateStageCommandInput,
|
|
21
|
+
UpdateStageCommandOutput,
|
|
22
|
+
IVSRealTimeClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: UpdateStageCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: UpdateStageCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<UpdateStageCommandInput, UpdateStageCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./CreateParticipantTokenCommand";
|
|
2
|
+
export * from "./CreateStageCommand";
|
|
3
|
+
export * from "./DeleteStageCommand";
|
|
4
|
+
export * from "./DisconnectParticipantCommand";
|
|
5
|
+
export * from "./GetStageCommand";
|
|
6
|
+
export * from "./ListStagesCommand";
|
|
7
|
+
export * from "./ListTagsForResourceCommand";
|
|
8
|
+
export * from "./TagResourceCommand";
|
|
9
|
+
export * from "./UntagResourceCommand";
|
|
10
|
+
export * from "./UpdateStageCommand";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@aws-sdk/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | Provider<string>;
|
|
9
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
23
|
+
options: T & ClientInputEndpointParameters
|
|
24
|
+
) => T &
|
|
25
|
+
ClientInputEndpointParameters & {
|
|
26
|
+
defaultSigningName: string;
|
|
27
|
+
};
|
|
28
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
+
Region?: string;
|
|
30
|
+
UseDualStack?: boolean;
|
|
31
|
+
UseFIPS?: boolean;
|
|
32
|
+
Endpoint?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export declare class IVSRealTimeServiceException extends __ServiceException {
|
|
6
|
+
constructor(options: __ServiceExceptionOptions);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IVSRealTimeServiceException as __BaseException } from "./IVSRealTimeServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
exceptionMessage?: string;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare enum ParticipantTokenCapability {
|
|
12
|
+
PUBLISH = "PUBLISH",
|
|
13
|
+
SUBSCRIBE = "SUBSCRIBE",
|
|
14
|
+
}
|
|
15
|
+
export interface CreateParticipantTokenRequest {
|
|
16
|
+
stageArn: string | undefined;
|
|
17
|
+
duration?: number;
|
|
18
|
+
userId?: string;
|
|
19
|
+
attributes?: Record<string, string>;
|
|
20
|
+
capabilities?: (ParticipantTokenCapability | string)[];
|
|
21
|
+
}
|
|
22
|
+
export interface ParticipantToken {
|
|
23
|
+
participantId?: string;
|
|
24
|
+
token?: string;
|
|
25
|
+
userId?: string;
|
|
26
|
+
attributes?: Record<string, string>;
|
|
27
|
+
duration?: number;
|
|
28
|
+
capabilities?: (ParticipantTokenCapability | string)[];
|
|
29
|
+
expirationTime?: Date;
|
|
30
|
+
}
|
|
31
|
+
export interface CreateParticipantTokenResponse {
|
|
32
|
+
participantToken?: ParticipantToken;
|
|
33
|
+
}
|
|
34
|
+
export declare class PendingVerification extends __BaseException {
|
|
35
|
+
readonly name: "PendingVerification";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
exceptionMessage?: string;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<PendingVerification, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
readonly name: "ResourceNotFoundException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
exceptionMessage?: string;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
51
|
+
readonly name: "ServiceQuotaExceededException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
exceptionMessage?: string;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export declare class ValidationException extends __BaseException {
|
|
59
|
+
readonly name: "ValidationException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
exceptionMessage?: string;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export interface ParticipantTokenConfiguration {
|
|
67
|
+
duration?: number;
|
|
68
|
+
userId?: string;
|
|
69
|
+
attributes?: Record<string, string>;
|
|
70
|
+
capabilities?: (ParticipantTokenCapability | string)[];
|
|
71
|
+
}
|
|
72
|
+
export interface CreateStageRequest {
|
|
73
|
+
name?: string;
|
|
74
|
+
participantTokenConfigurations?: ParticipantTokenConfiguration[];
|
|
75
|
+
tags?: Record<string, string>;
|
|
76
|
+
}
|
|
77
|
+
export interface Stage {
|
|
78
|
+
arn: string | undefined;
|
|
79
|
+
name?: string;
|
|
80
|
+
activeSessionId?: string;
|
|
81
|
+
tags?: Record<string, string>;
|
|
82
|
+
}
|
|
83
|
+
export interface CreateStageResponse {
|
|
84
|
+
stage?: Stage;
|
|
85
|
+
participantTokens?: ParticipantToken[];
|
|
86
|
+
}
|
|
87
|
+
export declare class ConflictException extends __BaseException {
|
|
88
|
+
readonly name: "ConflictException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
exceptionMessage?: string;
|
|
91
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
export interface DeleteStageRequest {
|
|
94
|
+
arn: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface DeleteStageResponse {}
|
|
97
|
+
export interface DisconnectParticipantRequest {
|
|
98
|
+
stageArn: string | undefined;
|
|
99
|
+
participantId: string | undefined;
|
|
100
|
+
reason?: string;
|
|
101
|
+
}
|
|
102
|
+
export interface DisconnectParticipantResponse {}
|
|
103
|
+
export interface GetStageRequest {
|
|
104
|
+
arn: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface GetStageResponse {
|
|
107
|
+
stage?: Stage;
|
|
108
|
+
}
|
|
109
|
+
export interface ListStagesRequest {
|
|
110
|
+
nextToken?: string;
|
|
111
|
+
maxResults?: number;
|
|
112
|
+
}
|
|
113
|
+
export interface StageSummary {
|
|
114
|
+
arn: string | undefined;
|
|
115
|
+
name?: string;
|
|
116
|
+
activeSessionId?: string;
|
|
117
|
+
tags?: Record<string, string>;
|
|
118
|
+
}
|
|
119
|
+
export interface ListStagesResponse {
|
|
120
|
+
stages: StageSummary[] | undefined;
|
|
121
|
+
nextToken?: string;
|
|
122
|
+
}
|
|
123
|
+
export declare class InternalServerException extends __BaseException {
|
|
124
|
+
readonly name: "InternalServerException";
|
|
125
|
+
readonly $fault: "server";
|
|
126
|
+
exceptionMessage?: string;
|
|
127
|
+
constructor(
|
|
128
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
export interface ListTagsForResourceRequest {
|
|
132
|
+
resourceArn: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface ListTagsForResourceResponse {
|
|
135
|
+
tags: Record<string, string> | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface TagResourceRequest {
|
|
138
|
+
resourceArn: string | undefined;
|
|
139
|
+
tags: Record<string, string> | undefined;
|
|
140
|
+
}
|
|
141
|
+
export interface TagResourceResponse {}
|
|
142
|
+
export interface UntagResourceRequest {
|
|
143
|
+
resourceArn: string | undefined;
|
|
144
|
+
tagKeys: string[] | undefined;
|
|
145
|
+
}
|
|
146
|
+
export interface UntagResourceResponse {}
|
|
147
|
+
export interface UpdateStageRequest {
|
|
148
|
+
arn: string | undefined;
|
|
149
|
+
name?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface UpdateStageResponse {
|
|
152
|
+
stage?: Stage;
|
|
153
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListStagesCommandInput,
|
|
4
|
+
ListStagesCommandOutput,
|
|
5
|
+
} from "../commands/ListStagesCommand";
|
|
6
|
+
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListStages(
|
|
8
|
+
config: IVSRealTimePaginationConfiguration,
|
|
9
|
+
input: ListStagesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListStagesCommandOutput>;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@aws-sdk/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
CreateParticipantTokenCommandInput,
|
|
8
|
+
CreateParticipantTokenCommandOutput,
|
|
9
|
+
} from "../commands/CreateParticipantTokenCommand";
|
|
10
|
+
import {
|
|
11
|
+
CreateStageCommandInput,
|
|
12
|
+
CreateStageCommandOutput,
|
|
13
|
+
} from "../commands/CreateStageCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteStageCommandInput,
|
|
16
|
+
DeleteStageCommandOutput,
|
|
17
|
+
} from "../commands/DeleteStageCommand";
|
|
18
|
+
import {
|
|
19
|
+
DisconnectParticipantCommandInput,
|
|
20
|
+
DisconnectParticipantCommandOutput,
|
|
21
|
+
} from "../commands/DisconnectParticipantCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetStageCommandInput,
|
|
24
|
+
GetStageCommandOutput,
|
|
25
|
+
} from "../commands/GetStageCommand";
|
|
26
|
+
import {
|
|
27
|
+
ListStagesCommandInput,
|
|
28
|
+
ListStagesCommandOutput,
|
|
29
|
+
} from "../commands/ListStagesCommand";
|
|
30
|
+
import {
|
|
31
|
+
ListTagsForResourceCommandInput,
|
|
32
|
+
ListTagsForResourceCommandOutput,
|
|
33
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
34
|
+
import {
|
|
35
|
+
TagResourceCommandInput,
|
|
36
|
+
TagResourceCommandOutput,
|
|
37
|
+
} from "../commands/TagResourceCommand";
|
|
38
|
+
import {
|
|
39
|
+
UntagResourceCommandInput,
|
|
40
|
+
UntagResourceCommandOutput,
|
|
41
|
+
} from "../commands/UntagResourceCommand";
|
|
42
|
+
import {
|
|
43
|
+
UpdateStageCommandInput,
|
|
44
|
+
UpdateStageCommandOutput,
|
|
45
|
+
} from "../commands/UpdateStageCommand";
|
|
46
|
+
export declare const serializeAws_restJson1CreateParticipantTokenCommand: (
|
|
47
|
+
input: CreateParticipantTokenCommandInput,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<__HttpRequest>;
|
|
50
|
+
export declare const serializeAws_restJson1CreateStageCommand: (
|
|
51
|
+
input: CreateStageCommandInput,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<__HttpRequest>;
|
|
54
|
+
export declare const serializeAws_restJson1DeleteStageCommand: (
|
|
55
|
+
input: DeleteStageCommandInput,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<__HttpRequest>;
|
|
58
|
+
export declare const serializeAws_restJson1DisconnectParticipantCommand: (
|
|
59
|
+
input: DisconnectParticipantCommandInput,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const serializeAws_restJson1GetStageCommand: (
|
|
63
|
+
input: GetStageCommandInput,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<__HttpRequest>;
|
|
66
|
+
export declare const serializeAws_restJson1ListStagesCommand: (
|
|
67
|
+
input: ListStagesCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const serializeAws_restJson1ListTagsForResourceCommand: (
|
|
71
|
+
input: ListTagsForResourceCommandInput,
|
|
72
|
+
context: __SerdeContext
|
|
73
|
+
) => Promise<__HttpRequest>;
|
|
74
|
+
export declare const serializeAws_restJson1TagResourceCommand: (
|
|
75
|
+
input: TagResourceCommandInput,
|
|
76
|
+
context: __SerdeContext
|
|
77
|
+
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const serializeAws_restJson1UntagResourceCommand: (
|
|
79
|
+
input: UntagResourceCommandInput,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<__HttpRequest>;
|
|
82
|
+
export declare const serializeAws_restJson1UpdateStageCommand: (
|
|
83
|
+
input: UpdateStageCommandInput,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<__HttpRequest>;
|
|
86
|
+
export declare const deserializeAws_restJson1CreateParticipantTokenCommand: (
|
|
87
|
+
output: __HttpResponse,
|
|
88
|
+
context: __SerdeContext
|
|
89
|
+
) => Promise<CreateParticipantTokenCommandOutput>;
|
|
90
|
+
export declare const deserializeAws_restJson1CreateStageCommand: (
|
|
91
|
+
output: __HttpResponse,
|
|
92
|
+
context: __SerdeContext
|
|
93
|
+
) => Promise<CreateStageCommandOutput>;
|
|
94
|
+
export declare const deserializeAws_restJson1DeleteStageCommand: (
|
|
95
|
+
output: __HttpResponse,
|
|
96
|
+
context: __SerdeContext
|
|
97
|
+
) => Promise<DeleteStageCommandOutput>;
|
|
98
|
+
export declare const deserializeAws_restJson1DisconnectParticipantCommand: (
|
|
99
|
+
output: __HttpResponse,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<DisconnectParticipantCommandOutput>;
|
|
102
|
+
export declare const deserializeAws_restJson1GetStageCommand: (
|
|
103
|
+
output: __HttpResponse,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<GetStageCommandOutput>;
|
|
106
|
+
export declare const deserializeAws_restJson1ListStagesCommand: (
|
|
107
|
+
output: __HttpResponse,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<ListStagesCommandOutput>;
|
|
110
|
+
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (
|
|
111
|
+
output: __HttpResponse,
|
|
112
|
+
context: __SerdeContext
|
|
113
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
114
|
+
export declare const deserializeAws_restJson1TagResourceCommand: (
|
|
115
|
+
output: __HttpResponse,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<TagResourceCommandOutput>;
|
|
118
|
+
export declare const deserializeAws_restJson1UntagResourceCommand: (
|
|
119
|
+
output: __HttpResponse,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
122
|
+
export declare const deserializeAws_restJson1UpdateStageCommand: (
|
|
123
|
+
output: __HttpResponse,
|
|
124
|
+
context: __SerdeContext
|
|
125
|
+
) => Promise<UpdateStageCommandOutput>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { IVSRealTimeClientConfig } from "./IVSRealTimeClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
|
+
import("@aws-sdk/types").UserAgent
|
|
14
|
+
>;
|
|
15
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
16
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
|
+
requestHandler:
|
|
18
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
19
|
+
any,
|
|
20
|
+
any,
|
|
21
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
|
+
> &
|
|
23
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
24
|
+
| RequestHandler;
|
|
25
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
26
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
+
apiVersion: string;
|
|
31
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
serviceId: string;
|
|
38
|
+
logger: import("@aws-sdk/types").Logger;
|
|
39
|
+
endpoint?:
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(
|
|
48
|
+
| string
|
|
49
|
+
| import("@aws-sdk/types").Provider<string>
|
|
50
|
+
| import("@aws-sdk/types").Endpoint
|
|
51
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
52
|
+
| import("@aws-sdk/types").EndpointV2
|
|
53
|
+
| import("@aws-sdk/types").Provider<
|
|
54
|
+
import("@aws-sdk/types").EndpointV2
|
|
55
|
+
>
|
|
56
|
+
))
|
|
57
|
+
| undefined;
|
|
58
|
+
endpointProvider: (
|
|
59
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
60
|
+
context?: {
|
|
61
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
62
|
+
}
|
|
63
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
64
|
+
tls?: boolean | undefined;
|
|
65
|
+
retryStrategy?:
|
|
66
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
67
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
68
|
+
| undefined;
|
|
69
|
+
credentials?:
|
|
70
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
71
|
+
| import("@aws-sdk/types").Provider<
|
|
72
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
+
>
|
|
74
|
+
| undefined;
|
|
75
|
+
signer?:
|
|
76
|
+
| import("@aws-sdk/types").RequestSigner
|
|
77
|
+
| ((
|
|
78
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
79
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
80
|
+
| undefined;
|
|
81
|
+
signingEscapePath?: boolean | undefined;
|
|
82
|
+
systemClockOffset?: number | undefined;
|
|
83
|
+
signingRegion?: string | undefined;
|
|
84
|
+
signerConstructor?:
|
|
85
|
+
| (new (
|
|
86
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
87
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
88
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
89
|
+
| undefined;
|
|
90
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
91
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { IVSRealTimeClientConfig } from "./IVSRealTimeClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
|
+
import("@aws-sdk/types").UserAgent
|
|
14
|
+
>;
|
|
15
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
16
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
requestHandler:
|
|
18
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
19
|
+
any,
|
|
20
|
+
any,
|
|
21
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
|
+
> &
|
|
23
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
24
|
+
| RequestHandler;
|
|
25
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
26
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
+
apiVersion: string;
|
|
31
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
serviceId: string;
|
|
38
|
+
logger: import("@aws-sdk/types").Logger;
|
|
39
|
+
endpoint?:
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(
|
|
48
|
+
| string
|
|
49
|
+
| import("@aws-sdk/types").Provider<string>
|
|
50
|
+
| import("@aws-sdk/types").Endpoint
|
|
51
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
52
|
+
| import("@aws-sdk/types").EndpointV2
|
|
53
|
+
| import("@aws-sdk/types").Provider<
|
|
54
|
+
import("@aws-sdk/types").EndpointV2
|
|
55
|
+
>
|
|
56
|
+
))
|
|
57
|
+
| undefined;
|
|
58
|
+
endpointProvider: (
|
|
59
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
60
|
+
context?: {
|
|
61
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
62
|
+
}
|
|
63
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
64
|
+
tls?: boolean | undefined;
|
|
65
|
+
retryStrategy?:
|
|
66
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
67
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
68
|
+
| undefined;
|
|
69
|
+
credentials?:
|
|
70
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
71
|
+
| import("@aws-sdk/types").Provider<
|
|
72
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
+
>
|
|
74
|
+
| undefined;
|
|
75
|
+
signer?:
|
|
76
|
+
| import("@aws-sdk/types").RequestSigner
|
|
77
|
+
| ((
|
|
78
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
79
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
80
|
+
| undefined;
|
|
81
|
+
signingEscapePath?: boolean | undefined;
|
|
82
|
+
systemClockOffset?: number | undefined;
|
|
83
|
+
signingRegion?: string | undefined;
|
|
84
|
+
signerConstructor?:
|
|
85
|
+
| (new (
|
|
86
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
87
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
88
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
89
|
+
| undefined;
|
|
90
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
91
|
+
};
|