aws_sdk_quicksight/client/
start_dashboard_snapshot_job.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`StartDashboardSnapshotJob`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.</p><br>
7    ///   - [`dashboard_id(impl Into<String>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::dashboard_id) / [`set_dashboard_id(Option<String>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::set_dashboard_id):<br>required: **true**<br><p>The ID of the dashboard that you want to start a snapshot job for.</p><br>
8    ///   - [`snapshot_job_id(impl Into<String>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::snapshot_job_id) / [`set_snapshot_job_id(Option<String>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::set_snapshot_job_id):<br>required: **true**<br><p>An ID for the dashboard snapshot job. This ID is unique to the dashboard while the job is running. This ID can be used to poll the status of a job with a <code>DescribeDashboardSnapshotJob</code> while the job runs. You can reuse this ID for another job 24 hours after the current job is completed.</p><br>
9    ///   - [`user_configuration(SnapshotUserConfiguration)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::user_configuration) / [`set_user_configuration(Option<SnapshotUserConfiguration>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::set_user_configuration):<br>required: **true**<br><p>A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.</p><br>
10    ///   - [`snapshot_configuration(SnapshotConfiguration)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::snapshot_configuration) / [`set_snapshot_configuration(Option<SnapshotConfiguration>)`](crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::set_snapshot_configuration):<br>required: **true**<br><p>A structure that describes the configuration of the dashboard snapshot.</p><br>
11    /// - On success, responds with [`StartDashboardSnapshotJobOutput`](crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobOutput) with field(s):
12    ///   - [`arn(Option<String>)`](crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobOutput::arn): <p>The Amazon Resource Name (ARN) for the dashboard snapshot job.</p>
13    ///   - [`snapshot_job_id(Option<String>)`](crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobOutput::snapshot_job_id): <p>The ID of the job. The job ID is set when you start a new job with a <code>StartDashboardSnapshotJob</code> API call.</p>
14    ///   - [`request_id(Option<String>)`](crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
15    ///   - [`status(i32)`](crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobOutput::status): <p>The HTTP status of the request</p>
16    /// - On failure, responds with [`SdkError<StartDashboardSnapshotJobError>`](crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobError)
17    pub fn start_dashboard_snapshot_job(&self) -> crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder {
18        crate::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobFluentBuilder::new(self.handle.clone())
19    }
20}