| 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.AppRunner.DeleteVpcConnector
Description
Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
Synopsis
- data DeleteVpcConnector = DeleteVpcConnector' {}
- newDeleteVpcConnector :: Text -> DeleteVpcConnector
- deleteVpcConnector_vpcConnectorArn :: Lens' DeleteVpcConnector Text
- data DeleteVpcConnectorResponse = DeleteVpcConnectorResponse' {}
- newDeleteVpcConnectorResponse :: Int -> VpcConnector -> DeleteVpcConnectorResponse
- deleteVpcConnectorResponse_httpStatus :: Lens' DeleteVpcConnectorResponse Int
- deleteVpcConnectorResponse_vpcConnector :: Lens' DeleteVpcConnectorResponse VpcConnector
Creating a Request
data DeleteVpcConnector Source #
See: newDeleteVpcConnector smart constructor.
Constructors
| DeleteVpcConnector' | |
Fields
| |
Instances
newDeleteVpcConnector Source #
Arguments
| :: Text | |
| -> DeleteVpcConnector |
Create a value of DeleteVpcConnector 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:
DeleteVpcConnector, deleteVpcConnector_vpcConnectorArn - The Amazon Resource Name (ARN) of the App Runner VPC connector that you
want to delete.
The ARN must be a full VPC connector ARN.
Request Lenses
deleteVpcConnector_vpcConnectorArn :: Lens' DeleteVpcConnector Text Source #
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to delete.
The ARN must be a full VPC connector ARN.
Destructuring the Response
data DeleteVpcConnectorResponse Source #
See: newDeleteVpcConnectorResponse smart constructor.
Constructors
| DeleteVpcConnectorResponse' | |
Fields
| |
Instances
newDeleteVpcConnectorResponse Source #
Arguments
| :: Int | |
| -> VpcConnector | |
| -> DeleteVpcConnectorResponse |
Create a value of DeleteVpcConnectorResponse 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:httpStatus:DeleteVpcConnectorResponse', deleteVpcConnectorResponse_httpStatus - The response's http status code.
$sel:vpcConnector:DeleteVpcConnectorResponse', deleteVpcConnectorResponse_vpcConnector - A description of the App Runner VPC connector that this request just
deleted.
Response Lenses
deleteVpcConnectorResponse_httpStatus :: Lens' DeleteVpcConnectorResponse Int Source #
The response's http status code.
deleteVpcConnectorResponse_vpcConnector :: Lens' DeleteVpcConnectorResponse VpcConnector Source #
A description of the App Runner VPC connector that this request just deleted.