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 |
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.
UpdatePublishingDestination' | |
|
Instances
newUpdatePublishingDestination Source #
:: 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.
$sel:detectorId:UpdatePublishingDestination'
, updatePublishingDestination_detectorId
- The ID of the detector associated with the publishing destinations to
update.
$sel:destinationId: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.
UpdatePublishingDestinationResponse' | |
|
Instances
Eq UpdatePublishingDestinationResponse Source # | |
Read UpdatePublishingDestinationResponse Source # | |
Show UpdatePublishingDestinationResponse Source # | |
Generic UpdatePublishingDestinationResponse Source # | |
NFData UpdatePublishingDestinationResponse Source # | |
Defined in Amazonka.GuardDuty.UpdatePublishingDestination rnf :: UpdatePublishingDestinationResponse -> () # | |
type Rep UpdatePublishingDestinationResponse Source # | |
Defined in Amazonka.GuardDuty.UpdatePublishingDestination type Rep UpdatePublishingDestinationResponse = D1 ('MetaData "UpdatePublishingDestinationResponse" "Amazonka.GuardDuty.UpdatePublishingDestination" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdatePublishingDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdatePublishingDestinationResponse Source #
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.