list_scan_job_summaries
¶
list_scan_job_summaries(
*,
config_overrides: Optional[BackupClientConfig] = None,
account_id: Optional[AccountId] = None,
resource_type: Optional[ResourceType] = None,
malware_scanner: Optional[MalwareScanner] = None,
scan_result_status: Optional[ScanResultStatus] = None,
state: Optional[ScanJobStatus] = None,
aggregation_period: Optional[AggregationPeriod] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[string] = None,
) -> ListScanJobSummariesOutput
This is a request for a summary of scan jobs created or running within the most recent 14 days.
Parameters:
-
account_id(Optional[AccountId], default:None) –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
ANYto return job counts from every account in the organization.AGGREGATE_ALLaggregates job counts from all accounts within the authenticated organization, then returns the sum. -
resource_type(Optional[ResourceType], default:None) –Returns the job count for the specified resource type. Use request
GetSupportedResourceTypesto obtain strings for supported resource types.The the value
ANYreturns count of all resource types.AGGREGATE_ALLaggregates job counts for all resource types and returns the sum. -
malware_scanner(Optional[MalwareScanner], default:None) –Returns only the scan jobs for the specified malware scanner. Currently the only MalwareScanner is
GUARDDUTY. But the field also supportsANY, andAGGREGATE_ALL. -
scan_result_status(Optional[ScanResultStatus], default:None) –Returns only the scan jobs for the specified scan results.
-
state(Optional[ScanJobStatus], default:None) –Returns only the scan jobs for the specified scanning job state.
-
aggregation_period(Optional[AggregationPeriod], default:None) –The period for the returned results.
-
ONE_DAYThe daily job count for the prior 1 day. -
SEVEN_DAYSThe daily job count for the prior 7 days. -
FOURTEEN_DAYSThe daily job count for the prior 14 days.
-
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to be returned.
The value is an integer. Range of accepted values is from 1 to 500.
-
next_token(Optional[string], default:None) –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.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/backup.py
6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 | |