Amazon.AWSSupport.AmazonAWSSupportClient.RefreshTrustedAdvisorCheck C# (CSharp) Метод

RefreshTrustedAdvisorCheck() публичный Метод

Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.

Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error.

The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields:

  • status. The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned".

  • millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh.

  • checkId. The unique identifier for the check.

/// An internal server error occurred. ///
public RefreshTrustedAdvisorCheck ( RefreshTrustedAdvisorCheckRequest request ) : RefreshTrustedAdvisorCheckResponse
request RefreshTrustedAdvisorCheckRequest Container for the necessary parameters to execute the RefreshTrustedAdvisorCheck service method.
Результат RefreshTrustedAdvisorCheckResponse
        public RefreshTrustedAdvisorCheckResponse RefreshTrustedAdvisorCheck(RefreshTrustedAdvisorCheckRequest request)
        {
            var marshaller = new RefreshTrustedAdvisorCheckRequestMarshaller();
            var unmarshaller = RefreshTrustedAdvisorCheckResponseUnmarshaller.Instance;

            return Invoke<RefreshTrustedAdvisorCheckRequest,RefreshTrustedAdvisorCheckResponse>(request, marshaller, unmarshaller);
        }
AmazonAWSSupportClient