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.

Updates an existing pull through cache rule.

Note:

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

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

Syntax

C#
public virtual UpdatePullThroughCacheRuleResponse UpdatePullThroughCacheRule(
         UpdatePullThroughCacheRuleRequest request
)

Parameters

request
Type: Amazon.ECR.Model.UpdatePullThroughCacheRuleRequest

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

Return Value


The response from the UpdatePullThroughCacheRule service method, as returned by ECR.

Exceptions

ExceptionCondition
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
PullThroughCacheRuleNotFoundException The pull through cache rule was not found. Specify a valid pull through cache rule and try again.
SecretNotFoundException The ARN of the secret specified in the pull through cache rule was not found. Update the pull through cache rule with a valid secret ARN and try again.
ServerException These errors are usually caused by a server-side issue.
UnableToAccessSecretException The secret is unable to be accessed. Verify the resource permissions for the secret and try again.
UnableToDecryptSecretValueException The secret is accessible but is unable to be decrypted. Verify the resource permisisons and try again.
ValidationException There was an exception validating this request.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also