aws_sdk_backup/client/describe_recovery_point.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 [`DescribeRecoveryPoint`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`backup_vault_name(impl Into<String>)`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::backup_vault_name) / [`set_backup_vault_name(Option<String>)`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::set_backup_vault_name):<br>required: **true**<br><p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.</p><br>
7 /// - [`recovery_point_arn(impl Into<String>)`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::recovery_point_arn) / [`set_recovery_point_arn(Option<String>)`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::set_recovery_point_arn):<br>required: **true**<br><p>An Amazon Resource Name (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><br>
8 /// - [`backup_vault_account_id(impl Into<String>)`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::backup_vault_account_id) / [`set_backup_vault_account_id(Option<String>)`](crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::set_backup_vault_account_id):<br>required: **false**<br><p>The account ID of the specified backup vault.</p><br>
9 /// - On success, responds with [`DescribeRecoveryPointOutput`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput) with field(s):
10 /// - [`recovery_point_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::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>
11 /// - [`backup_vault_name(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::backup_vault_name): <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.</p>
12 /// - [`backup_vault_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::backup_vault_arn): <p>An ARN that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault</code>.</p>
13 /// - [`source_backup_vault_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::source_backup_vault_arn): <p>An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed up in; for example, <code>arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault</code>. If the recovery is restored to the same Amazon Web Services account or Region, this value will be <code>null</code>.</p>
14 /// - [`resource_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::resource_arn): <p>An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.</p>
15 /// - [`resource_type(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::resource_type): <p>The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.</p>
16 /// - [`created_by(Option<RecoveryPointCreator>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::created_by): <p>Contains identifying information about the creation of a recovery point, including the <code>BackupPlanArn</code>, <code>BackupPlanId</code>, <code>BackupPlanVersion</code>, and <code>BackupRuleId</code> of the backup plan used to create it.</p>
17 /// - [`iam_role_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::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>
18 /// - [`status(Option<RecoveryPointStatus>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::status): <p>A status code specifying the state of the recovery point.</p> <p><code>PARTIAL</code> status indicates Backup could not create the recovery point before the backup window closed. To increase your backup plan window using the API, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_UpdateBackupPlan.html">UpdateBackupPlan</a>. You can also increase your backup plan window using the Console by choosing and editing your backup plan.</p> <p><code>EXPIRED</code> status indicates that the recovery point has exceeded its retention period, but Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/gs-cleanup-resources.html#cleanup-backups"> Step 3: Delete the recovery points</a> in the <i>Clean up resources</i> section of <i>Getting started</i>.</p> <p><code>STOPPED</code> status occurs on a continuous backup where a user has taken some action that causes the continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning, turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup. For recovery points of Amazon S3, Amazon RDS, and Amazon Aurora resources, this status occurs when the retention period of a continuous backup rule is changed.</p> <p>To resolve <code>STOPPED</code> status, ensure that all requested permissions are in place and that versioning is enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be deleted.</p> <p>For SAP HANA on Amazon EC2 <code>STOPPED</code> status occurs due to user action, application misconfiguration, or backup failure. To ensure that future continuous backups succeed, refer to the recovery point status and check SAP HANA for details.</p>
19 /// - [`status_message(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::status_message): <p>A status message explaining the status of the recovery point.</p>
20 /// - [`creation_date(Option<DateTime>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::creation_date): <p>The date and time that a recovery point 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>
21 /// - [`completion_date(Option<DateTime>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::completion_date): <p>The date and time that a job to create 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>
22 /// - [`backup_size_in_bytes(Option<i64>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::backup_size_in_bytes): <p>The size, in bytes, of a backup.</p>
23 /// - [`calculated_lifecycle(Option<CalculatedLifecycle>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::calculated_lifecycle): <p>A <code>CalculatedLifecycle</code> object containing <code>DeleteAt</code> and <code>MoveToColdStorageAt</code> timestamps.</p>
24 /// - [`lifecycle(Option<Lifecycle>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::lifecycle): <p>The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.</p> <p>Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.</p> <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature availability by resource</a> table. Backup ignores this expression for other resource types.</p>
25 /// - [`encryption_key_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::encryption_key_arn): <p>The server-side encryption key used to protect your backups; for example, <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
26 /// - [`is_encrypted(bool)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::is_encrypted): <p>A Boolean value that is returned as <code>TRUE</code> if the specified recovery point is encrypted, or <code>FALSE</code> if the recovery point is not encrypted.</p>
27 /// - [`storage_class(Option<StorageClass>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::storage_class): <p>Specifies the storage class of the recovery point. Valid values are <code>WARM</code> or <code>COLD</code>.</p>
28 /// - [`last_restore_time(Option<DateTime>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::last_restore_time): <p>The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of <code>LastRestoreTime</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
29 /// - [`parent_recovery_point_arn(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::parent_recovery_point_arn): <p>This is an ARN that uniquely identifies a parent (composite) recovery point; for example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
30 /// - [`composite_member_identifier(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::composite_member_identifier): <p>The identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html#resources-section-structure-syntax"> logical ID</a> within a stack.</p>
31 /// - [`is_parent(bool)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::is_parent): <p>This returns the boolean value that a recovery point is a parent (composite) job.</p>
32 /// - [`resource_name(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::resource_name): <p>The name of the resource that belongs to the specified backup.</p>
33 /// - [`vault_type(Option<VaultType>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::vault_type): <p>The type of vault in which the described recovery point is stored.</p>
34 /// - [`index_status(Option<IndexStatus>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::index_status): <p>This is the current status for the backup index associated with the specified recovery point.</p> <p>Statuses are: <code>PENDING</code> | <code>ACTIVE</code> | <code>FAILED</code> | <code>DELETING</code></p> <p>A recovery point with an index that has the status of <code>ACTIVE</code> can be included in a search.</p>
35 /// - [`index_status_message(Option<String>)`](crate::operation::describe_recovery_point::DescribeRecoveryPointOutput::index_status_message): <p>A string in the form of a detailed message explaining the status of a backup index associated with the recovery point.</p>
36 /// - On failure, responds with [`SdkError<DescribeRecoveryPointError>`](crate::operation::describe_recovery_point::DescribeRecoveryPointError)
37 pub fn describe_recovery_point(&self) -> crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder {
38 crate::operation::describe_recovery_point::builders::DescribeRecoveryPointFluentBuilder::new(self.handle.clone())
39 }
40}