| 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.CloudWatchEvents.DeleteEndpoint
Description
Delete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
Synopsis
- data DeleteEndpoint = DeleteEndpoint' {}
- newDeleteEndpoint :: Text -> DeleteEndpoint
- deleteEndpoint_name :: Lens' DeleteEndpoint Text
- data DeleteEndpointResponse = DeleteEndpointResponse' {
- httpStatus :: Int
- newDeleteEndpointResponse :: Int -> DeleteEndpointResponse
- deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int
Creating a Request
data DeleteEndpoint Source #
See: newDeleteEndpoint smart constructor.
Constructors
| DeleteEndpoint' | |
Instances
Arguments
| :: Text | |
| -> DeleteEndpoint |
Create a value of DeleteEndpoint 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:
DeleteEndpoint, deleteEndpoint_name - The name of the endpoint you want to delete. For example,
"Name":"us-east-2-custom_bus_A-endpoint"..
Request Lenses
deleteEndpoint_name :: Lens' DeleteEndpoint Text Source #
The name of the endpoint you want to delete. For example,
"Name":"us-east-2-custom_bus_A-endpoint"..
Destructuring the Response
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse smart constructor.
Constructors
| DeleteEndpointResponse' | |
Fields
| |
Instances
newDeleteEndpointResponse Source #
Create a value of DeleteEndpointResponse 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:DeleteEndpointResponse', deleteEndpointResponse_httpStatus - The response's http status code.
Response Lenses
deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int Source #
The response's http status code.