Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeletePublishingDestination' | |
|
Instances
newDeletePublishingDestination Source #
:: 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:
$sel:detectorId:DeletePublishingDestination'
, deletePublishingDestination_detectorId
- The unique ID of the detector associated with the publishing destination
to delete.
$sel:destinationId: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.
DeletePublishingDestinationResponse' | |
|
Instances
Eq DeletePublishingDestinationResponse Source # | |
Read DeletePublishingDestinationResponse Source # | |
Show DeletePublishingDestinationResponse Source # | |
Generic DeletePublishingDestinationResponse Source # | |
NFData DeletePublishingDestinationResponse Source # | |
Defined in Amazonka.GuardDuty.DeletePublishingDestination rnf :: DeletePublishingDestinationResponse -> () # | |
type Rep DeletePublishingDestinationResponse Source # | |
Defined in Amazonka.GuardDuty.DeletePublishingDestination type Rep DeletePublishingDestinationResponse = D1 ('MetaData "DeletePublishingDestinationResponse" "Amazonka.GuardDuty.DeletePublishingDestination" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DeletePublishingDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeletePublishingDestinationResponse Source #
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.