| 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.RedshiftServerLess.DeleteEndpointAccess
Description
Deletes an Amazon Redshift Serverless managed VPC endpoint.
Synopsis
- data DeleteEndpointAccess = DeleteEndpointAccess' {
- endpointName :: Text
- newDeleteEndpointAccess :: Text -> DeleteEndpointAccess
- deleteEndpointAccess_endpointName :: Lens' DeleteEndpointAccess Text
- data DeleteEndpointAccessResponse = DeleteEndpointAccessResponse' {}
- newDeleteEndpointAccessResponse :: Int -> DeleteEndpointAccessResponse
- deleteEndpointAccessResponse_endpoint :: Lens' DeleteEndpointAccessResponse (Maybe EndpointAccess)
- deleteEndpointAccessResponse_httpStatus :: Lens' DeleteEndpointAccessResponse Int
Creating a Request
data DeleteEndpointAccess Source #
See: newDeleteEndpointAccess smart constructor.
Constructors
| DeleteEndpointAccess' | |
Fields
| |
Instances
newDeleteEndpointAccess Source #
Arguments
| :: Text | |
| -> DeleteEndpointAccess |
Create a value of DeleteEndpointAccess 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:
DeleteEndpointAccess, deleteEndpointAccess_endpointName - The name of the VPC endpoint to delete.
Request Lenses
deleteEndpointAccess_endpointName :: Lens' DeleteEndpointAccess Text Source #
The name of the VPC endpoint to delete.
Destructuring the Response
data DeleteEndpointAccessResponse Source #
See: newDeleteEndpointAccessResponse smart constructor.
Constructors
| DeleteEndpointAccessResponse' | |
Fields
| |
Instances
newDeleteEndpointAccessResponse Source #
Create a value of DeleteEndpointAccessResponse 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:
DeleteEndpointAccessResponse, deleteEndpointAccessResponse_endpoint - The deleted VPC endpoint.
$sel:httpStatus:DeleteEndpointAccessResponse', deleteEndpointAccessResponse_httpStatus - The response's http status code.
Response Lenses
deleteEndpointAccessResponse_endpoint :: Lens' DeleteEndpointAccessResponse (Maybe EndpointAccess) Source #
The deleted VPC endpoint.
deleteEndpointAccessResponse_httpStatus :: Lens' DeleteEndpointAccessResponse Int Source #
The response's http status code.