backup_list_backup_jobs: Returns a list of existing backup jobs for an authenticated...

Description Usage Arguments Value Request syntax

View source: R/backup_operations.R

Description

Returns a list of existing backup jobs for an authenticated account.

Usage

1
2
3
backup_list_backup_jobs(NextToken, MaxResults, ByResourceArn, ByState,
  ByBackupVaultName, ByCreatedBefore, ByCreatedAfter, ByResourceType,
  ByAccountId)

Arguments

NextToken

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.

MaxResults

The maximum number of items to be returned.

ByResourceArn

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

ByState

Returns only backup jobs that are in the specified state.

ByBackupVaultName

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 AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

ByCreatedBefore

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

ByCreatedAfter

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

ByResourceType

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

  • Storage Gateway for AWS Storage Gateway

ByAccountId

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

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
list(
  BackupJobs = list(
    list(
      AccountId = "string",
      BackupJobId = "string",
      BackupVaultName = "string",
      BackupVaultArn = "string",
      RecoveryPointArn = "string",
      ResourceArn = "string",
      CreationDate = as.POSIXct(
        "2015-01-01"
      ),
      CompletionDate = as.POSIXct(
        "2015-01-01"
      ),
      State = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED",
      StatusMessage = "string",
      PercentDone = "string",
      BackupSizeInBytes = 123,
      IamRoleArn = "string",
      CreatedBy = list(
        BackupPlanId = "string",
        BackupPlanArn = "string",
        BackupPlanVersion = "string",
        BackupRuleId = "string"
      ),
      ExpectedCompletionDate = as.POSIXct(
        "2015-01-01"
      ),
      StartBy = as.POSIXct(
        "2015-01-01"
      ),
      ResourceType = "string",
      BytesTransferred = 123,
      BackupOptions = list(
        "string"
      ),
      BackupType = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
svc$list_backup_jobs(
  NextToken = "string",
  MaxResults = 123,
  ByResourceArn = "string",
  ByState = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED",
  ByBackupVaultName = "string",
  ByCreatedBefore = as.POSIXct(
    "2015-01-01"
  ),
  ByCreatedAfter = as.POSIXct(
    "2015-01-01"
  ),
  ByResourceType = "string",
  ByAccountId = "string"
)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.