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.
Creates a new recommendation template for the Resilience Hub application.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateRecommendationTemplateAsync.
Namespace: Amazon.ResilienceHub
Assembly: AWSSDK.ResilienceHub.dll
Version: 3.x.y.z
public abstract CreateRecommendationTemplateResponse CreateRecommendationTemplate( CreateRecommendationTemplateRequest request )
Container for the necessary parameters to execute the CreateRecommendationTemplate service method.
Exception | Condition |
---|---|
AccessDeniedException | You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. |
ConflictException | This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception. |
InternalServerException | This exception occurs when there is an internal failure in the Resilience Hub service. |
ResourceNotFoundException | This exception occurs when the specified resource could not be found. |
ServiceQuotaExceededException | This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase. |
ThrottlingException | This exception occurs when you have exceeded the limit on the number of requests per second. |
ValidationException | This exception occurs when a request is not valid. |
.NET Framework:
Supported in: 4.5 and newer, 3.5