libZSservicesZSamazonka-backupZSamazonka-backup
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Backup.Lens

Contents

Description

 
Synopsis

Operations

UpdateBackupPlan

updateBackupPlan_backupPlanId :: Lens' UpdateBackupPlan Text Source #

Uniquely identifies a backup plan.

updateBackupPlan_backupPlan :: Lens' UpdateBackupPlan BackupPlanInput Source #

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

updateBackupPlanResponse_versionId :: Lens' UpdateBackupPlanResponse (Maybe Text) Source #

Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.

updateBackupPlanResponse_backupPlanArn :: Lens' UpdateBackupPlanResponse (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.

updateBackupPlanResponse_creationDate :: Lens' UpdateBackupPlanResponse (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.

DeleteBackupPlan

deleteBackupPlan_backupPlanId :: Lens' DeleteBackupPlan Text Source #

Uniquely identifies a backup plan.

deleteBackupPlanResponse_versionId :: Lens' DeleteBackupPlanResponse (Maybe Text) Source #

Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.

deleteBackupPlanResponse_backupPlanArn :: Lens' DeleteBackupPlanResponse (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.

deleteBackupPlanResponse_deletionDate :: Lens' DeleteBackupPlanResponse (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.

DescribeBackupJob

describeBackupJob_backupJobId :: Lens' DescribeBackupJob Text Source #

Uniquely identifies a request to Backup to back up a resource.

describeBackupJobResponse_iamRoleArn :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

describeBackupJobResponse_state :: Lens' DescribeBackupJobResponse (Maybe BackupJobState) Source #

The current state of a resource recovery point.

describeBackupJobResponse_resourceType :: Lens' DescribeBackupJobResponse (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.

describeBackupJobResponse_percentDone :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

Contains an estimated percentage that is complete of a job at the time the job status was queried.

describeBackupJobResponse_startBy :: Lens' DescribeBackupJobResponse (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.

describeBackupJobResponse_createdBy :: Lens' DescribeBackupJobResponse (Maybe RecoveryPointCreator) Source #

Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

describeBackupJobResponse_expectedCompletionDate :: Lens' DescribeBackupJobResponse (Maybe UTCTime) Source #

The date and time that 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.

describeBackupJobResponse_bytesTransferred :: Lens' DescribeBackupJobResponse (Maybe Integer) Source #

The size in bytes transferred to a backup vault at the time that the job status was queried.

describeBackupJobResponse_backupVaultArn :: Lens' DescribeBackupJobResponse (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.

describeBackupJobResponse_accountId :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

Returns the account ID that owns the backup job.

describeBackupJobResponse_backupJobId :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

Uniquely identifies a request to Backup to back up a resource.

describeBackupJobResponse_resourceArn :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.

describeBackupJobResponse_statusMessage :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

A detailed message explaining the status of the job to back up a resource.

describeBackupJobResponse_recoveryPointArn :: Lens' DescribeBackupJobResponse (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.

describeBackupJobResponse_creationDate :: Lens' DescribeBackupJobResponse (Maybe UTCTime) Source #

The date and time that 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.

describeBackupJobResponse_completionDate :: Lens' DescribeBackupJobResponse (Maybe UTCTime) Source #

The date and time that 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.

describeBackupJobResponse_backupVaultName :: Lens' DescribeBackupJobResponse (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.

describeBackupJobResponse_backupType :: Lens' DescribeBackupJobResponse (Maybe Text) Source #

Represents the actual backup type selected for a backup job. For example, if a successful Windows Volume Shadow Copy Service (VSS) backup was taken, BackupType returns "WindowsVSS". If BackupType is empty, then the backup type was a regular backup.

describeBackupJobResponse_backupOptions :: Lens' DescribeBackupJobResponse (Maybe (HashMap Text Text)) Source #

Represents the options specified as part of backup plan or on-demand backup job.

ListBackupPlanTemplates

listBackupPlanTemplates_nextToken :: Lens' ListBackupPlanTemplates (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupPlanTemplates_maxResults :: Lens' ListBackupPlanTemplates (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupPlanTemplatesResponse_backupPlanTemplatesList :: Lens' ListBackupPlanTemplatesResponse (Maybe [BackupPlanTemplatesListMember]) Source #

An array of template list items containing metadata about your saved templates.

listBackupPlanTemplatesResponse_nextToken :: Lens' ListBackupPlanTemplatesResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

DeleteReportPlan

UpdateReportPlan

updateReportPlan_idempotencyToken :: Lens' UpdateReportPlan (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

updateReportPlan_reportSetting :: Lens' UpdateReportPlan (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.

updateReportPlan_reportPlanDescription :: Lens' UpdateReportPlan (Maybe Text) Source #

An optional description of the report plan with a maximum 1,024 characters.

updateReportPlan_reportDeliveryChannel :: Lens' UpdateReportPlan (Maybe ReportDeliveryChannel) Source #

A structure that contains information about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

updateReportPlan_reportPlanName :: Lens' UpdateReportPlan 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 (_).

updateReportPlanResponse_creationTime :: Lens' UpdateReportPlanResponse (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.

updateReportPlanResponse_reportPlanArn :: Lens' UpdateReportPlanResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

DescribeReportJob

describeReportJob_reportJobId :: Lens' DescribeReportJob Text Source #

The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.

describeReportJobResponse_reportJob :: Lens' DescribeReportJobResponse (Maybe ReportJob) Source #

A list of information about a report job, including its completion and creation times, report destination, unique report job ID, Amazon Resource Name (ARN), report template, status, and status message.

UpdateRegionSettings

updateRegionSettings_resourceTypeOptInPreference :: Lens' UpdateRegionSettings (Maybe (HashMap Text Bool)) Source #

Updates the list of services along with the opt-in preferences for the Region.

UpdateGlobalSettings

updateGlobalSettings_globalSettings :: Lens' UpdateGlobalSettings (Maybe (HashMap Text Text)) Source #

A value for isCrossAccountBackupEnabled and a Region. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2.

DeleteBackupSelection

deleteBackupSelection_selectionId :: Lens' DeleteBackupSelection Text Source #

Uniquely identifies the body of a request to assign a set of resources to a backup plan.

DescribeCopyJob

describeCopyJob_copyJobId :: Lens' DescribeCopyJob Text Source #

Uniquely identifies a copy job.

describeCopyJobResponse_copyJob :: Lens' DescribeCopyJobResponse (Maybe CopyJob) Source #

Contains detailed information about a copy job.

DescribeRecoveryPoint

describeRecoveryPoint_backupVaultName :: Lens' DescribeRecoveryPoint 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.

describeRecoveryPoint_recoveryPointArn :: Lens' DescribeRecoveryPoint 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.

describeRecoveryPointResponse_isEncrypted :: Lens' DescribeRecoveryPointResponse (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.

describeRecoveryPointResponse_status :: Lens' DescribeRecoveryPointResponse (Maybe RecoveryPointStatus) Source #

A status code specifying the state of the recovery point.

PARTIAL status indicates Backup could not create the recovery point before the backup window closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and editing your backup plan.

EXPIRED status indicates that the recovery point has exceeded its retention period, but Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3: Delete the recovery points in the Clean up resources section of Getting started.

describeRecoveryPointResponse_iamRoleArn :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

describeRecoveryPointResponse_resourceType :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

describeRecoveryPointResponse_createdBy :: Lens' DescribeRecoveryPointResponse (Maybe RecoveryPointCreator) Source #

Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan used to create it.

describeRecoveryPointResponse_calculatedLifecycle :: Lens' DescribeRecoveryPointResponse (Maybe CalculatedLifecycle) Source #

A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

describeRecoveryPointResponse_lifecycle :: Lens' DescribeRecoveryPointResponse (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 that are 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.

describeRecoveryPointResponse_backupVaultArn :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

describeRecoveryPointResponse_sourceBackupVaultArn :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed up in; for example, arn:aws:backup:us-east-1:123456789012:vault:BackupVault. If the recovery is restored to the same Amazon Web Services account or Region, this value will be null.

describeRecoveryPointResponse_lastRestoreTime :: Lens' DescribeRecoveryPointResponse (Maybe UTCTime) Source #

The date and time that 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.

describeRecoveryPointResponse_resourceArn :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.

describeRecoveryPointResponse_statusMessage :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

A status message explaining the reason for the recovery point deletion failure.

describeRecoveryPointResponse_storageClass :: Lens' DescribeRecoveryPointResponse (Maybe StorageClass) Source #

Specifies the storage class of the recovery point. Valid values are WARM or COLD.

describeRecoveryPointResponse_recoveryPointArn :: Lens' DescribeRecoveryPointResponse (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.

describeRecoveryPointResponse_encryptionKeyArn :: Lens' DescribeRecoveryPointResponse (Maybe Text) Source #

The server-side encryption key used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

describeRecoveryPointResponse_creationDate :: Lens' DescribeRecoveryPointResponse (Maybe UTCTime) Source #

The date and time that 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.

describeRecoveryPointResponse_completionDate :: Lens' DescribeRecoveryPointResponse (Maybe UTCTime) Source #

The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

describeRecoveryPointResponse_backupVaultName :: Lens' DescribeRecoveryPointResponse (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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.

DescribeRestoreJob

describeRestoreJob_restoreJobId :: Lens' DescribeRestoreJob Text Source #

Uniquely identifies the job that restores a recovery point.

describeRestoreJobResponse_status :: Lens' DescribeRestoreJobResponse (Maybe RestoreJobStatus) Source #

Status code specifying the state of the job that is initiated by Backup to restore a recovery point.

describeRestoreJobResponse_iamRoleArn :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

describeRestoreJobResponse_expectedCompletionTimeMinutes :: Lens' DescribeRestoreJobResponse (Maybe Integer) Source #

The amount of time in minutes that a job restoring a recovery point is expected to take.

describeRestoreJobResponse_restoreJobId :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

Uniquely identifies the job that restores a recovery point.

describeRestoreJobResponse_resourceType :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

Returns metadata associated with a restore job listed by resource type.

describeRestoreJobResponse_percentDone :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

Contains an estimated percentage that is complete of a job at the time the job status was queried.

describeRestoreJobResponse_accountId :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

Returns the account ID that owns the restore job.

describeRestoreJobResponse_createdResourceArn :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.

describeRestoreJobResponse_statusMessage :: Lens' DescribeRestoreJobResponse (Maybe Text) Source #

A message showing the status of a job to restore a recovery point.

describeRestoreJobResponse_recoveryPointArn :: Lens' DescribeRestoreJobResponse (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.

describeRestoreJobResponse_creationDate :: Lens' DescribeRestoreJobResponse (Maybe UTCTime) Source #

The date and time that 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.

describeRestoreJobResponse_completionDate :: Lens' DescribeRestoreJobResponse (Maybe UTCTime) Source #

The date and time that 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.

StartCopyJob

startCopyJob_idempotencyToken :: Lens' StartCopyJob (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to StartCopyJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.

startCopyJob_recoveryPointArn :: Lens' StartCopyJob Text Source #

An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

startCopyJob_sourceBackupVaultName :: Lens' StartCopyJob Text Source #

The name of a logical source 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.

startCopyJob_destinationBackupVaultArn :: Lens' StartCopyJob Text Source #

An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

startCopyJob_iamRoleArn :: Lens' StartCopyJob Text Source #

Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

startCopyJobResponse_creationDate :: Lens' StartCopyJobResponse (Maybe UTCTime) Source #

The date and time that 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.

GetBackupPlanFromTemplate

getBackupPlanFromTemplate_backupPlanTemplateId :: Lens' GetBackupPlanFromTemplate Text Source #

Uniquely identifies a stored backup plan template.

getBackupPlanFromTemplateResponse_backupPlanDocument :: Lens' GetBackupPlanFromTemplateResponse (Maybe BackupPlan) Source #

Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.

DisassociateRecoveryPoint

disassociateRecoveryPoint_recoveryPointArn :: Lens' DisassociateRecoveryPoint Text Source #

An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery point.

DeleteBackupVault

deleteBackupVault_backupVaultName :: Lens' DeleteBackupVault 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.

DeleteFramework

UpdateFramework

updateFramework_idempotencyToken :: Lens' UpdateFramework (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

updateFramework_frameworkDescription :: Lens' UpdateFramework (Maybe Text) Source #

An optional description of the framework with a maximum 1,024 characters.

updateFramework_frameworkControls :: Lens' UpdateFramework (Maybe [FrameworkControl]) Source #

A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.

updateFramework_frameworkName :: Lens' UpdateFramework 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 (_).

updateFrameworkResponse_creationTime :: Lens' UpdateFrameworkResponse (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.

updateFrameworkResponse_frameworkArn :: Lens' UpdateFrameworkResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

updateFrameworkResponse_frameworkName :: Lens' UpdateFrameworkResponse (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 (_).

ListReportJobs

listReportJobs_byStatus :: Lens' ListReportJobs (Maybe Text) Source #

Returns only report jobs that are in the specified status. The statuses are:

CREATED | RUNNING | COMPLETED | FAILED

listReportJobs_byReportPlanName :: Lens' ListReportJobs (Maybe Text) Source #

Returns only report jobs with the specified report plan name.

listReportJobs_nextToken :: Lens' ListReportJobs (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listReportJobs_byCreationBefore :: Lens' ListReportJobs (Maybe UTCTime) Source #

Returns only report jobs that were created before the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.

listReportJobs_byCreationAfter :: Lens' ListReportJobs (Maybe UTCTime) Source #

Returns only report jobs that were created after the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.

listReportJobs_maxResults :: Lens' ListReportJobs (Maybe Natural) Source #

The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

listReportJobsResponse_reportJobs :: Lens' ListReportJobsResponse (Maybe [ReportJob]) Source #

Details about your report jobs in JSON format.

listReportJobsResponse_nextToken :: Lens' ListReportJobsResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

ListBackupJobs

listBackupJobs_byResourceArn :: Lens' ListBackupJobs (Maybe Text) Source #

Returns only backup jobs that match the specified resource Amazon Resource Name (ARN).

listBackupJobs_byCreatedAfter :: Lens' ListBackupJobs (Maybe UTCTime) Source #

Returns only backup jobs that were created after the specified date.

listBackupJobs_byAccountId :: Lens' ListBackupJobs (Maybe Text) Source #

The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.

If used from an Organizations management account, passing * returns all jobs across the organization.

listBackupJobs_byCreatedBefore :: Lens' ListBackupJobs (Maybe UTCTime) Source #

Returns only backup jobs that were created before the specified date.

listBackupJobs_byBackupVaultName :: Lens' ListBackupJobs (Maybe Text) Source #

Returns only backup jobs that will be stored in the specified backup vault. 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.

listBackupJobs_byResourceType :: Lens' ListBackupJobs (Maybe Text) Source #

Returns only backup jobs for the specified resources:

  • DynamoDB for Amazon DynamoDB
  • EBS for Amazon Elastic Block Store
  • EC2 for Amazon Elastic Compute Cloud
  • EFS for Amazon Elastic File System
  • RDS for Amazon Relational Database Service
  • Aurora for Amazon Aurora
  • Storage Gateway for Storage Gateway

listBackupJobs_nextToken :: Lens' ListBackupJobs (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupJobs_byState :: Lens' ListBackupJobs (Maybe BackupJobState) Source #

Returns only backup jobs that are in the specified state.

listBackupJobs_maxResults :: Lens' ListBackupJobs (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupJobsResponse_backupJobs :: Lens' ListBackupJobsResponse (Maybe [BackupJob]) Source #

An array of structures containing metadata about your backup jobs returned in JSON format.

listBackupJobsResponse_nextToken :: Lens' ListBackupJobsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

DescribeReportPlan

describeReportPlanResponse_reportPlan :: Lens' DescribeReportPlanResponse (Maybe ReportPlan) Source #

Returns details about the report plan that is specified by its name. These details include the report plan's Amazon Resource Name (ARN), description, settings, delivery channel, deployment status, creation time, and last attempted and successful run times.

DescribeRegionSettings

describeRegionSettingsResponse_resourceTypeOptInPreference :: Lens' DescribeRegionSettingsResponse (Maybe (HashMap Text Bool)) Source #

Returns a list of all services along with the opt-in preferences in the Region.

GetBackupPlan

getBackupPlan_versionId :: Lens' GetBackupPlan (Maybe Text) Source #

Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.

getBackupPlan_backupPlanId :: Lens' GetBackupPlan Text Source #

Uniquely identifies a backup plan.

getBackupPlanResponse_versionId :: Lens' GetBackupPlanResponse (Maybe Text) Source #

Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.

getBackupPlanResponse_advancedBackupSettings :: Lens' GetBackupPlanResponse (Maybe [AdvancedBackupSetting]) Source #

Contains a list of BackupOptions for each resource type. The list is populated only if the advanced option is set for the backup plan.

getBackupPlanResponse_creatorRequestId :: Lens' GetBackupPlanResponse (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.

getBackupPlanResponse_backupPlanArn :: Lens' GetBackupPlanResponse (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.

getBackupPlanResponse_lastExecutionDate :: Lens' GetBackupPlanResponse (Maybe UTCTime) Source #

The last time a job to back up resources was run with this backup plan. 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.

getBackupPlanResponse_backupPlan :: Lens' GetBackupPlanResponse (Maybe BackupPlan) Source #

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

getBackupPlanResponse_creationDate :: Lens' GetBackupPlanResponse (Maybe UTCTime) Source #

The date and time that 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.

getBackupPlanResponse_deletionDate :: Lens' GetBackupPlanResponse (Maybe UTCTime) Source #

The date and time that 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.

DescribeGlobalSettings

describeGlobalSettingsResponse_lastUpdateTime :: Lens' DescribeGlobalSettingsResponse (Maybe UTCTime) Source #

The date and time that the flag isCrossAccountBackupEnabled was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

ListBackupPlanVersions

listBackupPlanVersions_nextToken :: Lens' ListBackupPlanVersions (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupPlanVersions_maxResults :: Lens' ListBackupPlanVersions (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupPlanVersionsResponse_backupPlanVersionsList :: Lens' ListBackupPlanVersionsResponse (Maybe [BackupPlansListMember]) Source #

An array of version list items containing metadata about your backup plans.

listBackupPlanVersionsResponse_nextToken :: Lens' ListBackupPlanVersionsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

ListRestoreJobs

listRestoreJobs_byCreatedAfter :: Lens' ListRestoreJobs (Maybe UTCTime) Source #

Returns only restore jobs that were created after the specified date.

listRestoreJobs_byStatus :: Lens' ListRestoreJobs (Maybe RestoreJobStatus) Source #

Returns only restore jobs associated with the specified job status.

listRestoreJobs_byAccountId :: Lens' ListRestoreJobs (Maybe Text) Source #

The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.

listRestoreJobs_byCreatedBefore :: Lens' ListRestoreJobs (Maybe UTCTime) Source #

Returns only restore jobs that were created before the specified date.

listRestoreJobs_nextToken :: Lens' ListRestoreJobs (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listRestoreJobs_maxResults :: Lens' ListRestoreJobs (Maybe Natural) Source #

The maximum number of items to be returned.

listRestoreJobsResponse_nextToken :: Lens' ListRestoreJobsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listRestoreJobsResponse_restoreJobs :: Lens' ListRestoreJobsResponse (Maybe [RestoreJobsListMember]) Source #

An array of objects that contain detailed information about jobs to restore saved resources.

CreateReportPlan

createReportPlan_idempotencyToken :: Lens' CreateReportPlan (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

createReportPlan_reportPlanTags :: Lens' CreateReportPlan (Maybe (HashMap Text Text)) Source #

Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.

createReportPlan_reportPlanDescription :: Lens' CreateReportPlan (Maybe Text) Source #

An optional description of the report plan with a maximum of 1,024 characters.

createReportPlan_reportPlanName :: Lens' CreateReportPlan Text Source #

The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

createReportPlan_reportDeliveryChannel :: Lens' CreateReportPlan ReportDeliveryChannel Source #

A structure that 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.

createReportPlan_reportSetting :: Lens' CreateReportPlan 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.

createReportPlanResponse_creationTime :: Lens' CreateReportPlanResponse (Maybe UTCTime) Source #

The date and time a backup vault 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.

createReportPlanResponse_reportPlanArn :: Lens' CreateReportPlanResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

ExportBackupPlanTemplate

exportBackupPlanTemplateResponse_backupPlanTemplateJson :: Lens' ExportBackupPlanTemplateResponse (Maybe Text) Source #

The body of a backup plan template in JSON format.

This is a signed JSON document that cannot be modified before being passed to GetBackupPlanFromJSON.

StartBackupJob

startBackupJob_idempotencyToken :: Lens' StartBackupJob (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to StartBackupJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.

startBackupJob_lifecycle :: Lens' StartBackupJob (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.

startBackupJob_recoveryPointTags :: Lens' StartBackupJob (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.

startBackupJob_completeWindowMinutes :: Lens' StartBackupJob (Maybe Integer) Source #

A value in minutes during which a successfully started backup must complete, or else AWS Backup will cancel the job. This value is optional. This value begins counting down from when the backup was scheduled. It does not add additional time for StartWindowMinutes, or if the backup started later than scheduled.

startBackupJob_backupOptions :: Lens' StartBackupJob (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. The WindowsVSS option is not enabled by default.

startBackupJob_startWindowMinutes :: Lens' StartBackupJob (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, and the default is 8 hours.

startBackupJob_backupVaultName :: Lens' StartBackupJob 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.

startBackupJob_resourceArn :: Lens' StartBackupJob Text Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

startBackupJob_iamRoleArn :: Lens' StartBackupJob Text Source #

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

startBackupJobResponse_backupJobId :: Lens' StartBackupJobResponse (Maybe Text) Source #

Uniquely identifies a request to Backup to back up a resource.

startBackupJobResponse_recoveryPointArn :: Lens' StartBackupJobResponse (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.

startBackupJobResponse_creationDate :: Lens' StartBackupJobResponse (Maybe UTCTime) Source #

The date and time that 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.

DescribeFramework

describeFrameworkResponse_creationTime :: Lens' DescribeFrameworkResponse (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.

describeFrameworkResponse_idempotencyToken :: Lens' DescribeFrameworkResponse (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to DescribeFrameworkOutput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

describeFrameworkResponse_frameworkStatus :: Lens' DescribeFrameworkResponse (Maybe Text) Source #

A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn Config recording on or off for each resource. The statuses are:

  • ACTIVE when recording is turned on for all resources governed by the framework.
  • PARTIALLY_ACTIVE when recording is turned off for at least one resource governed by the framework.
  • INACTIVE when recording is turned off for all resources governed by the framework.
  • UNAVAILABLE when Backup is unable to validate recording status at this time.

describeFrameworkResponse_frameworkControls :: Lens' DescribeFrameworkResponse (Maybe [FrameworkControl]) Source #

A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.

describeFrameworkResponse_frameworkArn :: Lens' DescribeFrameworkResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

describeFrameworkResponse_deploymentStatus :: Lens' DescribeFrameworkResponse (Maybe Text) Source #

The deployment status of a framework. The statuses are:

CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED

CreateBackupPlan

createBackupPlan_backupPlanTags :: Lens' CreateBackupPlan (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. The specified tags are assigned to all backups created with this plan.

createBackupPlan_creatorRequestId :: Lens' CreateBackupPlan (Maybe Text) Source #

Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.

createBackupPlan_backupPlan :: Lens' CreateBackupPlan BackupPlanInput Source #

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

createBackupPlanResponse_versionId :: Lens' CreateBackupPlanResponse (Maybe Text) Source #

Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. They cannot be edited.

createBackupPlanResponse_advancedBackupSettings :: Lens' CreateBackupPlanResponse (Maybe [AdvancedBackupSetting]) Source #

A list of BackupOptions settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

createBackupPlanResponse_backupPlanArn :: Lens' CreateBackupPlanResponse (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.

createBackupPlanResponse_creationDate :: Lens' CreateBackupPlanResponse (Maybe UTCTime) Source #

The date and time that 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.

ListProtectedResources

listProtectedResources_nextToken :: Lens' ListProtectedResources (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listProtectedResources_maxResults :: Lens' ListProtectedResources (Maybe Natural) Source #

The maximum number of items to be returned.

listProtectedResourcesResponse_results :: Lens' ListProtectedResourcesResponse (Maybe [ProtectedResource]) Source #

An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.

listProtectedResourcesResponse_nextToken :: Lens' ListProtectedResourcesResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

StartReportJob

startReportJob_idempotencyToken :: Lens' StartReportJob (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to StartReportJobInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

startReportJob_reportPlanName :: Lens' StartReportJob Text Source #

The unique name of a report plan.

startReportJobResponse_reportJobId :: Lens' StartReportJobResponse (Maybe Text) Source #

The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.

DescribeBackupVault

describeBackupVault_backupVaultName :: Lens' DescribeBackupVault 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.

describeBackupVaultResponse_lockDate :: Lens' DescribeBackupVaultResponse (Maybe UTCTime) Source #

The date and time when Backup Vault Lock configuration cannot be changed or deleted.

If you applied Vault Lock to your vault without specifying a lock date, you can change any of 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.

describeBackupVaultResponse_maxRetentionDays :: Lens' DescribeBackupVaultResponse (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.

describeBackupVaultResponse_locked :: Lens' DescribeBackupVaultResponse (Maybe Bool) Source #

A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. True means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.

describeBackupVaultResponse_creatorRequestId :: Lens' DescribeBackupVaultResponse (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.

describeBackupVaultResponse_numberOfRecoveryPoints :: Lens' DescribeBackupVaultResponse (Maybe Integer) Source #

The number of recovery points that are stored in a backup vault.

describeBackupVaultResponse_backupVaultArn :: Lens' DescribeBackupVaultResponse (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.

describeBackupVaultResponse_encryptionKeyArn :: Lens' DescribeBackupVaultResponse (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.

describeBackupVaultResponse_creationDate :: Lens' DescribeBackupVaultResponse (Maybe UTCTime) Source #

The date and time that a backup vault 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.

describeBackupVaultResponse_backupVaultName :: Lens' DescribeBackupVaultResponse (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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.

describeBackupVaultResponse_minRetentionDays :: Lens' DescribeBackupVaultResponse (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.

GetBackupVaultNotifications

getBackupVaultNotifications_backupVaultName :: Lens' GetBackupVaultNotifications 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.

getBackupVaultNotificationsResponse_sNSTopicArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text) Source #

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic.

getBackupVaultNotificationsResponse_backupVaultArn :: Lens' GetBackupVaultNotificationsResponse (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.

getBackupVaultNotificationsResponse_backupVaultName :: Lens' GetBackupVaultNotificationsResponse (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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.

getBackupVaultNotificationsResponse_backupVaultEvents :: Lens' GetBackupVaultNotificationsResponse (Maybe [BackupVaultEvent]) Source #

An array of events that indicate the status of jobs to back up resources to the backup vault.

ListReportPlans

listReportPlans_nextToken :: Lens' ListReportPlans (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listReportPlans_maxResults :: Lens' ListReportPlans (Maybe Natural) Source #

The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

listReportPlansResponse_reportPlans :: Lens' ListReportPlansResponse (Maybe [ReportPlan]) Source #

A list of your report plans with detailed information for each plan. This information includes the Amazon Resource Name (ARN), report plan name, description, settings, delivery channel, deployment status, creation time, and last times the report plan attempted to and successfully ran.

listReportPlansResponse_nextToken :: Lens' ListReportPlansResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

GetRecoveryPointRestoreMetadata

getRecoveryPointRestoreMetadata_backupVaultName :: Lens' GetRecoveryPointRestoreMetadata 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.

getRecoveryPointRestoreMetadata_recoveryPointArn :: Lens' GetRecoveryPointRestoreMetadata 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.

getRecoveryPointRestoreMetadataResponse_backupVaultArn :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe Text) Source #

An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

getRecoveryPointRestoreMetadataResponse_recoveryPointArn :: Lens' GetRecoveryPointRestoreMetadataResponse (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.

getRecoveryPointRestoreMetadataResponse_restoreMetadata :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe (HashMap Text Text)) Source #

The set of metadata key-value pairs that describe the original configuration of the backed-up resource. These values vary depending on the service that is being restored.

ListBackupPlans

listBackupPlans_nextToken :: Lens' ListBackupPlans (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupPlans_maxResults :: Lens' ListBackupPlans (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupPlans_includeDeleted :: Lens' ListBackupPlans (Maybe Bool) Source #

A Boolean value with a default value of FALSE that returns deleted backup plans when set to TRUE.

listBackupPlansResponse_nextToken :: Lens' ListBackupPlansResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupPlansResponse_backupPlansList :: Lens' ListBackupPlansResponse (Maybe [BackupPlansListMember]) Source #

An array of backup plan list items containing metadata about your saved backup plans.

StartRestoreJob

startRestoreJob_idempotencyToken :: Lens' StartRestoreJob (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to StartRestoreJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.

startRestoreJob_resourceType :: Lens' StartRestoreJob (Maybe Text) Source #

Starts a job to restore a recovery point for one of the following resources:

  • DynamoDB for Amazon DynamoDB
  • EBS for Amazon Elastic Block Store
  • EC2 for Amazon Elastic Compute Cloud
  • EFS for Amazon Elastic File System
  • RDS for Amazon Relational Database Service
  • Aurora for Amazon Aurora
  • Storage Gateway for Storage Gateway

startRestoreJob_recoveryPointArn :: Lens' StartRestoreJob 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.

startRestoreJob_metadata :: Lens' StartRestoreJob (HashMap Text Text) Source #

A set of metadata key-value pairs. Contains information, such as a resource name, required to restore a recovery point.

You can get configuration metadata about a resource at the time it was backed up by calling GetRecoveryPointRestoreMetadata. However, values in addition to those provided by GetRecoveryPointRestoreMetadata might be required to restore a resource. For example, you might need to provide a new resource name if the original already exists.

You need to specify specific metadata to restore an Amazon Elastic File System (Amazon EFS) instance:

  • file-system-id: The ID of the Amazon EFS file system that is backed up by Backup. Returned in GetRecoveryPointRestoreMetadata.
  • Encrypted: A Boolean value that, if true, specifies that the file system is encrypted. If KmsKeyId is specified, Encrypted must be set to true.
  • KmsKeyId: Specifies the Amazon Web Services KMS key that is used to encrypt the restored file system. You can specify a key from another Amazon Web Services account provided that key it is properly shared with your account via Amazon Web Services KMS.
  • PerformanceMode: Specifies the throughput mode of the file system.
  • CreationToken: A user-supplied value that ensures the uniqueness (idempotency) of the request.
  • newFileSystem: A Boolean value that, if true, specifies that the recovery point is restored to a new Amazon EFS file system.
  • ItemsToRestore: An array of one to five strings where each string is a file path. Use ItemsToRestore to restore specific files or directories rather than the entire file system. This parameter is optional. For example, "itemsToRestore":"[\"/my.test\"]".

startRestoreJob_iamRoleArn :: Lens' StartRestoreJob Text Source #

The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

startRestoreJobResponse_restoreJobId :: Lens' StartRestoreJobResponse (Maybe Text) Source #

Uniquely identifies the job that restores a recovery point.

ListBackupSelections

listBackupSelections_nextToken :: Lens' ListBackupSelections (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupSelections_maxResults :: Lens' ListBackupSelections (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupSelectionsResponse_nextToken :: Lens' ListBackupSelectionsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupSelectionsResponse_backupSelectionsList :: Lens' ListBackupSelectionsResponse (Maybe [BackupSelectionsListMember]) Source #

An array of backup selection list items containing metadata about each resource in the list.

ListRecoveryPointsByResource

listRecoveryPointsByResource_nextToken :: Lens' ListRecoveryPointsByResource (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listRecoveryPointsByResource_maxResults :: Lens' ListRecoveryPointsByResource (Maybe Natural) Source #

The maximum number of items to be returned.

Amazon RDS requires a value of at least 20.

listRecoveryPointsByResource_resourceArn :: Lens' ListRecoveryPointsByResource Text Source #

An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

listRecoveryPointsByResourceResponse_recoveryPoints :: Lens' ListRecoveryPointsByResourceResponse (Maybe [RecoveryPointByResource]) Source #

An array of objects that contain detailed information about recovery points of the specified resource type.

Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.

listRecoveryPointsByResourceResponse_nextToken :: Lens' ListRecoveryPointsByResourceResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

CreateBackupSelection

createBackupSelection_creatorRequestId :: Lens' CreateBackupSelection (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.

createBackupSelection_backupPlanId :: Lens' CreateBackupSelection Text Source #

Uniquely identifies the backup plan to be associated with the selection of resources.

createBackupSelection_backupSelection :: Lens' CreateBackupSelection BackupSelection Source #

Specifies the body of a request to assign a set of resources to a backup plan.

createBackupSelectionResponse_selectionId :: Lens' CreateBackupSelectionResponse (Maybe Text) Source #

Uniquely identifies the body of a request to assign a set of resources to a backup plan.

createBackupSelectionResponse_creationDate :: Lens' CreateBackupSelectionResponse (Maybe UTCTime) Source #

The date and time a backup selection 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.

ListFrameworks

listFrameworks_nextToken :: Lens' ListFrameworks (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listFrameworks_maxResults :: Lens' ListFrameworks (Maybe Natural) Source #

The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

listFrameworksResponse_nextToken :: Lens' ListFrameworksResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listFrameworksResponse_frameworks :: Lens' ListFrameworksResponse (Maybe [Framework]) Source #

A list of frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.

DescribeProtectedResource

describeProtectedResource_resourceArn :: Lens' DescribeProtectedResource Text Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

describeProtectedResourceResponse_resourceType :: Lens' DescribeProtectedResourceResponse (Maybe Text) Source #

The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.

describeProtectedResourceResponse_lastBackupTime :: Lens' DescribeProtectedResourceResponse (Maybe UTCTime) Source #

The date and time that 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.

describeProtectedResourceResponse_resourceArn :: Lens' DescribeProtectedResourceResponse (Maybe Text) Source #

An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

GetBackupPlanFromJSON

getBackupPlanFromJSON_backupPlanTemplateJson :: Lens' GetBackupPlanFromJSON Text Source #

A customer-supplied backup plan document in JSON format.

getBackupPlanFromJSONResponse_backupPlan :: Lens' GetBackupPlanFromJSONResponse (Maybe BackupPlan) Source #

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

ListBackupVaults

listBackupVaults_nextToken :: Lens' ListBackupVaults (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupVaults_maxResults :: Lens' ListBackupVaults (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupVaultsResponse_nextToken :: Lens' ListBackupVaultsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listBackupVaultsResponse_backupVaultList :: Lens' ListBackupVaultsResponse (Maybe [BackupVaultListMember]) Source #

An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.

GetBackupSelection

getBackupSelection_selectionId :: Lens' GetBackupSelection Text Source #

Uniquely identifies the body of a request to assign a set of resources to a backup plan.

getBackupSelectionResponse_selectionId :: Lens' GetBackupSelectionResponse (Maybe Text) Source #

Uniquely identifies the body of a request to assign a set of resources to a backup plan.

getBackupSelectionResponse_creatorRequestId :: Lens' GetBackupSelectionResponse (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.

getBackupSelectionResponse_creationDate :: Lens' GetBackupSelectionResponse (Maybe UTCTime) Source #

The date and time a backup selection 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.

getBackupSelectionResponse_backupSelection :: Lens' GetBackupSelectionResponse (Maybe BackupSelection) Source #

Specifies the body of a request to assign a set of resources to a backup plan.

CreateBackupVault

createBackupVault_creatorRequestId :: Lens' CreateBackupVault (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.

createBackupVault_encryptionKeyArn :: Lens' CreateBackupVault (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.

createBackupVault_backupVaultTags :: Lens' CreateBackupVault (Maybe (HashMap Text Text)) Source #

Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.

createBackupVault_backupVaultName :: Lens' CreateBackupVault 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 letters, numbers, and hyphens.

createBackupVaultResponse_backupVaultArn :: Lens' CreateBackupVaultResponse (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.

createBackupVaultResponse_creationDate :: Lens' CreateBackupVaultResponse (Maybe UTCTime) Source #

The date and time a backup vault 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.

createBackupVaultResponse_backupVaultName :: Lens' CreateBackupVaultResponse (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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.

UpdateRecoveryPointLifecycle

updateRecoveryPointLifecycle_lifecycle :: Lens' UpdateRecoveryPointLifecycle (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.

updateRecoveryPointLifecycle_backupVaultName :: Lens' UpdateRecoveryPointLifecycle 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.

updateRecoveryPointLifecycle_recoveryPointArn :: Lens' UpdateRecoveryPointLifecycle 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.

updateRecoveryPointLifecycleResponse_calculatedLifecycle :: Lens' UpdateRecoveryPointLifecycleResponse (Maybe CalculatedLifecycle) Source #

A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

updateRecoveryPointLifecycleResponse_lifecycle :: Lens' UpdateRecoveryPointLifecycleResponse (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.

updateRecoveryPointLifecycleResponse_backupVaultArn :: Lens' UpdateRecoveryPointLifecycleResponse (Maybe Text) Source #

An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

updateRecoveryPointLifecycleResponse_recoveryPointArn :: Lens' UpdateRecoveryPointLifecycleResponse (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.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create.

CreateFramework

createFramework_idempotencyToken :: Lens' CreateFramework (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

createFramework_frameworkDescription :: Lens' CreateFramework (Maybe Text) Source #

An optional description of the framework with a maximum of 1,024 characters.

createFramework_frameworkTags :: Lens' CreateFramework (Maybe (HashMap Text Text)) Source #

Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.

createFramework_frameworkName :: Lens' CreateFramework Text Source #

The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

createFramework_frameworkControls :: Lens' CreateFramework [FrameworkControl] Source #

A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.

createFrameworkResponse_frameworkArn :: Lens' CreateFrameworkResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

createFrameworkResponse_frameworkName :: Lens' CreateFrameworkResponse (Maybe Text) Source #

The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

PutBackupVaultNotifications

putBackupVaultNotifications_backupVaultName :: Lens' PutBackupVaultNotifications 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.

putBackupVaultNotifications_sNSTopicArn :: Lens' PutBackupVaultNotifications Text Source #

The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic.

putBackupVaultNotifications_backupVaultEvents :: Lens' PutBackupVaultNotifications [BackupVaultEvent] Source #

An array of events that indicate the status of jobs to back up resources to the backup vault.

The following events are supported:

BACKUP_JOB_STARTED, BACKUP_JOB_COMPLETED,

COPY_JOB_STARTED, COPY_JOB_SUCCESSFUL, COPY_JOB_FAILED,

RESTORE_JOB_STARTED, RESTORE_JOB_COMPLETED, and RECOVERY_POINT_MODIFIED.

To find failed backup jobs, use BACKUP_JOB_COMPLETED and filter using event metadata.

Other events in the following list are deprecated.

DeleteBackupVaultNotifications

deleteBackupVaultNotifications_backupVaultName :: Lens' DeleteBackupVaultNotifications 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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.

ListTags

listTags_nextToken :: Lens' ListTags (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listTags_maxResults :: Lens' ListTags (Maybe Natural) Source #

The maximum number of items to be returned.

listTags_resourceArn :: Lens' ListTags Text Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of resource. Valid targets for ListTags are recovery points, backup plans, and backup vaults.

listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) Source #

To help organize your resources, you can assign your own metadata to the resources you create. Each tag is a key-value pair.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

untagResource_tagKeyList :: Lens' UntagResource [Text] Source #

A list of keys to identify which key-value tags to remove from a resource.

ListCopyJobs

listCopyJobs_byResourceArn :: Lens' ListCopyJobs (Maybe Text) Source #

Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).

listCopyJobs_byCreatedAfter :: Lens' ListCopyJobs (Maybe UTCTime) Source #

Returns only copy jobs that were created after the specified date.

listCopyJobs_byAccountId :: Lens' ListCopyJobs (Maybe Text) Source #

The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.

listCopyJobs_byCreatedBefore :: Lens' ListCopyJobs (Maybe UTCTime) Source #

Returns only copy jobs that were created before the specified date.

listCopyJobs_byDestinationVaultArn :: Lens' ListCopyJobs (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

listCopyJobs_byResourceType :: Lens' ListCopyJobs (Maybe Text) Source #

Returns only backup jobs for the specified resources:

  • DynamoDB for Amazon DynamoDB
  • EBS for Amazon Elastic Block Store
  • EC2 for Amazon Elastic Compute Cloud
  • EFS for Amazon Elastic File System
  • RDS for Amazon Relational Database Service
  • Aurora for Amazon Aurora
  • Storage Gateway for Storage Gateway

listCopyJobs_nextToken :: Lens' ListCopyJobs (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listCopyJobs_byState :: Lens' ListCopyJobs (Maybe CopyJobState) Source #

Returns only copy jobs that are in the specified state.

listCopyJobs_maxResults :: Lens' ListCopyJobs (Maybe Natural) Source #

The maximum number of items to be returned.

listCopyJobsResponse_nextToken :: Lens' ListCopyJobsResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listCopyJobsResponse_copyJobs :: Lens' ListCopyJobsResponse (Maybe [CopyJob]) Source #

An array of structures containing metadata about your copy jobs returned in JSON format.

DeleteBackupVaultLockConfiguration

deleteBackupVaultLockConfiguration_backupVaultName :: Lens' DeleteBackupVaultLockConfiguration Text Source #

The name of the backup vault from which to delete Backup Vault Lock.

GetBackupVaultAccessPolicy

getBackupVaultAccessPolicy_backupVaultName :: Lens' GetBackupVaultAccessPolicy 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.

getBackupVaultAccessPolicyResponse_backupVaultArn :: Lens' GetBackupVaultAccessPolicyResponse (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.

getBackupVaultAccessPolicyResponse_policy :: Lens' GetBackupVaultAccessPolicyResponse (Maybe Text) Source #

The backup vault access policy document in JSON format.

getBackupVaultAccessPolicyResponse_backupVaultName :: Lens' GetBackupVaultAccessPolicyResponse (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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.

DeleteRecoveryPoint

deleteRecoveryPoint_backupVaultName :: Lens' DeleteRecoveryPoint 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.

deleteRecoveryPoint_recoveryPointArn :: Lens' DeleteRecoveryPoint 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.

PutBackupVaultLockConfiguration

putBackupVaultLockConfiguration_maxRetentionDays :: Lens' PutBackupVaultLockConfiguration (Maybe Integer) Source #

The Backup Vault Lock configuration that specifies the maximum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to destroy certain data after retaining it for four years (1460 days).

If this parameter is not included, Vault Lock does not enforce a maximum retention period on the recovery points in the vault. If this parameter is included without a value, Vault Lock will not enforce a maximum retention period.

If this parameter is 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 saved in the vault prior to Vault Lock are not affected.

putBackupVaultLockConfiguration_changeableForDays :: Lens' PutBackupVaultLockConfiguration (Maybe Integer) Source #

The Backup Vault Lock configuration that specifies the number of days before the lock date. For example, setting ChangeableForDays to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC.

Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable. Therefore, you must set ChangeableForDays to 3 or greater.

Before the lock date, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration. On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted.

If this parameter is not specified, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration at any time.

putBackupVaultLockConfiguration_minRetentionDays :: Lens' PutBackupVaultLockConfiguration (Maybe Integer) Source #

The Backup Vault Lock configuration that specifies the minimum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to retain certain data for at least seven years (2555 days).

If this parameter is not specified, Vault Lock will not enforce a minimum retention period.

If this parameter is 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 that backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected.

putBackupVaultLockConfiguration_backupVaultName :: Lens' PutBackupVaultLockConfiguration Text Source #

The Backup Vault Lock configuration that specifies the name of the backup vault it protects.

GetSupportedResourceTypes

getSupportedResourceTypesResponse_resourceTypes :: Lens' GetSupportedResourceTypesResponse (Maybe [Text]) Source #

Contains a string with the supported Amazon Web Services resource types:

  • Aurora for Amazon Aurora
  • DynamoDB for Amazon DynamoDB
  • EBS for Amazon Elastic Block Store
  • EC2 for Amazon Elastic Compute Cloud
  • EFS for Amazon Elastic File System
  • FSX for Amazon FSx
  • RDS for Amazon Relational Database Service
  • Storage Gateway for Storage Gateway

StopBackupJob

stopBackupJob_backupJobId :: Lens' StopBackupJob Text Source #

Uniquely identifies a request to Backup to back up a resource.

ListRecoveryPointsByBackupVault

listRecoveryPointsByBackupVault_byResourceArn :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #

Returns only recovery points that match the specified resource Amazon Resource Name (ARN).

listRecoveryPointsByBackupVault_byCreatedAfter :: Lens' ListRecoveryPointsByBackupVault (Maybe UTCTime) Source #

Returns only recovery points that were created after the specified timestamp.

listRecoveryPointsByBackupVault_byCreatedBefore :: Lens' ListRecoveryPointsByBackupVault (Maybe UTCTime) Source #

Returns only recovery points that were created before the specified timestamp.

listRecoveryPointsByBackupVault_byBackupPlanId :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #

Returns only recovery points that match the specified backup plan ID.

listRecoveryPointsByBackupVault_byResourceType :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #

Returns only recovery points that match the specified resource type.

listRecoveryPointsByBackupVault_nextToken :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

listRecoveryPointsByBackupVault_backupVaultName :: Lens' ListRecoveryPointsByBackupVault 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.

Backup vault name might not be available when a supported service creates the backup.

listRecoveryPointsByBackupVaultResponse_recoveryPoints :: Lens' ListRecoveryPointsByBackupVaultResponse (Maybe [RecoveryPointByBackupVault]) Source #

An array of objects that contain detailed information about recovery points saved in a backup vault.

listRecoveryPointsByBackupVaultResponse_nextToken :: Lens' ListRecoveryPointsByBackupVaultResponse (Maybe Text) Source #

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

PutBackupVaultAccessPolicy

putBackupVaultAccessPolicy_policy :: Lens' PutBackupVaultAccessPolicy (Maybe Text) Source #

The backup vault access policy document in JSON format.

putBackupVaultAccessPolicy_backupVaultName :: Lens' PutBackupVaultAccessPolicy 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.

DeleteBackupVaultAccessPolicy

deleteBackupVaultAccessPolicy_backupVaultName :: Lens' DeleteBackupVaultAccessPolicy 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.

Types

AdvancedBackupSetting

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

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

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

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

BackupPlansListMember

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_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

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

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

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

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_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

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

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

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

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

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

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

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_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_accountId :: Lens' CopyJob (Maybe Text) Source #

The account ID that owns the copy job.

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_copyJobId :: Lens' CopyJob (Maybe Text) Source #

Uniquely identifies a copy job.

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

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

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

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

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

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_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

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_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

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

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

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

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

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

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

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.