| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MediaConnect.AddFlowVpcInterfaces
Description
Adds VPC interfaces to flow
Synopsis
- data AddFlowVpcInterfaces = AddFlowVpcInterfaces' {}
- newAddFlowVpcInterfaces :: Text -> AddFlowVpcInterfaces
- addFlowVpcInterfaces_flowArn :: Lens' AddFlowVpcInterfaces Text
- addFlowVpcInterfaces_vpcInterfaces :: Lens' AddFlowVpcInterfaces [VpcInterfaceRequest]
- data AddFlowVpcInterfacesResponse = AddFlowVpcInterfacesResponse' {
- flowArn :: Maybe Text
- vpcInterfaces :: Maybe [VpcInterface]
- httpStatus :: Int
- newAddFlowVpcInterfacesResponse :: Int -> AddFlowVpcInterfacesResponse
- addFlowVpcInterfacesResponse_flowArn :: Lens' AddFlowVpcInterfacesResponse (Maybe Text)
- addFlowVpcInterfacesResponse_vpcInterfaces :: Lens' AddFlowVpcInterfacesResponse (Maybe [VpcInterface])
- addFlowVpcInterfacesResponse_httpStatus :: Lens' AddFlowVpcInterfacesResponse Int
Creating a Request
data AddFlowVpcInterfaces Source #
A request to add VPC interfaces to the flow.
See: newAddFlowVpcInterfaces smart constructor.
Constructors
| AddFlowVpcInterfaces' | |
Fields
| |
Instances
newAddFlowVpcInterfaces Source #
Arguments
| :: Text | |
| -> AddFlowVpcInterfaces |
Create a value of AddFlowVpcInterfaces with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AddFlowVpcInterfaces, addFlowVpcInterfaces_flowArn - The flow that you want to mutate.
AddFlowVpcInterfaces, addFlowVpcInterfaces_vpcInterfaces - A list of VPC interfaces that you want to add.
Request Lenses
addFlowVpcInterfaces_flowArn :: Lens' AddFlowVpcInterfaces Text Source #
The flow that you want to mutate.
addFlowVpcInterfaces_vpcInterfaces :: Lens' AddFlowVpcInterfaces [VpcInterfaceRequest] Source #
A list of VPC interfaces that you want to add.
Destructuring the Response
data AddFlowVpcInterfacesResponse Source #
See: newAddFlowVpcInterfacesResponse smart constructor.
Constructors
| AddFlowVpcInterfacesResponse' | |
Fields
| |
Instances
newAddFlowVpcInterfacesResponse Source #
Create a value of AddFlowVpcInterfacesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AddFlowVpcInterfaces, addFlowVpcInterfacesResponse_flowArn - The ARN of the flow that these VPC interfaces were added to.
AddFlowVpcInterfaces, addFlowVpcInterfacesResponse_vpcInterfaces - The details of the newly added VPC interfaces.
$sel:httpStatus:AddFlowVpcInterfacesResponse', addFlowVpcInterfacesResponse_httpStatus - The response's http status code.
Response Lenses
addFlowVpcInterfacesResponse_flowArn :: Lens' AddFlowVpcInterfacesResponse (Maybe Text) Source #
The ARN of the flow that these VPC interfaces were added to.
addFlowVpcInterfacesResponse_vpcInterfaces :: Lens' AddFlowVpcInterfacesResponse (Maybe [VpcInterface]) Source #
The details of the newly added VPC interfaces.
addFlowVpcInterfacesResponse_httpStatus :: Lens' AddFlowVpcInterfacesResponse Int Source #
The response's http status code.