private static void ListRetirableGrants(KmsClient kmsClient)
 {
     try
     {
         var request = new ListRetirableGrantsRequest
         {
             VersionId = "v1.0",
             Body      = new ListRetirableGrantsRequestBody()
         };
         var resp = kmsClient.ListRetirableGrants(request);
         Console.WriteLine(resp);
     }
     catch (RequestTimeoutException requestTimeoutException)
     {
         Console.WriteLine(requestTimeoutException.ErrorMessage);
     }
     catch (ServiceResponseException clientRequestException)
     {
         Console.WriteLine(clientRequestException.HttpStatusCode);
         Console.WriteLine(clientRequestException.ErrorCode);
         Console.WriteLine(clientRequestException.ErrorMsg);
     }
     catch (ConnectionException connectionException)
     {
         Console.WriteLine(connectionException.ErrorMessage);
     }
 }