Returns a list of existing scan jobs for an authenticated account for the last 30 days
Source:R/backup_operations.R
backup_list_scan_jobs.RdReturns a list of existing scan jobs for an authenticated account for the last 30 days.
See https://www.paws-r-sdk.com/docs/backup_list_scan_jobs/ for full documentation.
Usage
backup_list_scan_jobs(
ByAccountId = NULL,
ByBackupVaultName = NULL,
ByCompleteAfter = NULL,
ByCompleteBefore = NULL,
ByMalwareScanner = NULL,
ByRecoveryPointArn = NULL,
ByResourceArn = NULL,
ByResourceType = NULL,
ByScanResultStatus = NULL,
ByState = NULL,
MaxResults = NULL,
NextToken = NULL
)Arguments
- ByAccountId
The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.
If used from an Amazon Web Services Organizations management account, passing
*returns all jobs across the organization.Pattern:
^[0-9]{12}$- ByBackupVaultName
Returns only scan 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.
Pattern:
^[a-zA-Z0-9\-_\.]{2,50}$- ByCompleteAfter
Returns only scan jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
- ByCompleteBefore
Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
- ByMalwareScanner
Returns only the scan jobs for the specified malware scanner. Currently only supports
GUARDDUTY.- ByRecoveryPointArn
Returns only the scan jobs that are ran against the specified recovery point.
- ByResourceArn
Returns only scan jobs that match the specified resource Amazon Resource Name (ARN).
- ByResourceType
Returns restore testing selections by the specified restore testing plan name.
EBSfor Amazon Elastic Block StoreEC2for Amazon Elastic Compute CloudS3for Amazon Simple Storage Service (Amazon S3)
Pattern:
^[a-zA-Z0-9\-_\.]{1,50}$- ByScanResultStatus
Returns only the scan jobs for the specified scan results:
THREATS_FOUNDNO_THREATS_FOUND
- ByState
Returns only the scan jobs for the specified scanning job state.
- MaxResults
The maximum number of items to be returned.
Valid Range: Minimum value of 1. Maximum value of 1000.
- NextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.