Backup module#
Index > Backup
Auto-generated documentation for Backup type annotations stubs module mypy-boto3-backup.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and Backup
.
From PyPI with pip#
Install boto3-stubs
for Backup
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[backup]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[backup]'
# standalone installation
python -m pip install mypy-boto3-backup
How to uninstall#
python -m pip uninstall -y mypy-boto3-backup
Usage#
Code samples can be found in Examples.
BackupClient#
Type annotations and code completion for boto3.client("backup")
as BackupClient
boto3 documentation
# BackupClient usage example
from boto3.session import Session
from mypy_boto3_backup.client import BackupClient
def get_client() -> BackupClient:
return Session().client("backup")
Paginators#
Type annotations and code completion for paginators
from boto3.client("backup").get_paginator("...")
.
# ListBackupJobsPaginator usage example
from boto3.session import Session
from mypy_boto3_backup.paginator import ListBackupJobsPaginator
def get_list_backup_jobs_paginator() -> ListBackupJobsPaginator:
return Session().client("backup").get_paginator("list_backup_jobs"))
- ListBackupJobsPaginator
- ListBackupPlanTemplatesPaginator
- ListBackupPlanVersionsPaginator
- ListBackupPlansPaginator
- ListBackupSelectionsPaginator
- ListBackupVaultsPaginator
- ListCopyJobsPaginator
- ListLegalHoldsPaginator
- ListProtectedResourcesByBackupVaultPaginator
- ListProtectedResourcesPaginator
- ListRecoveryPointsByBackupVaultPaginator
- ListRecoveryPointsByLegalHoldPaginator
- ListRecoveryPointsByResourcePaginator
- ListRestoreJobsByProtectedResourcePaginator
- ListRestoreJobsPaginator
- ListRestoreTestingPlansPaginator
- ListRestoreTestingSelectionsPaginator
Literals#
Type annotations for literals used in methods and schema.
# AggregationPeriodType usage example
from mypy_boto3_backup.literals import AggregationPeriodType
def get_value() -> AggregationPeriodType:
return "FOURTEEN_DAYS"
- AggregationPeriodType
- BackupJobStateType
- BackupJobStatusType
- BackupVaultEventType
- ConditionTypeType
- CopyJobStateType
- CopyJobStatusType
- LegalHoldStatusType
- ListBackupJobsPaginatorName
- ListBackupPlanTemplatesPaginatorName
- ListBackupPlanVersionsPaginatorName
- ListBackupPlansPaginatorName
- ListBackupSelectionsPaginatorName
- ListBackupVaultsPaginatorName
- ListCopyJobsPaginatorName
- ListLegalHoldsPaginatorName
- ListProtectedResourcesByBackupVaultPaginatorName
- ListProtectedResourcesPaginatorName
- ListRecoveryPointsByBackupVaultPaginatorName
- ListRecoveryPointsByLegalHoldPaginatorName
- ListRecoveryPointsByResourcePaginatorName
- ListRestoreJobsByProtectedResourcePaginatorName
- ListRestoreJobsPaginatorName
- ListRestoreTestingPlansPaginatorName
- ListRestoreTestingSelectionsPaginatorName
- RecoveryPointStatusType
- RestoreDeletionStatusType
- RestoreJobStateType
- RestoreJobStatusType
- RestoreTestingRecoveryPointSelectionAlgorithmType
- RestoreTestingRecoveryPointTypeType
- RestoreValidationStatusType
- StorageClassType
- VaultStateType
- VaultTypeType
- BackupServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AdvancedBackupSettingOutputTypeDef
- AdvancedBackupSettingTypeDef
- BackupJobSummaryTypeDef
- RecoveryPointCreatorTypeDef
- BackupPlanTemplatesListMemberTypeDef
- LifecycleTypeDef
- ConditionTypeDef
- BackupSelectionsListMemberTypeDef
- BackupVaultListMemberTypeDef
- CalculatedLifecycleTypeDef
- CancelLegalHoldInputRequestTypeDef
- ConditionParameterTypeDef
- ControlInputParameterTypeDef
- ControlScopeOutputTypeDef
- ControlScopeTypeDef
- CopyJobSummaryTypeDef
- ResponseMetadataTypeDef
- CreateBackupVaultInputRequestTypeDef
- CreateLogicallyAirGappedBackupVaultInputRequestTypeDef
- ReportDeliveryChannelTypeDef
- ReportSettingTypeDef
- DateRangeOutputTypeDef
- TimestampTypeDef
- DeleteBackupPlanInputRequestTypeDef
- DeleteBackupSelectionInputRequestTypeDef
- DeleteBackupVaultAccessPolicyInputRequestTypeDef
- DeleteBackupVaultInputRequestTypeDef
- DeleteBackupVaultLockConfigurationInputRequestTypeDef
- DeleteBackupVaultNotificationsInputRequestTypeDef
- DeleteFrameworkInputRequestTypeDef
- DeleteRecoveryPointInputRequestTypeDef
- DeleteReportPlanInputRequestTypeDef
- DeleteRestoreTestingPlanInputRequestTypeDef
- DeleteRestoreTestingSelectionInputRequestTypeDef
- DescribeBackupJobInputRequestTypeDef
- DescribeBackupVaultInputRequestTypeDef
- DescribeCopyJobInputRequestTypeDef
- DescribeFrameworkInputRequestTypeDef
- DescribeProtectedResourceInputRequestTypeDef
- DescribeRecoveryPointInputRequestTypeDef
- DescribeReportJobInputRequestTypeDef
- DescribeReportPlanInputRequestTypeDef
- DescribeRestoreJobInputRequestTypeDef
- RestoreJobCreatorTypeDef
- DisassociateRecoveryPointFromParentInputRequestTypeDef
- DisassociateRecoveryPointInputRequestTypeDef
- ExportBackupPlanTemplateInputRequestTypeDef
- FrameworkTypeDef
- GetBackupPlanFromJSONInputRequestTypeDef
- GetBackupPlanFromTemplateInputRequestTypeDef
- GetBackupPlanInputRequestTypeDef
- GetBackupSelectionInputRequestTypeDef
- GetBackupVaultAccessPolicyInputRequestTypeDef
- GetBackupVaultNotificationsInputRequestTypeDef
- GetLegalHoldInputRequestTypeDef
- GetRecoveryPointRestoreMetadataInputRequestTypeDef
- GetRestoreJobMetadataInputRequestTypeDef
- GetRestoreTestingInferredMetadataInputRequestTypeDef
- GetRestoreTestingPlanInputRequestTypeDef
- GetRestoreTestingSelectionInputRequestTypeDef
- KeyValueTypeDef
- LegalHoldTypeDef
- ListBackupJobSummariesInputRequestTypeDef
- PaginatorConfigTypeDef
- ListBackupPlanTemplatesInputRequestTypeDef
- ListBackupPlanVersionsInputRequestTypeDef
- ListBackupPlansInputRequestTypeDef
- ListBackupSelectionsInputRequestTypeDef
- ListBackupVaultsInputRequestTypeDef
- ListCopyJobSummariesInputRequestTypeDef
- ListFrameworksInputRequestTypeDef
- ListLegalHoldsInputRequestTypeDef
- ListProtectedResourcesByBackupVaultInputRequestTypeDef
- ProtectedResourceTypeDef
- ListProtectedResourcesInputRequestTypeDef
- ListRecoveryPointsByLegalHoldInputRequestTypeDef
- RecoveryPointMemberTypeDef
- ListRecoveryPointsByResourceInputRequestTypeDef
- RecoveryPointByResourceTypeDef
- ListReportPlansInputRequestTypeDef
- ListRestoreJobSummariesInputRequestTypeDef
- RestoreJobSummaryTypeDef
- ListRestoreTestingPlansInputRequestTypeDef
- RestoreTestingPlanForListTypeDef
- ListRestoreTestingSelectionsInputRequestTypeDef
- RestoreTestingSelectionForListTypeDef
- ListTagsInputRequestTypeDef
- PutBackupVaultAccessPolicyInputRequestTypeDef
- PutBackupVaultLockConfigurationInputRequestTypeDef
- PutBackupVaultNotificationsInputRequestTypeDef
- PutRestoreValidationResultInputRequestTypeDef
- ReportDeliveryChannelOutputTypeDef
- ReportDestinationTypeDef
- ReportSettingOutputTypeDef
- RestoreTestingRecoveryPointSelectionOutputTypeDef
- RestoreTestingRecoveryPointSelectionTypeDef
- StartReportJobInputRequestTypeDef
- StartRestoreJobInputRequestTypeDef
- StopBackupJobInputRequestTypeDef
- TagResourceInputRequestTypeDef
- UntagResourceInputRequestTypeDef
- UpdateGlobalSettingsInputRequestTypeDef
- UpdateRegionSettingsInputRequestTypeDef
- BackupPlansListMemberTypeDef
- AdvancedBackupSettingUnionTypeDef
- BackupJobTypeDef
- CopyJobTypeDef
- CopyActionTypeDef
- StartBackupJobInputRequestTypeDef
- StartCopyJobInputRequestTypeDef
- UpdateRecoveryPointLifecycleInputRequestTypeDef
- RecoveryPointByBackupVaultTypeDef
- ConditionsOutputTypeDef
- ConditionsTypeDef
- FrameworkControlOutputTypeDef
- ControlScopeUnionTypeDef
- CreateBackupPlanOutputTypeDef
- CreateBackupSelectionOutputTypeDef
- CreateBackupVaultOutputTypeDef
- CreateFrameworkOutputTypeDef
- CreateLogicallyAirGappedBackupVaultOutputTypeDef
- CreateReportPlanOutputTypeDef
- CreateRestoreTestingPlanOutputTypeDef
- CreateRestoreTestingSelectionOutputTypeDef
- DeleteBackupPlanOutputTypeDef
- DescribeBackupJobOutputTypeDef
- DescribeBackupVaultOutputTypeDef
- DescribeGlobalSettingsOutputTypeDef
- DescribeProtectedResourceOutputTypeDef
- DescribeRecoveryPointOutputTypeDef
- DescribeRegionSettingsOutputTypeDef
- EmptyResponseMetadataTypeDef
- ExportBackupPlanTemplateOutputTypeDef
- GetBackupVaultAccessPolicyOutputTypeDef
- GetBackupVaultNotificationsOutputTypeDef
- GetRecoveryPointRestoreMetadataOutputTypeDef
- GetRestoreJobMetadataOutputTypeDef
- GetRestoreTestingInferredMetadataOutputTypeDef
- GetSupportedResourceTypesOutputTypeDef
- ListBackupJobSummariesOutputTypeDef
- ListBackupPlanTemplatesOutputTypeDef
- ListBackupSelectionsOutputTypeDef
- ListBackupVaultsOutputTypeDef
- ListCopyJobSummariesOutputTypeDef
- ListTagsOutputTypeDef
- StartBackupJobOutputTypeDef
- StartCopyJobOutputTypeDef
- StartReportJobOutputTypeDef
- StartRestoreJobOutputTypeDef
- UpdateBackupPlanOutputTypeDef
- UpdateFrameworkOutputTypeDef
- UpdateRecoveryPointLifecycleOutputTypeDef
- UpdateReportPlanOutputTypeDef
- UpdateRestoreTestingPlanOutputTypeDef
- UpdateRestoreTestingSelectionOutputTypeDef
- CreateReportPlanInputRequestTypeDef
- UpdateReportPlanInputRequestTypeDef
- RecoveryPointSelectionOutputTypeDef
- DateRangeTypeDef
- ListBackupJobsInputRequestTypeDef
- ListCopyJobsInputRequestTypeDef
- ListRecoveryPointsByBackupVaultInputRequestTypeDef
- ListReportJobsInputRequestTypeDef
- ListRestoreJobsByProtectedResourceInputRequestTypeDef
- ListRestoreJobsInputRequestTypeDef
- DescribeRestoreJobOutputTypeDef
- RestoreJobsListMemberTypeDef
- ListFrameworksOutputTypeDef
- ProtectedResourceConditionsOutputTypeDef
- ProtectedResourceConditionsTypeDef
- ListLegalHoldsOutputTypeDef
- ListBackupJobsInputListBackupJobsPaginateTypeDef
- ListBackupPlanTemplatesInputListBackupPlanTemplatesPaginateTypeDef
- ListBackupPlanVersionsInputListBackupPlanVersionsPaginateTypeDef
- ListBackupPlansInputListBackupPlansPaginateTypeDef
- ListBackupSelectionsInputListBackupSelectionsPaginateTypeDef
- ListBackupVaultsInputListBackupVaultsPaginateTypeDef
- ListCopyJobsInputListCopyJobsPaginateTypeDef
- ListLegalHoldsInputListLegalHoldsPaginateTypeDef
- ListProtectedResourcesByBackupVaultInputListProtectedResourcesByBackupVaultPaginateTypeDef
- ListProtectedResourcesInputListProtectedResourcesPaginateTypeDef
- ListRecoveryPointsByBackupVaultInputListRecoveryPointsByBackupVaultPaginateTypeDef
- ListRecoveryPointsByLegalHoldInputListRecoveryPointsByLegalHoldPaginateTypeDef
- ListRecoveryPointsByResourceInputListRecoveryPointsByResourcePaginateTypeDef
- ListRestoreJobsByProtectedResourceInputListRestoreJobsByProtectedResourcePaginateTypeDef
- ListRestoreJobsInputListRestoreJobsPaginateTypeDef
- ListRestoreTestingPlansInputListRestoreTestingPlansPaginateTypeDef
- ListRestoreTestingSelectionsInputListRestoreTestingSelectionsPaginateTypeDef
- ListProtectedResourcesByBackupVaultOutputTypeDef
- ListProtectedResourcesOutputTypeDef
- ListRecoveryPointsByLegalHoldOutputTypeDef
- ListRecoveryPointsByResourceOutputTypeDef
- ListRestoreJobSummariesOutputTypeDef
- ListRestoreTestingPlansOutputTypeDef
- ListRestoreTestingSelectionsOutputTypeDef
- ReportJobTypeDef
- ReportPlanTypeDef
- RestoreTestingPlanForGetTypeDef
- RestoreTestingRecoveryPointSelectionUnionTypeDef
- ListBackupPlanVersionsOutputTypeDef
- ListBackupPlansOutputTypeDef
- ListBackupJobsOutputTypeDef
- DescribeCopyJobOutputTypeDef
- ListCopyJobsOutputTypeDef
- BackupRuleInputTypeDef
- BackupRuleTypeDef
- ListRecoveryPointsByBackupVaultOutputTypeDef
- BackupSelectionOutputTypeDef
- ConditionsUnionTypeDef
- DescribeFrameworkOutputTypeDef
- FrameworkControlTypeDef
- CreateLegalHoldOutputTypeDef
- GetLegalHoldOutputTypeDef
- DateRangeUnionTypeDef
- ListRestoreJobsByProtectedResourceOutputTypeDef
- ListRestoreJobsOutputTypeDef
- RestoreTestingSelectionForGetTypeDef
- ProtectedResourceConditionsUnionTypeDef
- DescribeReportJobOutputTypeDef
- ListReportJobsOutputTypeDef
- DescribeReportPlanOutputTypeDef
- ListReportPlansOutputTypeDef
- GetRestoreTestingPlanOutputTypeDef
- RestoreTestingPlanForCreateTypeDef
- RestoreTestingPlanForUpdateTypeDef
- BackupPlanInputTypeDef
- BackupPlanTypeDef
- GetBackupSelectionOutputTypeDef
- BackupSelectionTypeDef
- FrameworkControlUnionTypeDef
- UpdateFrameworkInputRequestTypeDef
- RecoveryPointSelectionTypeDef
- GetRestoreTestingSelectionOutputTypeDef
- RestoreTestingSelectionForCreateTypeDef
- RestoreTestingSelectionForUpdateTypeDef
- CreateRestoreTestingPlanInputRequestTypeDef
- UpdateRestoreTestingPlanInputRequestTypeDef
- CreateBackupPlanInputRequestTypeDef
- UpdateBackupPlanInputRequestTypeDef
- GetBackupPlanFromJSONOutputTypeDef
- GetBackupPlanFromTemplateOutputTypeDef
- GetBackupPlanOutputTypeDef
- CreateBackupSelectionInputRequestTypeDef
- CreateFrameworkInputRequestTypeDef
- CreateLegalHoldInputRequestTypeDef
- CreateRestoreTestingSelectionInputRequestTypeDef
- UpdateRestoreTestingSelectionInputRequestTypeDef