list_scan_job_summaries
async
¶
list_scan_job_summaries(
*,
config_overrides: Optional[AsyncBackupClientConfig] = 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/async_backup.py
6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 | |