aws-sdk-accessanalyzer 1.105.0

AWS SDK for Access Analyzer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPolicyPreviewJob`](crate::operation::get_policy_preview_job::builders::GetPolicyPreviewJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::get_policy_preview_job::builders::GetPolicyPreviewJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_policy_preview_job::builders::GetPolicyPreviewJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique identifier of the policy preview job to retrieve. This is the job ID returned by <code>StartPolicyPreviewJob</code>.</p><br>
    /// - On success, responds with [`GetPolicyPreviewJobOutput`](crate::operation::get_policy_preview_job::GetPolicyPreviewJobOutput) with field(s):
    ///   - [`job_id(String)`](crate::operation::get_policy_preview_job::GetPolicyPreviewJobOutput::job_id): <p>The unique identifier of the policy preview job.</p>
    ///   - [`job_parameters(Option<PolicyPreviewJobParameters>)`](crate::operation::get_policy_preview_job::GetPolicyPreviewJobOutput::job_parameters): <p>The original parameters used to create the policy preview job, including the analysis time window and policy configurations.</p>
    ///   - [`job_details(Option<PolicyPreviewJobDetails>)`](crate::operation::get_policy_preview_job::GetPolicyPreviewJobOutput::job_details): <p>Details about the job execution, including current status, submission time, start time, completion time, and any errors that occurred.</p>
    ///   - [`output_s3_uri(String)`](crate::operation::get_policy_preview_job::GetPolicyPreviewJobOutput::output_s3_uri): <p>The Amazon S3 URI where the analysis report is stored. The report contains metadata for CloudTrail events that would be denied by the proposed policy.</p>
    /// - On failure, responds with [`SdkError<GetPolicyPreviewJobError>`](crate::operation::get_policy_preview_job::GetPolicyPreviewJobError)
    pub fn get_policy_preview_job(&self) -> crate::operation::get_policy_preview_job::builders::GetPolicyPreviewJobFluentBuilder {
        crate::operation::get_policy_preview_job::builders::GetPolicyPreviewJobFluentBuilder::new(self.handle.clone())
    }
}