get_managed_prefix_list_entries
async
¶
get_managed_prefix_list_entries(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
prefix_list_id: Optional[PrefixListResourceId] = None,
target_version: Optional[Long] = None,
max_results: Optional[PrefixListMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetManagedPrefixListEntriesResult
Gets information about the entries for a specified managed prefix list.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
prefix_list_id(Optional[PrefixListResourceId], default:None) –The ID of the prefix list.
-
target_version(Optional[Long], default:None) –The version of the prefix list for which to return the entries. The default is the current version.
-
max_results(Optional[PrefixListMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
46553 46554 46555 46556 46557 46558 46559 46560 46561 46562 46563 46564 46565 46566 46567 46568 46569 46570 46571 46572 46573 46574 46575 46576 46577 46578 46579 46580 46581 46582 46583 46584 46585 46586 46587 46588 46589 46590 46591 46592 46593 46594 46595 46596 46597 46598 46599 46600 46601 46602 46603 46604 46605 46606 46607 46608 46609 46610 46611 46612 46613 46614 46615 46616 | |