

文档 AWS SDK 示例 GitHub 存储库中还有更多 [S AWS DK 示例](https://github.com/awsdocs/aws-doc-sdk-examples)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 将 `DeleteFunctionConcurrency` 与 CLI 配合使用
<a name="lambda_example_lambda_DeleteFunctionConcurrency_section"></a>

以下代码示例演示如何使用 `DeleteFunctionConcurrency`。

------
#### [ CLI ]

**AWS CLI**  
**从函数中删除预留的并发执行限制**  
以下 `delete-function-concurrency` 示例从 `my-function` 函数中删除了预留的并发执行限制。  

```
aws lambda delete-function-concurrency \
    --function-name  my-function
```
此命令不生成任何输出。  
有关更多信息，请参阅《AWS Lambda 开发人员指南》**中的[为 Lambda 函数预留并发](https://docs.aws.amazon.com/lambda/latest/dg/per-function-concurrency.html)。  
+  有关 API 的详细信息，请参阅*AWS CLI 命令参考[DeleteFunctionConcurrency](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lambda/delete-function-concurrency.html)*中的。

------
#### [ PowerShell ]

**适用于 PowerShell V4 的工具**  
**示例 1：本示例删除了 Lambda 函数的函数并发。**  

```
Remove-LMFunctionConcurrency -FunctionName "MylambdaFunction123"
```
+  有关 API 的详细信息，请参阅 *AWS Tools for PowerShell Cmdlet 参考 (V* 4) [DeleteFunctionConcurrency](https://docs.aws.amazon.com/powershell/v4/reference)中的。

**适用于 PowerShell V5 的工具**  
**示例 1：本示例删除了 Lambda 函数的函数并发。**  

```
Remove-LMFunctionConcurrency -FunctionName "MylambdaFunction123"
```
+  有关 API 的详细信息，请参阅 *AWS Tools for PowerShell Cmdlet 参考 (V* 5) [DeleteFunctionConcurrency](https://docs.aws.amazon.com/powershell/v5/reference)中的。

------