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 { GetRouterNetworkInterfaceRequest, GetRouterNetworkInterfaceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetRouterNetworkInterfaceCommand}. */ export interface GetRouterNetworkInterfaceCommandInput extends GetRouterNetworkInterfaceRequest { } /** * @public * * The output of {@link GetRouterNetworkInterfaceCommand}. */ export interface GetRouterNetworkInterfaceCommandOutput extends GetRouterNetworkInterfaceResponse, __MetadataBearer { } declare const GetRouterNetworkInterfaceCommand_base: { new (input: GetRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves information about a specific router network interface in AWS Elemental MediaConnect.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConnectClient, GetRouterNetworkInterfaceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import * // const { MediaConnectClient, GetRouterNetworkInterfaceCommand } = 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 = { // GetRouterNetworkInterfaceRequest * Arn: "STRING_VALUE", // required * }; * const command = new GetRouterNetworkInterfaceCommand(input); * const response = await client.send(command); * // { // GetRouterNetworkInterfaceResponse * // RouterNetworkInterface: { // RouterNetworkInterface * // Name: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // Id: "STRING_VALUE", // required * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "ERROR" || "RECOVERING", // required * // NetworkInterfaceType: "PUBLIC" || "VPC", // required * // Configuration: { // RouterNetworkInterfaceConfiguration Union: only one key present * // Public: { // PublicRouterNetworkInterfaceConfiguration * // AllowRules: [ // NetworkInterfaceRuleList // required * // { // PublicRouterNetworkInterfaceRule * // Cidr: "STRING_VALUE", // required * // }, * // ], * // }, * // Vpc: { // VpcRouterNetworkInterfaceConfiguration * // SecurityGroupIds: [ // SecurityGroupIdList // required * // "STRING_VALUE", * // ], * // SubnetId: "STRING_VALUE", // required * // }, * // }, * // AssociatedOutputCount: Number("int"), // required * // AssociatedInputCount: Number("int"), // required * // RegionName: "STRING_VALUE", // required * // CreatedAt: new Date("TIMESTAMP"), // required * // UpdatedAt: new Date("TIMESTAMP"), // required * // Tags: { // __mapOfString // required * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param GetRouterNetworkInterfaceCommandInput - {@link GetRouterNetworkInterfaceCommandInput} * @returns {@link GetRouterNetworkInterfaceCommandOutput} * @see {@link GetRouterNetworkInterfaceCommandInput} for command's `input` shape. * @see {@link GetRouterNetworkInterfaceCommandOutput} 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 GetRouterNetworkInterfaceCommand extends GetRouterNetworkInterfaceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRouterNetworkInterfaceRequest; output: GetRouterNetworkInterfaceResponse; }; sdk: { input: GetRouterNetworkInterfaceCommandInput; output: GetRouterNetworkInterfaceCommandOutput; }; }; }