| 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.RemoveFlowVpcInterface
Description
Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
Synopsis
- data RemoveFlowVpcInterface = RemoveFlowVpcInterface' {
- flowArn :: Text
- vpcInterfaceName :: Text
- newRemoveFlowVpcInterface :: Text -> Text -> RemoveFlowVpcInterface
- removeFlowVpcInterface_flowArn :: Lens' RemoveFlowVpcInterface Text
- removeFlowVpcInterface_vpcInterfaceName :: Lens' RemoveFlowVpcInterface Text
- data RemoveFlowVpcInterfaceResponse = RemoveFlowVpcInterfaceResponse' {}
- newRemoveFlowVpcInterfaceResponse :: Int -> RemoveFlowVpcInterfaceResponse
- removeFlowVpcInterfaceResponse_flowArn :: Lens' RemoveFlowVpcInterfaceResponse (Maybe Text)
- removeFlowVpcInterfaceResponse_nonDeletedNetworkInterfaceIds :: Lens' RemoveFlowVpcInterfaceResponse (Maybe [Text])
- removeFlowVpcInterfaceResponse_vpcInterfaceName :: Lens' RemoveFlowVpcInterfaceResponse (Maybe Text)
- removeFlowVpcInterfaceResponse_httpStatus :: Lens' RemoveFlowVpcInterfaceResponse Int
Creating a Request
data RemoveFlowVpcInterface Source #
See: newRemoveFlowVpcInterface smart constructor.
Constructors
| RemoveFlowVpcInterface' | |
Fields
| |
Instances
newRemoveFlowVpcInterface Source #
Create a value of RemoveFlowVpcInterface 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:
RemoveFlowVpcInterface, removeFlowVpcInterface_flowArn - The flow that you want to remove a VPC interface from.
RemoveFlowVpcInterface, removeFlowVpcInterface_vpcInterfaceName - The name of the VPC interface that you want to remove.
Request Lenses
removeFlowVpcInterface_flowArn :: Lens' RemoveFlowVpcInterface Text Source #
The flow that you want to remove a VPC interface from.
removeFlowVpcInterface_vpcInterfaceName :: Lens' RemoveFlowVpcInterface Text Source #
The name of the VPC interface that you want to remove.
Destructuring the Response
data RemoveFlowVpcInterfaceResponse Source #
See: newRemoveFlowVpcInterfaceResponse smart constructor.
Constructors
| RemoveFlowVpcInterfaceResponse' | |
Fields
| |
Instances
newRemoveFlowVpcInterfaceResponse Source #
Create a value of RemoveFlowVpcInterfaceResponse 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:
RemoveFlowVpcInterface, removeFlowVpcInterfaceResponse_flowArn - The ARN of the flow that is associated with the VPC interface you
removed.
$sel:nonDeletedNetworkInterfaceIds:RemoveFlowVpcInterfaceResponse', removeFlowVpcInterfaceResponse_nonDeletedNetworkInterfaceIds - IDs of network interfaces associated with the removed VPC interface that
Media Connect was unable to remove.
RemoveFlowVpcInterface, removeFlowVpcInterfaceResponse_vpcInterfaceName - The name of the VPC interface that was removed.
$sel:httpStatus:RemoveFlowVpcInterfaceResponse', removeFlowVpcInterfaceResponse_httpStatus - The response's http status code.
Response Lenses
removeFlowVpcInterfaceResponse_flowArn :: Lens' RemoveFlowVpcInterfaceResponse (Maybe Text) Source #
The ARN of the flow that is associated with the VPC interface you removed.
removeFlowVpcInterfaceResponse_nonDeletedNetworkInterfaceIds :: Lens' RemoveFlowVpcInterfaceResponse (Maybe [Text]) Source #
IDs of network interfaces associated with the removed VPC interface that Media Connect was unable to remove.
removeFlowVpcInterfaceResponse_vpcInterfaceName :: Lens' RemoveFlowVpcInterfaceResponse (Maybe Text) Source #
The name of the VPC interface that was removed.
removeFlowVpcInterfaceResponse_httpStatus :: Lens' RemoveFlowVpcInterfaceResponse Int Source #
The response's http status code.