

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 搭配使用 `DeleteFunctionConcurrency` 與 CLI
<a name="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 ]

**Tools for PowerShell V4**  
**範例 1：此範例會移除 Lambda 函數的函數並行。**  

```
Remove-LMFunctionConcurrency -FunctionName "MylambdaFunction123"
```
+  如需 API 詳細資訊，請參閱《AWS Tools for PowerShell Cmdlet 參考 (V4)》**中的 [DeleteFunctionConcurrency](https://docs.aws.amazon.com/powershell/v4/reference)。

**Tools for PowerShell V5**  
**範例 1：此範例會移除 Lambda 函數的函數並行。**  

```
Remove-LMFunctionConcurrency -FunctionName "MylambdaFunction123"
```
+  如需 API 詳細資訊，請參閱 *AWS Tools for PowerShell Cmdlet Reference (V5)* 中的 [DeleteFunctionConcurrency](https://docs.aws.amazon.com/powershell/v5/reference)。

------

如需 AWS SDK 開發人員指南和程式碼範例的完整清單，請參閱 [搭配 AWS SDK 使用 Lambda](sdk-general-information-section.md)。此主題也包含有關入門的資訊和舊版 SDK 的詳細資訊。