List Backup Job Summaries
backup_list_backup_job_summaries | R Documentation |
This is a request for a summary of backup jobs created or running within the most recent 30 days¶
Description¶
This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
Usage¶
backup_list_backup_job_summaries(AccountId, State, ResourceType,
MessageCategory, AggregationPeriod, MaxResults, NextToken)
Arguments¶
AccountId |
Returns the job count for the specified account. If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned. Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.
|
State |
This parameter returns the job count for jobs with the specified state. The the value ANY returns count of all states.
GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State=COMPLETED |
ResourceType |
Returns the job count for the specified resource type. Use
request The the value ANY returns count of all resource types.
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. |
MessageCategory |
This parameter returns the job count for the specified message category. Example accepted strings include The the value ANY returns count of all message categories.
|
AggregationPeriod |
The period for the returned results.
|
MaxResults |
The maximum number of items to be returned. The value is an integer. Range of accepted values is from 1 to 500. |
NextToken |
The next item following a partial list of returned resources. For
example, if a request is made to return |
Value¶
A list with the following syntax:
list(
BackupJobSummaries = list(
list(
Region = "string",
AccountId = "string",
State = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED"|"PARTIAL"|"AGGREGATE_ALL"|"ANY",
ResourceType = "string",
MessageCategory = "string",
Count = 123,
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
)
)
),
AggregationPeriod = "string",
NextToken = "string"
)
Request syntax¶
svc$list_backup_job_summaries(
AccountId = "string",
State = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED"|"PARTIAL"|"AGGREGATE_ALL"|"ANY",
ResourceType = "string",
MessageCategory = "string",
AggregationPeriod = "ONE_DAY"|"SEVEN_DAYS"|"FOURTEEN_DAYS",
MaxResults = 123,
NextToken = "string"
)