-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client-mediaconnect): AWS Elemental MediaConnect introduces thum…
…bnails for Flow source monitoring. Thumbnails provide still image previews of the live content feeding your MediaConnect Flow allowing you to easily verify that your source is operating as expected.
- Loading branch information
awstools
committed
Sep 3, 2024
1 parent
c4db70b
commit 7f6b5df
Showing
11 changed files
with
516 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
clients/client-mediaconnect/src/commands/DescribeFlowSourceThumbnailCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient"; | ||
import { DescribeFlowSourceThumbnailRequest, DescribeFlowSourceThumbnailResponse } from "../models/models_0"; | ||
import { | ||
de_DescribeFlowSourceThumbnailCommand, | ||
se_DescribeFlowSourceThumbnailCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DescribeFlowSourceThumbnailCommand}. | ||
*/ | ||
export interface DescribeFlowSourceThumbnailCommandInput extends DescribeFlowSourceThumbnailRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DescribeFlowSourceThumbnailCommand}. | ||
*/ | ||
export interface DescribeFlowSourceThumbnailCommandOutput | ||
extends DescribeFlowSourceThumbnailResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* Displays the thumbnail details of a flow's source stream. | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { MediaConnectClient, DescribeFlowSourceThumbnailCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import | ||
* // const { MediaConnectClient, DescribeFlowSourceThumbnailCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import | ||
* const client = new MediaConnectClient(config); | ||
* const input = { // DescribeFlowSourceThumbnailRequest | ||
* FlowArn: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DescribeFlowSourceThumbnailCommand(input); | ||
* const response = await client.send(command); | ||
* // { // DescribeFlowSourceThumbnailResponse | ||
* // ThumbnailDetails: { // ThumbnailDetails | ||
* // FlowArn: "STRING_VALUE", // required | ||
* // Thumbnail: "STRING_VALUE", | ||
* // ThumbnailMessages: [ // __listOfMessageDetail // required | ||
* // { // MessageDetail | ||
* // Code: "STRING_VALUE", // required | ||
* // Message: "STRING_VALUE", // required | ||
* // ResourceName: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // Timecode: "STRING_VALUE", | ||
* // Timestamp: new Date("TIMESTAMP"), | ||
* // }, | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param DescribeFlowSourceThumbnailCommandInput - {@link DescribeFlowSourceThumbnailCommandInput} | ||
* @returns {@link DescribeFlowSourceThumbnailCommandOutput} | ||
* @see {@link DescribeFlowSourceThumbnailCommandInput} for command's `input` shape. | ||
* @see {@link DescribeFlowSourceThumbnailCommandOutput} for command's `response` shape. | ||
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape. | ||
* | ||
* @throws {@link BadRequestException} (client fault) | ||
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception. | ||
* | ||
* @throws {@link ForbiddenException} (client fault) | ||
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception. | ||
* | ||
* @throws {@link InternalServerErrorException} (server fault) | ||
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception. | ||
* | ||
* @throws {@link NotFoundException} (client fault) | ||
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception. | ||
* | ||
* @throws {@link ServiceUnavailableException} (server fault) | ||
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception. | ||
* | ||
* @throws {@link TooManyRequestsException} (client fault) | ||
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception. | ||
* | ||
* @throws {@link MediaConnectServiceException} | ||
* <p>Base exception class for all service exceptions from MediaConnect service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DescribeFlowSourceThumbnailCommand extends $Command | ||
.classBuilder< | ||
DescribeFlowSourceThumbnailCommandInput, | ||
DescribeFlowSourceThumbnailCommandOutput, | ||
MediaConnectClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (this: any, Command: any, cs: any, config: MediaConnectClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("MediaConnect", "DescribeFlowSourceThumbnail", {}) | ||
.n("MediaConnectClient", "DescribeFlowSourceThumbnailCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DescribeFlowSourceThumbnailCommand) | ||
.de(de_DescribeFlowSourceThumbnailCommand) | ||
.build() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.