| 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.ElasticSearch.DeleteVpcEndpoint
Description
Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
Synopsis
- data DeleteVpcEndpoint = DeleteVpcEndpoint' {}
- newDeleteVpcEndpoint :: Text -> DeleteVpcEndpoint
- deleteVpcEndpoint_vpcEndpointId :: Lens' DeleteVpcEndpoint Text
- data DeleteVpcEndpointResponse = DeleteVpcEndpointResponse' {}
- newDeleteVpcEndpointResponse :: Int -> VpcEndpointSummary -> DeleteVpcEndpointResponse
- deleteVpcEndpointResponse_httpStatus :: Lens' DeleteVpcEndpointResponse Int
- deleteVpcEndpointResponse_vpcEndpointSummary :: Lens' DeleteVpcEndpointResponse VpcEndpointSummary
Creating a Request
data DeleteVpcEndpoint Source #
Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
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:
DeleteVpcEndpoint, deleteVpcEndpoint_vpcEndpointId - The unique identifier of the endpoint to be deleted.
Request Lenses
deleteVpcEndpoint_vpcEndpointId :: Lens' DeleteVpcEndpoint Text Source #
The unique identifier of the endpoint to be deleted.
Destructuring the Response
data DeleteVpcEndpointResponse Source #
Container for response parameters to the DeleteVpcEndpoint operation.
Contains the summarized detail of the VPC Endpoint being deleted.
See: newDeleteVpcEndpointResponse smart constructor.
Constructors
| DeleteVpcEndpointResponse' | |
Fields
| |
Instances
newDeleteVpcEndpointResponse Source #
Arguments
| :: Int | |
| -> VpcEndpointSummary | |
| -> DeleteVpcEndpointResponse |
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:httpStatus:DeleteVpcEndpointResponse', deleteVpcEndpointResponse_httpStatus - The response's http status code.
$sel:vpcEndpointSummary:DeleteVpcEndpointResponse', deleteVpcEndpointResponse_vpcEndpointSummary - Information about the deleted endpoint, including its current status
(DELETING or DELETE_FAILED).
Response Lenses
deleteVpcEndpointResponse_httpStatus :: Lens' DeleteVpcEndpointResponse Int Source #
The response's http status code.
deleteVpcEndpointResponse_vpcEndpointSummary :: Lens' DeleteVpcEndpointResponse VpcEndpointSummary Source #
Information about the deleted endpoint, including its current status
(DELETING or DELETE_FAILED).