aws_sdk_backup/client/describe_restore_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeRestoreJob`](crate::operation::describe_restore_job::builders::DescribeRestoreJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`restore_job_id(impl Into<String>)`](crate::operation::describe_restore_job::builders::DescribeRestoreJobFluentBuilder::restore_job_id) / [`set_restore_job_id(Option<String>)`](crate::operation::describe_restore_job::builders::DescribeRestoreJobFluentBuilder::set_restore_job_id):<br>required: **true**<br><p>Uniquely identifies the job that restores a recovery point.</p><br>
/// - On success, responds with [`DescribeRestoreJobOutput`](crate::operation::describe_restore_job::DescribeRestoreJobOutput) with field(s):
/// - [`account_id(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::account_id): <p>Returns the account ID that owns the restore job.</p>
/// - [`restore_job_id(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::restore_job_id): <p>Uniquely identifies the job that restores a recovery point.</p>
/// - [`recovery_point_arn(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::recovery_point_arn): <p>An ARN that uniquely identifies a recovery point; for example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
/// - [`creation_date(Option<DateTime>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::creation_date): <p>The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
/// - [`completion_date(Option<DateTime>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::completion_date): <p>The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of <code>CompletionDate</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
/// - [`status(Option<RestoreJobStatus>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::status): <p>Status code specifying the state of the job that is initiated by Backup to restore a recovery point.</p>
/// - [`status_message(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::status_message): <p>A message showing the status of a job to restore a recovery point.</p>
/// - [`percent_done(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::percent_done): <p>Contains an estimated percentage that is complete of a job at the time the job status was queried.</p>
/// - [`backup_size_in_bytes(Option<i64>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::backup_size_in_bytes): <p>The size, in bytes, of the restored resource.</p>
/// - [`iam_role_arn(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::iam_role_arn): <p>Specifies the IAM role ARN used to create the target recovery point; for example, <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
/// - [`expected_completion_time_minutes(Option<i64>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::expected_completion_time_minutes): <p>The amount of time in minutes that a job restoring a recovery point is expected to take.</p>
/// - [`created_resource_arn(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::created_resource_arn): <p>The Amazon Resource Name (ARN) of the resource that was created by the restore job.</p> <p>The format of the ARN depends on the resource type of the backed-up resource.</p>
/// - [`resource_type(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::resource_type): <p>Returns metadata associated with a restore job listed by resource type.</p>
/// - [`recovery_point_creation_date(Option<DateTime>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::recovery_point_creation_date): <p>The creation date of the recovery point made by the specifed restore job.</p>
/// - [`created_by(Option<RestoreJobCreator>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::created_by): <p>Contains identifying information about the creation of a restore job.</p>
/// - [`validation_status(Option<RestoreValidationStatus>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::validation_status): <p>The status of validation run on the indicated restore job.</p>
/// - [`validation_status_message(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::validation_status_message): <p>The status message.</p>
/// - [`deletion_status(Option<RestoreDeletionStatus>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::deletion_status): <p>The status of the data generated by the restore test.</p>
/// - [`deletion_status_message(Option<String>)`](crate::operation::describe_restore_job::DescribeRestoreJobOutput::deletion_status_message): <p>This describes the restore job deletion status.</p>
/// - On failure, responds with [`SdkError<DescribeRestoreJobError>`](crate::operation::describe_restore_job::DescribeRestoreJobError)
pub fn describe_restore_job(&self) -> crate::operation::describe_restore_job::builders::DescribeRestoreJobFluentBuilder {
crate::operation::describe_restore_job::builders::DescribeRestoreJobFluentBuilder::new(self.handle.clone())
}
}