public GetServiceSettingsResponse GetServiceSettings(GetServiceSettingsRequest request) { return(new GetServiceSettingsResponse { Settings = new Settings(serviceInstance.SettingsProvider), }); }
internal virtual GetServiceSettingsResponse GetServiceSettings(GetServiceSettingsRequest request) { var marshaller = GetServiceSettingsRequestMarshaller.Instance; var unmarshaller = GetServiceSettingsResponseUnmarshaller.Instance; return(Invoke <GetServiceSettingsRequest, GetServiceSettingsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetServiceSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetServiceSettings operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings">REST API Reference for GetServiceSettings Operation</seealso> public virtual Task <GetServiceSettingsResponse> GetServiceSettingsAsync(GetServiceSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = GetServiceSettingsRequestMarshaller.Instance; var unmarshaller = GetServiceSettingsResponseUnmarshaller.Instance; return(InvokeAsync <GetServiceSettingsRequest, GetServiceSettingsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the GetServiceSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetServiceSettings operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings">REST API Reference for GetServiceSettings Operation</seealso> public virtual Task <GetServiceSettingsResponse> GetServiceSettingsAsync(GetServiceSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetServiceSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetServiceSettingsResponseUnmarshaller.Instance; return(InvokeAsync <GetServiceSettingsResponse>(request, options, cancellationToken)); }
internal virtual GetServiceSettingsResponse GetServiceSettings(GetServiceSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetServiceSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetServiceSettingsResponseUnmarshaller.Instance; return(Invoke <GetServiceSettingsResponse>(request, options)); }