@aws-sdk/client-mediaconnect 3.478.0 → 3.480.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 +8 -0
- package/dist-cjs/MediaConnect.js +2 -0
- package/dist-cjs/commands/DescribeFlowSourceMetadataCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +113 -2
- package/dist-es/MediaConnect.js +2 -0
- package/dist-es/commands/DescribeFlowSourceMetadataCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +109 -1
- package/dist-types/MediaConnect.d.ts +7 -0
- package/dist-types/MediaConnectClient.d.ts +3 -2
- package/dist-types/commands/DescribeFlowSourceMetadataCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +139 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/MediaConnect.d.ts +17 -0
- package/dist-types/ts3.4/MediaConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeFlowSourceMetadataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -322,6 +322,14 @@ DescribeFlow
|
|
|
322
322
|
|
|
323
323
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconnect/command/DescribeFlowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowCommandOutput/)
|
|
324
324
|
|
|
325
|
+
</details>
|
|
326
|
+
<details>
|
|
327
|
+
<summary>
|
|
328
|
+
DescribeFlowSourceMetadata
|
|
329
|
+
</summary>
|
|
330
|
+
|
|
331
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconnect/command/DescribeFlowSourceMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowSourceMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowSourceMetadataCommandOutput/)
|
|
332
|
+
|
|
325
333
|
</details>
|
|
326
334
|
<details>
|
|
327
335
|
<summary>
|
package/dist-cjs/MediaConnect.js
CHANGED
|
@@ -17,6 +17,7 @@ const DeleteGatewayCommand_1 = require("./commands/DeleteGatewayCommand");
|
|
|
17
17
|
const DeregisterGatewayInstanceCommand_1 = require("./commands/DeregisterGatewayInstanceCommand");
|
|
18
18
|
const DescribeBridgeCommand_1 = require("./commands/DescribeBridgeCommand");
|
|
19
19
|
const DescribeFlowCommand_1 = require("./commands/DescribeFlowCommand");
|
|
20
|
+
const DescribeFlowSourceMetadataCommand_1 = require("./commands/DescribeFlowSourceMetadataCommand");
|
|
20
21
|
const DescribeGatewayCommand_1 = require("./commands/DescribeGatewayCommand");
|
|
21
22
|
const DescribeGatewayInstanceCommand_1 = require("./commands/DescribeGatewayInstanceCommand");
|
|
22
23
|
const DescribeOfferingCommand_1 = require("./commands/DescribeOfferingCommand");
|
|
@@ -69,6 +70,7 @@ const commands = {
|
|
|
69
70
|
DeregisterGatewayInstanceCommand: DeregisterGatewayInstanceCommand_1.DeregisterGatewayInstanceCommand,
|
|
70
71
|
DescribeBridgeCommand: DescribeBridgeCommand_1.DescribeBridgeCommand,
|
|
71
72
|
DescribeFlowCommand: DescribeFlowCommand_1.DescribeFlowCommand,
|
|
73
|
+
DescribeFlowSourceMetadataCommand: DescribeFlowSourceMetadataCommand_1.DescribeFlowSourceMetadataCommand,
|
|
72
74
|
DescribeGatewayCommand: DescribeGatewayCommand_1.DescribeGatewayCommand,
|
|
73
75
|
DescribeGatewayInstanceCommand: DescribeGatewayInstanceCommand_1.DescribeGatewayInstanceCommand,
|
|
74
76
|
DescribeOfferingCommand: DescribeOfferingCommand_1.DescribeOfferingCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeFlowSourceMetadataCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DescribeFlowSourceMetadataCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeFlowSourceMetadataCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "MediaConnectClient";
|
|
29
|
+
const commandName = "DescribeFlowSourceMetadataCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "MediaConnect",
|
|
38
|
+
operation: "DescribeFlowSourceMetadata",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DescribeFlowSourceMetadataCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DescribeFlowSourceMetadataCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DescribeFlowSourceMetadataCommand = DescribeFlowSourceMetadataCommand;
|
|
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./DeleteGatewayCommand"), exports);
|
|
|
16
16
|
tslib_1.__exportStar(require("./DeregisterGatewayInstanceCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./DescribeBridgeCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./DescribeFlowCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DescribeFlowSourceMetadataCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./DescribeGatewayCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./DescribeGatewayInstanceCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./DescribeOfferingCommand"), exports);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.se_UpdateFlowSourceCommand = exports.se_UpdateFlowOutputCommand = exports.se_UpdateFlowMediaStreamCommand = exports.se_UpdateFlowEntitlementCommand = exports.se_UpdateFlowCommand = exports.se_UpdateBridgeStateCommand = exports.se_UpdateBridgeSourceCommand = exports.se_UpdateBridgeOutputCommand = exports.se_UpdateBridgeCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopFlowCommand = exports.se_StartFlowCommand = exports.se_RevokeFlowEntitlementCommand = exports.se_RemoveFlowVpcInterfaceCommand = exports.se_RemoveFlowSourceCommand = exports.se_RemoveFlowOutputCommand = exports.se_RemoveFlowMediaStreamCommand = exports.se_RemoveBridgeSourceCommand = exports.se_RemoveBridgeOutputCommand = exports.se_PurchaseOfferingCommand = exports.se_ListTagsForResourceCommand = exports.se_ListReservationsCommand = exports.se_ListOfferingsCommand = exports.se_ListGatewaysCommand = exports.se_ListGatewayInstancesCommand = exports.se_ListFlowsCommand = exports.se_ListEntitlementsCommand = exports.se_ListBridgesCommand = exports.se_GrantFlowEntitlementsCommand = exports.se_DescribeReservationCommand = exports.se_DescribeOfferingCommand = exports.se_DescribeGatewayInstanceCommand = exports.se_DescribeGatewayCommand = exports.se_DescribeFlowSourceMetadataCommand = exports.se_DescribeFlowCommand = exports.se_DescribeBridgeCommand = exports.se_DeregisterGatewayInstanceCommand = exports.se_DeleteGatewayCommand = exports.se_DeleteFlowCommand = exports.se_DeleteBridgeCommand = exports.se_CreateGatewayCommand = exports.se_CreateFlowCommand = exports.se_CreateBridgeCommand = exports.se_AddFlowVpcInterfacesCommand = exports.se_AddFlowSourcesCommand = exports.se_AddFlowOutputsCommand = exports.se_AddFlowMediaStreamsCommand = exports.se_AddBridgeSourcesCommand = exports.se_AddBridgeOutputsCommand = void 0;
|
|
4
|
+
exports.de_UpdateFlowOutputCommand = exports.de_UpdateFlowMediaStreamCommand = exports.de_UpdateFlowEntitlementCommand = exports.de_UpdateFlowCommand = exports.de_UpdateBridgeStateCommand = exports.de_UpdateBridgeSourceCommand = exports.de_UpdateBridgeOutputCommand = exports.de_UpdateBridgeCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopFlowCommand = exports.de_StartFlowCommand = exports.de_RevokeFlowEntitlementCommand = exports.de_RemoveFlowVpcInterfaceCommand = exports.de_RemoveFlowSourceCommand = exports.de_RemoveFlowOutputCommand = exports.de_RemoveFlowMediaStreamCommand = exports.de_RemoveBridgeSourceCommand = exports.de_RemoveBridgeOutputCommand = exports.de_PurchaseOfferingCommand = exports.de_ListTagsForResourceCommand = exports.de_ListReservationsCommand = exports.de_ListOfferingsCommand = exports.de_ListGatewaysCommand = exports.de_ListGatewayInstancesCommand = exports.de_ListFlowsCommand = exports.de_ListEntitlementsCommand = exports.de_ListBridgesCommand = exports.de_GrantFlowEntitlementsCommand = exports.de_DescribeReservationCommand = exports.de_DescribeOfferingCommand = exports.de_DescribeGatewayInstanceCommand = exports.de_DescribeGatewayCommand = exports.de_DescribeFlowSourceMetadataCommand = exports.de_DescribeFlowCommand = exports.de_DescribeBridgeCommand = exports.de_DeregisterGatewayInstanceCommand = exports.de_DeleteGatewayCommand = exports.de_DeleteFlowCommand = exports.de_DeleteBridgeCommand = exports.de_CreateGatewayCommand = exports.de_CreateFlowCommand = exports.de_CreateBridgeCommand = exports.de_AddFlowVpcInterfacesCommand = exports.de_AddFlowSourcesCommand = exports.de_AddFlowOutputsCommand = exports.de_AddFlowMediaStreamsCommand = exports.de_AddBridgeSourcesCommand = exports.de_AddBridgeOutputsCommand = exports.se_UpdateGatewayInstanceCommand = void 0;
|
|
5
|
+
exports.de_UpdateGatewayInstanceCommand = exports.de_UpdateFlowSourceCommand = void 0;
|
|
5
6
|
const core_1 = require("@smithy/core");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const MediaConnectServiceException_1 = require("../models/MediaConnectServiceException");
|
|
@@ -218,6 +219,16 @@ const se_DescribeFlowCommand = async (input, context) => {
|
|
|
218
219
|
return b.build();
|
|
219
220
|
};
|
|
220
221
|
exports.se_DescribeFlowCommand = se_DescribeFlowCommand;
|
|
222
|
+
const se_DescribeFlowSourceMetadataCommand = async (input, context) => {
|
|
223
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
224
|
+
const headers = {};
|
|
225
|
+
b.bp("/v1/flows/{FlowArn}/source-metadata");
|
|
226
|
+
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
227
|
+
let body;
|
|
228
|
+
b.m("GET").h(headers).b(body);
|
|
229
|
+
return b.build();
|
|
230
|
+
};
|
|
231
|
+
exports.se_DescribeFlowSourceMetadataCommand = se_DescribeFlowSourceMetadataCommand;
|
|
221
232
|
const se_DescribeGatewayCommand = async (input, context) => {
|
|
222
233
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
223
234
|
const headers = {};
|
|
@@ -1497,6 +1508,58 @@ const de_DescribeFlowCommandError = async (output, context) => {
|
|
|
1497
1508
|
});
|
|
1498
1509
|
}
|
|
1499
1510
|
};
|
|
1511
|
+
const de_DescribeFlowSourceMetadataCommand = async (output, context) => {
|
|
1512
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1513
|
+
return de_DescribeFlowSourceMetadataCommandError(output, context);
|
|
1514
|
+
}
|
|
1515
|
+
const contents = (0, smithy_client_1.map)({
|
|
1516
|
+
$metadata: deserializeMetadata(output),
|
|
1517
|
+
});
|
|
1518
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1519
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1520
|
+
FlowArn: [, smithy_client_1.expectString, `flowArn`],
|
|
1521
|
+
Messages: [, (_) => de___listOfMessageDetail(_, context), `messages`],
|
|
1522
|
+
Timestamp: [, (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)), `timestamp`],
|
|
1523
|
+
TransportMediaInfo: [, (_) => de_TransportMediaInfo(_, context), `transportMediaInfo`],
|
|
1524
|
+
});
|
|
1525
|
+
Object.assign(contents, doc);
|
|
1526
|
+
return contents;
|
|
1527
|
+
};
|
|
1528
|
+
exports.de_DescribeFlowSourceMetadataCommand = de_DescribeFlowSourceMetadataCommand;
|
|
1529
|
+
const de_DescribeFlowSourceMetadataCommandError = async (output, context) => {
|
|
1530
|
+
const parsedOutput = {
|
|
1531
|
+
...output,
|
|
1532
|
+
body: await parseErrorBody(output.body, context),
|
|
1533
|
+
};
|
|
1534
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1535
|
+
switch (errorCode) {
|
|
1536
|
+
case "BadRequestException":
|
|
1537
|
+
case "com.amazonaws.mediaconnect#BadRequestException":
|
|
1538
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1539
|
+
case "ForbiddenException":
|
|
1540
|
+
case "com.amazonaws.mediaconnect#ForbiddenException":
|
|
1541
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1542
|
+
case "InternalServerErrorException":
|
|
1543
|
+
case "com.amazonaws.mediaconnect#InternalServerErrorException":
|
|
1544
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1545
|
+
case "NotFoundException":
|
|
1546
|
+
case "com.amazonaws.mediaconnect#NotFoundException":
|
|
1547
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1548
|
+
case "ServiceUnavailableException":
|
|
1549
|
+
case "com.amazonaws.mediaconnect#ServiceUnavailableException":
|
|
1550
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1551
|
+
case "TooManyRequestsException":
|
|
1552
|
+
case "com.amazonaws.mediaconnect#TooManyRequestsException":
|
|
1553
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1554
|
+
default:
|
|
1555
|
+
const parsedBody = parsedOutput.body;
|
|
1556
|
+
return throwDefaultError({
|
|
1557
|
+
output,
|
|
1558
|
+
parsedBody,
|
|
1559
|
+
errorCode,
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
};
|
|
1500
1563
|
const de_DescribeGatewayCommand = async (output, context) => {
|
|
1501
1564
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1502
1565
|
return de_DescribeGatewayCommandError(output, context);
|
|
@@ -3892,6 +3955,22 @@ const de___listOfSource = (output, context) => {
|
|
|
3892
3955
|
});
|
|
3893
3956
|
return retVal;
|
|
3894
3957
|
};
|
|
3958
|
+
const de___listOfTransportStream = (output, context) => {
|
|
3959
|
+
const retVal = (output || [])
|
|
3960
|
+
.filter((e) => e != null)
|
|
3961
|
+
.map((entry) => {
|
|
3962
|
+
return de_TransportStream(entry, context);
|
|
3963
|
+
});
|
|
3964
|
+
return retVal;
|
|
3965
|
+
};
|
|
3966
|
+
const de___listOfTransportStreamProgram = (output, context) => {
|
|
3967
|
+
const retVal = (output || [])
|
|
3968
|
+
.filter((e) => e != null)
|
|
3969
|
+
.map((entry) => {
|
|
3970
|
+
return de_TransportStreamProgram(entry, context);
|
|
3971
|
+
});
|
|
3972
|
+
return retVal;
|
|
3973
|
+
};
|
|
3895
3974
|
const de___listOfVpcInterface = (output, context) => {
|
|
3896
3975
|
const retVal = (output || [])
|
|
3897
3976
|
.filter((e) => e != null)
|
|
@@ -4041,6 +4120,12 @@ const de_Fmtp = (output, context) => {
|
|
|
4041
4120
|
Tcs: [, smithy_client_1.expectString, `tcs`],
|
|
4042
4121
|
});
|
|
4043
4122
|
};
|
|
4123
|
+
const de_FrameResolution = (output, context) => {
|
|
4124
|
+
return (0, smithy_client_1.take)(output, {
|
|
4125
|
+
FrameHeight: [, smithy_client_1.expectInt32, `frameHeight`],
|
|
4126
|
+
FrameWidth: [, smithy_client_1.expectInt32, `frameWidth`],
|
|
4127
|
+
});
|
|
4128
|
+
};
|
|
4044
4129
|
const de_Gateway = (output, context) => {
|
|
4045
4130
|
return (0, smithy_client_1.take)(output, {
|
|
4046
4131
|
EgressCidrBlocks: [, smithy_client_1._json, `egressCidrBlocks`],
|
|
@@ -4296,6 +4381,32 @@ const de_Transport = (output, context) => {
|
|
|
4296
4381
|
StreamId: [, smithy_client_1.expectString, `streamId`],
|
|
4297
4382
|
});
|
|
4298
4383
|
};
|
|
4384
|
+
const de_TransportMediaInfo = (output, context) => {
|
|
4385
|
+
return (0, smithy_client_1.take)(output, {
|
|
4386
|
+
Programs: [, (_) => de___listOfTransportStreamProgram(_, context), `programs`],
|
|
4387
|
+
});
|
|
4388
|
+
};
|
|
4389
|
+
const de_TransportStream = (output, context) => {
|
|
4390
|
+
return (0, smithy_client_1.take)(output, {
|
|
4391
|
+
Channels: [, smithy_client_1.expectInt32, `channels`],
|
|
4392
|
+
Codec: [, smithy_client_1.expectString, `codec`],
|
|
4393
|
+
FrameRate: [, smithy_client_1.expectString, `frameRate`],
|
|
4394
|
+
FrameResolution: [, (_) => de_FrameResolution(_, context), `frameResolution`],
|
|
4395
|
+
Pid: [, smithy_client_1.expectInt32, `pid`],
|
|
4396
|
+
SampleRate: [, smithy_client_1.expectInt32, `sampleRate`],
|
|
4397
|
+
SampleSize: [, smithy_client_1.expectInt32, `sampleSize`],
|
|
4398
|
+
StreamType: [, smithy_client_1.expectString, `streamType`],
|
|
4399
|
+
});
|
|
4400
|
+
};
|
|
4401
|
+
const de_TransportStreamProgram = (output, context) => {
|
|
4402
|
+
return (0, smithy_client_1.take)(output, {
|
|
4403
|
+
PcrPid: [, smithy_client_1.expectInt32, `pcrPid`],
|
|
4404
|
+
ProgramName: [, smithy_client_1.expectString, `programName`],
|
|
4405
|
+
ProgramNumber: [, smithy_client_1.expectInt32, `programNumber`],
|
|
4406
|
+
ProgramPid: [, smithy_client_1.expectInt32, `programPid`],
|
|
4407
|
+
Streams: [, (_) => de___listOfTransportStream(_, context), `streams`],
|
|
4408
|
+
});
|
|
4409
|
+
};
|
|
4299
4410
|
const de_VpcInterface = (output, context) => {
|
|
4300
4411
|
return (0, smithy_client_1.take)(output, {
|
|
4301
4412
|
Name: [, smithy_client_1.expectString, `name`],
|
package/dist-es/MediaConnect.js
CHANGED
|
@@ -14,6 +14,7 @@ import { DeleteGatewayCommand, } from "./commands/DeleteGatewayCommand";
|
|
|
14
14
|
import { DeregisterGatewayInstanceCommand, } from "./commands/DeregisterGatewayInstanceCommand";
|
|
15
15
|
import { DescribeBridgeCommand, } from "./commands/DescribeBridgeCommand";
|
|
16
16
|
import { DescribeFlowCommand, } from "./commands/DescribeFlowCommand";
|
|
17
|
+
import { DescribeFlowSourceMetadataCommand, } from "./commands/DescribeFlowSourceMetadataCommand";
|
|
17
18
|
import { DescribeGatewayCommand, } from "./commands/DescribeGatewayCommand";
|
|
18
19
|
import { DescribeGatewayInstanceCommand, } from "./commands/DescribeGatewayInstanceCommand";
|
|
19
20
|
import { DescribeOfferingCommand, } from "./commands/DescribeOfferingCommand";
|
|
@@ -66,6 +67,7 @@ const commands = {
|
|
|
66
67
|
DeregisterGatewayInstanceCommand,
|
|
67
68
|
DescribeBridgeCommand,
|
|
68
69
|
DescribeFlowCommand,
|
|
70
|
+
DescribeFlowSourceMetadataCommand,
|
|
69
71
|
DescribeGatewayCommand,
|
|
70
72
|
DescribeGatewayInstanceCommand,
|
|
71
73
|
DescribeOfferingCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DescribeFlowSourceMetadataCommand, se_DescribeFlowSourceMetadataCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeFlowSourceMetadataCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFlowSourceMetadataCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "MediaConnectClient";
|
|
26
|
+
const commandName = "DescribeFlowSourceMetadataCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "MediaConnect",
|
|
35
|
+
operation: "DescribeFlowSourceMetadata",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DescribeFlowSourceMetadataCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DescribeFlowSourceMetadataCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./DeleteGatewayCommand";
|
|
|
13
13
|
export * from "./DeregisterGatewayInstanceCommand";
|
|
14
14
|
export * from "./DescribeBridgeCommand";
|
|
15
15
|
export * from "./DescribeFlowCommand";
|
|
16
|
+
export * from "./DescribeFlowSourceMetadataCommand";
|
|
16
17
|
export * from "./DescribeGatewayCommand";
|
|
17
18
|
export * from "./DescribeGatewayInstanceCommand";
|
|
18
19
|
export * from "./DescribeOfferingCommand";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { MediaConnectServiceException as __BaseException } from "../models/MediaConnectServiceException";
|
|
4
4
|
import { AddFlowOutputs420Exception, BadRequestException, ConflictException, CreateBridge420Exception, CreateFlow420Exception, CreateGateway420Exception, ForbiddenException, GrantFlowEntitlements420Exception, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, } from "../models/models_0";
|
|
5
5
|
export const se_AddBridgeOutputsCommand = async (input, context) => {
|
|
@@ -199,6 +199,15 @@ export const se_DescribeFlowCommand = async (input, context) => {
|
|
|
199
199
|
b.m("GET").h(headers).b(body);
|
|
200
200
|
return b.build();
|
|
201
201
|
};
|
|
202
|
+
export const se_DescribeFlowSourceMetadataCommand = async (input, context) => {
|
|
203
|
+
const b = rb(input, context);
|
|
204
|
+
const headers = {};
|
|
205
|
+
b.bp("/v1/flows/{FlowArn}/source-metadata");
|
|
206
|
+
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
207
|
+
let body;
|
|
208
|
+
b.m("GET").h(headers).b(body);
|
|
209
|
+
return b.build();
|
|
210
|
+
};
|
|
202
211
|
export const se_DescribeGatewayCommand = async (input, context) => {
|
|
203
212
|
const b = rb(input, context);
|
|
204
213
|
const headers = {};
|
|
@@ -1428,6 +1437,57 @@ const de_DescribeFlowCommandError = async (output, context) => {
|
|
|
1428
1437
|
});
|
|
1429
1438
|
}
|
|
1430
1439
|
};
|
|
1440
|
+
export const de_DescribeFlowSourceMetadataCommand = async (output, context) => {
|
|
1441
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1442
|
+
return de_DescribeFlowSourceMetadataCommandError(output, context);
|
|
1443
|
+
}
|
|
1444
|
+
const contents = map({
|
|
1445
|
+
$metadata: deserializeMetadata(output),
|
|
1446
|
+
});
|
|
1447
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1448
|
+
const doc = take(data, {
|
|
1449
|
+
FlowArn: [, __expectString, `flowArn`],
|
|
1450
|
+
Messages: [, (_) => de___listOfMessageDetail(_, context), `messages`],
|
|
1451
|
+
Timestamp: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `timestamp`],
|
|
1452
|
+
TransportMediaInfo: [, (_) => de_TransportMediaInfo(_, context), `transportMediaInfo`],
|
|
1453
|
+
});
|
|
1454
|
+
Object.assign(contents, doc);
|
|
1455
|
+
return contents;
|
|
1456
|
+
};
|
|
1457
|
+
const de_DescribeFlowSourceMetadataCommandError = async (output, context) => {
|
|
1458
|
+
const parsedOutput = {
|
|
1459
|
+
...output,
|
|
1460
|
+
body: await parseErrorBody(output.body, context),
|
|
1461
|
+
};
|
|
1462
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1463
|
+
switch (errorCode) {
|
|
1464
|
+
case "BadRequestException":
|
|
1465
|
+
case "com.amazonaws.mediaconnect#BadRequestException":
|
|
1466
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1467
|
+
case "ForbiddenException":
|
|
1468
|
+
case "com.amazonaws.mediaconnect#ForbiddenException":
|
|
1469
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1470
|
+
case "InternalServerErrorException":
|
|
1471
|
+
case "com.amazonaws.mediaconnect#InternalServerErrorException":
|
|
1472
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1473
|
+
case "NotFoundException":
|
|
1474
|
+
case "com.amazonaws.mediaconnect#NotFoundException":
|
|
1475
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1476
|
+
case "ServiceUnavailableException":
|
|
1477
|
+
case "com.amazonaws.mediaconnect#ServiceUnavailableException":
|
|
1478
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1479
|
+
case "TooManyRequestsException":
|
|
1480
|
+
case "com.amazonaws.mediaconnect#TooManyRequestsException":
|
|
1481
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1482
|
+
default:
|
|
1483
|
+
const parsedBody = parsedOutput.body;
|
|
1484
|
+
return throwDefaultError({
|
|
1485
|
+
output,
|
|
1486
|
+
parsedBody,
|
|
1487
|
+
errorCode,
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
1490
|
+
};
|
|
1431
1491
|
export const de_DescribeGatewayCommand = async (output, context) => {
|
|
1432
1492
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1433
1493
|
return de_DescribeGatewayCommandError(output, context);
|
|
@@ -3788,6 +3848,22 @@ const de___listOfSource = (output, context) => {
|
|
|
3788
3848
|
});
|
|
3789
3849
|
return retVal;
|
|
3790
3850
|
};
|
|
3851
|
+
const de___listOfTransportStream = (output, context) => {
|
|
3852
|
+
const retVal = (output || [])
|
|
3853
|
+
.filter((e) => e != null)
|
|
3854
|
+
.map((entry) => {
|
|
3855
|
+
return de_TransportStream(entry, context);
|
|
3856
|
+
});
|
|
3857
|
+
return retVal;
|
|
3858
|
+
};
|
|
3859
|
+
const de___listOfTransportStreamProgram = (output, context) => {
|
|
3860
|
+
const retVal = (output || [])
|
|
3861
|
+
.filter((e) => e != null)
|
|
3862
|
+
.map((entry) => {
|
|
3863
|
+
return de_TransportStreamProgram(entry, context);
|
|
3864
|
+
});
|
|
3865
|
+
return retVal;
|
|
3866
|
+
};
|
|
3791
3867
|
const de___listOfVpcInterface = (output, context) => {
|
|
3792
3868
|
const retVal = (output || [])
|
|
3793
3869
|
.filter((e) => e != null)
|
|
@@ -3937,6 +4013,12 @@ const de_Fmtp = (output, context) => {
|
|
|
3937
4013
|
Tcs: [, __expectString, `tcs`],
|
|
3938
4014
|
});
|
|
3939
4015
|
};
|
|
4016
|
+
const de_FrameResolution = (output, context) => {
|
|
4017
|
+
return take(output, {
|
|
4018
|
+
FrameHeight: [, __expectInt32, `frameHeight`],
|
|
4019
|
+
FrameWidth: [, __expectInt32, `frameWidth`],
|
|
4020
|
+
});
|
|
4021
|
+
};
|
|
3940
4022
|
const de_Gateway = (output, context) => {
|
|
3941
4023
|
return take(output, {
|
|
3942
4024
|
EgressCidrBlocks: [, _json, `egressCidrBlocks`],
|
|
@@ -4192,6 +4274,32 @@ const de_Transport = (output, context) => {
|
|
|
4192
4274
|
StreamId: [, __expectString, `streamId`],
|
|
4193
4275
|
});
|
|
4194
4276
|
};
|
|
4277
|
+
const de_TransportMediaInfo = (output, context) => {
|
|
4278
|
+
return take(output, {
|
|
4279
|
+
Programs: [, (_) => de___listOfTransportStreamProgram(_, context), `programs`],
|
|
4280
|
+
});
|
|
4281
|
+
};
|
|
4282
|
+
const de_TransportStream = (output, context) => {
|
|
4283
|
+
return take(output, {
|
|
4284
|
+
Channels: [, __expectInt32, `channels`],
|
|
4285
|
+
Codec: [, __expectString, `codec`],
|
|
4286
|
+
FrameRate: [, __expectString, `frameRate`],
|
|
4287
|
+
FrameResolution: [, (_) => de_FrameResolution(_, context), `frameResolution`],
|
|
4288
|
+
Pid: [, __expectInt32, `pid`],
|
|
4289
|
+
SampleRate: [, __expectInt32, `sampleRate`],
|
|
4290
|
+
SampleSize: [, __expectInt32, `sampleSize`],
|
|
4291
|
+
StreamType: [, __expectString, `streamType`],
|
|
4292
|
+
});
|
|
4293
|
+
};
|
|
4294
|
+
const de_TransportStreamProgram = (output, context) => {
|
|
4295
|
+
return take(output, {
|
|
4296
|
+
PcrPid: [, __expectInt32, `pcrPid`],
|
|
4297
|
+
ProgramName: [, __expectString, `programName`],
|
|
4298
|
+
ProgramNumber: [, __expectInt32, `programNumber`],
|
|
4299
|
+
ProgramPid: [, __expectInt32, `programPid`],
|
|
4300
|
+
Streams: [, (_) => de___listOfTransportStream(_, context), `streams`],
|
|
4301
|
+
});
|
|
4302
|
+
};
|
|
4195
4303
|
const de_VpcInterface = (output, context) => {
|
|
4196
4304
|
return take(output, {
|
|
4197
4305
|
Name: [, __expectString, `name`],
|
|
@@ -14,6 +14,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./command
|
|
|
14
14
|
import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommandOutput } from "./commands/DeregisterGatewayInstanceCommand";
|
|
15
15
|
import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "./commands/DescribeBridgeCommand";
|
|
16
16
|
import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "./commands/DescribeFlowCommand";
|
|
17
|
+
import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "./commands/DescribeFlowSourceMetadataCommand";
|
|
17
18
|
import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
|
|
18
19
|
import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "./commands/DescribeGatewayInstanceCommand";
|
|
19
20
|
import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "./commands/DescribeOfferingCommand";
|
|
@@ -141,6 +142,12 @@ export interface MediaConnect {
|
|
|
141
142
|
describeFlow(args: DescribeFlowCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowCommandOutput>;
|
|
142
143
|
describeFlow(args: DescribeFlowCommandInput, cb: (err: any, data?: DescribeFlowCommandOutput) => void): void;
|
|
143
144
|
describeFlow(args: DescribeFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowCommandOutput) => void): void;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link DescribeFlowSourceMetadataCommand}
|
|
147
|
+
*/
|
|
148
|
+
describeFlowSourceMetadata(args: DescribeFlowSourceMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowSourceMetadataCommandOutput>;
|
|
149
|
+
describeFlowSourceMetadata(args: DescribeFlowSourceMetadataCommandInput, cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void): void;
|
|
150
|
+
describeFlowSourceMetadata(args: DescribeFlowSourceMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void): void;
|
|
144
151
|
/**
|
|
145
152
|
* @see {@link DescribeGatewayCommand}
|
|
146
153
|
*/
|
|
@@ -23,6 +23,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./command
|
|
|
23
23
|
import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommandOutput } from "./commands/DeregisterGatewayInstanceCommand";
|
|
24
24
|
import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "./commands/DescribeBridgeCommand";
|
|
25
25
|
import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "./commands/DescribeFlowCommand";
|
|
26
|
+
import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "./commands/DescribeFlowSourceMetadataCommand";
|
|
26
27
|
import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
|
|
27
28
|
import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "./commands/DescribeGatewayInstanceCommand";
|
|
28
29
|
import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "./commands/DescribeOfferingCommand";
|
|
@@ -64,11 +65,11 @@ export { __Client };
|
|
|
64
65
|
/**
|
|
65
66
|
* @public
|
|
66
67
|
*/
|
|
67
|
-
export type ServiceInputTypes = AddBridgeOutputsCommandInput | AddBridgeSourcesCommandInput | AddFlowMediaStreamsCommandInput | AddFlowOutputsCommandInput | AddFlowSourcesCommandInput | AddFlowVpcInterfacesCommandInput | CreateBridgeCommandInput | CreateFlowCommandInput | CreateGatewayCommandInput | DeleteBridgeCommandInput | DeleteFlowCommandInput | DeleteGatewayCommandInput | DeregisterGatewayInstanceCommandInput | DescribeBridgeCommandInput | DescribeFlowCommandInput | DescribeGatewayCommandInput | DescribeGatewayInstanceCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | GrantFlowEntitlementsCommandInput | ListBridgesCommandInput | ListEntitlementsCommandInput | ListFlowsCommandInput | ListGatewayInstancesCommandInput | ListGatewaysCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RemoveBridgeOutputCommandInput | RemoveBridgeSourceCommandInput | RemoveFlowMediaStreamCommandInput | RemoveFlowOutputCommandInput | RemoveFlowSourceCommandInput | RemoveFlowVpcInterfaceCommandInput | RevokeFlowEntitlementCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBridgeCommandInput | UpdateBridgeOutputCommandInput | UpdateBridgeSourceCommandInput | UpdateBridgeStateCommandInput | UpdateFlowCommandInput | UpdateFlowEntitlementCommandInput | UpdateFlowMediaStreamCommandInput | UpdateFlowOutputCommandInput | UpdateFlowSourceCommandInput | UpdateGatewayInstanceCommandInput;
|
|
68
|
+
export type ServiceInputTypes = AddBridgeOutputsCommandInput | AddBridgeSourcesCommandInput | AddFlowMediaStreamsCommandInput | AddFlowOutputsCommandInput | AddFlowSourcesCommandInput | AddFlowVpcInterfacesCommandInput | CreateBridgeCommandInput | CreateFlowCommandInput | CreateGatewayCommandInput | DeleteBridgeCommandInput | DeleteFlowCommandInput | DeleteGatewayCommandInput | DeregisterGatewayInstanceCommandInput | DescribeBridgeCommandInput | DescribeFlowCommandInput | DescribeFlowSourceMetadataCommandInput | DescribeGatewayCommandInput | DescribeGatewayInstanceCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | GrantFlowEntitlementsCommandInput | ListBridgesCommandInput | ListEntitlementsCommandInput | ListFlowsCommandInput | ListGatewayInstancesCommandInput | ListGatewaysCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RemoveBridgeOutputCommandInput | RemoveBridgeSourceCommandInput | RemoveFlowMediaStreamCommandInput | RemoveFlowOutputCommandInput | RemoveFlowSourceCommandInput | RemoveFlowVpcInterfaceCommandInput | RevokeFlowEntitlementCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBridgeCommandInput | UpdateBridgeOutputCommandInput | UpdateBridgeSourceCommandInput | UpdateBridgeStateCommandInput | UpdateFlowCommandInput | UpdateFlowEntitlementCommandInput | UpdateFlowMediaStreamCommandInput | UpdateFlowOutputCommandInput | UpdateFlowSourceCommandInput | UpdateGatewayInstanceCommandInput;
|
|
68
69
|
/**
|
|
69
70
|
* @public
|
|
70
71
|
*/
|
|
71
|
-
export type ServiceOutputTypes = AddBridgeOutputsCommandOutput | AddBridgeSourcesCommandOutput | AddFlowMediaStreamsCommandOutput | AddFlowOutputsCommandOutput | AddFlowSourcesCommandOutput | AddFlowVpcInterfacesCommandOutput | CreateBridgeCommandOutput | CreateFlowCommandOutput | CreateGatewayCommandOutput | DeleteBridgeCommandOutput | DeleteFlowCommandOutput | DeleteGatewayCommandOutput | DeregisterGatewayInstanceCommandOutput | DescribeBridgeCommandOutput | DescribeFlowCommandOutput | DescribeGatewayCommandOutput | DescribeGatewayInstanceCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | GrantFlowEntitlementsCommandOutput | ListBridgesCommandOutput | ListEntitlementsCommandOutput | ListFlowsCommandOutput | ListGatewayInstancesCommandOutput | ListGatewaysCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RemoveBridgeOutputCommandOutput | RemoveBridgeSourceCommandOutput | RemoveFlowMediaStreamCommandOutput | RemoveFlowOutputCommandOutput | RemoveFlowSourceCommandOutput | RemoveFlowVpcInterfaceCommandOutput | RevokeFlowEntitlementCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBridgeCommandOutput | UpdateBridgeOutputCommandOutput | UpdateBridgeSourceCommandOutput | UpdateBridgeStateCommandOutput | UpdateFlowCommandOutput | UpdateFlowEntitlementCommandOutput | UpdateFlowMediaStreamCommandOutput | UpdateFlowOutputCommandOutput | UpdateFlowSourceCommandOutput | UpdateGatewayInstanceCommandOutput;
|
|
72
|
+
export type ServiceOutputTypes = AddBridgeOutputsCommandOutput | AddBridgeSourcesCommandOutput | AddFlowMediaStreamsCommandOutput | AddFlowOutputsCommandOutput | AddFlowSourcesCommandOutput | AddFlowVpcInterfacesCommandOutput | CreateBridgeCommandOutput | CreateFlowCommandOutput | CreateGatewayCommandOutput | DeleteBridgeCommandOutput | DeleteFlowCommandOutput | DeleteGatewayCommandOutput | DeregisterGatewayInstanceCommandOutput | DescribeBridgeCommandOutput | DescribeFlowCommandOutput | DescribeFlowSourceMetadataCommandOutput | DescribeGatewayCommandOutput | DescribeGatewayInstanceCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | GrantFlowEntitlementsCommandOutput | ListBridgesCommandOutput | ListEntitlementsCommandOutput | ListFlowsCommandOutput | ListGatewayInstancesCommandOutput | ListGatewaysCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RemoveBridgeOutputCommandOutput | RemoveBridgeSourceCommandOutput | RemoveFlowMediaStreamCommandOutput | RemoveFlowOutputCommandOutput | RemoveFlowSourceCommandOutput | RemoveFlowVpcInterfaceCommandOutput | RevokeFlowEntitlementCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBridgeCommandOutput | UpdateBridgeOutputCommandOutput | UpdateBridgeSourceCommandOutput | UpdateBridgeStateCommandOutput | UpdateFlowCommandOutput | UpdateFlowEntitlementCommandOutput | UpdateFlowMediaStreamCommandOutput | UpdateFlowOutputCommandOutput | UpdateFlowSourceCommandOutput | UpdateGatewayInstanceCommandOutput;
|
|
72
73
|
/**
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
5
|
+
import { DescribeFlowSourceMetadataRequest, DescribeFlowSourceMetadataResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeFlowSourceMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeFlowSourceMetadataCommandInput extends DescribeFlowSourceMetadataRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeFlowSourceMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeFlowSourceMetadataCommandOutput extends DescribeFlowSourceMetadataResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs.
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MediaConnectClient, DescribeFlowSourceMetadataCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
31
|
+
* // const { MediaConnectClient, DescribeFlowSourceMetadataCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
32
|
+
* const client = new MediaConnectClient(config);
|
|
33
|
+
* const input = { // DescribeFlowSourceMetadataRequest
|
|
34
|
+
* FlowArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeFlowSourceMetadataCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeFlowSourceMetadataResponse
|
|
39
|
+
* // FlowArn: "STRING_VALUE",
|
|
40
|
+
* // Messages: [ // __listOfMessageDetail
|
|
41
|
+
* // { // MessageDetail
|
|
42
|
+
* // Code: "STRING_VALUE", // required
|
|
43
|
+
* // Message: "STRING_VALUE", // required
|
|
44
|
+
* // ResourceName: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // Timestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // TransportMediaInfo: { // TransportMediaInfo
|
|
49
|
+
* // Programs: [ // __listOfTransportStreamProgram // required
|
|
50
|
+
* // { // TransportStreamProgram
|
|
51
|
+
* // PcrPid: Number("int"), // required
|
|
52
|
+
* // ProgramName: "STRING_VALUE",
|
|
53
|
+
* // ProgramNumber: Number("int"), // required
|
|
54
|
+
* // ProgramPid: Number("int"), // required
|
|
55
|
+
* // Streams: [ // __listOfTransportStream // required
|
|
56
|
+
* // { // TransportStream
|
|
57
|
+
* // Channels: Number("int"),
|
|
58
|
+
* // Codec: "STRING_VALUE",
|
|
59
|
+
* // FrameRate: "STRING_VALUE",
|
|
60
|
+
* // FrameResolution: { // FrameResolution
|
|
61
|
+
* // FrameHeight: Number("int"), // required
|
|
62
|
+
* // FrameWidth: Number("int"), // required
|
|
63
|
+
* // },
|
|
64
|
+
* // Pid: Number("int"), // required
|
|
65
|
+
* // SampleRate: Number("int"),
|
|
66
|
+
* // SampleSize: Number("int"),
|
|
67
|
+
* // StreamType: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param DescribeFlowSourceMetadataCommandInput - {@link DescribeFlowSourceMetadataCommandInput}
|
|
78
|
+
* @returns {@link DescribeFlowSourceMetadataCommandOutput}
|
|
79
|
+
* @see {@link DescribeFlowSourceMetadataCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link DescribeFlowSourceMetadataCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BadRequestException} (client fault)
|
|
84
|
+
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
87
|
+
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
90
|
+
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link NotFoundException} (client fault)
|
|
93
|
+
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
96
|
+
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
99
|
+
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link MediaConnectServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
export declare class DescribeFlowSourceMetadataCommand extends $Command<DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput, MediaConnectClientResolvedConfig> {
|
|
106
|
+
readonly input: DescribeFlowSourceMetadataCommandInput;
|
|
107
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
constructor(input: DescribeFlowSourceMetadataCommandInput);
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private serialize;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
private deserialize;
|
|
124
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./DeleteGatewayCommand";
|
|
|
13
13
|
export * from "./DeregisterGatewayInstanceCommand";
|
|
14
14
|
export * from "./DescribeBridgeCommand";
|
|
15
15
|
export * from "./DescribeFlowCommand";
|
|
16
|
+
export * from "./DescribeFlowSourceMetadataCommand";
|
|
16
17
|
export * from "./DescribeGatewayCommand";
|
|
17
18
|
export * from "./DescribeGatewayInstanceCommand";
|
|
18
19
|
export * from "./DescribeOfferingCommand";
|
|
@@ -1914,6 +1914,99 @@ export interface Source {
|
|
|
1914
1914
|
*/
|
|
1915
1915
|
GatewayBridgeSource?: GatewayBridgeSource;
|
|
1916
1916
|
}
|
|
1917
|
+
/**
|
|
1918
|
+
* @public
|
|
1919
|
+
* The frame resolution used by the video stream.
|
|
1920
|
+
*/
|
|
1921
|
+
export interface FrameResolution {
|
|
1922
|
+
/**
|
|
1923
|
+
* @public
|
|
1924
|
+
* The number of pixels in the height of the video frame.
|
|
1925
|
+
*/
|
|
1926
|
+
FrameHeight: number | undefined;
|
|
1927
|
+
/**
|
|
1928
|
+
* @public
|
|
1929
|
+
* The number of pixels in the width of the video frame.
|
|
1930
|
+
*/
|
|
1931
|
+
FrameWidth: number | undefined;
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* @public
|
|
1935
|
+
* The metadata of an elementary transport stream.
|
|
1936
|
+
*/
|
|
1937
|
+
export interface TransportStream {
|
|
1938
|
+
/**
|
|
1939
|
+
* @public
|
|
1940
|
+
* The number of channels in the audio stream.
|
|
1941
|
+
*/
|
|
1942
|
+
Channels?: number;
|
|
1943
|
+
/**
|
|
1944
|
+
* @public
|
|
1945
|
+
* The codec used by the stream.
|
|
1946
|
+
*/
|
|
1947
|
+
Codec?: string;
|
|
1948
|
+
/**
|
|
1949
|
+
* @public
|
|
1950
|
+
* The frame rate used by the video stream.
|
|
1951
|
+
*/
|
|
1952
|
+
FrameRate?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* @public
|
|
1955
|
+
* The frame resolution used by the video stream.
|
|
1956
|
+
*/
|
|
1957
|
+
FrameResolution?: FrameResolution;
|
|
1958
|
+
/**
|
|
1959
|
+
* @public
|
|
1960
|
+
* The Packet ID (PID) as it is reported in the Program Map Table.
|
|
1961
|
+
*/
|
|
1962
|
+
Pid: number | undefined;
|
|
1963
|
+
/**
|
|
1964
|
+
* @public
|
|
1965
|
+
* The sample rate used by the audio stream.
|
|
1966
|
+
*/
|
|
1967
|
+
SampleRate?: number;
|
|
1968
|
+
/**
|
|
1969
|
+
* @public
|
|
1970
|
+
* The sample bit size used by the audio stream.
|
|
1971
|
+
*/
|
|
1972
|
+
SampleSize?: number;
|
|
1973
|
+
/**
|
|
1974
|
+
* @public
|
|
1975
|
+
* The Stream Type as it is reported in the Program Map Table.
|
|
1976
|
+
*/
|
|
1977
|
+
StreamType: string | undefined;
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* @public
|
|
1981
|
+
* The metadata of a single transport stream program.
|
|
1982
|
+
*/
|
|
1983
|
+
export interface TransportStreamProgram {
|
|
1984
|
+
/**
|
|
1985
|
+
* @public
|
|
1986
|
+
* The Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.
|
|
1987
|
+
*/
|
|
1988
|
+
PcrPid: number | undefined;
|
|
1989
|
+
/**
|
|
1990
|
+
* @public
|
|
1991
|
+
* The program name as it is reported in the Program Association Table.
|
|
1992
|
+
*/
|
|
1993
|
+
ProgramName?: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* @public
|
|
1996
|
+
* The program number as it is reported in the Program Association Table.
|
|
1997
|
+
*/
|
|
1998
|
+
ProgramNumber: number | undefined;
|
|
1999
|
+
/**
|
|
2000
|
+
* @public
|
|
2001
|
+
* The program Packet ID (PID) as it is reported in the Program Association Table.
|
|
2002
|
+
*/
|
|
2003
|
+
ProgramPid: number | undefined;
|
|
2004
|
+
/**
|
|
2005
|
+
* @public
|
|
2006
|
+
* The list of elementary transport streams in the program. The list includes video, audio, and data streams.
|
|
2007
|
+
*/
|
|
2008
|
+
Streams: TransportStream[] | undefined;
|
|
2009
|
+
}
|
|
1917
2010
|
/**
|
|
1918
2011
|
* @public
|
|
1919
2012
|
* @enum
|
|
@@ -2962,6 +3055,52 @@ export interface DescribeFlowResponse {
|
|
|
2962
3055
|
*/
|
|
2963
3056
|
Messages?: Messages;
|
|
2964
3057
|
}
|
|
3058
|
+
/**
|
|
3059
|
+
* @public
|
|
3060
|
+
*/
|
|
3061
|
+
export interface DescribeFlowSourceMetadataRequest {
|
|
3062
|
+
/**
|
|
3063
|
+
* @public
|
|
3064
|
+
* The Amazon Resource Name (ARN) of the flow.
|
|
3065
|
+
*/
|
|
3066
|
+
FlowArn: string | undefined;
|
|
3067
|
+
}
|
|
3068
|
+
/**
|
|
3069
|
+
* @public
|
|
3070
|
+
* The metadata of the transport stream in the current flow's source.
|
|
3071
|
+
*/
|
|
3072
|
+
export interface TransportMediaInfo {
|
|
3073
|
+
/**
|
|
3074
|
+
* @public
|
|
3075
|
+
* The list of transport stream programs in the current flow's source.
|
|
3076
|
+
*/
|
|
3077
|
+
Programs: TransportStreamProgram[] | undefined;
|
|
3078
|
+
}
|
|
3079
|
+
/**
|
|
3080
|
+
* @public
|
|
3081
|
+
*/
|
|
3082
|
+
export interface DescribeFlowSourceMetadataResponse {
|
|
3083
|
+
/**
|
|
3084
|
+
* @public
|
|
3085
|
+
* The ARN of the flow that DescribeFlowSourceMetadata was performed on.
|
|
3086
|
+
*/
|
|
3087
|
+
FlowArn?: string;
|
|
3088
|
+
/**
|
|
3089
|
+
* @public
|
|
3090
|
+
* Provides a status code and message regarding issues found with the flow source metadata.
|
|
3091
|
+
*/
|
|
3092
|
+
Messages?: MessageDetail[];
|
|
3093
|
+
/**
|
|
3094
|
+
* @public
|
|
3095
|
+
* The timestamp of the most recent change in metadata for this flow’s source.
|
|
3096
|
+
*/
|
|
3097
|
+
Timestamp?: Date;
|
|
3098
|
+
/**
|
|
3099
|
+
* @public
|
|
3100
|
+
* The metadata of the transport stream in the current flow's source.
|
|
3101
|
+
*/
|
|
3102
|
+
TransportMediaInfo?: TransportMediaInfo;
|
|
3103
|
+
}
|
|
2965
3104
|
/**
|
|
2966
3105
|
* @public
|
|
2967
3106
|
*/
|
|
@@ -15,6 +15,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "../comman
|
|
|
15
15
|
import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommandOutput } from "../commands/DeregisterGatewayInstanceCommand";
|
|
16
16
|
import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "../commands/DescribeBridgeCommand";
|
|
17
17
|
import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "../commands/DescribeFlowCommand";
|
|
18
|
+
import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "../commands/DescribeFlowSourceMetadataCommand";
|
|
18
19
|
import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "../commands/DescribeGatewayCommand";
|
|
19
20
|
import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "../commands/DescribeGatewayInstanceCommand";
|
|
20
21
|
import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "../commands/DescribeOfferingCommand";
|
|
@@ -110,6 +111,10 @@ export declare const se_DescribeBridgeCommand: (input: DescribeBridgeCommandInpu
|
|
|
110
111
|
* serializeAws_restJson1DescribeFlowCommand
|
|
111
112
|
*/
|
|
112
113
|
export declare const se_DescribeFlowCommand: (input: DescribeFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
114
|
+
/**
|
|
115
|
+
* serializeAws_restJson1DescribeFlowSourceMetadataCommand
|
|
116
|
+
*/
|
|
117
|
+
export declare const se_DescribeFlowSourceMetadataCommand: (input: DescribeFlowSourceMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
113
118
|
/**
|
|
114
119
|
* serializeAws_restJson1DescribeGatewayCommand
|
|
115
120
|
*/
|
|
@@ -310,6 +315,10 @@ export declare const de_DescribeBridgeCommand: (output: __HttpResponse, context:
|
|
|
310
315
|
* deserializeAws_restJson1DescribeFlowCommand
|
|
311
316
|
*/
|
|
312
317
|
export declare const de_DescribeFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFlowCommandOutput>;
|
|
318
|
+
/**
|
|
319
|
+
* deserializeAws_restJson1DescribeFlowSourceMetadataCommand
|
|
320
|
+
*/
|
|
321
|
+
export declare const de_DescribeFlowSourceMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFlowSourceMetadataCommandOutput>;
|
|
313
322
|
/**
|
|
314
323
|
* deserializeAws_restJson1DescribeGatewayCommand
|
|
315
324
|
*/
|
|
@@ -59,6 +59,10 @@ import {
|
|
|
59
59
|
DescribeFlowCommandInput,
|
|
60
60
|
DescribeFlowCommandOutput,
|
|
61
61
|
} from "./commands/DescribeFlowCommand";
|
|
62
|
+
import {
|
|
63
|
+
DescribeFlowSourceMetadataCommandInput,
|
|
64
|
+
DescribeFlowSourceMetadataCommandOutput,
|
|
65
|
+
} from "./commands/DescribeFlowSourceMetadataCommand";
|
|
62
66
|
import {
|
|
63
67
|
DescribeGatewayCommandInput,
|
|
64
68
|
DescribeGatewayCommandOutput,
|
|
@@ -396,6 +400,19 @@ export interface MediaConnect {
|
|
|
396
400
|
options: __HttpHandlerOptions,
|
|
397
401
|
cb: (err: any, data?: DescribeFlowCommandOutput) => void
|
|
398
402
|
): void;
|
|
403
|
+
describeFlowSourceMetadata(
|
|
404
|
+
args: DescribeFlowSourceMetadataCommandInput,
|
|
405
|
+
options?: __HttpHandlerOptions
|
|
406
|
+
): Promise<DescribeFlowSourceMetadataCommandOutput>;
|
|
407
|
+
describeFlowSourceMetadata(
|
|
408
|
+
args: DescribeFlowSourceMetadataCommandInput,
|
|
409
|
+
cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void
|
|
410
|
+
): void;
|
|
411
|
+
describeFlowSourceMetadata(
|
|
412
|
+
args: DescribeFlowSourceMetadataCommandInput,
|
|
413
|
+
options: __HttpHandlerOptions,
|
|
414
|
+
cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void
|
|
415
|
+
): void;
|
|
399
416
|
describeGateway(
|
|
400
417
|
args: DescribeGatewayCommandInput,
|
|
401
418
|
options?: __HttpHandlerOptions
|
|
@@ -105,6 +105,10 @@ import {
|
|
|
105
105
|
DescribeFlowCommandInput,
|
|
106
106
|
DescribeFlowCommandOutput,
|
|
107
107
|
} from "./commands/DescribeFlowCommand";
|
|
108
|
+
import {
|
|
109
|
+
DescribeFlowSourceMetadataCommandInput,
|
|
110
|
+
DescribeFlowSourceMetadataCommandOutput,
|
|
111
|
+
} from "./commands/DescribeFlowSourceMetadataCommand";
|
|
108
112
|
import {
|
|
109
113
|
DescribeGatewayCommandInput,
|
|
110
114
|
DescribeGatewayCommandOutput,
|
|
@@ -268,6 +272,7 @@ export type ServiceInputTypes =
|
|
|
268
272
|
| DeregisterGatewayInstanceCommandInput
|
|
269
273
|
| DescribeBridgeCommandInput
|
|
270
274
|
| DescribeFlowCommandInput
|
|
275
|
+
| DescribeFlowSourceMetadataCommandInput
|
|
271
276
|
| DescribeGatewayCommandInput
|
|
272
277
|
| DescribeGatewayInstanceCommandInput
|
|
273
278
|
| DescribeOfferingCommandInput
|
|
@@ -319,6 +324,7 @@ export type ServiceOutputTypes =
|
|
|
319
324
|
| DeregisterGatewayInstanceCommandOutput
|
|
320
325
|
| DescribeBridgeCommandOutput
|
|
321
326
|
| DescribeFlowCommandOutput
|
|
327
|
+
| DescribeFlowSourceMetadataCommandOutput
|
|
322
328
|
| DescribeGatewayCommandOutput
|
|
323
329
|
| DescribeGatewayInstanceCommandOutput
|
|
324
330
|
| DescribeOfferingCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
MediaConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../MediaConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
DescribeFlowSourceMetadataRequest,
|
|
16
|
+
DescribeFlowSourceMetadataResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DescribeFlowSourceMetadataCommandInput
|
|
20
|
+
extends DescribeFlowSourceMetadataRequest {}
|
|
21
|
+
export interface DescribeFlowSourceMetadataCommandOutput
|
|
22
|
+
extends DescribeFlowSourceMetadataResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DescribeFlowSourceMetadataCommand extends $Command<
|
|
25
|
+
DescribeFlowSourceMetadataCommandInput,
|
|
26
|
+
DescribeFlowSourceMetadataCommandOutput,
|
|
27
|
+
MediaConnectClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DescribeFlowSourceMetadataCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DescribeFlowSourceMetadataCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: MediaConnectClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DescribeFlowSourceMetadataCommandInput,
|
|
38
|
+
DescribeFlowSourceMetadataCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./DeleteGatewayCommand";
|
|
|
13
13
|
export * from "./DeregisterGatewayInstanceCommand";
|
|
14
14
|
export * from "./DescribeBridgeCommand";
|
|
15
15
|
export * from "./DescribeFlowCommand";
|
|
16
|
+
export * from "./DescribeFlowSourceMetadataCommand";
|
|
16
17
|
export * from "./DescribeGatewayCommand";
|
|
17
18
|
export * from "./DescribeGatewayInstanceCommand";
|
|
18
19
|
export * from "./DescribeOfferingCommand";
|
|
@@ -529,6 +529,27 @@ export interface Source {
|
|
|
529
529
|
WhitelistCidr?: string;
|
|
530
530
|
GatewayBridgeSource?: GatewayBridgeSource;
|
|
531
531
|
}
|
|
532
|
+
export interface FrameResolution {
|
|
533
|
+
FrameHeight: number | undefined;
|
|
534
|
+
FrameWidth: number | undefined;
|
|
535
|
+
}
|
|
536
|
+
export interface TransportStream {
|
|
537
|
+
Channels?: number;
|
|
538
|
+
Codec?: string;
|
|
539
|
+
FrameRate?: string;
|
|
540
|
+
FrameResolution?: FrameResolution;
|
|
541
|
+
Pid: number | undefined;
|
|
542
|
+
SampleRate?: number;
|
|
543
|
+
SampleSize?: number;
|
|
544
|
+
StreamType: string | undefined;
|
|
545
|
+
}
|
|
546
|
+
export interface TransportStreamProgram {
|
|
547
|
+
PcrPid: number | undefined;
|
|
548
|
+
ProgramName?: string;
|
|
549
|
+
ProgramNumber: number | undefined;
|
|
550
|
+
ProgramPid: number | undefined;
|
|
551
|
+
Streams: TransportStream[] | undefined;
|
|
552
|
+
}
|
|
532
553
|
export declare const NetworkInterfaceType: {
|
|
533
554
|
readonly efa: "efa";
|
|
534
555
|
readonly ena: "ena";
|
|
@@ -845,6 +866,18 @@ export interface DescribeFlowResponse {
|
|
|
845
866
|
Flow?: Flow;
|
|
846
867
|
Messages?: Messages;
|
|
847
868
|
}
|
|
869
|
+
export interface DescribeFlowSourceMetadataRequest {
|
|
870
|
+
FlowArn: string | undefined;
|
|
871
|
+
}
|
|
872
|
+
export interface TransportMediaInfo {
|
|
873
|
+
Programs: TransportStreamProgram[] | undefined;
|
|
874
|
+
}
|
|
875
|
+
export interface DescribeFlowSourceMetadataResponse {
|
|
876
|
+
FlowArn?: string;
|
|
877
|
+
Messages?: MessageDetail[];
|
|
878
|
+
Timestamp?: Date;
|
|
879
|
+
TransportMediaInfo?: TransportMediaInfo;
|
|
880
|
+
}
|
|
848
881
|
export interface DescribeGatewayRequest {
|
|
849
882
|
GatewayArn: string | undefined;
|
|
850
883
|
}
|
|
@@ -63,6 +63,10 @@ import {
|
|
|
63
63
|
DescribeFlowCommandInput,
|
|
64
64
|
DescribeFlowCommandOutput,
|
|
65
65
|
} from "../commands/DescribeFlowCommand";
|
|
66
|
+
import {
|
|
67
|
+
DescribeFlowSourceMetadataCommandInput,
|
|
68
|
+
DescribeFlowSourceMetadataCommandOutput,
|
|
69
|
+
} from "../commands/DescribeFlowSourceMetadataCommand";
|
|
66
70
|
import {
|
|
67
71
|
DescribeGatewayCommandInput,
|
|
68
72
|
DescribeGatewayCommandOutput,
|
|
@@ -263,6 +267,10 @@ export declare const se_DescribeFlowCommand: (
|
|
|
263
267
|
input: DescribeFlowCommandInput,
|
|
264
268
|
context: __SerdeContext
|
|
265
269
|
) => Promise<__HttpRequest>;
|
|
270
|
+
export declare const se_DescribeFlowSourceMetadataCommand: (
|
|
271
|
+
input: DescribeFlowSourceMetadataCommandInput,
|
|
272
|
+
context: __SerdeContext
|
|
273
|
+
) => Promise<__HttpRequest>;
|
|
266
274
|
export declare const se_DescribeGatewayCommand: (
|
|
267
275
|
input: DescribeGatewayCommandInput,
|
|
268
276
|
context: __SerdeContext
|
|
@@ -463,6 +471,10 @@ export declare const de_DescribeFlowCommand: (
|
|
|
463
471
|
output: __HttpResponse,
|
|
464
472
|
context: __SerdeContext
|
|
465
473
|
) => Promise<DescribeFlowCommandOutput>;
|
|
474
|
+
export declare const de_DescribeFlowSourceMetadataCommand: (
|
|
475
|
+
output: __HttpResponse,
|
|
476
|
+
context: __SerdeContext
|
|
477
|
+
) => Promise<DescribeFlowSourceMetadataCommandOutput>;
|
|
466
478
|
export declare const de_DescribeGatewayCommand: (
|
|
467
479
|
output: __HttpResponse,
|
|
468
480
|
context: __SerdeContext
|
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.480.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",
|