list_malware_scans¶
Operation¶
list_malware_scans
¶
list_malware_scans(request: ListMalwareScansInput | ListMalwareScansInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListMalwareScansInputDict]) -> ListMalwareScansOutput
Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An administrator can view the malware scans for all of its members' accounts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListMalwareScansInput | ListMalwareScansInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ListMalwareScansInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListMalwareScansOutput
|
An instance of |
list_malware_scans
async
¶
list_malware_scans(request: ListMalwareScansInput | ListMalwareScansInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListMalwareScansInputDict]) -> ListMalwareScansOutput
Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An administrator can view the malware scans for all of its members' accounts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListMalwareScansInput | ListMalwareScansInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ListMalwareScansInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListMalwareScansOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ListMalwareScansInputDict
¶
Bases: TypedDict
Dictionary form of ListMalwareScansInput.
Attributes¶
filter_criteria
instance-attribute
¶
filter_criteria: ListMalwareScansFilterCriteria | ListMalwareScansFilterCriteriaDict | None
Represents the criteria used to filter the malware scan entries.
max_results
instance-attribute
¶
max_results: int | None
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
next_token
instance-attribute
¶
next_token: str | None
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing results.
sort_criteria
instance-attribute
¶
sort_criteria: SortCriteria | SortCriteriaDict | None
Represents the criteria used for sorting malware scan entries.
ListMalwareScansInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListMalwareScansInput structure.
Attributes¶
filter_criteria
class-attribute
instance-attribute
¶
filter_criteria: ListMalwareScansFilterCriteria | None = ...
Represents the criteria used to filter the malware scan entries.
max_results
class-attribute
instance-attribute
¶
max_results: int | None = ...
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing results.
sort_criteria
class-attribute
instance-attribute
¶
sort_criteria: SortCriteria | None = ...
Represents the criteria used for sorting malware scan entries.
Output¶
ListMalwareScansOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListMalwareScansOutput structure.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
The pagination parameter to be used on the next list operation to retrieve more scans.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
scans
class-attribute
instance-attribute
¶
scans: list[MalwareScan] | None = ...
The list of malware scans associated with the provided input parameters.