/// <summary> /// Gets information about a Device Advisor test suite. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetSuiteDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetSuiteDefinition service method, as returned by IoTDeviceAdvisor.</returns> /// <exception cref="Amazon.IoTDeviceAdvisor.Model.InternalServerException"> /// Sends Internal Failure Exception. /// </exception> /// <exception cref="Amazon.IoTDeviceAdvisor.Model.ResourceNotFoundException"> /// Sends Resource Not Found Exception. /// </exception> /// <exception cref="Amazon.IoTDeviceAdvisor.Model.ValidationException"> /// Sends invalid request exception. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteDefinition">REST API Reference for GetSuiteDefinition Operation</seealso> public virtual Task <GetSuiteDefinitionResponse> GetSuiteDefinitionAsync(GetSuiteDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteDefinitionResponseUnmarshaller.Instance; return(InvokeAsync <GetSuiteDefinitionResponse>(request, options, cancellationToken)); }
internal virtual GetSuiteDefinitionResponse GetSuiteDefinition(GetSuiteDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteDefinitionResponseUnmarshaller.Instance; return(Invoke <GetSuiteDefinitionResponse>(request, options)); }