| 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.DescribePublishingDestination
Description
Returns information about the publishing destination specified by the
provided destinationId.
Synopsis
- data DescribePublishingDestination = DescribePublishingDestination' {
- detectorId :: Text
- destinationId :: Text
- newDescribePublishingDestination :: Text -> Text -> DescribePublishingDestination
- describePublishingDestination_detectorId :: Lens' DescribePublishingDestination Text
- describePublishingDestination_destinationId :: Lens' DescribePublishingDestination Text
- data DescribePublishingDestinationResponse = DescribePublishingDestinationResponse' {}
- newDescribePublishingDestinationResponse :: Int -> Text -> DestinationType -> PublishingStatus -> Integer -> DestinationProperties -> DescribePublishingDestinationResponse
- describePublishingDestinationResponse_httpStatus :: Lens' DescribePublishingDestinationResponse Int
- describePublishingDestinationResponse_destinationId :: Lens' DescribePublishingDestinationResponse Text
- describePublishingDestinationResponse_destinationType :: Lens' DescribePublishingDestinationResponse DestinationType
- describePublishingDestinationResponse_status :: Lens' DescribePublishingDestinationResponse PublishingStatus
- describePublishingDestinationResponse_publishingFailureStartTimestamp :: Lens' DescribePublishingDestinationResponse Integer
- describePublishingDestinationResponse_destinationProperties :: Lens' DescribePublishingDestinationResponse DestinationProperties
Creating a Request
data DescribePublishingDestination Source #
See: newDescribePublishingDestination smart constructor.
Constructors
| DescribePublishingDestination' | |
Fields
| |
Instances
newDescribePublishingDestination Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribePublishingDestination |
Create a value of DescribePublishingDestination 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:
DescribePublishingDestination, describePublishingDestination_detectorId - The unique ID of the detector associated with the publishing destination
to retrieve.
DescribePublishingDestination, describePublishingDestination_destinationId - The ID of the publishing destination to retrieve.
Request Lenses
describePublishingDestination_detectorId :: Lens' DescribePublishingDestination Text Source #
The unique ID of the detector associated with the publishing destination to retrieve.
describePublishingDestination_destinationId :: Lens' DescribePublishingDestination Text Source #
The ID of the publishing destination to retrieve.
Destructuring the Response
data DescribePublishingDestinationResponse Source #
See: newDescribePublishingDestinationResponse smart constructor.
Constructors
| DescribePublishingDestinationResponse' | |
Fields
| |
Instances
newDescribePublishingDestinationResponse Source #
Arguments
Create a value of DescribePublishingDestinationResponse 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:DescribePublishingDestinationResponse', describePublishingDestinationResponse_httpStatus - The response's http status code.
DescribePublishingDestination, describePublishingDestinationResponse_destinationId - The ID of the publishing destination.
DescribePublishingDestinationResponse, describePublishingDestinationResponse_destinationType - The type of publishing destination. Currently, only Amazon S3 buckets
are supported.
DescribePublishingDestinationResponse, describePublishingDestinationResponse_status - The status of the publishing destination.
$sel:publishingFailureStartTimestamp:DescribePublishingDestinationResponse', describePublishingDestinationResponse_publishingFailureStartTimestamp - The time, in epoch millisecond format, at which GuardDuty was first
unable to publish findings to the destination.
$sel:destinationProperties:DescribePublishingDestinationResponse', describePublishingDestinationResponse_destinationProperties - A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.
Response Lenses
describePublishingDestinationResponse_httpStatus :: Lens' DescribePublishingDestinationResponse Int Source #
The response's http status code.
describePublishingDestinationResponse_destinationId :: Lens' DescribePublishingDestinationResponse Text Source #
The ID of the publishing destination.
describePublishingDestinationResponse_destinationType :: Lens' DescribePublishingDestinationResponse DestinationType Source #
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
describePublishingDestinationResponse_status :: Lens' DescribePublishingDestinationResponse PublishingStatus Source #
The status of the publishing destination.
describePublishingDestinationResponse_publishingFailureStartTimestamp :: Lens' DescribePublishingDestinationResponse Integer Source #
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
describePublishingDestinationResponse_destinationProperties :: Lens' DescribePublishingDestinationResponse DestinationProperties Source #
A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.