Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
RemoveFlowVpcInterface' | |
|
Instances
newRemoveFlowVpcInterface Source #
:: Text | |
-> Text | |
-> RemoveFlowVpcInterface |
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:
$sel:flowArn:RemoveFlowVpcInterface'
, removeFlowVpcInterface_flowArn
- The flow that you want to remove a VPC interface from.
$sel:vpcInterfaceName: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.
RemoveFlowVpcInterfaceResponse' | |
|
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:
$sel:flowArn: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.
$sel:vpcInterfaceName: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.