| 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.UpdatePublishingDestination
Description
Updates information about the publishing destination specified by the
destinationId.
Synopsis
- data UpdatePublishingDestination = UpdatePublishingDestination' {}
- newUpdatePublishingDestination :: Text -> Text -> UpdatePublishingDestination
- updatePublishingDestination_destinationProperties :: Lens' UpdatePublishingDestination (Maybe DestinationProperties)
- updatePublishingDestination_detectorId :: Lens' UpdatePublishingDestination Text
- updatePublishingDestination_destinationId :: Lens' UpdatePublishingDestination Text
- data UpdatePublishingDestinationResponse = UpdatePublishingDestinationResponse' {
- httpStatus :: Int
- newUpdatePublishingDestinationResponse :: Int -> UpdatePublishingDestinationResponse
- updatePublishingDestinationResponse_httpStatus :: Lens' UpdatePublishingDestinationResponse Int
Creating a Request
data UpdatePublishingDestination Source #
See: newUpdatePublishingDestination smart constructor.
Constructors
| UpdatePublishingDestination' | |
Fields
| |
Instances
newUpdatePublishingDestination Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdatePublishingDestination |
Create a value of UpdatePublishingDestination 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:destinationProperties:UpdatePublishingDestination', updatePublishingDestination_destinationProperties - A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.
UpdatePublishingDestination, updatePublishingDestination_detectorId - The ID of the detector associated with the publishing destinations to
update.
UpdatePublishingDestination, updatePublishingDestination_destinationId - The ID of the publishing destination to update.
Request Lenses
updatePublishingDestination_destinationProperties :: Lens' UpdatePublishingDestination (Maybe DestinationProperties) Source #
A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.
updatePublishingDestination_detectorId :: Lens' UpdatePublishingDestination Text Source #
The ID of the detector associated with the publishing destinations to update.
updatePublishingDestination_destinationId :: Lens' UpdatePublishingDestination Text Source #
The ID of the publishing destination to update.
Destructuring the Response
data UpdatePublishingDestinationResponse Source #
See: newUpdatePublishingDestinationResponse smart constructor.
Constructors
| UpdatePublishingDestinationResponse' | |
Fields
| |
Instances
newUpdatePublishingDestinationResponse Source #
Arguments
| :: Int | |
| -> UpdatePublishingDestinationResponse |
Create a value of UpdatePublishingDestinationResponse 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:UpdatePublishingDestinationResponse', updatePublishingDestinationResponse_httpStatus - The response's http status code.
Response Lenses
updatePublishingDestinationResponse_httpStatus :: Lens' UpdatePublishingDestinationResponse Int Source #
The response's http status code.