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.
Gets an image policy.
For .NET Core this operation is only available in asynchronous form. Please refer to GetImagePolicyAsync.
Namespace: Amazon.Imagebuilder
Assembly: AWSSDK.Imagebuilder.dll
Version: 3.x.y.z
public virtual GetImagePolicyResponse GetImagePolicy( GetImagePolicyRequest request )
Container for the necessary parameters to execute the GetImagePolicy service method.
| Exception | Condition |
|---|---|
| CallRateLimitExceededException | You have exceeded the permitted request rate for the specific operation. |
| ForbiddenException | You are not authorized to perform the requested operation. |
| InvalidRequestException | You have requested an action that that the service doesn't support. |
| ResourceNotFoundException | At least one of the resources referenced by your request does not exist. |
| ServiceException | This exception is thrown when the service encounters an unrecoverable exception. |
| ServiceUnavailableException | The service is unable to process your request at this time. |
.NET Framework:
Supported in: 4.7.2 and newer