AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListApprovalRuleTemplatesAsync.

Namespace: Amazon.CodeCommit
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListApprovalRuleTemplatesResponse ListApprovalRuleTemplates(
         ListApprovalRuleTemplatesRequest request
)

Parameters

request
Type: Amazon.CodeCommit.Model.ListApprovalRuleTemplatesRequest

Container for the necessary parameters to execute the ListApprovalRuleTemplates service method.

Return Value


The response from the ListApprovalRuleTemplates service method, as returned by CodeCommit.

Exceptions

ExceptionCondition
InvalidContinuationTokenException The specified continuation token is not valid.
InvalidMaxResultsException The specified number of maximum results is not valid.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also