| 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.OpenSearchServerless.DeleteVpcEndpoint
Description
Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
Synopsis
- data DeleteVpcEndpoint = DeleteVpcEndpoint' {
- clientToken :: Maybe Text
- id :: Text
- newDeleteVpcEndpoint :: Text -> DeleteVpcEndpoint
- deleteVpcEndpoint_clientToken :: Lens' DeleteVpcEndpoint (Maybe Text)
- deleteVpcEndpoint_id :: Lens' DeleteVpcEndpoint Text
- data DeleteVpcEndpointResponse = DeleteVpcEndpointResponse' {}
- newDeleteVpcEndpointResponse :: Int -> DeleteVpcEndpointResponse
- deleteVpcEndpointResponse_deleteVpcEndpointDetail :: Lens' DeleteVpcEndpointResponse (Maybe DeleteVpcEndpointDetail)
- deleteVpcEndpointResponse_httpStatus :: Lens' DeleteVpcEndpointResponse Int
Creating a Request
data DeleteVpcEndpoint Source #
See: newDeleteVpcEndpoint smart constructor.
Constructors
| DeleteVpcEndpoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteVpcEndpoint |
Create a value of DeleteVpcEndpoint 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:clientToken:DeleteVpcEndpoint', deleteVpcEndpoint_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.
DeleteVpcEndpoint, deleteVpcEndpoint_id - The VPC endpoint identifier.
Request Lenses
deleteVpcEndpoint_clientToken :: Lens' DeleteVpcEndpoint (Maybe Text) Source #
Unique, case-sensitive identifier to ensure idempotency of the request.
deleteVpcEndpoint_id :: Lens' DeleteVpcEndpoint Text Source #
The VPC endpoint identifier.
Destructuring the Response
data DeleteVpcEndpointResponse Source #
See: newDeleteVpcEndpointResponse smart constructor.
Constructors
| DeleteVpcEndpointResponse' | |
Fields
| |
Instances
newDeleteVpcEndpointResponse Source #
Create a value of DeleteVpcEndpointResponse 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:deleteVpcEndpointDetail:DeleteVpcEndpointResponse', deleteVpcEndpointResponse_deleteVpcEndpointDetail - Details about the deleted endpoint.
$sel:httpStatus:DeleteVpcEndpointResponse', deleteVpcEndpointResponse_httpStatus - The response's http status code.
Response Lenses
deleteVpcEndpointResponse_deleteVpcEndpointDetail :: Lens' DeleteVpcEndpointResponse (Maybe DeleteVpcEndpointDetail) Source #
Details about the deleted endpoint.
deleteVpcEndpointResponse_httpStatus :: Lens' DeleteVpcEndpointResponse Int Source #
The response's http status code.