list_provisioned_concurrency_configs
¶
list_provisioned_concurrency_configs(
function_name: FunctionName,
*,
config_overrides: Optional[LambdaClientConfig] = None,
marker: Optional[String] = None,
max_items: Optional[MaxProvisionedConcurrencyConfigListItems] = None,
) -> ListProvisionedConcurrencyConfigsResponse
Retrieves a list of provisioned concurrency configurations for a function.
Parameters:
-
function_name(FunctionName) –The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. -
Partial ARN –
123456789012:function:my-function.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
-
-
marker(Optional[String], default:None) –Specify the pagination token that's returned by a previous request to retrieve the next page of results.
-
max_items(Optional[MaxProvisionedConcurrencyConfigListItems], default:None) –Specify a number to limit the number of configurations returned.
Raises:
-
InvalidParameterValueException–One of the parameters in the request is not valid.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ServiceException–The Lambda service encountered an internal error.
-
TooManyRequestsException–The request throughput limit was exceeded. For more information, see Lambda quotas.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To get a list of provisioned concurrency configurations The following example returns a list of provisioned concurrency configurations for a function named my-function.
Source code in docs_src/capo_lambda/_services/_lambda.py
3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 | |