Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- BackupJobState
- BackupVaultEvent
- ConditionType
- CopyJobState
- RecoveryPointStatus
- RestoreJobStatus
- StorageClass
- AdvancedBackupSetting
- BackupJob
- BackupPlan
- BackupPlanInput
- BackupPlanTemplatesListMember
- BackupPlansListMember
- BackupRule
- BackupRuleInput
- BackupSelection
- BackupSelectionsListMember
- BackupVaultListMember
- CalculatedLifecycle
- Condition
- ControlInputParameter
- ControlScope
- CopyAction
- CopyJob
- Framework
- FrameworkControl
- Lifecycle
- ProtectedResource
- RecoveryPointByBackupVault
- RecoveryPointByResource
- RecoveryPointCreator
- ReportDeliveryChannel
- ReportDestination
- ReportJob
- ReportPlan
- ReportSetting
- RestoreJobsListMember
Synopsis
- defaultService :: Service
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _DependencyFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidResourceStateException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype BackupJobState where
- BackupJobState' { }
- pattern BackupJobState_ABORTED :: BackupJobState
- pattern BackupJobState_ABORTING :: BackupJobState
- pattern BackupJobState_COMPLETED :: BackupJobState
- pattern BackupJobState_CREATED :: BackupJobState
- pattern BackupJobState_EXPIRED :: BackupJobState
- pattern BackupJobState_FAILED :: BackupJobState
- pattern BackupJobState_PENDING :: BackupJobState
- pattern BackupJobState_RUNNING :: BackupJobState
- newtype BackupVaultEvent where
- BackupVaultEvent' { }
- pattern BackupVaultEvent_BACKUP_JOB_COMPLETED :: BackupVaultEvent
- pattern BackupVaultEvent_BACKUP_JOB_EXPIRED :: BackupVaultEvent
- pattern BackupVaultEvent_BACKUP_JOB_FAILED :: BackupVaultEvent
- pattern BackupVaultEvent_BACKUP_JOB_STARTED :: BackupVaultEvent
- pattern BackupVaultEvent_BACKUP_JOB_SUCCESSFUL :: BackupVaultEvent
- pattern BackupVaultEvent_BACKUP_PLAN_CREATED :: BackupVaultEvent
- pattern BackupVaultEvent_BACKUP_PLAN_MODIFIED :: BackupVaultEvent
- pattern BackupVaultEvent_COPY_JOB_FAILED :: BackupVaultEvent
- pattern BackupVaultEvent_COPY_JOB_STARTED :: BackupVaultEvent
- pattern BackupVaultEvent_COPY_JOB_SUCCESSFUL :: BackupVaultEvent
- pattern BackupVaultEvent_RECOVERY_POINT_MODIFIED :: BackupVaultEvent
- pattern BackupVaultEvent_RESTORE_JOB_COMPLETED :: BackupVaultEvent
- pattern BackupVaultEvent_RESTORE_JOB_FAILED :: BackupVaultEvent
- pattern BackupVaultEvent_RESTORE_JOB_STARTED :: BackupVaultEvent
- pattern BackupVaultEvent_RESTORE_JOB_SUCCESSFUL :: BackupVaultEvent
- newtype ConditionType where
- ConditionType' { }
- pattern ConditionType_STRINGEQUALS :: ConditionType
- newtype CopyJobState where
- CopyJobState' { }
- pattern CopyJobState_COMPLETED :: CopyJobState
- pattern CopyJobState_CREATED :: CopyJobState
- pattern CopyJobState_FAILED :: CopyJobState
- pattern CopyJobState_RUNNING :: CopyJobState
- newtype RecoveryPointStatus where
- newtype RestoreJobStatus where
- RestoreJobStatus' { }
- pattern RestoreJobStatus_ABORTED :: RestoreJobStatus
- pattern RestoreJobStatus_COMPLETED :: RestoreJobStatus
- pattern RestoreJobStatus_FAILED :: RestoreJobStatus
- pattern RestoreJobStatus_PENDING :: RestoreJobStatus
- pattern RestoreJobStatus_RUNNING :: RestoreJobStatus
- newtype StorageClass where
- StorageClass' { }
- pattern StorageClass_COLD :: StorageClass
- pattern StorageClass_DELETED :: StorageClass
- pattern StorageClass_WARM :: StorageClass
- data AdvancedBackupSetting = AdvancedBackupSetting' {
- resourceType :: Maybe Text
- backupOptions :: Maybe (HashMap Text Text)
- newAdvancedBackupSetting :: AdvancedBackupSetting
- advancedBackupSetting_resourceType :: Lens' AdvancedBackupSetting (Maybe Text)
- advancedBackupSetting_backupOptions :: Lens' AdvancedBackupSetting (Maybe (HashMap Text Text))
- data BackupJob = BackupJob' {
- iamRoleArn :: Maybe Text
- state :: Maybe BackupJobState
- resourceType :: Maybe Text
- percentDone :: Maybe Text
- startBy :: Maybe POSIX
- createdBy :: Maybe RecoveryPointCreator
- expectedCompletionDate :: Maybe POSIX
- bytesTransferred :: Maybe Integer
- backupVaultArn :: Maybe Text
- accountId :: Maybe Text
- backupJobId :: Maybe Text
- resourceArn :: Maybe Text
- statusMessage :: Maybe Text
- recoveryPointArn :: Maybe Text
- backupSizeInBytes :: Maybe Integer
- creationDate :: Maybe POSIX
- completionDate :: Maybe POSIX
- backupVaultName :: Maybe Text
- backupType :: Maybe Text
- backupOptions :: Maybe (HashMap Text Text)
- newBackupJob :: BackupJob
- backupJob_iamRoleArn :: Lens' BackupJob (Maybe Text)
- backupJob_state :: Lens' BackupJob (Maybe BackupJobState)
- backupJob_resourceType :: Lens' BackupJob (Maybe Text)
- backupJob_percentDone :: Lens' BackupJob (Maybe Text)
- backupJob_startBy :: Lens' BackupJob (Maybe UTCTime)
- backupJob_createdBy :: Lens' BackupJob (Maybe RecoveryPointCreator)
- backupJob_expectedCompletionDate :: Lens' BackupJob (Maybe UTCTime)
- backupJob_bytesTransferred :: Lens' BackupJob (Maybe Integer)
- backupJob_backupVaultArn :: Lens' BackupJob (Maybe Text)
- backupJob_accountId :: Lens' BackupJob (Maybe Text)
- backupJob_backupJobId :: Lens' BackupJob (Maybe Text)
- backupJob_resourceArn :: Lens' BackupJob (Maybe Text)
- backupJob_statusMessage :: Lens' BackupJob (Maybe Text)
- backupJob_recoveryPointArn :: Lens' BackupJob (Maybe Text)
- backupJob_backupSizeInBytes :: Lens' BackupJob (Maybe Integer)
- backupJob_creationDate :: Lens' BackupJob (Maybe UTCTime)
- backupJob_completionDate :: Lens' BackupJob (Maybe UTCTime)
- backupJob_backupVaultName :: Lens' BackupJob (Maybe Text)
- backupJob_backupType :: Lens' BackupJob (Maybe Text)
- backupJob_backupOptions :: Lens' BackupJob (Maybe (HashMap Text Text))
- data BackupPlan = BackupPlan' {}
- newBackupPlan :: Text -> BackupPlan
- backupPlan_advancedBackupSettings :: Lens' BackupPlan (Maybe [AdvancedBackupSetting])
- backupPlan_backupPlanName :: Lens' BackupPlan Text
- backupPlan_rules :: Lens' BackupPlan [BackupRule]
- data BackupPlanInput = BackupPlanInput' {}
- newBackupPlanInput :: Text -> BackupPlanInput
- backupPlanInput_advancedBackupSettings :: Lens' BackupPlanInput (Maybe [AdvancedBackupSetting])
- backupPlanInput_backupPlanName :: Lens' BackupPlanInput Text
- backupPlanInput_rules :: Lens' BackupPlanInput [BackupRuleInput]
- data BackupPlanTemplatesListMember = BackupPlanTemplatesListMember' {}
- newBackupPlanTemplatesListMember :: BackupPlanTemplatesListMember
- backupPlanTemplatesListMember_backupPlanTemplateName :: Lens' BackupPlanTemplatesListMember (Maybe Text)
- backupPlanTemplatesListMember_backupPlanTemplateId :: Lens' BackupPlanTemplatesListMember (Maybe Text)
- data BackupPlansListMember = BackupPlansListMember' {}
- newBackupPlansListMember :: BackupPlansListMember
- backupPlansListMember_versionId :: Lens' BackupPlansListMember (Maybe Text)
- backupPlansListMember_backupPlanName :: Lens' BackupPlansListMember (Maybe Text)
- backupPlansListMember_advancedBackupSettings :: Lens' BackupPlansListMember (Maybe [AdvancedBackupSetting])
- backupPlansListMember_backupPlanId :: Lens' BackupPlansListMember (Maybe Text)
- backupPlansListMember_creatorRequestId :: Lens' BackupPlansListMember (Maybe Text)
- backupPlansListMember_backupPlanArn :: Lens' BackupPlansListMember (Maybe Text)
- backupPlansListMember_lastExecutionDate :: Lens' BackupPlansListMember (Maybe UTCTime)
- backupPlansListMember_creationDate :: Lens' BackupPlansListMember (Maybe UTCTime)
- backupPlansListMember_deletionDate :: Lens' BackupPlansListMember (Maybe UTCTime)
- data BackupRule = BackupRule' {
- ruleId :: Maybe Text
- lifecycle :: Maybe Lifecycle
- recoveryPointTags :: Maybe (Sensitive (HashMap Text Text))
- scheduleExpression :: Maybe Text
- enableContinuousBackup :: Maybe Bool
- completionWindowMinutes :: Maybe Integer
- copyActions :: Maybe [CopyAction]
- startWindowMinutes :: Maybe Integer
- ruleName :: Text
- targetBackupVaultName :: Text
- newBackupRule :: Text -> Text -> BackupRule
- backupRule_ruleId :: Lens' BackupRule (Maybe Text)
- backupRule_lifecycle :: Lens' BackupRule (Maybe Lifecycle)
- backupRule_recoveryPointTags :: Lens' BackupRule (Maybe (HashMap Text Text))
- backupRule_scheduleExpression :: Lens' BackupRule (Maybe Text)
- backupRule_enableContinuousBackup :: Lens' BackupRule (Maybe Bool)
- backupRule_completionWindowMinutes :: Lens' BackupRule (Maybe Integer)
- backupRule_copyActions :: Lens' BackupRule (Maybe [CopyAction])
- backupRule_startWindowMinutes :: Lens' BackupRule (Maybe Integer)
- backupRule_ruleName :: Lens' BackupRule Text
- backupRule_targetBackupVaultName :: Lens' BackupRule Text
- data BackupRuleInput = BackupRuleInput' {
- lifecycle :: Maybe Lifecycle
- recoveryPointTags :: Maybe (Sensitive (HashMap Text Text))
- scheduleExpression :: Maybe Text
- enableContinuousBackup :: Maybe Bool
- completionWindowMinutes :: Maybe Integer
- copyActions :: Maybe [CopyAction]
- startWindowMinutes :: Maybe Integer
- ruleName :: Text
- targetBackupVaultName :: Text
- newBackupRuleInput :: Text -> Text -> BackupRuleInput
- backupRuleInput_lifecycle :: Lens' BackupRuleInput (Maybe Lifecycle)
- backupRuleInput_recoveryPointTags :: Lens' BackupRuleInput (Maybe (HashMap Text Text))
- backupRuleInput_scheduleExpression :: Lens' BackupRuleInput (Maybe Text)
- backupRuleInput_enableContinuousBackup :: Lens' BackupRuleInput (Maybe Bool)
- backupRuleInput_completionWindowMinutes :: Lens' BackupRuleInput (Maybe Integer)
- backupRuleInput_copyActions :: Lens' BackupRuleInput (Maybe [CopyAction])
- backupRuleInput_startWindowMinutes :: Lens' BackupRuleInput (Maybe Integer)
- backupRuleInput_ruleName :: Lens' BackupRuleInput Text
- backupRuleInput_targetBackupVaultName :: Lens' BackupRuleInput Text
- data BackupSelection = BackupSelection' {
- resources :: Maybe [Text]
- listOfTags :: Maybe [Condition]
- selectionName :: Text
- iamRoleArn :: Text
- newBackupSelection :: Text -> Text -> BackupSelection
- backupSelection_resources :: Lens' BackupSelection (Maybe [Text])
- backupSelection_listOfTags :: Lens' BackupSelection (Maybe [Condition])
- backupSelection_selectionName :: Lens' BackupSelection Text
- backupSelection_iamRoleArn :: Lens' BackupSelection Text
- data BackupSelectionsListMember = BackupSelectionsListMember' {}
- newBackupSelectionsListMember :: BackupSelectionsListMember
- backupSelectionsListMember_iamRoleArn :: Lens' BackupSelectionsListMember (Maybe Text)
- backupSelectionsListMember_selectionName :: Lens' BackupSelectionsListMember (Maybe Text)
- backupSelectionsListMember_selectionId :: Lens' BackupSelectionsListMember (Maybe Text)
- backupSelectionsListMember_backupPlanId :: Lens' BackupSelectionsListMember (Maybe Text)
- backupSelectionsListMember_creatorRequestId :: Lens' BackupSelectionsListMember (Maybe Text)
- backupSelectionsListMember_creationDate :: Lens' BackupSelectionsListMember (Maybe UTCTime)
- data BackupVaultListMember = BackupVaultListMember' {}
- newBackupVaultListMember :: BackupVaultListMember
- backupVaultListMember_lockDate :: Lens' BackupVaultListMember (Maybe UTCTime)
- backupVaultListMember_maxRetentionDays :: Lens' BackupVaultListMember (Maybe Integer)
- backupVaultListMember_locked :: Lens' BackupVaultListMember (Maybe Bool)
- backupVaultListMember_creatorRequestId :: Lens' BackupVaultListMember (Maybe Text)
- backupVaultListMember_numberOfRecoveryPoints :: Lens' BackupVaultListMember (Maybe Integer)
- backupVaultListMember_backupVaultArn :: Lens' BackupVaultListMember (Maybe Text)
- backupVaultListMember_encryptionKeyArn :: Lens' BackupVaultListMember (Maybe Text)
- backupVaultListMember_creationDate :: Lens' BackupVaultListMember (Maybe UTCTime)
- backupVaultListMember_backupVaultName :: Lens' BackupVaultListMember (Maybe Text)
- backupVaultListMember_minRetentionDays :: Lens' BackupVaultListMember (Maybe Integer)
- data CalculatedLifecycle = CalculatedLifecycle' {}
- newCalculatedLifecycle :: CalculatedLifecycle
- calculatedLifecycle_deleteAt :: Lens' CalculatedLifecycle (Maybe UTCTime)
- calculatedLifecycle_moveToColdStorageAt :: Lens' CalculatedLifecycle (Maybe UTCTime)
- data Condition = Condition' {}
- newCondition :: ConditionType -> Text -> Text -> Condition
- condition_conditionType :: Lens' Condition ConditionType
- condition_conditionKey :: Lens' Condition Text
- condition_conditionValue :: Lens' Condition Text
- data ControlInputParameter = ControlInputParameter' {}
- newControlInputParameter :: ControlInputParameter
- controlInputParameter_parameterValue :: Lens' ControlInputParameter (Maybe Text)
- controlInputParameter_parameterName :: Lens' ControlInputParameter (Maybe Text)
- data ControlScope = ControlScope' {}
- newControlScope :: ControlScope
- controlScope_complianceResourceTypes :: Lens' ControlScope (Maybe [Text])
- controlScope_tags :: Lens' ControlScope (Maybe (HashMap Text Text))
- controlScope_complianceResourceIds :: Lens' ControlScope (Maybe (NonEmpty Text))
- data CopyAction = CopyAction' {}
- newCopyAction :: Text -> CopyAction
- copyAction_lifecycle :: Lens' CopyAction (Maybe Lifecycle)
- copyAction_destinationBackupVaultArn :: Lens' CopyAction Text
- data CopyJob = CopyJob' {
- iamRoleArn :: Maybe Text
- state :: Maybe CopyJobState
- sourceRecoveryPointArn :: Maybe Text
- resourceType :: Maybe Text
- destinationBackupVaultArn :: Maybe Text
- createdBy :: Maybe RecoveryPointCreator
- destinationRecoveryPointArn :: Maybe Text
- accountId :: Maybe Text
- sourceBackupVaultArn :: Maybe Text
- copyJobId :: Maybe Text
- resourceArn :: Maybe Text
- statusMessage :: Maybe Text
- backupSizeInBytes :: Maybe Integer
- creationDate :: Maybe POSIX
- completionDate :: Maybe POSIX
- newCopyJob :: CopyJob
- copyJob_iamRoleArn :: Lens' CopyJob (Maybe Text)
- copyJob_state :: Lens' CopyJob (Maybe CopyJobState)
- copyJob_sourceRecoveryPointArn :: Lens' CopyJob (Maybe Text)
- copyJob_resourceType :: Lens' CopyJob (Maybe Text)
- copyJob_destinationBackupVaultArn :: Lens' CopyJob (Maybe Text)
- copyJob_createdBy :: Lens' CopyJob (Maybe RecoveryPointCreator)
- copyJob_destinationRecoveryPointArn :: Lens' CopyJob (Maybe Text)
- copyJob_accountId :: Lens' CopyJob (Maybe Text)
- copyJob_sourceBackupVaultArn :: Lens' CopyJob (Maybe Text)
- copyJob_copyJobId :: Lens' CopyJob (Maybe Text)
- copyJob_resourceArn :: Lens' CopyJob (Maybe Text)
- copyJob_statusMessage :: Lens' CopyJob (Maybe Text)
- copyJob_backupSizeInBytes :: Lens' CopyJob (Maybe Integer)
- copyJob_creationDate :: Lens' CopyJob (Maybe UTCTime)
- copyJob_completionDate :: Lens' CopyJob (Maybe UTCTime)
- data Framework = Framework' {}
- newFramework :: Framework
- framework_creationTime :: Lens' Framework (Maybe UTCTime)
- framework_frameworkDescription :: Lens' Framework (Maybe Text)
- framework_numberOfControls :: Lens' Framework (Maybe Int)
- framework_frameworkArn :: Lens' Framework (Maybe Text)
- framework_deploymentStatus :: Lens' Framework (Maybe Text)
- framework_frameworkName :: Lens' Framework (Maybe Text)
- data FrameworkControl = FrameworkControl' {}
- newFrameworkControl :: Text -> FrameworkControl
- frameworkControl_controlScope :: Lens' FrameworkControl (Maybe ControlScope)
- frameworkControl_controlInputParameters :: Lens' FrameworkControl (Maybe [ControlInputParameter])
- frameworkControl_controlName :: Lens' FrameworkControl Text
- data Lifecycle = Lifecycle' {}
- newLifecycle :: Lifecycle
- lifecycle_moveToColdStorageAfterDays :: Lens' Lifecycle (Maybe Integer)
- lifecycle_deleteAfterDays :: Lens' Lifecycle (Maybe Integer)
- data ProtectedResource = ProtectedResource' {}
- newProtectedResource :: ProtectedResource
- protectedResource_resourceType :: Lens' ProtectedResource (Maybe Text)
- protectedResource_lastBackupTime :: Lens' ProtectedResource (Maybe UTCTime)
- protectedResource_resourceArn :: Lens' ProtectedResource (Maybe Text)
- data RecoveryPointByBackupVault = RecoveryPointByBackupVault' {
- isEncrypted :: Maybe Bool
- status :: Maybe RecoveryPointStatus
- iamRoleArn :: Maybe Text
- resourceType :: Maybe Text
- createdBy :: Maybe RecoveryPointCreator
- calculatedLifecycle :: Maybe CalculatedLifecycle
- lifecycle :: Maybe Lifecycle
- backupVaultArn :: Maybe Text
- sourceBackupVaultArn :: Maybe Text
- lastRestoreTime :: Maybe POSIX
- resourceArn :: Maybe Text
- statusMessage :: Maybe Text
- recoveryPointArn :: Maybe Text
- encryptionKeyArn :: Maybe Text
- backupSizeInBytes :: Maybe Integer
- creationDate :: Maybe POSIX
- completionDate :: Maybe POSIX
- backupVaultName :: Maybe Text
- newRecoveryPointByBackupVault :: RecoveryPointByBackupVault
- recoveryPointByBackupVault_isEncrypted :: Lens' RecoveryPointByBackupVault (Maybe Bool)
- recoveryPointByBackupVault_status :: Lens' RecoveryPointByBackupVault (Maybe RecoveryPointStatus)
- recoveryPointByBackupVault_iamRoleArn :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_resourceType :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_createdBy :: Lens' RecoveryPointByBackupVault (Maybe RecoveryPointCreator)
- recoveryPointByBackupVault_calculatedLifecycle :: Lens' RecoveryPointByBackupVault (Maybe CalculatedLifecycle)
- recoveryPointByBackupVault_lifecycle :: Lens' RecoveryPointByBackupVault (Maybe Lifecycle)
- recoveryPointByBackupVault_backupVaultArn :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_sourceBackupVaultArn :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_lastRestoreTime :: Lens' RecoveryPointByBackupVault (Maybe UTCTime)
- recoveryPointByBackupVault_resourceArn :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_statusMessage :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_recoveryPointArn :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_encryptionKeyArn :: Lens' RecoveryPointByBackupVault (Maybe Text)
- recoveryPointByBackupVault_backupSizeInBytes :: Lens' RecoveryPointByBackupVault (Maybe Integer)
- recoveryPointByBackupVault_creationDate :: Lens' RecoveryPointByBackupVault (Maybe UTCTime)
- recoveryPointByBackupVault_completionDate :: Lens' RecoveryPointByBackupVault (Maybe UTCTime)
- recoveryPointByBackupVault_backupVaultName :: Lens' RecoveryPointByBackupVault (Maybe Text)
- data RecoveryPointByResource = RecoveryPointByResource' {}
- newRecoveryPointByResource :: RecoveryPointByResource
- recoveryPointByResource_status :: Lens' RecoveryPointByResource (Maybe RecoveryPointStatus)
- recoveryPointByResource_statusMessage :: Lens' RecoveryPointByResource (Maybe Text)
- recoveryPointByResource_recoveryPointArn :: Lens' RecoveryPointByResource (Maybe Text)
- recoveryPointByResource_backupSizeBytes :: Lens' RecoveryPointByResource (Maybe Integer)
- recoveryPointByResource_encryptionKeyArn :: Lens' RecoveryPointByResource (Maybe Text)
- recoveryPointByResource_creationDate :: Lens' RecoveryPointByResource (Maybe UTCTime)
- recoveryPointByResource_backupVaultName :: Lens' RecoveryPointByResource (Maybe Text)
- data RecoveryPointCreator = RecoveryPointCreator' {}
- newRecoveryPointCreator :: RecoveryPointCreator
- recoveryPointCreator_backupPlanId :: Lens' RecoveryPointCreator (Maybe Text)
- recoveryPointCreator_backupPlanArn :: Lens' RecoveryPointCreator (Maybe Text)
- recoveryPointCreator_backupPlanVersion :: Lens' RecoveryPointCreator (Maybe Text)
- recoveryPointCreator_backupRuleId :: Lens' RecoveryPointCreator (Maybe Text)
- data ReportDeliveryChannel = ReportDeliveryChannel' {
- s3KeyPrefix :: Maybe Text
- formats :: Maybe [Text]
- s3BucketName :: Text
- newReportDeliveryChannel :: Text -> ReportDeliveryChannel
- reportDeliveryChannel_s3KeyPrefix :: Lens' ReportDeliveryChannel (Maybe Text)
- reportDeliveryChannel_formats :: Lens' ReportDeliveryChannel (Maybe [Text])
- reportDeliveryChannel_s3BucketName :: Lens' ReportDeliveryChannel Text
- data ReportDestination = ReportDestination' {}
- newReportDestination :: ReportDestination
- reportDestination_s3Keys :: Lens' ReportDestination (Maybe [Text])
- reportDestination_s3BucketName :: Lens' ReportDestination (Maybe Text)
- data ReportJob = ReportJob' {}
- newReportJob :: ReportJob
- reportJob_creationTime :: Lens' ReportJob (Maybe UTCTime)
- reportJob_status :: Lens' ReportJob (Maybe Text)
- reportJob_reportPlanArn :: Lens' ReportJob (Maybe Text)
- reportJob_completionTime :: Lens' ReportJob (Maybe UTCTime)
- reportJob_reportJobId :: Lens' ReportJob (Maybe Text)
- reportJob_statusMessage :: Lens' ReportJob (Maybe Text)
- reportJob_reportDestination :: Lens' ReportJob (Maybe ReportDestination)
- reportJob_reportTemplate :: Lens' ReportJob (Maybe Text)
- data ReportPlan = ReportPlan' {
- creationTime :: Maybe POSIX
- reportPlanName :: Maybe Text
- reportPlanArn :: Maybe Text
- reportSetting :: Maybe ReportSetting
- reportPlanDescription :: Maybe Text
- lastAttemptedExecutionTime :: Maybe POSIX
- deploymentStatus :: Maybe Text
- lastSuccessfulExecutionTime :: Maybe POSIX
- reportDeliveryChannel :: Maybe ReportDeliveryChannel
- newReportPlan :: ReportPlan
- reportPlan_creationTime :: Lens' ReportPlan (Maybe UTCTime)
- reportPlan_reportPlanName :: Lens' ReportPlan (Maybe Text)
- reportPlan_reportPlanArn :: Lens' ReportPlan (Maybe Text)
- reportPlan_reportSetting :: Lens' ReportPlan (Maybe ReportSetting)
- reportPlan_reportPlanDescription :: Lens' ReportPlan (Maybe Text)
- reportPlan_lastAttemptedExecutionTime :: Lens' ReportPlan (Maybe UTCTime)
- reportPlan_deploymentStatus :: Lens' ReportPlan (Maybe Text)
- reportPlan_lastSuccessfulExecutionTime :: Lens' ReportPlan (Maybe UTCTime)
- reportPlan_reportDeliveryChannel :: Lens' ReportPlan (Maybe ReportDeliveryChannel)
- data ReportSetting = ReportSetting' {}
- newReportSetting :: Text -> ReportSetting
- reportSetting_frameworkArns :: Lens' ReportSetting (Maybe [Text])
- reportSetting_numberOfFrameworks :: Lens' ReportSetting (Maybe Int)
- reportSetting_reportTemplate :: Lens' ReportSetting Text
- data RestoreJobsListMember = RestoreJobsListMember' {
- status :: Maybe RestoreJobStatus
- iamRoleArn :: Maybe Text
- expectedCompletionTimeMinutes :: Maybe Integer
- restoreJobId :: Maybe Text
- resourceType :: Maybe Text
- percentDone :: Maybe Text
- accountId :: Maybe Text
- createdResourceArn :: Maybe Text
- statusMessage :: Maybe Text
- recoveryPointArn :: Maybe Text
- backupSizeInBytes :: Maybe Integer
- creationDate :: Maybe POSIX
- completionDate :: Maybe POSIX
- newRestoreJobsListMember :: RestoreJobsListMember
- restoreJobsListMember_status :: Lens' RestoreJobsListMember (Maybe RestoreJobStatus)
- restoreJobsListMember_iamRoleArn :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_expectedCompletionTimeMinutes :: Lens' RestoreJobsListMember (Maybe Integer)
- restoreJobsListMember_restoreJobId :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_resourceType :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_percentDone :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_accountId :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_createdResourceArn :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_statusMessage :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_recoveryPointArn :: Lens' RestoreJobsListMember (Maybe Text)
- restoreJobsListMember_backupSizeInBytes :: Lens' RestoreJobsListMember (Maybe Integer)
- restoreJobsListMember_creationDate :: Lens' RestoreJobsListMember (Maybe UTCTime)
- restoreJobsListMember_completionDate :: Lens' RestoreJobsListMember (Maybe UTCTime)
Service Configuration
defaultService :: Service Source #
API version 2018-11-15
of the Amazon Backup SDK configuration.
Errors
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
_DependencyFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.
_InvalidResourceStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that something is wrong with a parameter's value. For example, the value is out of range.
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request failed due to a temporary failure of the server.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A resource that is required for the action doesn't exist.
_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The required resource already exists.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
_MissingParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that a required parameter is missing.
BackupJobState
newtype BackupJobState Source #
pattern BackupJobState_ABORTED :: BackupJobState | |
pattern BackupJobState_ABORTING :: BackupJobState | |
pattern BackupJobState_COMPLETED :: BackupJobState | |
pattern BackupJobState_CREATED :: BackupJobState | |
pattern BackupJobState_EXPIRED :: BackupJobState | |
pattern BackupJobState_FAILED :: BackupJobState | |
pattern BackupJobState_PENDING :: BackupJobState | |
pattern BackupJobState_RUNNING :: BackupJobState |
Instances
BackupVaultEvent
newtype BackupVaultEvent Source #
Instances
ConditionType
newtype ConditionType Source #
pattern ConditionType_STRINGEQUALS :: ConditionType |
Instances
CopyJobState
newtype CopyJobState Source #
pattern CopyJobState_COMPLETED :: CopyJobState | |
pattern CopyJobState_CREATED :: CopyJobState | |
pattern CopyJobState_FAILED :: CopyJobState | |
pattern CopyJobState_RUNNING :: CopyJobState |
Instances
RecoveryPointStatus
newtype RecoveryPointStatus Source #
pattern RecoveryPointStatus_COMPLETED :: RecoveryPointStatus | |
pattern RecoveryPointStatus_DELETING :: RecoveryPointStatus | |
pattern RecoveryPointStatus_EXPIRED :: RecoveryPointStatus | |
pattern RecoveryPointStatus_PARTIAL :: RecoveryPointStatus |
Instances
RestoreJobStatus
newtype RestoreJobStatus Source #
pattern RestoreJobStatus_ABORTED :: RestoreJobStatus | |
pattern RestoreJobStatus_COMPLETED :: RestoreJobStatus | |
pattern RestoreJobStatus_FAILED :: RestoreJobStatus | |
pattern RestoreJobStatus_PENDING :: RestoreJobStatus | |
pattern RestoreJobStatus_RUNNING :: RestoreJobStatus |
Instances
StorageClass
newtype StorageClass Source #
pattern StorageClass_COLD :: StorageClass | |
pattern StorageClass_DELETED :: StorageClass | |
pattern StorageClass_WARM :: StorageClass |
Instances
AdvancedBackupSetting
data AdvancedBackupSetting Source #
A list of backup options for each resource type.
See: newAdvancedBackupSetting
smart constructor.
AdvancedBackupSetting' | |
|
Instances
newAdvancedBackupSetting :: AdvancedBackupSetting Source #
Create a value of AdvancedBackupSetting
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceType:AdvancedBackupSetting'
, advancedBackupSetting_resourceType
- Specifies an object containing resource type and backup options. The
only supported resource type is Amazon EC2 instances with Windows Volume
Shadow Copy Service (VSS). For a CloudFormation example, see the
sample CloudFormation template to enable Windows VSS
in the Backup User Guide.
Valid values: EC2
.
$sel:backupOptions:AdvancedBackupSetting'
, advancedBackupSetting_backupOptions
- Specifies the backup option for a selected resource. This option is only
available for Windows VSS backup jobs.
Valid values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup
option and create a Windows VSS backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The
WindowsVSS
option is not enabled by default.
If you specify an invalid option, you get an
InvalidParameterValueException
exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
advancedBackupSetting_resourceType :: Lens' AdvancedBackupSetting (Maybe Text) Source #
Specifies an object containing resource type and backup options. The only supported resource type is Amazon EC2 instances with Windows Volume Shadow Copy Service (VSS). For a CloudFormation example, see the sample CloudFormation template to enable Windows VSS in the Backup User Guide.
Valid values: EC2
.
advancedBackupSetting_backupOptions :: Lens' AdvancedBackupSetting (Maybe (HashMap Text Text)) Source #
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.
Valid values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup
option and create a Windows VSS backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The
WindowsVSS
option is not enabled by default.
If you specify an invalid option, you get an
InvalidParameterValueException
exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
BackupJob
Contains detailed information about a backup job.
See: newBackupJob
smart constructor.
BackupJob' | |
|
Instances
newBackupJob :: BackupJob Source #
Create a value of BackupJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iamRoleArn:BackupJob'
, backupJob_iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point. IAM
roles other than the default role must include either AWSBackup
or
AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without
those strings lack permissions to perform backup jobs.
$sel:state:BackupJob'
, backupJob_state
- The current state of a resource recovery point.
$sel:resourceType:BackupJob'
, backupJob_resourceType
- The type of Amazon Web Services resource to be backed up; for example,
an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon
Relational Database Service (Amazon RDS) database. For Windows Volume
Shadow Copy Service (VSS) backups, the only supported resource type is
Amazon EC2.
$sel:percentDone:BackupJob'
, backupJob_percentDone
- Contains an estimated percentage complete of a job at the time the job
status was queried.
$sel:startBy:BackupJob'
, backupJob_startBy
- Specifies the time in Unix format and Coordinated Universal Time (UTC)
when a backup job must be started before it is canceled. The value is
calculated by adding the start window to the scheduled time. So if the
scheduled time were 6:00 PM and the start window is 2 hours, the
StartBy
time would be 8:00 PM on the date specified. The value of
StartBy
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:createdBy:BackupJob'
, backupJob_createdBy
- Contains identifying information about the creation of a backup job,
including the BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan used to create it.
$sel:expectedCompletionDate:BackupJob'
, backupJob_expectedCompletionDate
- The date and time a job to back up resources is expected to be
completed, in Unix format and Coordinated Universal Time (UTC). The
value of ExpectedCompletionDate
is accurate to milliseconds. For
example, the value 1516925490.087 represents Friday, January 26, 2018
12:11:30.087 AM.
$sel:bytesTransferred:BackupJob'
, backupJob_bytesTransferred
- The size in bytes transferred to a backup vault at the time that the job
status was queried.
$sel:backupVaultArn:BackupJob'
, backupJob_backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault;
for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
$sel:accountId:BackupJob'
, backupJob_accountId
- The account ID that owns the backup job.
$sel:backupJobId:BackupJob'
, backupJob_backupJobId
- Uniquely identifies a request to Backup to back up a resource.
$sel:resourceArn:BackupJob'
, backupJob_resourceArn
- An ARN that uniquely identifies a resource. The format of the ARN
depends on the resource type.
$sel:statusMessage:BackupJob'
, backupJob_statusMessage
- A detailed message explaining the status of the job to back up a
resource.
$sel:recoveryPointArn:BackupJob'
, backupJob_recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:backupSizeInBytes:BackupJob'
, backupJob_backupSizeInBytes
- The size, in bytes, of a backup.
$sel:creationDate:BackupJob'
, backupJob_creationDate
- The date and time a backup job is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:completionDate:BackupJob'
, backupJob_completionDate
- The date and time a job to create a backup job is completed, in Unix
format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:backupVaultName:BackupJob'
, backupJob_backupVaultName
- 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. They
consist of lowercase letters, numbers, and hyphens.
$sel:backupType:BackupJob'
, backupJob_backupType
- Represents the type of backup for a backup job.
$sel:backupOptions:BackupJob'
, backupJob_backupOptions
- Specifies the backup option for a selected resource. This option is only
available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the
WindowsVSS
backup option and create a Windows VSS backup. Set to
"WindowsVSS":"disabled"
to create a regular backup. If you specify
an invalid option, you get an InvalidParameterValueException
exception.
backupJob_iamRoleArn :: Lens' BackupJob (Maybe Text) Source #
Specifies the IAM role ARN used to create the target recovery point. IAM
roles other than the default role must include either AWSBackup
or
AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without
those strings lack permissions to perform backup jobs.
backupJob_state :: Lens' BackupJob (Maybe BackupJobState) Source #
The current state of a resource recovery point.
backupJob_resourceType :: Lens' BackupJob (Maybe Text) Source #
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
backupJob_percentDone :: Lens' BackupJob (Maybe Text) Source #
Contains an estimated percentage complete of a job at the time the job status was queried.
backupJob_startBy :: Lens' BackupJob (Maybe UTCTime) Source #
Specifies the time in Unix format and Coordinated Universal Time (UTC)
when a backup job must be started before it is canceled. The value is
calculated by adding the start window to the scheduled time. So if the
scheduled time were 6:00 PM and the start window is 2 hours, the
StartBy
time would be 8:00 PM on the date specified. The value of
StartBy
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
backupJob_createdBy :: Lens' BackupJob (Maybe RecoveryPointCreator) Source #
Contains identifying information about the creation of a backup job,
including the BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan used to create it.
backupJob_expectedCompletionDate :: Lens' BackupJob (Maybe UTCTime) Source #
The date and time a job to back up resources is expected to be
completed, in Unix format and Coordinated Universal Time (UTC). The
value of ExpectedCompletionDate
is accurate to milliseconds. For
example, the value 1516925490.087 represents Friday, January 26, 2018
12:11:30.087 AM.
backupJob_bytesTransferred :: Lens' BackupJob (Maybe Integer) Source #
The size in bytes transferred to a backup vault at the time that the job status was queried.
backupJob_backupVaultArn :: Lens' BackupJob (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a backup vault;
for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
backupJob_accountId :: Lens' BackupJob (Maybe Text) Source #
The account ID that owns the backup job.
backupJob_backupJobId :: Lens' BackupJob (Maybe Text) Source #
Uniquely identifies a request to Backup to back up a resource.
backupJob_resourceArn :: Lens' BackupJob (Maybe Text) Source #
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
backupJob_statusMessage :: Lens' BackupJob (Maybe Text) Source #
A detailed message explaining the status of the job to back up a resource.
backupJob_recoveryPointArn :: Lens' BackupJob (Maybe Text) Source #
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
backupJob_backupSizeInBytes :: Lens' BackupJob (Maybe Integer) Source #
The size, in bytes, of a backup.
backupJob_creationDate :: Lens' BackupJob (Maybe UTCTime) Source #
The date and time a backup job is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
backupJob_completionDate :: Lens' BackupJob (Maybe UTCTime) Source #
The date and time a job to create a backup job is completed, in Unix
format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
backupJob_backupVaultName :: Lens' BackupJob (Maybe Text) Source #
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. They consist of lowercase letters, numbers, and hyphens.
backupJob_backupType :: Lens' BackupJob (Maybe Text) Source #
Represents the type of backup for a backup job.
backupJob_backupOptions :: Lens' BackupJob (Maybe (HashMap Text Text)) Source #
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the
WindowsVSS
backup option and create a Windows VSS backup. Set to
"WindowsVSS":"disabled"
to create a regular backup. If you specify
an invalid option, you get an InvalidParameterValueException
exception.
BackupPlan
data BackupPlan Source #
Contains an optional backup plan display name and an array of
BackupRule
objects, each of which specifies a backup rule. Each rule
in a backup plan is a separate scheduled task and can back up a
different selection of Amazon Web Services resources.
See: newBackupPlan
smart constructor.
BackupPlan' | |
|
Instances
Create a value of BackupPlan
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:advancedBackupSettings:BackupPlan'
, backupPlan_advancedBackupSettings
- Contains a list of BackupOptions
for each resource type.
$sel:backupPlanName:BackupPlan'
, backupPlan_backupPlanName
- The display name of a backup plan.
$sel:rules:BackupPlan'
, backupPlan_rules
- An array of BackupRule
objects, each of which specifies a scheduled
task that is used to back up a selection of resources.
backupPlan_advancedBackupSettings :: Lens' BackupPlan (Maybe [AdvancedBackupSetting]) Source #
Contains a list of BackupOptions
for each resource type.
backupPlan_backupPlanName :: Lens' BackupPlan Text Source #
The display name of a backup plan.
backupPlan_rules :: Lens' BackupPlan [BackupRule] Source #
An array of BackupRule
objects, each of which specifies a scheduled
task that is used to back up a selection of resources.
BackupPlanInput
data BackupPlanInput Source #
Contains an optional backup plan display name and an array of
BackupRule
objects, each of which specifies a backup rule. Each rule
in a backup plan is a separate scheduled task.
See: newBackupPlanInput
smart constructor.
BackupPlanInput' | |
|
Instances
Create a value of BackupPlanInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:advancedBackupSettings:BackupPlanInput'
, backupPlanInput_advancedBackupSettings
- Specifies a list of BackupOptions
for each resource type. These
settings are only available for Windows Volume Shadow Copy Service (VSS)
backup jobs.
$sel:backupPlanName:BackupPlanInput'
, backupPlanInput_backupPlanName
- The optional display name of a backup plan.
$sel:rules:BackupPlanInput'
, backupPlanInput_rules
- An array of BackupRule
objects, each of which specifies a scheduled
task that is used to back up a selection of resources.
backupPlanInput_advancedBackupSettings :: Lens' BackupPlanInput (Maybe [AdvancedBackupSetting]) Source #
Specifies a list of BackupOptions
for each resource type. These
settings are only available for Windows Volume Shadow Copy Service (VSS)
backup jobs.
backupPlanInput_backupPlanName :: Lens' BackupPlanInput Text Source #
The optional display name of a backup plan.
backupPlanInput_rules :: Lens' BackupPlanInput [BackupRuleInput] Source #
An array of BackupRule
objects, each of which specifies a scheduled
task that is used to back up a selection of resources.
BackupPlanTemplatesListMember
data BackupPlanTemplatesListMember Source #
An object specifying metadata associated with a backup plan template.
See: newBackupPlanTemplatesListMember
smart constructor.
BackupPlanTemplatesListMember' | |
|
Instances
newBackupPlanTemplatesListMember :: BackupPlanTemplatesListMember Source #
Create a value of BackupPlanTemplatesListMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupPlanTemplateName:BackupPlanTemplatesListMember'
, backupPlanTemplatesListMember_backupPlanTemplateName
- The optional display name of a backup plan template.
$sel:backupPlanTemplateId:BackupPlanTemplatesListMember'
, backupPlanTemplatesListMember_backupPlanTemplateId
- Uniquely identifies a stored backup plan template.
backupPlanTemplatesListMember_backupPlanTemplateName :: Lens' BackupPlanTemplatesListMember (Maybe Text) Source #
The optional display name of a backup plan template.
backupPlanTemplatesListMember_backupPlanTemplateId :: Lens' BackupPlanTemplatesListMember (Maybe Text) Source #
Uniquely identifies a stored backup plan template.
BackupPlansListMember
data BackupPlansListMember Source #
Contains metadata about a backup plan.
See: newBackupPlansListMember
smart constructor.
BackupPlansListMember' | |
|
Instances
newBackupPlansListMember :: BackupPlansListMember Source #
Create a value of BackupPlansListMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:versionId:BackupPlansListMember'
, backupPlansListMember_versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
most 1,024 bytes long. Version IDs cannot be edited.
$sel:backupPlanName:BackupPlansListMember'
, backupPlansListMember_backupPlanName
- The display name of a saved backup plan.
$sel:advancedBackupSettings:BackupPlansListMember'
, backupPlansListMember_advancedBackupSettings
- Contains a list of BackupOptions
for a resource type.
$sel:backupPlanId:BackupPlansListMember'
, backupPlansListMember_backupPlanId
- Uniquely identifies a backup plan.
$sel:creatorRequestId:BackupPlansListMember'
, backupPlansListMember_creatorRequestId
- A unique string that identifies the request and allows failed requests
to be retried without the risk of running the operation twice.
$sel:backupPlanArn:BackupPlansListMember'
, backupPlansListMember_backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
$sel:lastExecutionDate:BackupPlansListMember'
, backupPlansListMember_lastExecutionDate
- The last time a job to back up resources was run with this rule. A date
and time, in Unix format and Coordinated Universal Time (UTC). The value
of LastExecutionDate
is accurate to milliseconds. For example, the
value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
AM.
$sel:creationDate:BackupPlansListMember'
, backupPlansListMember_creationDate
- The date and time a resource backup plan is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:deletionDate:BackupPlansListMember'
, backupPlansListMember_deletionDate
- The date and time a backup plan is deleted, in Unix format and
Coordinated Universal Time (UTC). The value of DeletionDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
backupPlansListMember_versionId :: Lens' BackupPlansListMember (Maybe Text) Source #
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
backupPlansListMember_backupPlanName :: Lens' BackupPlansListMember (Maybe Text) Source #
The display name of a saved backup plan.
backupPlansListMember_advancedBackupSettings :: Lens' BackupPlansListMember (Maybe [AdvancedBackupSetting]) Source #
Contains a list of BackupOptions
for a resource type.
backupPlansListMember_backupPlanId :: Lens' BackupPlansListMember (Maybe Text) Source #
Uniquely identifies a backup plan.
backupPlansListMember_creatorRequestId :: Lens' BackupPlansListMember (Maybe Text) Source #
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
backupPlansListMember_backupPlanArn :: Lens' BackupPlansListMember (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
backupPlansListMember_lastExecutionDate :: Lens' BackupPlansListMember (Maybe UTCTime) Source #
The last time a job to back up resources was run with this rule. A date
and time, in Unix format and Coordinated Universal Time (UTC). The value
of LastExecutionDate
is accurate to milliseconds. For example, the
value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
AM.
backupPlansListMember_creationDate :: Lens' BackupPlansListMember (Maybe UTCTime) Source #
The date and time a resource backup plan is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
backupPlansListMember_deletionDate :: Lens' BackupPlansListMember (Maybe UTCTime) Source #
The date and time a backup plan is deleted, in Unix format and
Coordinated Universal Time (UTC). The value of DeletionDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
BackupRule
data BackupRule Source #
Specifies a scheduled task used to back up a selection of resources.
See: newBackupRule
smart constructor.
BackupRule' | |
|
Instances
Create a value of BackupRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleId:BackupRule'
, backupRule_ruleId
- Uniquely identifies a rule that is used to schedule the backup of a
selection of resources.
$sel:lifecycle:BackupRule'
, backupRule_lifecycle
- 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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
$sel:recoveryPointTags:BackupRule'
, backupRule_recoveryPointTags
- An array of key-value pair strings that are assigned to resources that
are associated with this rule when restored from backup.
$sel:scheduleExpression:BackupRule'
, backupRule_scheduleExpression
- A cron expression in UTC specifying when Backup initiates a backup job.
For more information about cron expressions, see
Schedule Expressions for Rules
in the Amazon CloudWatch Events User Guide.. Prior to specifying a
value for this parameter, we recommend testing your cron expression
using one of the many available cron generator and testing tools.
$sel:enableContinuousBackup:BackupRule'
, backupRule_enableContinuousBackup
- Specifies whether Backup creates continuous backups. True causes Backup
to create continuous backups capable of point-in-time restore (PITR).
False (or not specified) causes Backup to create snapshot backups.
$sel:completionWindowMinutes:BackupRule'
, backupRule_completionWindowMinutes
- A value in minutes after a backup job is successfully started before it
must be completed or it will be canceled by Backup. This value is
optional.
$sel:copyActions:BackupRule'
, backupRule_copyActions
- An array of CopyAction
objects, which contains the details of the copy
operation.
$sel:startWindowMinutes:BackupRule'
, backupRule_startWindowMinutes
- A value in minutes after a backup is scheduled before a job will be
canceled if it doesn't start successfully. This value is optional.
$sel:ruleName:BackupRule'
, backupRule_ruleName
- An optional display name for a backup rule.
$sel:targetBackupVaultName:BackupRule'
, backupRule_targetBackupVaultName
- 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. They
consist of lowercase letters, numbers, and hyphens.
backupRule_ruleId :: Lens' BackupRule (Maybe Text) Source #
Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
backupRule_lifecycle :: Lens' BackupRule (Maybe Lifecycle) Source #
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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
backupRule_recoveryPointTags :: Lens' BackupRule (Maybe (HashMap Text Text)) Source #
An array of key-value pair strings that are assigned to resources that are associated with this rule when restored from backup.
backupRule_scheduleExpression :: Lens' BackupRule (Maybe Text) Source #
A cron expression in UTC specifying when Backup initiates a backup job. For more information about cron expressions, see Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.. Prior to specifying a value for this parameter, we recommend testing your cron expression using one of the many available cron generator and testing tools.
backupRule_enableContinuousBackup :: Lens' BackupRule (Maybe Bool) Source #
Specifies whether Backup creates continuous backups. True causes Backup to create continuous backups capable of point-in-time restore (PITR). False (or not specified) causes Backup to create snapshot backups.
backupRule_completionWindowMinutes :: Lens' BackupRule (Maybe Integer) Source #
A value in minutes after a backup job is successfully started before it must be completed or it will be canceled by Backup. This value is optional.
backupRule_copyActions :: Lens' BackupRule (Maybe [CopyAction]) Source #
An array of CopyAction
objects, which contains the details of the copy
operation.
backupRule_startWindowMinutes :: Lens' BackupRule (Maybe Integer) Source #
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.
backupRule_ruleName :: Lens' BackupRule Text Source #
An optional display name for a backup rule.
backupRule_targetBackupVaultName :: Lens' BackupRule Text Source #
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. They consist of lowercase letters, numbers, and hyphens.
BackupRuleInput
data BackupRuleInput Source #
Specifies a scheduled task used to back up a selection of resources.
See: newBackupRuleInput
smart constructor.
BackupRuleInput' | |
|
Instances
:: Text | |
-> Text | |
-> BackupRuleInput |
Create a value of BackupRuleInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lifecycle:BackupRuleInput'
, backupRuleInput_lifecycle
- The lifecycle defines when a protected resource is transitioned to cold
storage and when it expires. Backup will transition and expire backups
automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
$sel:recoveryPointTags:BackupRuleInput'
, backupRuleInput_recoveryPointTags
- To help organize your resources, you can assign your own metadata to the
resources that you create. Each tag is a key-value pair.
$sel:scheduleExpression:BackupRuleInput'
, backupRuleInput_scheduleExpression
- A CRON expression in UTC specifying when Backup initiates a backup job.
$sel:enableContinuousBackup:BackupRuleInput'
, backupRuleInput_enableContinuousBackup
- Specifies whether Backup creates continuous backups. True causes Backup
to create continuous backups capable of point-in-time restore (PITR).
False (or not specified) causes Backup to create snapshot backups.
$sel:completionWindowMinutes:BackupRuleInput'
, backupRuleInput_completionWindowMinutes
- A value in minutes after a backup job is successfully started before it
must be completed or it will be canceled by Backup. This value is
optional.
$sel:copyActions:BackupRuleInput'
, backupRuleInput_copyActions
- An array of CopyAction
objects, which contains the details of the copy
operation.
$sel:startWindowMinutes:BackupRuleInput'
, backupRuleInput_startWindowMinutes
- A value in minutes after a backup is scheduled before a job will be
canceled if it doesn't start successfully. This value is optional.
$sel:ruleName:BackupRuleInput'
, backupRuleInput_ruleName
- An optional display name for a backup rule.
$sel:targetBackupVaultName:BackupRuleInput'
, backupRuleInput_targetBackupVaultName
- 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. They
consist of lowercase letters, numbers, and hyphens.
backupRuleInput_lifecycle :: Lens' BackupRuleInput (Maybe Lifecycle) Source #
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup will transition and expire backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
backupRuleInput_recoveryPointTags :: Lens' BackupRuleInput (Maybe (HashMap Text Text)) Source #
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
backupRuleInput_scheduleExpression :: Lens' BackupRuleInput (Maybe Text) Source #
A CRON expression in UTC specifying when Backup initiates a backup job.
backupRuleInput_enableContinuousBackup :: Lens' BackupRuleInput (Maybe Bool) Source #
Specifies whether Backup creates continuous backups. True causes Backup to create continuous backups capable of point-in-time restore (PITR). False (or not specified) causes Backup to create snapshot backups.
backupRuleInput_completionWindowMinutes :: Lens' BackupRuleInput (Maybe Integer) Source #
A value in minutes after a backup job is successfully started before it must be completed or it will be canceled by Backup. This value is optional.
backupRuleInput_copyActions :: Lens' BackupRuleInput (Maybe [CopyAction]) Source #
An array of CopyAction
objects, which contains the details of the copy
operation.
backupRuleInput_startWindowMinutes :: Lens' BackupRuleInput (Maybe Integer) Source #
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.
backupRuleInput_ruleName :: Lens' BackupRuleInput Text Source #
An optional display name for a backup rule.
backupRuleInput_targetBackupVaultName :: Lens' BackupRuleInput Text Source #
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. They consist of lowercase letters, numbers, and hyphens.
BackupSelection
data BackupSelection Source #
Used to specify a set of resources to a backup plan.
See: newBackupSelection
smart constructor.
BackupSelection' | |
|
Instances
Create a value of BackupSelection
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resources:BackupSelection'
, backupSelection_resources
- An array of strings that contain Amazon Resource Names (ARNs) of
resources to assign to a backup plan.
$sel:listOfTags:BackupSelection'
, backupSelection_listOfTags
- An array of conditions used to specify a set of resources to assign to a
backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting"
.
Assigns the backup plan to every resource with at least one matching
tag.
$sel:selectionName:BackupSelection'
, backupSelection_selectionName
- The display name of a resource selection document.
$sel:iamRoleArn:BackupSelection'
, backupSelection_iamRoleArn
- The ARN of the IAM role that Backup uses to authenticate when backing up
the target resource; for example,
arn:aws:iam::123456789012:role/S3Access
.
backupSelection_resources :: Lens' BackupSelection (Maybe [Text]) Source #
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
backupSelection_listOfTags :: Lens' BackupSelection (Maybe [Condition]) Source #
An array of conditions used to specify a set of resources to assign to a
backup plan; for example,
"StringEquals": {"ec2:ResourceTag/Department": "accounting"
.
Assigns the backup plan to every resource with at least one matching
tag.
backupSelection_selectionName :: Lens' BackupSelection Text Source #
The display name of a resource selection document.
backupSelection_iamRoleArn :: Lens' BackupSelection Text Source #
The ARN of the IAM role that Backup uses to authenticate when backing up
the target resource; for example,
arn:aws:iam::123456789012:role/S3Access
.
BackupSelectionsListMember
data BackupSelectionsListMember Source #
Contains metadata about a BackupSelection
object.
See: newBackupSelectionsListMember
smart constructor.
BackupSelectionsListMember' | |
|
Instances
newBackupSelectionsListMember :: BackupSelectionsListMember Source #
Create a value of BackupSelectionsListMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iamRoleArn:BackupSelectionsListMember'
, backupSelectionsListMember_iamRoleArn
- Specifies the IAM role Amazon Resource Name (ARN) to create the target
recovery point; for example, arn:aws:iam::123456789012:role/S3Access
.
$sel:selectionName:BackupSelectionsListMember'
, backupSelectionsListMember_selectionName
- The display name of a resource selection document.
$sel:selectionId:BackupSelectionsListMember'
, backupSelectionsListMember_selectionId
- Uniquely identifies a request to assign a set of resources to a backup
plan.
$sel:backupPlanId:BackupSelectionsListMember'
, backupSelectionsListMember_backupPlanId
- Uniquely identifies a backup plan.
$sel:creatorRequestId:BackupSelectionsListMember'
, backupSelectionsListMember_creatorRequestId
- A unique string that identifies the request and allows failed requests
to be retried without the risk of running the operation twice.
$sel:creationDate:BackupSelectionsListMember'
, backupSelectionsListMember_creationDate
- The date and time a backup plan is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
backupSelectionsListMember_iamRoleArn :: Lens' BackupSelectionsListMember (Maybe Text) Source #
Specifies the IAM role Amazon Resource Name (ARN) to create the target
recovery point; for example, arn:aws:iam::123456789012:role/S3Access
.
backupSelectionsListMember_selectionName :: Lens' BackupSelectionsListMember (Maybe Text) Source #
The display name of a resource selection document.
backupSelectionsListMember_selectionId :: Lens' BackupSelectionsListMember (Maybe Text) Source #
Uniquely identifies a request to assign a set of resources to a backup plan.
backupSelectionsListMember_backupPlanId :: Lens' BackupSelectionsListMember (Maybe Text) Source #
Uniquely identifies a backup plan.
backupSelectionsListMember_creatorRequestId :: Lens' BackupSelectionsListMember (Maybe Text) Source #
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
backupSelectionsListMember_creationDate :: Lens' BackupSelectionsListMember (Maybe UTCTime) Source #
The date and time a backup plan is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
BackupVaultListMember
data BackupVaultListMember Source #
Contains metadata about a backup vault.
See: newBackupVaultListMember
smart constructor.
BackupVaultListMember' | |
|
Instances
newBackupVaultListMember :: BackupVaultListMember Source #
Create a value of BackupVaultListMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lockDate:BackupVaultListMember'
, backupVaultListMember_lockDate
- The date and time when Backup Vault Lock configuration becomes
immutable, meaning it cannot be changed or deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:maxRetentionDays:BackupVaultListMember'
, backupVaultListMember_maxRetentionDays
- The Backup Vault Lock setting that specifies the maximum retention
period that the vault retains its recovery points. If this parameter is
not specified, Vault Lock does not enforce a maximum retention period on
the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
$sel:locked:BackupVaultListMember'
, backupVaultListMember_locked
- A Boolean value that indicates whether Backup Vault Lock applies to the
selected backup vault. If true
, Vault Lock prevents delete and update
operations on the recovery points in the selected vault.
$sel:creatorRequestId:BackupVaultListMember'
, backupVaultListMember_creatorRequestId
- A unique string that identifies the request and allows failed requests
to be retried without the risk of running the operation twice.
$sel:numberOfRecoveryPoints:BackupVaultListMember'
, backupVaultListMember_numberOfRecoveryPoints
- The number of recovery points that are stored in a backup vault.
$sel:backupVaultArn:BackupVaultListMember'
, backupVaultListMember_backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault;
for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
$sel:encryptionKeyArn:BackupVaultListMember'
, backupVaultListMember_encryptionKeyArn
- The server-side encryption key that is used to protect your backups; for
example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
$sel:creationDate:BackupVaultListMember'
, backupVaultListMember_creationDate
- The date and time a resource backup is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:backupVaultName:BackupVaultListMember'
, backupVaultListMember_backupVaultName
- 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. They
consist of lowercase letters, numbers, and hyphens.
$sel:minRetentionDays:BackupVaultListMember'
, backupVaultListMember_minRetentionDays
- The Backup Vault Lock setting that specifies the minimum retention
period that the vault retains its recovery points. If this parameter is
not specified, Vault Lock does not enforce a minimum retention period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
backupVaultListMember_lockDate :: Lens' BackupVaultListMember (Maybe UTCTime) Source #
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
backupVaultListMember_maxRetentionDays :: Lens' BackupVaultListMember (Maybe Integer) Source #
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
backupVaultListMember_locked :: Lens' BackupVaultListMember (Maybe Bool) Source #
A Boolean value that indicates whether Backup Vault Lock applies to the
selected backup vault. If true
, Vault Lock prevents delete and update
operations on the recovery points in the selected vault.
backupVaultListMember_creatorRequestId :: Lens' BackupVaultListMember (Maybe Text) Source #
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
backupVaultListMember_numberOfRecoveryPoints :: Lens' BackupVaultListMember (Maybe Integer) Source #
The number of recovery points that are stored in a backup vault.
backupVaultListMember_backupVaultArn :: Lens' BackupVaultListMember (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a backup vault;
for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
backupVaultListMember_encryptionKeyArn :: Lens' BackupVaultListMember (Maybe Text) Source #
The server-side encryption key that is used to protect your backups; for
example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
backupVaultListMember_creationDate :: Lens' BackupVaultListMember (Maybe UTCTime) Source #
The date and time a resource backup is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
backupVaultListMember_backupVaultName :: Lens' BackupVaultListMember (Maybe Text) Source #
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. They consist of lowercase letters, numbers, and hyphens.
backupVaultListMember_minRetentionDays :: Lens' BackupVaultListMember (Maybe Integer) Source #
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
CalculatedLifecycle
data CalculatedLifecycle Source #
Contains DeleteAt
and MoveToColdStorageAt
timestamps, which are used
to specify a lifecycle for a recovery point.
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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
See: newCalculatedLifecycle
smart constructor.
Instances
newCalculatedLifecycle :: CalculatedLifecycle Source #
Create a value of CalculatedLifecycle
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deleteAt:CalculatedLifecycle'
, calculatedLifecycle_deleteAt
- A timestamp that specifies when to delete a recovery point.
$sel:moveToColdStorageAt:CalculatedLifecycle'
, calculatedLifecycle_moveToColdStorageAt
- A timestamp that specifies when to transition a recovery point to cold
storage.
calculatedLifecycle_deleteAt :: Lens' CalculatedLifecycle (Maybe UTCTime) Source #
A timestamp that specifies when to delete a recovery point.
calculatedLifecycle_moveToColdStorageAt :: Lens' CalculatedLifecycle (Maybe UTCTime) Source #
A timestamp that specifies when to transition a recovery point to cold storage.
Condition
Contains an array of triplets made up of a condition type (such as
StringEquals
), a key, and a value. Conditions are used to filter
resources in a selection that is assigned to a backup plan.
See: newCondition
smart constructor.
Condition' | |
|
Instances
Eq Condition Source # | |
Read Condition Source # | |
Show Condition Source # | |
Generic Condition Source # | |
NFData Condition Source # | |
Defined in Amazonka.Backup.Types.Condition | |
Hashable Condition Source # | |
Defined in Amazonka.Backup.Types.Condition | |
ToJSON Condition Source # | |
Defined in Amazonka.Backup.Types.Condition | |
FromJSON Condition Source # | |
type Rep Condition Source # | |
Defined in Amazonka.Backup.Types.Condition type Rep Condition = D1 ('MetaData "Condition" "Amazonka.Backup.Types.Condition" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "Condition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "conditionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConditionType) :*: (S1 ('MetaSel ('Just "conditionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "conditionValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
:: ConditionType | |
-> Text | |
-> Text | |
-> Condition |
Create a value of Condition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:conditionType:Condition'
, condition_conditionType
- An operation, such as StringEquals
, that is applied to a key-value
pair used to filter resources in a selection.
$sel:conditionKey:Condition'
, condition_conditionKey
- The key in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting"
,
"ec2:ResourceTag/Department"
is the key.
$sel:conditionValue:Condition'
, condition_conditionValue
- The value in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting"
, "accounting"
is
the value.
condition_conditionType :: Lens' Condition ConditionType Source #
An operation, such as StringEquals
, that is applied to a key-value
pair used to filter resources in a selection.
condition_conditionKey :: Lens' Condition Text Source #
The key in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting"
,
"ec2:ResourceTag/Department"
is the key.
condition_conditionValue :: Lens' Condition Text Source #
The value in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting"
, "accounting"
is
the value.
ControlInputParameter
data ControlInputParameter Source #
A list of parameters for a control. A control can have zero, one, or
more than one parameter. An example of a control with two parameters is:
"backup plan frequency is at least daily
and the retention period is
at least 1 year
". The first parameter is daily
. The second
parameter is 1 year
.
See: newControlInputParameter
smart constructor.
ControlInputParameter' | |
|
Instances
newControlInputParameter :: ControlInputParameter Source #
Create a value of ControlInputParameter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:parameterValue:ControlInputParameter'
, controlInputParameter_parameterValue
- The value of parameter, for example, hourly
.
$sel:parameterName:ControlInputParameter'
, controlInputParameter_parameterName
- The name of a parameter, for example, BackupPlanFrequency
.
controlInputParameter_parameterValue :: Lens' ControlInputParameter (Maybe Text) Source #
The value of parameter, for example, hourly
.
controlInputParameter_parameterName :: Lens' ControlInputParameter (Maybe Text) Source #
The name of a parameter, for example, BackupPlanFrequency
.
ControlScope
data ControlScope Source #
A framework consists of one or more controls. Each control has its own control scope. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
To set a control scope that includes all of a particular resource, leave
the ControlScope
empty or do not pass it when calling
CreateFramework
.
See: newControlScope
smart constructor.
ControlScope' | |
|
Instances
newControlScope :: ControlScope Source #
Create a value of ControlScope
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:complianceResourceTypes:ControlScope'
, controlScope_complianceResourceTypes
- Describes whether the control scope includes one or more types of
resources, such as EFS
or RDS
.
$sel:tags:ControlScope'
, controlScope_tags
- Describes whether the control scope includes resources with one or more
tags. Each tag is a key-value pair.
$sel:complianceResourceIds:ControlScope'
, controlScope_complianceResourceIds
- The ID of the only Amazon Web Services resource that you want your
control scope to contain.
controlScope_complianceResourceTypes :: Lens' ControlScope (Maybe [Text]) Source #
Describes whether the control scope includes one or more types of
resources, such as EFS
or RDS
.
controlScope_tags :: Lens' ControlScope (Maybe (HashMap Text Text)) Source #
Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.
controlScope_complianceResourceIds :: Lens' ControlScope (Maybe (NonEmpty Text)) Source #
The ID of the only Amazon Web Services resource that you want your control scope to contain.
CopyAction
data CopyAction Source #
The details of the copy operation.
See: newCopyAction
smart constructor.
CopyAction' | |
|
Instances
Create a value of CopyAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lifecycle:CopyAction'
, copyAction_lifecycle
- Undocumented member.
$sel:destinationBackupVaultArn:CopyAction'
, copyAction_destinationBackupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies the destination
backup vault for the copied backup. For example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
copyAction_lifecycle :: Lens' CopyAction (Maybe Lifecycle) Source #
Undocumented member.
copyAction_destinationBackupVaultArn :: Lens' CopyAction Text Source #
An Amazon Resource Name (ARN) that uniquely identifies the destination
backup vault for the copied backup. For example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
CopyJob
Contains detailed information about a copy job.
See: newCopyJob
smart constructor.
CopyJob' | |
|
Instances
newCopyJob :: CopyJob Source #
Create a value of CopyJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iamRoleArn:CopyJob'
, copyJob_iamRoleArn
- Specifies the IAM role ARN used to copy the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
$sel:state:CopyJob'
, copyJob_state
- The current state of a copy job.
$sel:sourceRecoveryPointArn:CopyJob'
, copyJob_sourceRecoveryPointArn
- An ARN that uniquely identifies a source recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:resourceType:CopyJob'
, copyJob_resourceType
- The type of Amazon Web Services resource to be copied; for example, an
Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational
Database Service (Amazon RDS) database.
$sel:destinationBackupVaultArn:CopyJob'
, copyJob_destinationBackupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a destination
copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
$sel:createdBy:CopyJob'
, copyJob_createdBy
- Undocumented member.
$sel:destinationRecoveryPointArn:CopyJob'
, copyJob_destinationRecoveryPointArn
- An ARN that uniquely identifies a destination recovery point; for
example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:accountId:CopyJob'
, copyJob_accountId
- The account ID that owns the copy job.
$sel:sourceBackupVaultArn:CopyJob'
, copyJob_sourceBackupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a source copy
vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
$sel:copyJobId:CopyJob'
, copyJob_copyJobId
- Uniquely identifies a copy job.
$sel:resourceArn:CopyJob'
, copyJob_resourceArn
- The Amazon Web Services resource to be copied; for example, an Amazon
Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database
Service (Amazon RDS) database.
$sel:statusMessage:CopyJob'
, copyJob_statusMessage
- A detailed message explaining the status of the job to copy a resource.
$sel:backupSizeInBytes:CopyJob'
, copyJob_backupSizeInBytes
- The size, in bytes, of a copy job.
$sel:creationDate:CopyJob'
, copyJob_creationDate
- The date and time a copy job is created, in Unix format and Coordinated
Universal Time (UTC). The value of CreationDate
is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
$sel:completionDate:CopyJob'
, copyJob_completionDate
- The date and time a copy job is completed, in Unix format and
Coordinated Universal Time (UTC). The value of CompletionDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
copyJob_iamRoleArn :: Lens' CopyJob (Maybe Text) Source #
Specifies the IAM role ARN used to copy the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
copyJob_state :: Lens' CopyJob (Maybe CopyJobState) Source #
The current state of a copy job.
copyJob_sourceRecoveryPointArn :: Lens' CopyJob (Maybe Text) Source #
An ARN that uniquely identifies a source recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
copyJob_resourceType :: Lens' CopyJob (Maybe Text) Source #
The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
copyJob_destinationBackupVaultArn :: Lens' CopyJob (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a destination
copy vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
copyJob_createdBy :: Lens' CopyJob (Maybe RecoveryPointCreator) Source #
Undocumented member.
copyJob_destinationRecoveryPointArn :: Lens' CopyJob (Maybe Text) Source #
An ARN that uniquely identifies a destination recovery point; for
example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
copyJob_sourceBackupVaultArn :: Lens' CopyJob (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a source copy
vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
copyJob_resourceArn :: Lens' CopyJob (Maybe Text) Source #
The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
copyJob_statusMessage :: Lens' CopyJob (Maybe Text) Source #
A detailed message explaining the status of the job to copy a resource.
copyJob_backupSizeInBytes :: Lens' CopyJob (Maybe Integer) Source #
The size, in bytes, of a copy job.
copyJob_creationDate :: Lens' CopyJob (Maybe UTCTime) Source #
The date and time a copy job is created, in Unix format and Coordinated
Universal Time (UTC). The value of CreationDate
is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
copyJob_completionDate :: Lens' CopyJob (Maybe UTCTime) Source #
The date and time a copy job is completed, in Unix format and
Coordinated Universal Time (UTC). The value of CompletionDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
Framework
Contains detailed information about a framework. Frameworks contain controls, which evaluate and report on your backup events and resources. Frameworks generate daily compliance results.
See: newFramework
smart constructor.
Framework' | |
|
Instances
newFramework :: Framework Source #
Create a value of Framework
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:Framework'
, framework_creationTime
- The date and time that a framework is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:frameworkDescription:Framework'
, framework_frameworkDescription
- An optional description of the framework with a maximum 1,024
characters.
$sel:numberOfControls:Framework'
, framework_numberOfControls
- The number of controls contained by the framework.
$sel:frameworkArn:Framework'
, framework_frameworkArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
$sel:deploymentStatus:Framework'
, framework_deploymentStatus
- The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
$sel:frameworkName:Framework'
, framework_frameworkName
- The unique name of a framework. This name is between 1 and 256
characters, starting with a letter, and consisting of letters (a-z,
A-Z), numbers (0-9), and underscores (_).
framework_creationTime :: Lens' Framework (Maybe UTCTime) Source #
The date and time that a framework is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
framework_frameworkDescription :: Lens' Framework (Maybe Text) Source #
An optional description of the framework with a maximum 1,024 characters.
framework_numberOfControls :: Lens' Framework (Maybe Int) Source #
The number of controls contained by the framework.
framework_frameworkArn :: Lens' Framework (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
framework_deploymentStatus :: Lens' Framework (Maybe Text) Source #
The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
framework_frameworkName :: Lens' Framework (Maybe Text) Source #
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
FrameworkControl
data FrameworkControl Source #
Contains detailed information about all of the controls of a framework. Each framework must contain at least one control.
See: newFrameworkControl
smart constructor.
FrameworkControl' | |
|
Instances
Create a value of FrameworkControl
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:controlScope:FrameworkControl'
, frameworkControl_controlScope
- The scope of a control. The control scope defines what the control will
evaluate. Three examples of control scopes are: a specific backup plan,
all backup plans with a specific tag, or all backup plans. For more
information, see ControlScope
.
$sel:controlInputParameters:FrameworkControl'
, frameworkControl_controlInputParameters
- A list of ParameterName
and ParameterValue
pairs.
$sel:controlName:FrameworkControl'
, frameworkControl_controlName
- The name of a control. This name is between 1 and 256 characters.
frameworkControl_controlScope :: Lens' FrameworkControl (Maybe ControlScope) Source #
The scope of a control. The control scope defines what the control will
evaluate. Three examples of control scopes are: a specific backup plan,
all backup plans with a specific tag, or all backup plans. For more
information, see ControlScope
.
frameworkControl_controlInputParameters :: Lens' FrameworkControl (Maybe [ControlInputParameter]) Source #
A list of ParameterName
and ParameterValue
pairs.
frameworkControl_controlName :: Lens' FrameworkControl Text Source #
The name of a control. This name is between 1 and 256 characters.
Lifecycle
Contains an array of Transition
objects specifying how long in days
before a recovery point transitions to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
See: newLifecycle
smart constructor.
Lifecycle' | |
|
Instances
Eq Lifecycle Source # | |
Read Lifecycle Source # | |
Show Lifecycle Source # | |
Generic Lifecycle Source # | |
NFData Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle | |
Hashable Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle | |
ToJSON Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle | |
FromJSON Lifecycle Source # | |
type Rep Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle type Rep Lifecycle = D1 ('MetaData "Lifecycle" "Amazonka.Backup.Types.Lifecycle" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "Lifecycle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "moveToColdStorageAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "deleteAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) |
newLifecycle :: Lifecycle Source #
Create a value of Lifecycle
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:moveToColdStorageAfterDays:Lifecycle'
, lifecycle_moveToColdStorageAfterDays
- Specifies the number of days after creation that a recovery point is
moved to cold storage.
$sel:deleteAfterDays:Lifecycle'
, lifecycle_deleteAfterDays
- Specifies the number of days after creation that a recovery point is
deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
lifecycle_moveToColdStorageAfterDays :: Lens' Lifecycle (Maybe Integer) Source #
Specifies the number of days after creation that a recovery point is moved to cold storage.
lifecycle_deleteAfterDays :: Lens' Lifecycle (Maybe Integer) Source #
Specifies the number of days after creation that a recovery point is
deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
ProtectedResource
data ProtectedResource Source #
A structure that contains information about a backed-up resource.
See: newProtectedResource
smart constructor.
ProtectedResource' | |
|
Instances
newProtectedResource :: ProtectedResource Source #
Create a value of ProtectedResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceType:ProtectedResource'
, protectedResource_resourceType
- The type of Amazon Web Services resource; for example, an Amazon Elastic
Block Store (Amazon EBS) volume or an Amazon Relational Database Service
(Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS)
backups, the only supported resource type is Amazon EC2.
$sel:lastBackupTime:ProtectedResource'
, protectedResource_lastBackupTime
- The date and time a resource was last backed up, in Unix format and
Coordinated Universal Time (UTC). The value of LastBackupTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:resourceArn:ProtectedResource'
, protectedResource_resourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
protectedResource_resourceType :: Lens' ProtectedResource (Maybe Text) Source #
The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
protectedResource_lastBackupTime :: Lens' ProtectedResource (Maybe UTCTime) Source #
The date and time a resource was last backed up, in Unix format and
Coordinated Universal Time (UTC). The value of LastBackupTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
protectedResource_resourceArn :: Lens' ProtectedResource (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
RecoveryPointByBackupVault
data RecoveryPointByBackupVault Source #
Contains detailed information about the recovery points stored in a backup vault.
See: newRecoveryPointByBackupVault
smart constructor.
RecoveryPointByBackupVault' | |
|
Instances
newRecoveryPointByBackupVault :: RecoveryPointByBackupVault Source #
Create a value of RecoveryPointByBackupVault
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:isEncrypted:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_isEncrypted
- A Boolean value that is returned as TRUE
if the specified recovery
point is encrypted, or FALSE
if the recovery point is not encrypted.
$sel:status:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_status
- A status code specifying the state of the recovery point.
$sel:iamRoleArn:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
$sel:resourceType:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_resourceType
- The type of Amazon Web Services resource saved as a recovery point; for
example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon
Relational Database Service (Amazon RDS) database. For Windows Volume
Shadow Copy Service (VSS) backups, the only supported resource type is
Amazon EC2.
$sel:createdBy:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_createdBy
- Contains identifying information about the creation of a recovery point,
including the BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan that is used to create it.
$sel:calculatedLifecycle:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_calculatedLifecycle
- A CalculatedLifecycle
object containing DeleteAt
and
MoveToColdStorageAt
timestamps.
$sel:lifecycle:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_lifecycle
- 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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
$sel:backupVaultArn:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_backupVaultArn
- An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
$sel:sourceBackupVaultArn:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_sourceBackupVaultArn
- The backup vault where the recovery point was originally copied from. If
the recovery point is restored to the same account this value will be
null
.
$sel:lastRestoreTime:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_lastRestoreTime
- The date and time a recovery point was last restored, in Unix format and
Coordinated Universal Time (UTC). The value of LastRestoreTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:resourceArn:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_resourceArn
- An ARN that uniquely identifies a resource. The format of the ARN
depends on the resource type.
$sel:statusMessage:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_statusMessage
- A message explaining the reason of the recovery point deletion failure.
$sel:recoveryPointArn:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_recoveryPointArn
- An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:encryptionKeyArn:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_encryptionKeyArn
- The server-side encryption key that is used to protect your backups; for
example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
$sel:backupSizeInBytes:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_backupSizeInBytes
- The size, in bytes, of a backup.
$sel:creationDate:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_creationDate
- The date and time a recovery point is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:completionDate:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_completionDate
- The date and time a job to restore a recovery point is completed, in
Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:backupVaultName:RecoveryPointByBackupVault'
, recoveryPointByBackupVault_backupVaultName
- 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. They
consist of lowercase letters, numbers, and hyphens.
recoveryPointByBackupVault_isEncrypted :: Lens' RecoveryPointByBackupVault (Maybe Bool) Source #
A Boolean value that is returned as TRUE
if the specified recovery
point is encrypted, or FALSE
if the recovery point is not encrypted.
recoveryPointByBackupVault_status :: Lens' RecoveryPointByBackupVault (Maybe RecoveryPointStatus) Source #
A status code specifying the state of the recovery point.
recoveryPointByBackupVault_iamRoleArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
Specifies the IAM role ARN used to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
recoveryPointByBackupVault_resourceType :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
recoveryPointByBackupVault_createdBy :: Lens' RecoveryPointByBackupVault (Maybe RecoveryPointCreator) Source #
Contains identifying information about the creation of a recovery point,
including the BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan that is used to create it.
recoveryPointByBackupVault_calculatedLifecycle :: Lens' RecoveryPointByBackupVault (Maybe CalculatedLifecycle) Source #
A CalculatedLifecycle
object containing DeleteAt
and
MoveToColdStorageAt
timestamps.
recoveryPointByBackupVault_lifecycle :: Lens' RecoveryPointByBackupVault (Maybe Lifecycle) Source #
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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
recoveryPointByBackupVault_backupVaultArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
recoveryPointByBackupVault_sourceBackupVaultArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
The backup vault where the recovery point was originally copied from. If
the recovery point is restored to the same account this value will be
null
.
recoveryPointByBackupVault_lastRestoreTime :: Lens' RecoveryPointByBackupVault (Maybe UTCTime) Source #
The date and time a recovery point was last restored, in Unix format and
Coordinated Universal Time (UTC). The value of LastRestoreTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
recoveryPointByBackupVault_resourceArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
recoveryPointByBackupVault_statusMessage :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
A message explaining the reason of the recovery point deletion failure.
recoveryPointByBackupVault_recoveryPointArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointByBackupVault_encryptionKeyArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
The server-side encryption key that is used to protect your backups; for
example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
recoveryPointByBackupVault_backupSizeInBytes :: Lens' RecoveryPointByBackupVault (Maybe Integer) Source #
The size, in bytes, of a backup.
recoveryPointByBackupVault_creationDate :: Lens' RecoveryPointByBackupVault (Maybe UTCTime) Source #
The date and time a recovery point is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
recoveryPointByBackupVault_completionDate :: Lens' RecoveryPointByBackupVault (Maybe UTCTime) Source #
The date and time a job to restore a recovery point is completed, in
Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
recoveryPointByBackupVault_backupVaultName :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #
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. They consist of lowercase letters, numbers, and hyphens.
RecoveryPointByResource
data RecoveryPointByResource Source #
Contains detailed information about a saved recovery point.
See: newRecoveryPointByResource
smart constructor.
RecoveryPointByResource' | |
|
Instances
newRecoveryPointByResource :: RecoveryPointByResource Source #
Create a value of RecoveryPointByResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:RecoveryPointByResource'
, recoveryPointByResource_status
- A status code specifying the state of the recovery point.
$sel:statusMessage:RecoveryPointByResource'
, recoveryPointByResource_statusMessage
- A message explaining the reason of the recovery point deletion failure.
$sel:recoveryPointArn:RecoveryPointByResource'
, recoveryPointByResource_recoveryPointArn
- An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:backupSizeBytes:RecoveryPointByResource'
, recoveryPointByResource_backupSizeBytes
- The size, in bytes, of a backup.
$sel:encryptionKeyArn:RecoveryPointByResource'
, recoveryPointByResource_encryptionKeyArn
- The server-side encryption key that is used to protect your backups; for
example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
$sel:creationDate:RecoveryPointByResource'
, recoveryPointByResource_creationDate
- The date and time a recovery point is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:backupVaultName:RecoveryPointByResource'
, recoveryPointByResource_backupVaultName
- 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. They
consist of lowercase letters, numbers, and hyphens.
recoveryPointByResource_status :: Lens' RecoveryPointByResource (Maybe RecoveryPointStatus) Source #
A status code specifying the state of the recovery point.
recoveryPointByResource_statusMessage :: Lens' RecoveryPointByResource (Maybe Text) Source #
A message explaining the reason of the recovery point deletion failure.
recoveryPointByResource_recoveryPointArn :: Lens' RecoveryPointByResource (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointByResource_backupSizeBytes :: Lens' RecoveryPointByResource (Maybe Integer) Source #
The size, in bytes, of a backup.
recoveryPointByResource_encryptionKeyArn :: Lens' RecoveryPointByResource (Maybe Text) Source #
The server-side encryption key that is used to protect your backups; for
example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
recoveryPointByResource_creationDate :: Lens' RecoveryPointByResource (Maybe UTCTime) Source #
The date and time a recovery point is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
recoveryPointByResource_backupVaultName :: Lens' RecoveryPointByResource (Maybe Text) Source #
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. They consist of lowercase letters, numbers, and hyphens.
RecoveryPointCreator
data RecoveryPointCreator Source #
Contains information about the backup plan and rule that Backup used to initiate the recovery point backup.
See: newRecoveryPointCreator
smart constructor.
RecoveryPointCreator' | |
|
Instances
newRecoveryPointCreator :: RecoveryPointCreator Source #
Create a value of RecoveryPointCreator
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupPlanId:RecoveryPointCreator'
, recoveryPointCreator_backupPlanId
- Uniquely identifies a backup plan.
$sel:backupPlanArn:RecoveryPointCreator'
, recoveryPointCreator_backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
$sel:backupPlanVersion:RecoveryPointCreator'
, recoveryPointCreator_backupPlanVersion
- Version IDs are unique, randomly generated, Unicode, UTF-8 encoded
strings that are at most 1,024 bytes long. They cannot be edited.
$sel:backupRuleId:RecoveryPointCreator'
, recoveryPointCreator_backupRuleId
- Uniquely identifies a rule used to schedule the backup of a selection of
resources.
recoveryPointCreator_backupPlanId :: Lens' RecoveryPointCreator (Maybe Text) Source #
Uniquely identifies a backup plan.
recoveryPointCreator_backupPlanArn :: Lens' RecoveryPointCreator (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
recoveryPointCreator_backupPlanVersion :: Lens' RecoveryPointCreator (Maybe Text) Source #
Version IDs are unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. They cannot be edited.
recoveryPointCreator_backupRuleId :: Lens' RecoveryPointCreator (Maybe Text) Source #
Uniquely identifies a rule used to schedule the backup of a selection of resources.
ReportDeliveryChannel
data ReportDeliveryChannel Source #
Contains information from your report plan about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
See: newReportDeliveryChannel
smart constructor.
ReportDeliveryChannel' | |
|
Instances
newReportDeliveryChannel Source #
Create a value of ReportDeliveryChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3KeyPrefix:ReportDeliveryChannel'
, reportDeliveryChannel_s3KeyPrefix
- The prefix for where Backup Audit Manager delivers your reports to
Amazon S3. The prefix is this part of the following path:
s3://your-bucket-name/prefix
/Backup/us-west-2/year/month/day/report-name.
If not specified, there is no prefix.
$sel:formats:ReportDeliveryChannel'
, reportDeliveryChannel_formats
- A list of the format of your reports: CSV
, JSON
, or both. If not
specified, the default format is CSV
.
$sel:s3BucketName:ReportDeliveryChannel'
, reportDeliveryChannel_s3BucketName
- The unique name of the S3 bucket that receives your reports.
reportDeliveryChannel_s3KeyPrefix :: Lens' ReportDeliveryChannel (Maybe Text) Source #
The prefix for where Backup Audit Manager delivers your reports to
Amazon S3. The prefix is this part of the following path:
s3://your-bucket-name/prefix
/Backup/us-west-2/year/month/day/report-name.
If not specified, there is no prefix.
reportDeliveryChannel_formats :: Lens' ReportDeliveryChannel (Maybe [Text]) Source #
A list of the format of your reports: CSV
, JSON
, or both. If not
specified, the default format is CSV
.
reportDeliveryChannel_s3BucketName :: Lens' ReportDeliveryChannel Text Source #
The unique name of the S3 bucket that receives your reports.
ReportDestination
data ReportDestination Source #
Contains information from your report job about your report destination.
See: newReportDestination
smart constructor.
Instances
newReportDestination :: ReportDestination Source #
Create a value of ReportDestination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3Keys:ReportDestination'
, reportDestination_s3Keys
- The object key that uniquely identifies your reports in your S3 bucket.
$sel:s3BucketName:ReportDestination'
, reportDestination_s3BucketName
- The unique name of the Amazon S3 bucket that receives your reports.
reportDestination_s3Keys :: Lens' ReportDestination (Maybe [Text]) Source #
The object key that uniquely identifies your reports in your S3 bucket.
reportDestination_s3BucketName :: Lens' ReportDestination (Maybe Text) Source #
The unique name of the Amazon S3 bucket that receives your reports.
ReportJob
Contains detailed information about a report job. A report job compiles a report based on a report plan and publishes it to Amazon S3.
See: newReportJob
smart constructor.
ReportJob' | |
|
Instances
newReportJob :: ReportJob Source #
Create a value of ReportJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:ReportJob'
, reportJob_creationTime
- The date and time that a report job is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:status:ReportJob'
, reportJob_status
- The status of a report job. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED
COMPLETED
means that the report is available for your review at your
designated destination. If the status is FAILED
, review the
StatusMessage
for the reason.
$sel:reportPlanArn:ReportJob'
, reportJob_reportPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
$sel:completionTime:ReportJob'
, reportJob_completionTime
- The date and time that a report job is completed, in Unix format and
Coordinated Universal Time (UTC). The value of CompletionTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:reportJobId:ReportJob'
, reportJob_reportJobId
- The identifier for a report job. A unique, randomly generated, Unicode,
UTF-8 encoded string that is at most 1,024 bytes long. Report job IDs
cannot be edited.
$sel:statusMessage:ReportJob'
, reportJob_statusMessage
- A message explaining the status of the report job.
$sel:reportDestination:ReportJob'
, reportJob_reportDestination
- The S3 bucket name and S3 keys for the destination where the report job
publishes the report.
$sel:reportTemplate:ReportJob'
, reportJob_reportTemplate
- Identifies the report template for the report. Reports are built using a
report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
reportJob_creationTime :: Lens' ReportJob (Maybe UTCTime) Source #
The date and time that a report job is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
reportJob_status :: Lens' ReportJob (Maybe Text) Source #
The status of a report job. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED
COMPLETED
means that the report is available for your review at your
designated destination. If the status is FAILED
, review the
StatusMessage
for the reason.
reportJob_reportPlanArn :: Lens' ReportJob (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
reportJob_completionTime :: Lens' ReportJob (Maybe UTCTime) Source #
The date and time that a report job is completed, in Unix format and
Coordinated Universal Time (UTC). The value of CompletionTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
reportJob_reportJobId :: Lens' ReportJob (Maybe Text) Source #
The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. Report job IDs cannot be edited.
reportJob_statusMessage :: Lens' ReportJob (Maybe Text) Source #
A message explaining the status of the report job.
reportJob_reportDestination :: Lens' ReportJob (Maybe ReportDestination) Source #
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
reportJob_reportTemplate :: Lens' ReportJob (Maybe Text) Source #
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
ReportPlan
data ReportPlan Source #
Contains detailed information about a report plan.
See: newReportPlan
smart constructor.
ReportPlan' | |
|
Instances
newReportPlan :: ReportPlan Source #
Create a value of ReportPlan
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:ReportPlan'
, reportPlan_creationTime
- The date and time that a report plan is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:reportPlanName:ReportPlan'
, reportPlan_reportPlanName
- The unique name of the report plan. This name is between 1 and 256
characters starting with a letter, and consisting of letters (a-z, A-Z),
numbers (0-9), and underscores (_).
$sel:reportPlanArn:ReportPlan'
, reportPlan_reportPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
$sel:reportSetting:ReportPlan'
, reportPlan_reportSetting
- Identifies the report template for the report. Reports are built using a
report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is RESOURCE_COMPLIANCE_REPORT
or
CONTROL_COMPLIANCE_REPORT
, this API resource also describes the report
coverage by Amazon Web Services Regions and frameworks.
$sel:reportPlanDescription:ReportPlan'
, reportPlan_reportPlanDescription
- An optional description of the report plan with a maximum 1,024
characters.
$sel:lastAttemptedExecutionTime:ReportPlan'
, reportPlan_lastAttemptedExecutionTime
- The date and time that a report job associated with this report plan
last attempted to run, in Unix format and Coordinated Universal Time
(UTC). The value of LastAttemptedExecutionTime
is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
$sel:deploymentStatus:ReportPlan'
, reportPlan_deploymentStatus
- The deployment status of a report plan. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED
$sel:lastSuccessfulExecutionTime:ReportPlan'
, reportPlan_lastSuccessfulExecutionTime
- The date and time that a report job associated with this report plan
last successfully ran, in Unix format and Coordinated Universal Time
(UTC). The value of LastSuccessfulExecutionTime
is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
$sel:reportDeliveryChannel:ReportPlan'
, reportPlan_reportDeliveryChannel
- Contains information about where and how to deliver your reports,
specifically your Amazon S3 bucket name, S3 key prefix, and the formats
of your reports.
reportPlan_creationTime :: Lens' ReportPlan (Maybe UTCTime) Source #
The date and time that a report plan is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
reportPlan_reportPlanName :: Lens' ReportPlan (Maybe Text) Source #
The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
reportPlan_reportPlanArn :: Lens' ReportPlan (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
reportPlan_reportSetting :: Lens' ReportPlan (Maybe ReportSetting) Source #
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is RESOURCE_COMPLIANCE_REPORT
or
CONTROL_COMPLIANCE_REPORT
, this API resource also describes the report
coverage by Amazon Web Services Regions and frameworks.
reportPlan_reportPlanDescription :: Lens' ReportPlan (Maybe Text) Source #
An optional description of the report plan with a maximum 1,024 characters.
reportPlan_lastAttemptedExecutionTime :: Lens' ReportPlan (Maybe UTCTime) Source #
The date and time that a report job associated with this report plan
last attempted to run, in Unix format and Coordinated Universal Time
(UTC). The value of LastAttemptedExecutionTime
is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
reportPlan_deploymentStatus :: Lens' ReportPlan (Maybe Text) Source #
The deployment status of a report plan. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED
reportPlan_lastSuccessfulExecutionTime :: Lens' ReportPlan (Maybe UTCTime) Source #
The date and time that a report job associated with this report plan
last successfully ran, in Unix format and Coordinated Universal Time
(UTC). The value of LastSuccessfulExecutionTime
is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
reportPlan_reportDeliveryChannel :: Lens' ReportPlan (Maybe ReportDeliveryChannel) Source #
Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
ReportSetting
data ReportSetting Source #
Contains detailed information about a report setting.
See: newReportSetting
smart constructor.
ReportSetting' | |
|
Instances
Create a value of ReportSetting
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:frameworkArns:ReportSetting'
, reportSetting_frameworkArns
- The Amazon Resource Names (ARNs) of the frameworks a report covers.
$sel:numberOfFrameworks:ReportSetting'
, reportSetting_numberOfFrameworks
- The number of frameworks a report covers.
$sel:reportTemplate:ReportSetting'
, reportSetting_reportTemplate
- Identifies the report template for the report. Reports are built using a
report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
reportSetting_frameworkArns :: Lens' ReportSetting (Maybe [Text]) Source #
The Amazon Resource Names (ARNs) of the frameworks a report covers.
reportSetting_numberOfFrameworks :: Lens' ReportSetting (Maybe Int) Source #
The number of frameworks a report covers.
reportSetting_reportTemplate :: Lens' ReportSetting Text Source #
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
RestoreJobsListMember
data RestoreJobsListMember Source #
Contains metadata about a restore job.
See: newRestoreJobsListMember
smart constructor.
RestoreJobsListMember' | |
|
Instances
newRestoreJobsListMember :: RestoreJobsListMember Source #
Create a value of RestoreJobsListMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:RestoreJobsListMember'
, restoreJobsListMember_status
- A status code specifying the state of the job initiated by Backup to
restore a recovery point.
$sel:iamRoleArn:RestoreJobsListMember'
, restoreJobsListMember_iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
$sel:expectedCompletionTimeMinutes:RestoreJobsListMember'
, restoreJobsListMember_expectedCompletionTimeMinutes
- The amount of time in minutes that a job restoring a recovery point is
expected to take.
$sel:restoreJobId:RestoreJobsListMember'
, restoreJobsListMember_restoreJobId
- Uniquely identifies the job that restores a recovery point.
$sel:resourceType:RestoreJobsListMember'
, restoreJobsListMember_resourceType
- The resource type of the listed restore jobs; for example, an Amazon
Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database
Service (Amazon RDS) database. For Windows Volume Shadow Copy Service
(VSS) backups, the only supported resource type is Amazon EC2.
$sel:percentDone:RestoreJobsListMember'
, restoreJobsListMember_percentDone
- Contains an estimated percentage complete of a job at the time the job
status was queried.
$sel:accountId:RestoreJobsListMember'
, restoreJobsListMember_accountId
- The account ID that owns the restore job.
$sel:createdResourceArn:RestoreJobsListMember'
, restoreJobsListMember_createdResourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
$sel:statusMessage:RestoreJobsListMember'
, restoreJobsListMember_statusMessage
- A detailed message explaining the status of the job to restore a
recovery point.
$sel:recoveryPointArn:RestoreJobsListMember'
, restoreJobsListMember_recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:backupSizeInBytes:RestoreJobsListMember'
, restoreJobsListMember_backupSizeInBytes
- The size, in bytes, of the restored resource.
$sel:creationDate:RestoreJobsListMember'
, restoreJobsListMember_creationDate
- The date and time a restore job is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:completionDate:RestoreJobsListMember'
, restoreJobsListMember_completionDate
- The date and time a job to restore a recovery point is completed, in
Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
restoreJobsListMember_status :: Lens' RestoreJobsListMember (Maybe RestoreJobStatus) Source #
A status code specifying the state of the job initiated by Backup to restore a recovery point.
restoreJobsListMember_iamRoleArn :: Lens' RestoreJobsListMember (Maybe Text) Source #
Specifies the IAM role ARN used to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
restoreJobsListMember_expectedCompletionTimeMinutes :: Lens' RestoreJobsListMember (Maybe Integer) Source #
The amount of time in minutes that a job restoring a recovery point is expected to take.
restoreJobsListMember_restoreJobId :: Lens' RestoreJobsListMember (Maybe Text) Source #
Uniquely identifies the job that restores a recovery point.
restoreJobsListMember_resourceType :: Lens' RestoreJobsListMember (Maybe Text) Source #
The resource type of the listed restore jobs; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
restoreJobsListMember_percentDone :: Lens' RestoreJobsListMember (Maybe Text) Source #
Contains an estimated percentage complete of a job at the time the job status was queried.
restoreJobsListMember_accountId :: Lens' RestoreJobsListMember (Maybe Text) Source #
The account ID that owns the restore job.
restoreJobsListMember_createdResourceArn :: Lens' RestoreJobsListMember (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
restoreJobsListMember_statusMessage :: Lens' RestoreJobsListMember (Maybe Text) Source #
A detailed message explaining the status of the job to restore a recovery point.
restoreJobsListMember_recoveryPointArn :: Lens' RestoreJobsListMember (Maybe Text) Source #
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
restoreJobsListMember_backupSizeInBytes :: Lens' RestoreJobsListMember (Maybe Integer) Source #
The size, in bytes, of the restored resource.
restoreJobsListMember_creationDate :: Lens' RestoreJobsListMember (Maybe UTCTime) Source #
The date and time a restore job is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
restoreJobsListMember_completionDate :: Lens' RestoreJobsListMember (Maybe UTCTime) Source #
The date and time a job to restore a recovery point is completed, in
Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.