Skip to content

list_malware_protection_plans

Operation

list_malware_protection_plans

list_malware_protection_plans(request: ListMalwareProtectionPlansInput | ListMalwareProtectionPlansInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListMalwareProtectionPlansInputDict]) -> ListMalwareProtectionPlansOutput

Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.

Parameters:

Name Type Description Default
request ListMalwareProtectionPlansInput | ListMalwareProtectionPlansInputDict | 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[ListMalwareProtectionPlansInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListMalwareProtectionPlansOutput

An instance of ListMalwareProtectionPlansOutput.

list_malware_protection_plans async

list_malware_protection_plans(request: ListMalwareProtectionPlansInput | ListMalwareProtectionPlansInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListMalwareProtectionPlansInputDict]) -> ListMalwareProtectionPlansOutput

Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.

Parameters:

Name Type Description Default
request ListMalwareProtectionPlansInput | ListMalwareProtectionPlansInputDict | 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[ListMalwareProtectionPlansInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListMalwareProtectionPlansOutput

An instance of ListMalwareProtectionPlansOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ListMalwareProtectionPlansInputDict

Bases: TypedDict

Dictionary form of ListMalwareProtectionPlansInput.

Attributes

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 data. The default page size is 100 plans.

ListMalwareProtectionPlansInput dataclass

Bases: _SerdeShape

Dataclass for ListMalwareProtectionPlansInput structure.

Attributes

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 data. The default page size is 100 plans.

Output

ListMalwareProtectionPlansOutput dataclass

Bases: _SerdeShape

Dataclass for ListMalwareProtectionPlansOutput structure.

Attributes

malware_protection_plans class-attribute instance-attribute
malware_protection_plans: list[MalwareProtectionPlanSummary] | None = ...

A list of unique identifiers associated with each Malware Protection plan.

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 data.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.