@aws-sdk/client-ivs-realtime 3.1154.0 → 3.1156.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/README.md +7 -0
- package/dist-cjs/index.js +26 -1
- package/dist-es/IVSRealTime.js +2 -0
- package/dist-es/commands/RevokeConnectionTokenCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +17 -0
- package/dist-types/IVSRealTime.d.ts +7 -0
- package/dist-types/IVSRealTimeClient.d.ts +5 -3
- package/dist-types/commands/RevokeConnectionTokenCommand.d.ts +78 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/IVSRealTime.d.ts +17 -0
- package/dist-types/ts3.4/IVSRealTimeClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/RevokeConnectionTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -398,6 +398,13 @@ ListTagsForResource
|
|
|
398
398
|
</details>
|
|
399
399
|
<details>
|
|
400
400
|
<summary>
|
|
401
|
+
RevokeConnectionToken
|
|
402
|
+
</summary>
|
|
403
|
+
|
|
404
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/RevokeConnectionTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/RevokeConnectionTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/RevokeConnectionTokenCommandOutput/)
|
|
405
|
+
</details>
|
|
406
|
+
<details>
|
|
407
|
+
<summary>
|
|
401
408
|
StartComposition
|
|
402
409
|
</summary>
|
|
403
410
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1155.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -501,6 +501,9 @@ const _PTL = "ParticipantTokenList";
|
|
|
501
501
|
const _PTS = "ParticipantTokenString";
|
|
502
502
|
const _PV = "PendingVerification";
|
|
503
503
|
const _RC = "RecordingConfiguration";
|
|
504
|
+
const _RCT = "RevokeConnectionToken";
|
|
505
|
+
const _RCTR = "RevokeConnectionTokenRequest";
|
|
506
|
+
const _RCTRe = "RevokeConnectionTokenResponse";
|
|
504
507
|
const _RIC = "RedundantIngestCredential";
|
|
505
508
|
const _RICe = "RedundantIngestCredentials";
|
|
506
509
|
const _RNFE = "ResourceNotFoundException";
|
|
@@ -684,6 +687,7 @@ const _sto = "storage";
|
|
|
684
687
|
const _t = "tags";
|
|
685
688
|
const _tC = "thumbnailConfiguration";
|
|
686
689
|
const _tCh = "thumbnailConfigurations";
|
|
690
|
+
const _tI = "tokenId";
|
|
687
691
|
const _tIS = "targetIntervalSeconds";
|
|
688
692
|
const _tK = "tagKeys";
|
|
689
693
|
const _tSDS = "targetSegmentDurationSeconds";
|
|
@@ -1211,6 +1215,16 @@ var RedundantIngestCredential$ = [3, n0, _RIC,
|
|
|
1211
1215
|
[_pI, _sK],
|
|
1212
1216
|
[0, [() => StreamKey, 0]]
|
|
1213
1217
|
];
|
|
1218
|
+
var RevokeConnectionTokenRequest$ = [3, n0, _RCTR,
|
|
1219
|
+
0,
|
|
1220
|
+
[_tI],
|
|
1221
|
+
[0], 1
|
|
1222
|
+
];
|
|
1223
|
+
var RevokeConnectionTokenResponse$ = [3, n0, _RCTRe,
|
|
1224
|
+
0,
|
|
1225
|
+
[],
|
|
1226
|
+
[]
|
|
1227
|
+
];
|
|
1214
1228
|
var S3DestinationConfiguration$ = [3, n0, _SDC,
|
|
1215
1229
|
0,
|
|
1216
1230
|
[_sCA, _eCAn, _rC, _tCh],
|
|
@@ -1492,6 +1506,9 @@ var ListStorageConfigurations$ = [9, n0, _LSC,
|
|
|
1492
1506
|
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1493
1507
|
{ [_ht]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1494
1508
|
];
|
|
1509
|
+
var RevokeConnectionToken$ = [9, n0, _RCT,
|
|
1510
|
+
{ [_ht]: ["POST", "/RevokeConnectionToken", 200] }, () => RevokeConnectionTokenRequest$, () => RevokeConnectionTokenResponse$
|
|
1511
|
+
];
|
|
1495
1512
|
var StartComposition$ = [9, n0, _SCt,
|
|
1496
1513
|
{ [_ht]: ["POST", "/StartComposition", 200] }, () => StartCompositionRequest$, () => StartCompositionResponse$
|
|
1497
1514
|
];
|
|
@@ -1760,6 +1777,9 @@ class ListStorageConfigurationsCommand extends command(_ep0, _mw0, "ListStorageC
|
|
|
1760
1777
|
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1761
1778
|
}
|
|
1762
1779
|
|
|
1780
|
+
class RevokeConnectionTokenCommand extends command(_ep0, _mw0, "RevokeConnectionToken", RevokeConnectionToken$) {
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1763
1783
|
class StartCompositionCommand extends command(_ep0, _mw0, "StartComposition", StartComposition$) {
|
|
1764
1784
|
}
|
|
1765
1785
|
|
|
@@ -1836,6 +1856,7 @@ const commands = {
|
|
|
1836
1856
|
ListStageSessionsCommand,
|
|
1837
1857
|
ListStorageConfigurationsCommand,
|
|
1838
1858
|
ListTagsForResourceCommand,
|
|
1859
|
+
RevokeConnectionTokenCommand,
|
|
1839
1860
|
StartCompositionCommand,
|
|
1840
1861
|
StartParticipantReplicationCommand,
|
|
1841
1862
|
StopCompositionCommand,
|
|
@@ -2175,6 +2196,10 @@ exports.ReplicationState = ReplicationState;
|
|
|
2175
2196
|
exports.ReplicationType = ReplicationType;
|
|
2176
2197
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2177
2198
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
2199
|
+
exports.RevokeConnectionToken$ = RevokeConnectionToken$;
|
|
2200
|
+
exports.RevokeConnectionTokenCommand = RevokeConnectionTokenCommand;
|
|
2201
|
+
exports.RevokeConnectionTokenRequest$ = RevokeConnectionTokenRequest$;
|
|
2202
|
+
exports.RevokeConnectionTokenResponse$ = RevokeConnectionTokenResponse$;
|
|
2178
2203
|
exports.S3DestinationConfiguration$ = S3DestinationConfiguration$;
|
|
2179
2204
|
exports.S3Detail$ = S3Detail$;
|
|
2180
2205
|
exports.S3StorageConfiguration$ = S3StorageConfiguration$;
|
package/dist-es/IVSRealTime.js
CHANGED
|
@@ -30,6 +30,7 @@ import { ListStagesCommand, } from "./commands/ListStagesCommand";
|
|
|
30
30
|
import { ListStageSessionsCommand, } from "./commands/ListStageSessionsCommand";
|
|
31
31
|
import { ListStorageConfigurationsCommand, } from "./commands/ListStorageConfigurationsCommand";
|
|
32
32
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
33
|
+
import { RevokeConnectionTokenCommand, } from "./commands/RevokeConnectionTokenCommand";
|
|
33
34
|
import { StartCompositionCommand, } from "./commands/StartCompositionCommand";
|
|
34
35
|
import { StartParticipantReplicationCommand, } from "./commands/StartParticipantReplicationCommand";
|
|
35
36
|
import { StopCompositionCommand, } from "./commands/StopCompositionCommand";
|
|
@@ -81,6 +82,7 @@ const commands = {
|
|
|
81
82
|
ListStageSessionsCommand,
|
|
82
83
|
ListStorageConfigurationsCommand,
|
|
83
84
|
ListTagsForResourceCommand,
|
|
85
|
+
RevokeConnectionTokenCommand,
|
|
84
86
|
StartCompositionCommand,
|
|
85
87
|
StartParticipantReplicationCommand,
|
|
86
88
|
StopCompositionCommand,
|
|
@@ -29,6 +29,7 @@ export * from "./ListStageSessionsCommand";
|
|
|
29
29
|
export * from "./ListStagesCommand";
|
|
30
30
|
export * from "./ListStorageConfigurationsCommand";
|
|
31
31
|
export * from "./ListTagsForResourceCommand";
|
|
32
|
+
export * from "./RevokeConnectionTokenCommand";
|
|
32
33
|
export * from "./StartCompositionCommand";
|
|
33
34
|
export * from "./StartParticipantReplicationCommand";
|
|
34
35
|
export * from "./StopCompositionCommand";
|
|
@@ -142,6 +142,9 @@ const _PTL = "ParticipantTokenList";
|
|
|
142
142
|
const _PTS = "ParticipantTokenString";
|
|
143
143
|
const _PV = "PendingVerification";
|
|
144
144
|
const _RC = "RecordingConfiguration";
|
|
145
|
+
const _RCT = "RevokeConnectionToken";
|
|
146
|
+
const _RCTR = "RevokeConnectionTokenRequest";
|
|
147
|
+
const _RCTRe = "RevokeConnectionTokenResponse";
|
|
145
148
|
const _RIC = "RedundantIngestCredential";
|
|
146
149
|
const _RICe = "RedundantIngestCredentials";
|
|
147
150
|
const _RNFE = "ResourceNotFoundException";
|
|
@@ -325,6 +328,7 @@ const _sto = "storage";
|
|
|
325
328
|
const _t = "tags";
|
|
326
329
|
const _tC = "thumbnailConfiguration";
|
|
327
330
|
const _tCh = "thumbnailConfigurations";
|
|
331
|
+
const _tI = "tokenId";
|
|
328
332
|
const _tIS = "targetIntervalSeconds";
|
|
329
333
|
const _tK = "tagKeys";
|
|
330
334
|
const _tSDS = "targetSegmentDurationSeconds";
|
|
@@ -855,6 +859,16 @@ export var RedundantIngestCredential$ = [3, n0, _RIC,
|
|
|
855
859
|
[_pI, _sK],
|
|
856
860
|
[0, [() => StreamKey, 0]]
|
|
857
861
|
];
|
|
862
|
+
export var RevokeConnectionTokenRequest$ = [3, n0, _RCTR,
|
|
863
|
+
0,
|
|
864
|
+
[_tI],
|
|
865
|
+
[0], 1
|
|
866
|
+
];
|
|
867
|
+
export var RevokeConnectionTokenResponse$ = [3, n0, _RCTRe,
|
|
868
|
+
0,
|
|
869
|
+
[],
|
|
870
|
+
[]
|
|
871
|
+
];
|
|
858
872
|
export var S3DestinationConfiguration$ = [3, n0, _SDC,
|
|
859
873
|
0,
|
|
860
874
|
[_sCA, _eCAn, _rC, _tCh],
|
|
@@ -1144,6 +1158,9 @@ export var ListStorageConfigurations$ = [9, n0, _LSC,
|
|
|
1144
1158
|
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1145
1159
|
{ [_ht]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1146
1160
|
];
|
|
1161
|
+
export var RevokeConnectionToken$ = [9, n0, _RCT,
|
|
1162
|
+
{ [_ht]: ["POST", "/RevokeConnectionToken", 200] }, () => RevokeConnectionTokenRequest$, () => RevokeConnectionTokenResponse$
|
|
1163
|
+
];
|
|
1147
1164
|
export var StartComposition$ = [9, n0, _SCt,
|
|
1148
1165
|
{ [_ht]: ["POST", "/StartComposition", 200] }, () => StartCompositionRequest$, () => StartCompositionResponse$
|
|
1149
1166
|
];
|
|
@@ -30,6 +30,7 @@ import { type ListStagesCommandInput, type ListStagesCommandOutput } from "./com
|
|
|
30
30
|
import { type ListStageSessionsCommandInput, type ListStageSessionsCommandOutput } from "./commands/ListStageSessionsCommand";
|
|
31
31
|
import { type ListStorageConfigurationsCommandInput, type ListStorageConfigurationsCommandOutput } from "./commands/ListStorageConfigurationsCommand";
|
|
32
32
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
|
+
import { type RevokeConnectionTokenCommandInput, type RevokeConnectionTokenCommandOutput } from "./commands/RevokeConnectionTokenCommand";
|
|
33
34
|
import { type StartCompositionCommandInput, type StartCompositionCommandOutput } from "./commands/StartCompositionCommand";
|
|
34
35
|
import { type StartParticipantReplicationCommandInput, type StartParticipantReplicationCommandOutput } from "./commands/StartParticipantReplicationCommand";
|
|
35
36
|
import { type StopCompositionCommandInput, type StopCompositionCommandOutput } from "./commands/StopCompositionCommand";
|
|
@@ -240,6 +241,12 @@ export interface IVSRealTime {
|
|
|
240
241
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: IVSRealTimeRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
241
242
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
242
243
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: IVSRealTimeRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link RevokeConnectionTokenCommand}
|
|
246
|
+
*/
|
|
247
|
+
revokeConnectionToken(args: RevokeConnectionTokenCommandInput, options?: IVSRealTimeRequestOptions): Promise<RevokeConnectionTokenCommandOutput>;
|
|
248
|
+
revokeConnectionToken(args: RevokeConnectionTokenCommandInput, cb: (err: any, data?: RevokeConnectionTokenCommandOutput) => void): void;
|
|
249
|
+
revokeConnectionToken(args: RevokeConnectionTokenCommandInput, options: IVSRealTimeRequestOptions, cb: (err: any, data?: RevokeConnectionTokenCommandOutput) => void): void;
|
|
243
250
|
/**
|
|
244
251
|
* @see {@link StartCompositionCommand}
|
|
245
252
|
*/
|
|
@@ -37,6 +37,7 @@ import type { ListStagesCommandInput, ListStagesCommandOutput } from "./commands
|
|
|
37
37
|
import type { ListStageSessionsCommandInput, ListStageSessionsCommandOutput } from "./commands/ListStageSessionsCommand";
|
|
38
38
|
import type { ListStorageConfigurationsCommandInput, ListStorageConfigurationsCommandOutput } from "./commands/ListStorageConfigurationsCommand";
|
|
39
39
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
40
|
+
import type { RevokeConnectionTokenCommandInput, RevokeConnectionTokenCommandOutput } from "./commands/RevokeConnectionTokenCommand";
|
|
40
41
|
import type { StartCompositionCommandInput, StartCompositionCommandOutput } from "./commands/StartCompositionCommand";
|
|
41
42
|
import type { StartParticipantReplicationCommandInput, StartParticipantReplicationCommandOutput } from "./commands/StartParticipantReplicationCommand";
|
|
42
43
|
import type { StopCompositionCommandInput, StopCompositionCommandOutput } from "./commands/StopCompositionCommand";
|
|
@@ -51,11 +52,11 @@ export { __Client };
|
|
|
51
52
|
/**
|
|
52
53
|
* @public
|
|
53
54
|
*/
|
|
54
|
-
export type ServiceInputTypes = CreateEncoderConfigurationCommandInput | CreateIngestConfigurationCommandInput | CreateParticipantTokenCommandInput | CreateStageCommandInput | CreateStorageConfigurationCommandInput | DeleteEncoderConfigurationCommandInput | DeleteIngestConfigurationCommandInput | DeletePublicKeyCommandInput | DeleteStageCommandInput | DeleteStorageConfigurationCommandInput | DisconnectParticipantCommandInput | GetCompositionCommandInput | GetEncoderConfigurationCommandInput | GetIngestConfigurationCommandInput | GetParticipantCommandInput | GetPublicKeyCommandInput | GetStageCommandInput | GetStageSessionCommandInput | GetStorageConfigurationCommandInput | ImportPublicKeyCommandInput | ListCompositionsCommandInput | ListEncoderConfigurationsCommandInput | ListIngestConfigurationsCommandInput | ListParticipantEventsCommandInput | ListParticipantReplicasCommandInput | ListParticipantsCommandInput | ListPublicKeysCommandInput | ListStageSessionsCommandInput | ListStagesCommandInput | ListStorageConfigurationsCommandInput | ListTagsForResourceCommandInput | StartCompositionCommandInput | StartParticipantReplicationCommandInput | StopCompositionCommandInput | StopParticipantReplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIngestConfigurationCommandInput | UpdateStageCommandInput;
|
|
55
|
+
export type ServiceInputTypes = CreateEncoderConfigurationCommandInput | CreateIngestConfigurationCommandInput | CreateParticipantTokenCommandInput | CreateStageCommandInput | CreateStorageConfigurationCommandInput | DeleteEncoderConfigurationCommandInput | DeleteIngestConfigurationCommandInput | DeletePublicKeyCommandInput | DeleteStageCommandInput | DeleteStorageConfigurationCommandInput | DisconnectParticipantCommandInput | GetCompositionCommandInput | GetEncoderConfigurationCommandInput | GetIngestConfigurationCommandInput | GetParticipantCommandInput | GetPublicKeyCommandInput | GetStageCommandInput | GetStageSessionCommandInput | GetStorageConfigurationCommandInput | ImportPublicKeyCommandInput | ListCompositionsCommandInput | ListEncoderConfigurationsCommandInput | ListIngestConfigurationsCommandInput | ListParticipantEventsCommandInput | ListParticipantReplicasCommandInput | ListParticipantsCommandInput | ListPublicKeysCommandInput | ListStageSessionsCommandInput | ListStagesCommandInput | ListStorageConfigurationsCommandInput | ListTagsForResourceCommandInput | RevokeConnectionTokenCommandInput | StartCompositionCommandInput | StartParticipantReplicationCommandInput | StopCompositionCommandInput | StopParticipantReplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIngestConfigurationCommandInput | UpdateStageCommandInput;
|
|
55
56
|
/**
|
|
56
57
|
* @public
|
|
57
58
|
*/
|
|
58
|
-
export type ServiceOutputTypes = CreateEncoderConfigurationCommandOutput | CreateIngestConfigurationCommandOutput | CreateParticipantTokenCommandOutput | CreateStageCommandOutput | CreateStorageConfigurationCommandOutput | DeleteEncoderConfigurationCommandOutput | DeleteIngestConfigurationCommandOutput | DeletePublicKeyCommandOutput | DeleteStageCommandOutput | DeleteStorageConfigurationCommandOutput | DisconnectParticipantCommandOutput | GetCompositionCommandOutput | GetEncoderConfigurationCommandOutput | GetIngestConfigurationCommandOutput | GetParticipantCommandOutput | GetPublicKeyCommandOutput | GetStageCommandOutput | GetStageSessionCommandOutput | GetStorageConfigurationCommandOutput | ImportPublicKeyCommandOutput | ListCompositionsCommandOutput | ListEncoderConfigurationsCommandOutput | ListIngestConfigurationsCommandOutput | ListParticipantEventsCommandOutput | ListParticipantReplicasCommandOutput | ListParticipantsCommandOutput | ListPublicKeysCommandOutput | ListStageSessionsCommandOutput | ListStagesCommandOutput | ListStorageConfigurationsCommandOutput | ListTagsForResourceCommandOutput | StartCompositionCommandOutput | StartParticipantReplicationCommandOutput | StopCompositionCommandOutput | StopParticipantReplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIngestConfigurationCommandOutput | UpdateStageCommandOutput;
|
|
59
|
+
export type ServiceOutputTypes = CreateEncoderConfigurationCommandOutput | CreateIngestConfigurationCommandOutput | CreateParticipantTokenCommandOutput | CreateStageCommandOutput | CreateStorageConfigurationCommandOutput | DeleteEncoderConfigurationCommandOutput | DeleteIngestConfigurationCommandOutput | DeletePublicKeyCommandOutput | DeleteStageCommandOutput | DeleteStorageConfigurationCommandOutput | DisconnectParticipantCommandOutput | GetCompositionCommandOutput | GetEncoderConfigurationCommandOutput | GetIngestConfigurationCommandOutput | GetParticipantCommandOutput | GetPublicKeyCommandOutput | GetStageCommandOutput | GetStageSessionCommandOutput | GetStorageConfigurationCommandOutput | ImportPublicKeyCommandOutput | ListCompositionsCommandOutput | ListEncoderConfigurationsCommandOutput | ListIngestConfigurationsCommandOutput | ListParticipantEventsCommandOutput | ListParticipantReplicasCommandOutput | ListParticipantsCommandOutput | ListPublicKeysCommandOutput | ListStageSessionsCommandOutput | ListStagesCommandOutput | ListStorageConfigurationsCommandOutput | ListTagsForResourceCommandOutput | RevokeConnectionTokenCommandOutput | StartCompositionCommandOutput | StartParticipantReplicationCommandOutput | StopCompositionCommandOutput | StopParticipantReplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIngestConfigurationCommandOutput | UpdateStageCommandOutput;
|
|
59
60
|
/**
|
|
60
61
|
* @public
|
|
61
62
|
*/
|
|
@@ -167,7 +168,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
167
168
|
maxAttempts?: number | __Provider<number>;
|
|
168
169
|
/**
|
|
169
170
|
* Specifies which retry algorithm to use.
|
|
170
|
-
*
|
|
171
|
+
* Accepted values are "standard" and "adaptive".
|
|
172
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
171
173
|
*
|
|
172
174
|
*/
|
|
173
175
|
retryMode?: string | __Provider<string>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RevokeConnectionTokenRequest, RevokeConnectionTokenResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RevokeConnectionTokenCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RevokeConnectionTokenCommandInput extends RevokeConnectionTokenRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RevokeConnectionTokenCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RevokeConnectionTokenCommandOutput extends RevokeConnectionTokenResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RevokeConnectionTokenCommand_base: {
|
|
22
|
+
new (input: RevokeConnectionTokenCommandInput): import("@smithy/core/client").CommandImpl<RevokeConnectionTokenCommandInput, RevokeConnectionTokenCommandOutput, import("..").IVSRealTimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RevokeConnectionTokenCommandInput): import("@smithy/core/client").CommandImpl<RevokeConnectionTokenCommandInput, RevokeConnectionTokenCommandOutput, import("..").IVSRealTimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Revokes the specified connection token so that it can no longer connect to a stage. This operation disconnects any participant currently connected with the revoked token.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { IVSRealTimeClient, RevokeConnectionTokenCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
|
|
32
|
+
* // const { IVSRealTimeClient, RevokeConnectionTokenCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
|
|
33
|
+
* // import type { IVSRealTimeClientConfig } from "@aws-sdk/client-ivs-realtime";
|
|
34
|
+
* const config = {}; // type is IVSRealTimeClientConfig
|
|
35
|
+
* const client = new IVSRealTimeClient(config);
|
|
36
|
+
* const input = { // RevokeConnectionTokenRequest
|
|
37
|
+
* tokenId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new RevokeConnectionTokenCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param RevokeConnectionTokenCommandInput - {@link RevokeConnectionTokenCommandInput}
|
|
46
|
+
* @returns {@link RevokeConnectionTokenCommandOutput}
|
|
47
|
+
* @see {@link RevokeConnectionTokenCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link RevokeConnectionTokenCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>Unexpected error during processing of request.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ValidationException} (client fault)
|
|
58
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link IVSRealTimeServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from IVSRealTime service.</p>
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class RevokeConnectionTokenCommand extends RevokeConnectionTokenCommand_base {
|
|
67
|
+
/** @internal type navigation helper, not in runtime. */
|
|
68
|
+
protected static __types: {
|
|
69
|
+
api: {
|
|
70
|
+
input: RevokeConnectionTokenRequest;
|
|
71
|
+
output: {};
|
|
72
|
+
};
|
|
73
|
+
sdk: {
|
|
74
|
+
input: RevokeConnectionTokenCommandInput;
|
|
75
|
+
output: RevokeConnectionTokenCommandOutput;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -29,6 +29,7 @@ export * from "./ListStageSessionsCommand";
|
|
|
29
29
|
export * from "./ListStagesCommand";
|
|
30
30
|
export * from "./ListStorageConfigurationsCommand";
|
|
31
31
|
export * from "./ListTagsForResourceCommand";
|
|
32
|
+
export * from "./RevokeConnectionTokenCommand";
|
|
32
33
|
export * from "./StartCompositionCommand";
|
|
33
34
|
export * from "./StartParticipantReplicationCommand";
|
|
34
35
|
export * from "./StopCompositionCommand";
|
|
@@ -2210,6 +2210,21 @@ export interface ListTagsForResourceResponse {
|
|
|
2210
2210
|
*/
|
|
2211
2211
|
tags: Record<string, string> | undefined;
|
|
2212
2212
|
}
|
|
2213
|
+
/**
|
|
2214
|
+
* @public
|
|
2215
|
+
*/
|
|
2216
|
+
export interface RevokeConnectionTokenRequest {
|
|
2217
|
+
/**
|
|
2218
|
+
* <p>The ID of the connection token to revoke.</p>
|
|
2219
|
+
* @public
|
|
2220
|
+
*/
|
|
2221
|
+
tokenId: string | undefined;
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* @public
|
|
2225
|
+
*/
|
|
2226
|
+
export interface RevokeConnectionTokenResponse {
|
|
2227
|
+
}
|
|
2213
2228
|
/**
|
|
2214
2229
|
* @public
|
|
2215
2230
|
*/
|
|
@@ -106,6 +106,8 @@ export declare var PublicKey$: StaticStructureSchema;
|
|
|
106
106
|
export declare var PublicKeySummary$: StaticStructureSchema;
|
|
107
107
|
export declare var RecordingConfiguration$: StaticStructureSchema;
|
|
108
108
|
export declare var RedundantIngestCredential$: StaticStructureSchema;
|
|
109
|
+
export declare var RevokeConnectionTokenRequest$: StaticStructureSchema;
|
|
110
|
+
export declare var RevokeConnectionTokenResponse$: StaticStructureSchema;
|
|
109
111
|
export declare var S3DestinationConfiguration$: StaticStructureSchema;
|
|
110
112
|
export declare var S3Detail$: StaticStructureSchema;
|
|
111
113
|
export declare var S3StorageConfiguration$: StaticStructureSchema;
|
|
@@ -164,6 +166,7 @@ export declare var ListStages$: StaticOperationSchema;
|
|
|
164
166
|
export declare var ListStageSessions$: StaticOperationSchema;
|
|
165
167
|
export declare var ListStorageConfigurations$: StaticOperationSchema;
|
|
166
168
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
169
|
+
export declare var RevokeConnectionToken$: StaticOperationSchema;
|
|
167
170
|
export declare var StartComposition$: StaticOperationSchema;
|
|
168
171
|
export declare var StartParticipantReplication$: StaticOperationSchema;
|
|
169
172
|
export declare var StopComposition$: StaticOperationSchema;
|
|
@@ -116,6 +116,10 @@ import {
|
|
|
116
116
|
ListTagsForResourceCommandInput,
|
|
117
117
|
ListTagsForResourceCommandOutput,
|
|
118
118
|
} from "./commands/ListTagsForResourceCommand";
|
|
119
|
+
import {
|
|
120
|
+
RevokeConnectionTokenCommandInput,
|
|
121
|
+
RevokeConnectionTokenCommandOutput,
|
|
122
|
+
} from "./commands/RevokeConnectionTokenCommand";
|
|
119
123
|
import {
|
|
120
124
|
StartCompositionCommandInput,
|
|
121
125
|
StartCompositionCommandOutput,
|
|
@@ -555,6 +559,19 @@ export interface IVSRealTime {
|
|
|
555
559
|
options: IVSRealTimeRequestOptions,
|
|
556
560
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
557
561
|
): void;
|
|
562
|
+
revokeConnectionToken(
|
|
563
|
+
args: RevokeConnectionTokenCommandInput,
|
|
564
|
+
options?: IVSRealTimeRequestOptions,
|
|
565
|
+
): Promise<RevokeConnectionTokenCommandOutput>;
|
|
566
|
+
revokeConnectionToken(
|
|
567
|
+
args: RevokeConnectionTokenCommandInput,
|
|
568
|
+
cb: (err: any, data?: RevokeConnectionTokenCommandOutput) => void,
|
|
569
|
+
): void;
|
|
570
|
+
revokeConnectionToken(
|
|
571
|
+
args: RevokeConnectionTokenCommandInput,
|
|
572
|
+
options: IVSRealTimeRequestOptions,
|
|
573
|
+
cb: (err: any, data?: RevokeConnectionTokenCommandOutput) => void,
|
|
574
|
+
): void;
|
|
558
575
|
startComposition(
|
|
559
576
|
args: StartCompositionCommandInput,
|
|
560
577
|
options?: IVSRealTimeRequestOptions,
|
|
@@ -145,6 +145,10 @@ import {
|
|
|
145
145
|
ListTagsForResourceCommandInput,
|
|
146
146
|
ListTagsForResourceCommandOutput,
|
|
147
147
|
} from "./commands/ListTagsForResourceCommand";
|
|
148
|
+
import {
|
|
149
|
+
RevokeConnectionTokenCommandInput,
|
|
150
|
+
RevokeConnectionTokenCommandOutput,
|
|
151
|
+
} from "./commands/RevokeConnectionTokenCommand";
|
|
148
152
|
import {
|
|
149
153
|
StartCompositionCommandInput,
|
|
150
154
|
StartCompositionCommandOutput,
|
|
@@ -210,6 +214,7 @@ export type ServiceInputTypes =
|
|
|
210
214
|
| ListStagesCommandInput
|
|
211
215
|
| ListStorageConfigurationsCommandInput
|
|
212
216
|
| ListTagsForResourceCommandInput
|
|
217
|
+
| RevokeConnectionTokenCommandInput
|
|
213
218
|
| StartCompositionCommandInput
|
|
214
219
|
| StartParticipantReplicationCommandInput
|
|
215
220
|
| StopCompositionCommandInput
|
|
@@ -250,6 +255,7 @@ export type ServiceOutputTypes =
|
|
|
250
255
|
| ListStagesCommandOutput
|
|
251
256
|
| ListStorageConfigurationsCommandOutput
|
|
252
257
|
| ListTagsForResourceCommandOutput
|
|
258
|
+
| RevokeConnectionTokenCommandOutput
|
|
253
259
|
| StartCompositionCommandOutput
|
|
254
260
|
| StartParticipantReplicationCommandOutput
|
|
255
261
|
| StopCompositionCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { RevokeConnectionTokenRequest, RevokeConnectionTokenResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface RevokeConnectionTokenCommandInput extends RevokeConnectionTokenRequest {}
|
|
5
|
+
export interface RevokeConnectionTokenCommandOutput
|
|
6
|
+
extends RevokeConnectionTokenResponse, __MetadataBearer {}
|
|
7
|
+
declare const RevokeConnectionTokenCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: RevokeConnectionTokenCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
RevokeConnectionTokenCommandInput,
|
|
12
|
+
RevokeConnectionTokenCommandOutput,
|
|
13
|
+
import("..").IVSRealTimeClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: RevokeConnectionTokenCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
RevokeConnectionTokenCommandInput,
|
|
21
|
+
RevokeConnectionTokenCommandOutput,
|
|
22
|
+
import("..").IVSRealTimeClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class RevokeConnectionTokenCommand extends RevokeConnectionTokenCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: RevokeConnectionTokenRequest;
|
|
32
|
+
output: {};
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: RevokeConnectionTokenCommandInput;
|
|
36
|
+
output: RevokeConnectionTokenCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -29,6 +29,7 @@ export * from "./ListStageSessionsCommand";
|
|
|
29
29
|
export * from "./ListStagesCommand";
|
|
30
30
|
export * from "./ListStorageConfigurationsCommand";
|
|
31
31
|
export * from "./ListTagsForResourceCommand";
|
|
32
|
+
export * from "./RevokeConnectionTokenCommand";
|
|
32
33
|
export * from "./StartCompositionCommand";
|
|
33
34
|
export * from "./StartParticipantReplicationCommand";
|
|
34
35
|
export * from "./StopCompositionCommand";
|
|
@@ -552,6 +552,10 @@ export interface ListTagsForResourceRequest {
|
|
|
552
552
|
export interface ListTagsForResourceResponse {
|
|
553
553
|
tags: Record<string, string> | undefined;
|
|
554
554
|
}
|
|
555
|
+
export interface RevokeConnectionTokenRequest {
|
|
556
|
+
tokenId: string | undefined;
|
|
557
|
+
}
|
|
558
|
+
export interface RevokeConnectionTokenResponse {}
|
|
555
559
|
export interface StartCompositionRequest {
|
|
556
560
|
stageArn: string | undefined;
|
|
557
561
|
idempotencyToken?: string | undefined;
|
|
@@ -101,6 +101,8 @@ export declare var PublicKey$: StaticStructureSchema;
|
|
|
101
101
|
export declare var PublicKeySummary$: StaticStructureSchema;
|
|
102
102
|
export declare var RecordingConfiguration$: StaticStructureSchema;
|
|
103
103
|
export declare var RedundantIngestCredential$: StaticStructureSchema;
|
|
104
|
+
export declare var RevokeConnectionTokenRequest$: StaticStructureSchema;
|
|
105
|
+
export declare var RevokeConnectionTokenResponse$: StaticStructureSchema;
|
|
104
106
|
export declare var S3DestinationConfiguration$: StaticStructureSchema;
|
|
105
107
|
export declare var S3Detail$: StaticStructureSchema;
|
|
106
108
|
export declare var S3StorageConfiguration$: StaticStructureSchema;
|
|
@@ -159,6 +161,7 @@ export declare var ListStages$: StaticOperationSchema;
|
|
|
159
161
|
export declare var ListStageSessions$: StaticOperationSchema;
|
|
160
162
|
export declare var ListStorageConfigurations$: StaticOperationSchema;
|
|
161
163
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
164
|
+
export declare var RevokeConnectionToken$: StaticOperationSchema;
|
|
162
165
|
export declare var StartComposition$: StaticOperationSchema;
|
|
163
166
|
export declare var StartParticipantReplication$: StaticOperationSchema;
|
|
164
167
|
export declare var StopComposition$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs-realtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1156.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ivs-realtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.
|
|
52
|
-
"@smithy/core": "^3.36.
|
|
49
|
+
"@aws-sdk/core": "^3.978.5",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.88",
|
|
51
|
+
"@aws-sdk/types": "^3.975.0",
|
|
52
|
+
"@smithy/core": "^3.36.1",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|