client¶
Improve the original redshift boto3 API.
Ref:
- simple_aws_lambda.client.list_layers(lambda_client: LambdaClient, compatible_runtime: str = OPT, compatible_architecture: str = OPT, max_items: int = 9999, page_size: int = 50) LayerIterproxy[source]¶
List available AWS Lambda layers in the account.
Ref:
- simple_aws_lambda.client.list_layer_versions(lambda_client: LambdaClient, layer_name: str, compatible_runtime: str = OPT, compatible_architecture: str = OPT, max_items: int = 9999, page_size: int = 50, _sort_descending: bool = False) LayerVersionIterproxy[source]¶
List all versions of Lambda layers in the account.
- Parameters:
_sort_descending – if True, load all layer versions in to memory and then sort them in memory in descending order by version number. This is the default behavior of official AWS API. However, the test tool moto does not implement it correctly (it returns in ascending order). So this parameter is a workaround for moto only. You don’t need to set this parameter when you run against real AWS API.
Note
this API always returns the latest version first.
Ref: