1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeAssetBundleImportJob`](crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account the import job was executed in. </p><br>
    ///   - [`asset_bundle_import_job_id(impl Into<String>)`](crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder::asset_bundle_import_job_id) / [`set_asset_bundle_import_job_id(Option<String>)`](crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder::set_asset_bundle_import_job_id):<br>required: **true**<br><p>The ID of the job. The job ID is set when you start a new job with a <code>StartAssetBundleImportJob</code> API call.</p><br>
    /// - On success, responds with [`DescribeAssetBundleImportJobOutput`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput) with field(s):
    ///   - [`job_status(Option<AssetBundleImportJobStatus>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::job_status): <p>Indicates the status of a job through its queuing and execution.</p>  <p>Poll the <code>DescribeAssetBundleImport</code> API until <code>JobStatus</code> returns one of the following values:</p>  <ul>   <li> <p> <code>SUCCESSFUL</code> </p> </li>   <li> <p> <code>FAILED</code> </p> </li>   <li> <p> <code>FAILED_ROLLBACK_COMPLETED</code> </p> </li>   <li> <p> <code>FAILED_ROLLBACK_ERROR</code> </p> </li>  </ul>
    ///   - [`errors(Option<Vec::<AssetBundleImportJobError>>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::errors): <p>An array of error records that describes any failures that occurred during the export job processing.</p>  <p>Error records accumulate while the job is still running. The complete set of error records is available after the job has completed and failed.</p>
    ///   - [`rollback_errors(Option<Vec::<AssetBundleImportJobError>>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::rollback_errors): <p>An array of error records that describes any failures that occurred while an import job was attempting a rollback.</p>  <p>Error records accumulate while the job is still running. The complete set of error records is available after the job has completed and failed.</p>
    ///   - [`arn(Option<String>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::arn): <p>The Amazon Resource Name (ARN) for the import job.</p>
    ///   - [`created_time(Option<DateTime>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::created_time): <p>The time that the import job was created.</p>
    ///   - [`asset_bundle_import_job_id(Option<String>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::asset_bundle_import_job_id): <p>The ID of the job. The job ID is set when you start a new job with a <code>StartAssetBundleImportJob</code> API call.</p>
    ///   - [`aws_account_id(Option<String>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::aws_account_id): <p>The ID of the Amazon Web Services account the import job was executed in. </p>
    ///   - [`asset_bundle_import_source(Option<AssetBundleImportSourceDescription>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::asset_bundle_import_source): <p>The source of the asset bundle zip file that contains the data that is imported by the job.</p>
    ///   - [`override_parameters(Option<AssetBundleImportJobOverrideParameters>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::override_parameters): <p>Optional overrides that are applied to the resource configuration before import.</p>
    ///   - [`failure_action(Option<AssetBundleImportFailureAction>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::failure_action): <p>The failure action for the import job.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::status): <p>The HTTP status of the response.</p>
    ///   - [`override_permissions(Option<AssetBundleImportJobOverridePermissions>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::override_permissions): <p>Optional permission overrides that are applied to the resource configuration before import.</p>
    ///   - [`override_tags(Option<AssetBundleImportJobOverrideTags>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::override_tags): <p>Optional tag overrides that are applied to the resource configuration before import.</p>
    ///   - [`override_validation_strategy(Option<AssetBundleImportJobOverrideValidationStrategy>)`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobOutput::override_validation_strategy): <p>An optional validation strategy override for all analyses and dashboards to be applied to the resource configuration before import.</p>
    /// - On failure, responds with [`SdkError<DescribeAssetBundleImportJobError>`](crate::operation::describe_asset_bundle_import_job::DescribeAssetBundleImportJobError)
    pub fn describe_asset_bundle_import_job(
        &self,
    ) -> crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder {
        crate::operation::describe_asset_bundle_import_job::builders::DescribeAssetBundleImportJobFluentBuilder::new(self.handle.clone())
    }
}