import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient"; import type { GetRouterInputRequest, GetRouterInputResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetRouterInputCommand}. */ export interface GetRouterInputCommandInput extends GetRouterInputRequest { } /** * @public * * The output of {@link GetRouterInputCommand}. */ export interface GetRouterInputCommandOutput extends GetRouterInputResponse, __MetadataBearer { } declare const GetRouterInputCommand_base: { new (input: GetRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves information about a specific router input in AWS Elemental MediaConnect.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConnectClient, GetRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import * // const { MediaConnectClient, GetRouterInputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import * // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect"; * const config = {}; // type is MediaConnectClientConfig * const client = new MediaConnectClient(config); * const input = { // GetRouterInputRequest * Arn: "STRING_VALUE", // required * }; * const command = new GetRouterInputCommand(input); * const response = await client.send(command); * // { // GetRouterInputResponse * // RouterInput: { // RouterInput * // Name: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // Id: "STRING_VALUE", // required * // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required * // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW" || "MEDIALIVE_CHANNEL", // required * // Configuration: { // RouterInputConfiguration Union: only one key present * // Standard: { // StandardRouterInputConfiguration * // NetworkInterfaceArn: "STRING_VALUE", // required * // ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present * // Rist: { // RistRouterInputConfiguration * // Port: Number("int"), // required * // RecoveryLatencyMilliseconds: Number("long"), // required * // }, * // SrtListener: { // SrtListenerRouterInputConfiguration * // Port: Number("int"), // required * // MinimumLatencyMilliseconds: Number("long"), // required * // DecryptionConfiguration: { // SrtDecryptionConfiguration * // EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration * // SecretArn: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // }, * // }, * // }, * // SrtCaller: { // SrtCallerRouterInputConfiguration * // SourceAddress: "STRING_VALUE", // required * // SourcePort: Number("int"), // required * // MinimumLatencyMilliseconds: Number("long"), // required * // StreamId: "STRING_VALUE", * // DecryptionConfiguration: { * // EncryptionKey: { * // SecretArn: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // }, * // }, * // }, * // Rtp: { // RtpRouterInputConfiguration * // Port: Number("int"), // required * // ForwardErrorCorrection: "ENABLED" || "DISABLED", * // }, * // }, * // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER", * // }, * // MediaLiveChannel: { // MediaLiveChannelRouterInputConfiguration * // MediaLiveChannelArn: "STRING_VALUE", * // MediaLivePipelineId: "PIPELINE_0" || "PIPELINE_1", * // MediaLiveChannelOutputName: "STRING_VALUE", * // SourceTransitDecryption: { // MediaLiveTransitEncryption * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC", * // EncryptionKeyConfiguration: { // MediaLiveTransitEncryptionKeyConfiguration Union: only one key present * // SecretsManager: { * // SecretArn: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // }, * // Automatic: {}, * // }, * // }, * // }, * // Failover: { // FailoverRouterInputConfiguration * // NetworkInterfaceArn: "STRING_VALUE", // required * // ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required * // { // FailoverRouterInputProtocolConfiguration Union: only one key present * // Rist: { * // Port: Number("int"), // required * // RecoveryLatencyMilliseconds: Number("long"), // required * // }, * // SrtListener: { * // Port: Number("int"), // required * // MinimumLatencyMilliseconds: Number("long"), // required * // DecryptionConfiguration: { * // EncryptionKey: "", // required * // }, * // }, * // SrtCaller: { * // SourceAddress: "STRING_VALUE", // required * // SourcePort: Number("int"), // required * // MinimumLatencyMilliseconds: Number("long"), // required * // StreamId: "STRING_VALUE", * // DecryptionConfiguration: { * // EncryptionKey: "", // required * // }, * // }, * // Rtp: { * // Port: Number("int"), // required * // ForwardErrorCorrection: "ENABLED" || "DISABLED", * // }, * // }, * // ], * // SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required * // PrimarySourceIndex: Number("int"), * // }, * // MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration * // FlowArn: "STRING_VALUE", * // FlowOutputArn: "STRING_VALUE", * // SourceTransitDecryption: { // FlowTransitEncryption * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC", * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present * // SecretsManager: "", * // Automatic: {}, * // }, * // }, * // }, * // Merge: { // MergeRouterInputConfiguration * // NetworkInterfaceArn: "STRING_VALUE", // required * // ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required * // { // MergeRouterInputProtocolConfiguration Union: only one key present * // Rtp: { * // Port: Number("int"), // required * // ForwardErrorCorrection: "ENABLED" || "DISABLED", * // }, * // Rist: { * // Port: Number("int"), // required * // RecoveryLatencyMilliseconds: Number("long"), // required * // }, * // }, * // ], * // MergeRecoveryWindowMilliseconds: Number("long"), // required * // }, * // }, * // RoutedOutputs: Number("int"), // required * // MaximumRoutedOutputs: Number("int"), * // RegionName: "STRING_VALUE", // required * // AvailabilityZone: "STRING_VALUE", // required * // MaximumBitrate: Number("long"), // required * // Tier: "INPUT_100" || "INPUT_50" || "INPUT_20", // required * // RoutingScope: "REGIONAL" || "GLOBAL", // required * // CreatedAt: new Date("TIMESTAMP"), // required * // UpdatedAt: new Date("TIMESTAMP"), // required * // Messages: [ // RouterInputMessages // required * // { // RouterInputMessage * // Code: "STRING_VALUE", // required * // Message: "STRING_VALUE", // required * // }, * // ], * // TransitEncryption: { // RouterInputTransitEncryption * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC", * // EncryptionKeyConfiguration: { // RouterInputTransitEncryptionKeyConfiguration Union: only one key present * // SecretsManager: "", * // Automatic: {}, * // }, * // }, * // Tags: { // __mapOfString // required * // "": "STRING_VALUE", * // }, * // StreamDetails: { // RouterInputStreamDetails Union: only one key present * // Standard: { // StandardRouterInputStreamDetails * // SourceIpAddress: "STRING_VALUE", * // }, * // MediaLiveChannel: {}, * // Failover: { // FailoverRouterInputStreamDetails * // SourceIndexZeroStreamDetails: { // FailoverRouterInputIndexedStreamDetails * // SourceIndex: Number("int"), // required * // SourceIpAddress: "STRING_VALUE", * // }, * // SourceIndexOneStreamDetails: { * // SourceIndex: Number("int"), // required * // SourceIpAddress: "STRING_VALUE", * // }, * // }, * // MediaConnectFlow: {}, * // Merge: { // MergeRouterInputStreamDetails * // SourceIndexZeroStreamDetails: { // MergeRouterInputIndexedStreamDetails * // SourceIndex: Number("int"), // required * // SourceIpAddress: "STRING_VALUE", * // }, * // SourceIndexOneStreamDetails: { * // SourceIndex: Number("int"), // required * // SourceIpAddress: "STRING_VALUE", * // }, * // }, * // }, * // IpAddress: "STRING_VALUE", * // MaintenanceType: "PREFERRED_DAY_TIME" || "DEFAULT", // required * // MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present * // PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration * // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required * // Time: "STRING_VALUE", // required * // }, * // Default: {}, * // }, * // MaintenanceScheduleType: "WINDOW", * // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present * // Window: { // WindowMaintenanceSchedule * // Start: new Date("TIMESTAMP"), // required * // End: new Date("TIMESTAMP"), // required * // ScheduledTime: new Date("TIMESTAMP"), // required * // }, * // }, * // }, * // }; * * ``` * * @param GetRouterInputCommandInput - {@link GetRouterInputCommandInput} * @returns {@link GetRouterInputCommandOutput} * @see {@link GetRouterInputCommandInput} for command's `input` shape. * @see {@link GetRouterInputCommandOutput} for command's `response` shape. * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.

* * @throws {@link ConflictException} (client fault) *

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

* * @throws {@link ForbiddenException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerErrorException} (server fault) *

The server encountered an internal error and is unable to complete the request.

* * @throws {@link NotFoundException} (client fault) *

One or more of the resources in the request does not exist in the system.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is currently unavailable or busy.

* * @throws {@link TooManyRequestsException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link MediaConnectServiceException} *

Base exception class for all service exceptions from MediaConnect service.

* * * @public */ export declare class GetRouterInputCommand extends GetRouterInputCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRouterInputRequest; output: GetRouterInputResponse; }; sdk: { input: GetRouterInputCommandInput; output: GetRouterInputCommandOutput; }; }; }