RestorationType
¶
Source code in docs_src/capo_cognito_identity_provider/types/restoration_type.py
restore_id
instance-attribute
¶
restore_id: NotRequired[RestoreIdType]
The ID of the recovery. Use this ID in requests to describe, start, or cancel the recovery.
restore_preview
instance-attribute
¶
restore_preview: NotRequired[RestorePreviewListType]
The recovery preview. For each type of entity, the preview shows the number of entities that the recovery creates, updates, and deletes. The preview doesn't include user data. Amazon Cognito returns the preview when it's available.
restore_status
instance-attribute
¶
restore_status: NotRequired[RestoreStatusType]
The status of the recovery. Can be one of the following values.
- PREVIEW_GENERATING
-
Amazon Cognito is generating the recovery preview, which might not be available immediately. Write operations in the user pool are paused.
- PREVIEW_GENERATED
-
The recovery preview is ready for review. Write operations in the user pool are paused. Within 24 hours after you initiate the recovery, apply it with a
StartPointInTimeRecoveryrequest or discard it with aCancelPointInTimeRecoveryrequest. - PREVIEW_CANCELLED
-
You canceled the recovery. Amazon Cognito resumed write operations and didn't change your user pool data.
- PREVIEW_GENERATION_FAILED
-
Amazon Cognito couldn't generate the recovery preview. Amazon Cognito resumed write operations and didn't change your user pool data. You can initiate a new recovery.
- PREVIEW_EXPIRED
-
You didn't start or cancel the recovery within 24 hours after you initiated it. Amazon Cognito resumed write operations and didn't change your user pool data.
- RESTORING
-
Amazon Cognito is restoring user data in the user pool to its state at the recovery point. Write operations in the user pool are paused.
- RESTORE_COMPLETED
-
Amazon Cognito restored your user pool to its state at the recovery point and resumed write operations.
- TEMPORARY_INTERNAL_ERROR_SEE_SUPPORT_CASE
-
The recovery encountered an internal error. Write operations in the user pool remain paused. Amazon Web Services Support contacts you through a support case to resolve the issue.
- AWS_ABORTED
-
Amazon Cognito stopped the recovery because of an internal failure. Write operations in the user pool remain paused, and you can't cancel or retry the recovery. Amazon Web Services Support contacts you through a support case to resolve the issue.
restore_timestamp
instance-attribute
¶
restore_timestamp: NotRequired[DateType]
The point in time that the recovery restores the user pool to.
trigger_timestamp
instance-attribute
¶
trigger_timestamp: NotRequired[DateType]
The end of the period of changes that the recovery reverts. This time is shortly after the time that you initiated the recovery. The recovery reverts changes to user data that occurred between RestoreTimestamp and TriggerTimestamp.