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 |
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.
DescribePublishingDestination' | |
|
Instances
newDescribePublishingDestination Source #
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:
$sel:detectorId:DescribePublishingDestination'
, describePublishingDestination_detectorId
- The unique ID of the detector associated with the publishing destination
to retrieve.
$sel:destinationId: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.
DescribePublishingDestinationResponse' | |
|
Instances
newDescribePublishingDestinationResponse Source #
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.
$sel:destinationId:DescribePublishingDestination'
, describePublishingDestinationResponse_destinationId
- The ID of the publishing destination.
$sel:destinationType:DescribePublishingDestinationResponse'
, describePublishingDestinationResponse_destinationType
- The type of publishing destination. Currently, only Amazon S3 buckets
are supported.
$sel:status: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.