@aws-sdk/client-mediaconnect 3.609.0 → 3.614.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 +9 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/AddFlowOutputsCommand.d.ts +2 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFlowCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFlowOutputCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +27 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +20 -20
package/dist-cjs/index.js
CHANGED
|
@@ -80,6 +80,7 @@ __export(src_exports, {
|
|
|
80
80
|
MediaStreamType: () => MediaStreamType,
|
|
81
81
|
NetworkInterfaceType: () => NetworkInterfaceType,
|
|
82
82
|
NotFoundException: () => NotFoundException,
|
|
83
|
+
OutputStatus: () => OutputStatus,
|
|
83
84
|
PriceUnits: () => PriceUnits,
|
|
84
85
|
Protocol: () => Protocol,
|
|
85
86
|
PurchaseOfferingCommand: () => PurchaseOfferingCommand,
|
|
@@ -370,6 +371,10 @@ var EncoderProfile = {
|
|
|
370
371
|
high: "high",
|
|
371
372
|
main: "main"
|
|
372
373
|
};
|
|
374
|
+
var OutputStatus = {
|
|
375
|
+
DISABLED: "DISABLED",
|
|
376
|
+
ENABLED: "ENABLED"
|
|
377
|
+
};
|
|
373
378
|
var EntitlementStatus = {
|
|
374
379
|
DISABLED: "DISABLED",
|
|
375
380
|
ENABLED: "ENABLED"
|
|
@@ -1340,6 +1345,7 @@ var se_UpdateFlowOutputCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1340
1345
|
`MediaStreamOutputConfigurations`
|
|
1341
1346
|
],
|
|
1342
1347
|
minLatency: [, , `MinLatency`],
|
|
1348
|
+
outputStatus: [, , `OutputStatus`],
|
|
1343
1349
|
port: [, , `Port`],
|
|
1344
1350
|
protocol: [, , `Protocol`],
|
|
1345
1351
|
remoteId: [, , `RemoteId`],
|
|
@@ -2499,6 +2505,7 @@ var se_AddOutputRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2499
2505
|
],
|
|
2500
2506
|
minLatency: [, , `MinLatency`],
|
|
2501
2507
|
name: [, , `Name`],
|
|
2508
|
+
outputStatus: [, , `OutputStatus`],
|
|
2502
2509
|
port: [, , `Port`],
|
|
2503
2510
|
protocol: [, , `Protocol`],
|
|
2504
2511
|
remoteId: [, , `RemoteId`],
|
|
@@ -3186,6 +3193,7 @@ var de_Output = /* @__PURE__ */ __name((output, context) => {
|
|
|
3186
3193
|
],
|
|
3187
3194
|
Name: [, import_smithy_client.expectString, `name`],
|
|
3188
3195
|
OutputArn: [, import_smithy_client.expectString, `outputArn`],
|
|
3196
|
+
OutputStatus: [, import_smithy_client.expectString, `outputStatus`],
|
|
3189
3197
|
Port: [, import_smithy_client.expectInt32, `port`],
|
|
3190
3198
|
Transport: [, (_) => de_Transport(_, context), `transport`],
|
|
3191
3199
|
VpcInterfaceAttachment: [, (_) => de_VpcInterfaceAttachment(_, context), `vpcInterfaceAttachment`]
|
|
@@ -4467,6 +4475,7 @@ var waitUntilFlowStandby = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
4467
4475
|
KeyType,
|
|
4468
4476
|
EncodingName,
|
|
4469
4477
|
EncoderProfile,
|
|
4478
|
+
OutputStatus,
|
|
4470
4479
|
EntitlementStatus,
|
|
4471
4480
|
BridgeState,
|
|
4472
4481
|
MaintenanceDay,
|
|
@@ -620,6 +620,7 @@ export const se_UpdateFlowOutputCommand = async (input, context) => {
|
|
|
620
620
|
`MediaStreamOutputConfigurations`,
|
|
621
621
|
],
|
|
622
622
|
minLatency: [, , `MinLatency`],
|
|
623
|
+
outputStatus: [, , `OutputStatus`],
|
|
623
624
|
port: [, , `Port`],
|
|
624
625
|
protocol: [, , `Protocol`],
|
|
625
626
|
remoteId: [, , `RemoteId`],
|
|
@@ -1798,6 +1799,7 @@ const se_AddOutputRequest = (input, context) => {
|
|
|
1798
1799
|
],
|
|
1799
1800
|
minLatency: [, , `MinLatency`],
|
|
1800
1801
|
name: [, , `Name`],
|
|
1802
|
+
outputStatus: [, , `OutputStatus`],
|
|
1801
1803
|
port: [, , `Port`],
|
|
1802
1804
|
protocol: [, , `Protocol`],
|
|
1803
1805
|
remoteId: [, , `RemoteId`],
|
|
@@ -2529,6 +2531,7 @@ const de_Output = (output, context) => {
|
|
|
2529
2531
|
],
|
|
2530
2532
|
Name: [, __expectString, `name`],
|
|
2531
2533
|
OutputArn: [, __expectString, `outputArn`],
|
|
2534
|
+
OutputStatus: [, __expectString, `outputStatus`],
|
|
2532
2535
|
Port: [, __expectInt32, `port`],
|
|
2533
2536
|
Transport: [, (_) => de_Transport(_, context), `transport`],
|
|
2534
2537
|
VpcInterfaceAttachment: [, (_) => de_VpcInterfaceAttachment(_, context), `vpcInterfaceAttachment`],
|
|
@@ -85,6 +85,7 @@ declare const AddFlowOutputsCommand_base: {
|
|
|
85
85
|
* VpcInterfaceAttachment: { // VpcInterfaceAttachment
|
|
86
86
|
* VpcInterfaceName: "STRING_VALUE",
|
|
87
87
|
* },
|
|
88
|
+
* OutputStatus: "ENABLED" || "DISABLED",
|
|
88
89
|
* },
|
|
89
90
|
* ],
|
|
90
91
|
* };
|
|
@@ -158,6 +159,7 @@ declare const AddFlowOutputsCommand_base: {
|
|
|
158
159
|
* // BridgePorts: [ // __listOf__integer
|
|
159
160
|
* // Number("int"),
|
|
160
161
|
* // ],
|
|
162
|
+
* // OutputStatus: "ENABLED" || "DISABLED",
|
|
161
163
|
* // },
|
|
162
164
|
* // ],
|
|
163
165
|
* // };
|
|
@@ -130,6 +130,7 @@ declare const CreateFlowCommand_base: {
|
|
|
130
130
|
* VpcInterfaceAttachment: { // VpcInterfaceAttachment
|
|
131
131
|
* VpcInterfaceName: "STRING_VALUE",
|
|
132
132
|
* },
|
|
133
|
+
* OutputStatus: "ENABLED" || "DISABLED",
|
|
133
134
|
* },
|
|
134
135
|
* ],
|
|
135
136
|
* Source: { // SetSourceRequest
|
|
@@ -377,6 +378,7 @@ declare const CreateFlowCommand_base: {
|
|
|
377
378
|
* // BridgePorts: [ // __listOf__integer
|
|
378
379
|
* // Number("int"),
|
|
379
380
|
* // ],
|
|
381
|
+
* // OutputStatus: "ENABLED" || "DISABLED",
|
|
380
382
|
* // },
|
|
381
383
|
* // ],
|
|
382
384
|
* // Source: { // Source
|
|
@@ -84,6 +84,7 @@ declare const UpdateFlowOutputCommand_base: {
|
|
|
84
84
|
* VpcInterfaceAttachment: { // VpcInterfaceAttachment
|
|
85
85
|
* VpcInterfaceName: "STRING_VALUE",
|
|
86
86
|
* },
|
|
87
|
+
* OutputStatus: "ENABLED" || "DISABLED",
|
|
87
88
|
* };
|
|
88
89
|
* const command = new UpdateFlowOutputCommand(input);
|
|
89
90
|
* const response = await client.send(command);
|
|
@@ -154,6 +155,7 @@ declare const UpdateFlowOutputCommand_base: {
|
|
|
154
155
|
* // BridgePorts: [ // __listOf__integer
|
|
155
156
|
* // Number("int"),
|
|
156
157
|
* // ],
|
|
158
|
+
* // OutputStatus: "ENABLED" || "DISABLED",
|
|
157
159
|
* // },
|
|
158
160
|
* // };
|
|
159
161
|
*
|
|
@@ -497,6 +497,18 @@ export interface MediaStreamOutputConfigurationRequest {
|
|
|
497
497
|
*/
|
|
498
498
|
MediaStreamName: string | undefined;
|
|
499
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* @public
|
|
502
|
+
* @enum
|
|
503
|
+
*/
|
|
504
|
+
export declare const OutputStatus: {
|
|
505
|
+
readonly DISABLED: "DISABLED";
|
|
506
|
+
readonly ENABLED: "ENABLED";
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
export type OutputStatus = (typeof OutputStatus)[keyof typeof OutputStatus];
|
|
500
512
|
/**
|
|
501
513
|
* The output that you want to add to this flow.
|
|
502
514
|
* @public
|
|
@@ -577,6 +589,11 @@ export interface AddOutputRequest {
|
|
|
577
589
|
* @public
|
|
578
590
|
*/
|
|
579
591
|
VpcInterfaceAttachment?: VpcInterfaceAttachment;
|
|
592
|
+
/**
|
|
593
|
+
* An indication of whether the new output should be enabled or disabled as soon as it is created. If you don't specify the outputStatus field in your request, MediaConnect sets it to ENABLED.
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
OutputStatus?: OutputStatus;
|
|
580
597
|
}
|
|
581
598
|
/**
|
|
582
599
|
* The output of the bridge. A flow output is delivered to the AWS cloud.
|
|
@@ -1614,6 +1631,11 @@ export interface Output {
|
|
|
1614
1631
|
* @public
|
|
1615
1632
|
*/
|
|
1616
1633
|
BridgePorts?: number[];
|
|
1634
|
+
/**
|
|
1635
|
+
* An indication of whether the output is transmitting data or not.
|
|
1636
|
+
* @public
|
|
1637
|
+
*/
|
|
1638
|
+
OutputStatus?: OutputStatus;
|
|
1617
1639
|
}
|
|
1618
1640
|
/**
|
|
1619
1641
|
* @public
|
|
@@ -4387,6 +4409,11 @@ export interface UpdateFlowOutputRequest {
|
|
|
4387
4409
|
* @public
|
|
4388
4410
|
*/
|
|
4389
4411
|
VpcInterfaceAttachment?: VpcInterfaceAttachment;
|
|
4412
|
+
/**
|
|
4413
|
+
* An indication of whether the output should transmit data or not. If you don't specify the outputStatus field in your request, MediaConnect leaves the value unchanged.
|
|
4414
|
+
* @public
|
|
4415
|
+
*/
|
|
4416
|
+
OutputStatus?: OutputStatus;
|
|
4390
4417
|
}
|
|
4391
4418
|
/**
|
|
4392
4419
|
* @public
|
|
@@ -161,6 +161,11 @@ export interface MediaStreamOutputConfigurationRequest {
|
|
|
161
161
|
EncodingParameters?: EncodingParametersRequest;
|
|
162
162
|
MediaStreamName: string | undefined;
|
|
163
163
|
}
|
|
164
|
+
export declare const OutputStatus: {
|
|
165
|
+
readonly DISABLED: "DISABLED";
|
|
166
|
+
readonly ENABLED: "ENABLED";
|
|
167
|
+
};
|
|
168
|
+
export type OutputStatus = (typeof OutputStatus)[keyof typeof OutputStatus];
|
|
164
169
|
export interface AddOutputRequest {
|
|
165
170
|
CidrAllowList?: string[];
|
|
166
171
|
Description?: string;
|
|
@@ -177,6 +182,7 @@ export interface AddOutputRequest {
|
|
|
177
182
|
SmoothingLatency?: number;
|
|
178
183
|
StreamId?: string;
|
|
179
184
|
VpcInterfaceAttachment?: VpcInterfaceAttachment;
|
|
185
|
+
OutputStatus?: OutputStatus;
|
|
180
186
|
}
|
|
181
187
|
export interface BridgeFlowOutput {
|
|
182
188
|
FlowArn: string | undefined;
|
|
@@ -459,6 +465,7 @@ export interface Output {
|
|
|
459
465
|
VpcInterfaceAttachment?: VpcInterfaceAttachment;
|
|
460
466
|
BridgeArn?: string;
|
|
461
467
|
BridgePorts?: number[];
|
|
468
|
+
OutputStatus?: OutputStatus;
|
|
462
469
|
}
|
|
463
470
|
export declare const ReservationState: {
|
|
464
471
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1221,6 +1228,7 @@ export interface UpdateFlowOutputRequest {
|
|
|
1221
1228
|
SmoothingLatency?: number;
|
|
1222
1229
|
StreamId?: string;
|
|
1223
1230
|
VpcInterfaceAttachment?: VpcInterfaceAttachment;
|
|
1231
|
+
OutputStatus?: OutputStatus;
|
|
1224
1232
|
}
|
|
1225
1233
|
export interface UpdateFlowOutputResponse {
|
|
1226
1234
|
FlowArn?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediaconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.614.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediaconnect",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.614.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.614.0",
|
|
25
|
+
"@aws-sdk/core": "3.614.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.614.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.609.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.609.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.614.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
+
"@smithy/core": "^2.2.6",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.3",
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.5",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.9",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.1.
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.4",
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.2",
|
|
48
48
|
"@smithy/protocol-http": "^4.0.3",
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.7",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.9",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.9",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|