There are more AWS SDK examples available in the AWS Doc SDK Examples
Use DeleteProvisionedConcurrencyConfig with a CLI
The following code examples show how to use DeleteProvisionedConcurrencyConfig.
- CLI
-
- AWS CLI
-
To delete a provisioned concurrency configuration
The following
delete-provisioned-concurrency-configexample deletes the provisioned concurrency configuration for theGREENalias of the specified function.aws lambda delete-provisioned-concurrency-config \ --function-namemy-function\ --qualifierGREEN-
For API details, see DeleteProvisionedConcurrencyConfig
in AWS CLI Command Reference.
-
- PowerShell
-
- Tools for PowerShell V4
-
Example 1: This example removes the Provisioned Concurrency Configuration for a specific Alias.
Remove-LMProvisionedConcurrencyConfig -FunctionName "MylambdaFunction123" -Qualifier "NewAlias1"-
For API details, see DeleteProvisionedConcurrencyConfig in AWS Tools for PowerShell Cmdlet Reference (V4).
-
- Tools for PowerShell V5
-
Example 1: This example removes the Provisioned Concurrency Configuration for a specific Alias.
Remove-LMProvisionedConcurrencyConfig -FunctionName "MylambdaFunction123" -Qualifier "NewAlias1"-
For API details, see DeleteProvisionedConcurrencyConfig in AWS Tools for PowerShell Cmdlet Reference (V5).
-