Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class AddFlowVpcInterfacesCommandProtected

Adds VPC interfaces to flow

Example

Use a bare-bones client and the command you need to make an API call.

import { MediaConnectClient, AddFlowVpcInterfacesCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
// const { MediaConnectClient, AddFlowVpcInterfacesCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
const client = new MediaConnectClient(config);
const input = { // AddFlowVpcInterfacesRequest
FlowArn: "STRING_VALUE", // required
VpcInterfaces: [ // __listOfVpcInterfaceRequest // required
{ // VpcInterfaceRequest
Name: "STRING_VALUE", // required
NetworkInterfaceType: "ena" || "efa",
RoleArn: "STRING_VALUE", // required
SecurityGroupIds: [ // __listOf__string // required
"STRING_VALUE",
],
SubnetId: "STRING_VALUE", // required
},
],
};
const command = new AddFlowVpcInterfacesCommand(input);
const response = await client.send(command);
// { // AddFlowVpcInterfacesResponse
// FlowArn: "STRING_VALUE",
// VpcInterfaces: [ // __listOfVpcInterface
// { // VpcInterface
// Name: "STRING_VALUE", // required
// NetworkInterfaceIds: [ // __listOf__string // required
// "STRING_VALUE",
// ],
// NetworkInterfaceType: "ena" || "efa", // required
// RoleArn: "STRING_VALUE", // required
// SecurityGroupIds: [ // required
// "STRING_VALUE",
// ],
// SubnetId: "STRING_VALUE", // required
// },
// ],
// };

Param

AddFlowVpcInterfacesCommandInput

Returns

AddFlowVpcInterfacesCommandOutput

See

Throws

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

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

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

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

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

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

MediaConnectServiceException

Base exception class for all service exceptions from MediaConnect service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods