Cloud Keys 2020 Python Edition

Questions / Feedback?

list_aliases Method

Lists aliases in the current account and region.

Syntax

def list_aliases(for_key_id: str) -> None: ...

Remarks

This method lists the aliases in the current account and region. Optionally, aliases for a specific CMK (in the current account and region) can be listed by passing its Id or ARN for the ForKeyId parameter.

Calling this method will fire the on_alias_list event once for each alias, and will also populate the Alias* properties.

If there are still more aliases available to list when this method returns, the alias_marker property will be populated. Continue to call this method until alias_marker is empty to accumulate all pages of results in the Alias* properties.

The MaxAliases configuration setting can be used to control the maximum number of results to return at once.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 Python Edition - Version 20.0 [Build 8157]