1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribePublishingDestination`](crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`detector_id(impl Into<String>)`](crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector associated with the publishing destination to retrieve.</p><br>
    ///   - [`destination_id(impl Into<String>)`](crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder::destination_id) / [`set_destination_id(Option<String>)`](crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder::set_destination_id):<br>required: **true**<br><p>The ID of the publishing destination to retrieve.</p><br>
    /// - On success, responds with [`DescribePublishingDestinationOutput`](crate::operation::describe_publishing_destination::DescribePublishingDestinationOutput) with field(s):
    ///   - [`destination_id(Option<String>)`](crate::operation::describe_publishing_destination::DescribePublishingDestinationOutput::destination_id): <p>The ID of the publishing destination.</p>
    ///   - [`destination_type(Option<DestinationType>)`](crate::operation::describe_publishing_destination::DescribePublishingDestinationOutput::destination_type): <p>The type of publishing destination. Currently, only Amazon S3 buckets are supported.</p>
    ///   - [`status(Option<PublishingStatus>)`](crate::operation::describe_publishing_destination::DescribePublishingDestinationOutput::status): <p>The status of the publishing destination.</p>
    ///   - [`publishing_failure_start_timestamp(Option<i64>)`](crate::operation::describe_publishing_destination::DescribePublishingDestinationOutput::publishing_failure_start_timestamp): <p>The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.</p>
    ///   - [`destination_properties(Option<DestinationProperties>)`](crate::operation::describe_publishing_destination::DescribePublishingDestinationOutput::destination_properties): <p>A <code>DestinationProperties</code> object that includes the <code>DestinationArn</code> and <code>KmsKeyArn</code> of the publishing destination.</p>
    /// - On failure, responds with [`SdkError<DescribePublishingDestinationError>`](crate::operation::describe_publishing_destination::DescribePublishingDestinationError)
    pub fn describe_publishing_destination(
        &self,
    ) -> crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder {
        crate::operation::describe_publishing_destination::builders::DescribePublishingDestinationFluentBuilder::new(self.handle.clone())
    }
}