@aws-sdk/client-ivs-realtime 3.300.0 → 3.303.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/models/models_0.js +4 -5
- package/dist-es/models/models_0.js +4 -5
- package/dist-types/commands/CreateParticipantTokenCommand.d.ts +3 -3
- package/dist-types/commands/CreateStageCommand.d.ts +6 -6
- package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
- package/dist-types/commands/DisconnectParticipantCommand.d.ts +1 -1
- package/dist-types/commands/GetStageCommand.d.ts +1 -1
- package/dist-types/commands/ListStagesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStageCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +9 -4
- package/dist-types/ts3.4/models/models_0.d.ts +6 -4
- package/package.json +34 -34
|
@@ -16,11 +16,10 @@ class AccessDeniedException extends IVSRealTimeServiceException_1.IVSRealTimeSer
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(ParticipantTokenCapability = exports.ParticipantTokenCapability || (exports.ParticipantTokenCapability = {}));
|
|
19
|
+
exports.ParticipantTokenCapability = {
|
|
20
|
+
PUBLISH: "PUBLISH",
|
|
21
|
+
SUBSCRIBE: "SUBSCRIBE",
|
|
22
|
+
};
|
|
24
23
|
class PendingVerification extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
25
24
|
constructor(opts) {
|
|
26
25
|
super({
|
|
@@ -12,11 +12,10 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
this.exceptionMessage = opts.exceptionMessage;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})(ParticipantTokenCapability || (ParticipantTokenCapability = {}));
|
|
15
|
+
export const ParticipantTokenCapability = {
|
|
16
|
+
PUBLISH: "PUBLISH",
|
|
17
|
+
SUBSCRIBE: "SUBSCRIBE",
|
|
18
|
+
};
|
|
20
19
|
export class PendingVerification extends __BaseException {
|
|
21
20
|
constructor(opts) {
|
|
22
21
|
super({
|
|
@@ -28,14 +28,14 @@ export interface CreateParticipantTokenCommandOutput extends CreateParticipantTo
|
|
|
28
28
|
* import { IVSRealTimeClient, CreateParticipantTokenCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
29
29
|
* // const { IVSRealTimeClient, CreateParticipantTokenCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
30
30
|
* const client = new IVSRealTimeClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateParticipantTokenRequest
|
|
32
32
|
* stageArn: "STRING_VALUE", // required
|
|
33
33
|
* duration: Number("int"),
|
|
34
34
|
* userId: "STRING_VALUE",
|
|
35
|
-
* attributes: {
|
|
35
|
+
* attributes: { // ParticipantTokenAttributes
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
|
-
* capabilities: [
|
|
38
|
+
* capabilities: [ // ParticipantTokenCapabilities
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
@@ -26,21 +26,21 @@ export interface CreateStageCommandOutput extends CreateStageResponse, __Metadat
|
|
|
26
26
|
* import { IVSRealTimeClient, CreateStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, CreateStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateStageRequest
|
|
30
30
|
* name: "STRING_VALUE",
|
|
31
|
-
* participantTokenConfigurations: [
|
|
32
|
-
* {
|
|
31
|
+
* participantTokenConfigurations: [ // ParticipantTokenConfigurations
|
|
32
|
+
* { // ParticipantTokenConfiguration
|
|
33
33
|
* duration: Number("int"),
|
|
34
34
|
* userId: "STRING_VALUE",
|
|
35
|
-
* attributes: {
|
|
35
|
+
* attributes: { // ParticipantTokenAttributes
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
|
-
* capabilities: [
|
|
38
|
+
* capabilities: [ // ParticipantTokenCapabilities
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
|
-
* tags: {
|
|
43
|
+
* tags: { // Tags
|
|
44
44
|
* "<keys>": "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteStageCommandOutput extends DeleteStageResponse, __Metadat
|
|
|
26
26
|
* import { IVSRealTimeClient, DeleteStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, DeleteStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteStageRequest
|
|
30
30
|
* arn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteStageCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DisconnectParticipantCommandOutput extends DisconnectParticipan
|
|
|
26
26
|
* import { IVSRealTimeClient, DisconnectParticipantCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, DisconnectParticipantCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisconnectParticipantRequest
|
|
30
30
|
* stageArn: "STRING_VALUE", // required
|
|
31
31
|
* participantId: "STRING_VALUE", // required
|
|
32
32
|
* reason: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface GetStageCommandOutput extends GetStageResponse, __MetadataBeare
|
|
|
26
26
|
* import { IVSRealTimeClient, GetStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, GetStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetStageRequest
|
|
30
30
|
* arn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetStageCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListStagesCommandOutput extends ListStagesResponse, __MetadataB
|
|
|
26
26
|
* import { IVSRealTimeClient, ListStagesCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, ListStagesCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListStagesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { IVSRealTimeClient, ListTagsForResourceCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { IVSRealTimeClient, TagResourceCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, TagResourceCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // Tags // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { IVSRealTimeClient, UntagResourceCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, UntagResourceCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdateStageCommandOutput extends UpdateStageResponse, __Metadat
|
|
|
26
26
|
* import { IVSRealTimeClient, UpdateStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
27
27
|
* // const { IVSRealTimeClient, UpdateStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
28
28
|
* const client = new IVSRealTimeClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateStageRequest
|
|
30
30
|
* arn: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -18,11 +18,16 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* @public
|
|
21
|
+
* @enum
|
|
21
22
|
*/
|
|
22
|
-
export declare
|
|
23
|
-
PUBLISH
|
|
24
|
-
SUBSCRIBE
|
|
25
|
-
}
|
|
23
|
+
export declare const ParticipantTokenCapability: {
|
|
24
|
+
readonly PUBLISH: "PUBLISH";
|
|
25
|
+
readonly SUBSCRIBE: "SUBSCRIBE";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export declare type ParticipantTokenCapability = (typeof ParticipantTokenCapability)[keyof typeof ParticipantTokenCapability];
|
|
26
31
|
/**
|
|
27
32
|
* @public
|
|
28
33
|
*/
|
|
@@ -8,10 +8,12 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
PUBLISH
|
|
13
|
-
SUBSCRIBE
|
|
14
|
-
}
|
|
11
|
+
export declare const ParticipantTokenCapability: {
|
|
12
|
+
readonly PUBLISH: "PUBLISH";
|
|
13
|
+
readonly SUBSCRIBE: "SUBSCRIBE";
|
|
14
|
+
};
|
|
15
|
+
export declare type ParticipantTokenCapability =
|
|
16
|
+
(typeof ParticipantTokenCapability)[keyof typeof ParticipantTokenCapability];
|
|
15
17
|
export interface CreateParticipantTokenRequest {
|
|
16
18
|
stageArn: string | undefined;
|
|
17
19
|
duration?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs-realtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|