| 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.GuardDuty.DeletePublishingDestination
Description
Deletes the publishing definition with the specified destinationId.
Synopsis
- data DeletePublishingDestination = DeletePublishingDestination' {
- detectorId :: Text
- destinationId :: Text
- newDeletePublishingDestination :: Text -> Text -> DeletePublishingDestination
- deletePublishingDestination_detectorId :: Lens' DeletePublishingDestination Text
- deletePublishingDestination_destinationId :: Lens' DeletePublishingDestination Text
- data DeletePublishingDestinationResponse = DeletePublishingDestinationResponse' {
- httpStatus :: Int
- newDeletePublishingDestinationResponse :: Int -> DeletePublishingDestinationResponse
- deletePublishingDestinationResponse_httpStatus :: Lens' DeletePublishingDestinationResponse Int
Creating a Request
data DeletePublishingDestination Source #
See: newDeletePublishingDestination smart constructor.
Constructors
| DeletePublishingDestination' | |
Fields
| |
Instances
newDeletePublishingDestination Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeletePublishingDestination |
Create a value of DeletePublishingDestination 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:
DeletePublishingDestination, deletePublishingDestination_detectorId - The unique ID of the detector associated with the publishing destination
to delete.
DeletePublishingDestination, deletePublishingDestination_destinationId - The ID of the publishing destination to delete.
Request Lenses
deletePublishingDestination_detectorId :: Lens' DeletePublishingDestination Text Source #
The unique ID of the detector associated with the publishing destination to delete.
deletePublishingDestination_destinationId :: Lens' DeletePublishingDestination Text Source #
The ID of the publishing destination to delete.
Destructuring the Response
data DeletePublishingDestinationResponse Source #
See: newDeletePublishingDestinationResponse smart constructor.
Constructors
| DeletePublishingDestinationResponse' | |
Fields
| |
Instances
newDeletePublishingDestinationResponse Source #
Arguments
| :: Int | |
| -> DeletePublishingDestinationResponse |
Create a value of DeletePublishingDestinationResponse 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:DeletePublishingDestinationResponse', deletePublishingDestinationResponse_httpStatus - The response's http status code.
Response Lenses
deletePublishingDestinationResponse_httpStatus :: Lens' DeletePublishingDestinationResponse Int Source #
The response's http status code.