- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
GetRecoveryPointIndexDetailsCommand
This operation returns the metadata and details specific to the backup index associated with the specified recovery point.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { BackupClient, GetRecoveryPointIndexDetailsCommand } from "@aws-sdk/client-backup"; // ES Modules import
// const { BackupClient, GetRecoveryPointIndexDetailsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
const client = new BackupClient(config);
const input = { // GetRecoveryPointIndexDetailsInput
BackupVaultName: "STRING_VALUE", // required
RecoveryPointArn: "STRING_VALUE", // required
};
const command = new GetRecoveryPointIndexDetailsCommand(input);
const response = await client.send(command);
// { // GetRecoveryPointIndexDetailsOutput
// RecoveryPointArn: "STRING_VALUE",
// BackupVaultArn: "STRING_VALUE",
// SourceResourceArn: "STRING_VALUE",
// IndexCreationDate: new Date("TIMESTAMP"),
// IndexDeletionDate: new Date("TIMESTAMP"),
// IndexCompletionDate: new Date("TIMESTAMP"),
// IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
// IndexStatusMessage: "STRING_VALUE",
// TotalItemsIndexed: Number("long"),
// };
GetRecoveryPointIndexDetailsCommand Input
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
BackupVaultName Required | string | undefined | 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. Accepted characters include lowercase letters, numbers, and hyphens. |
RecoveryPointArn Required | string | undefined | An ARN that uniquely identifies a recovery point; for example, |
GetRecoveryPointIndexDetailsCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
BackupVaultArn | string | undefined | An ARN that uniquely identifies the backup vault where the recovery point index is stored. For example, |
IndexCompletionDate | Date | undefined | The date and time that a backup index finished creation, in Unix format and Coordinated Universal Time (UTC). The value of |
IndexCreationDate | Date | undefined | The date and time that a backup index was created, in Unix format and Coordinated Universal Time (UTC). The value of |
IndexDeletionDate | Date | undefined | The date and time that a backup index was deleted, in Unix format and Coordinated Universal Time (UTC). The value of |
IndexStatus | IndexStatus | undefined | This is the current status for the backup index associated with the specified recovery point. Statuses are: A recovery point with an index that has the status of |
IndexStatusMessage | string | undefined | A detailed message explaining the status of a backup index associated with the recovery point. |
RecoveryPointArn | string | undefined | An ARN that uniquely identifies a recovery point; for example, |
SourceResourceArn | string | undefined | A string of the Amazon Resource Name (ARN) that uniquely identifies the source resource. |
TotalItemsIndexed | number | undefined | Count of items within the backup index associated with the recovery point. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InvalidParameterValueException | client | Indicates that something is wrong with a parameter's value. For example, the value is out of range. |
MissingParameterValueException | client | Indicates that a required parameter is missing. |
ResourceNotFoundException | client | A resource that is required for the action doesn't exist. |
ServiceUnavailableException | server | The request failed due to a temporary failure of the server. |
BackupServiceException | Base exception class for all service exceptions from Backup service. |