/// <summary> /// Displays information about the authentication methods used in one Amazon Managed Grafana /// workspace. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeWorkspaceAuthentication 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 DescribeWorkspaceAuthentication service method, as returned by ManagedGrafana.</returns> /// <exception cref="Amazon.ManagedGrafana.Model.AccessDeniedException"> /// You do not have sufficient permissions to perform this action. /// </exception> /// <exception cref="Amazon.ManagedGrafana.Model.InternalServerException"> /// Unexpected error while processing the request. Retry the request. /// </exception> /// <exception cref="Amazon.ManagedGrafana.Model.ResourceNotFoundException"> /// The request references a resource that does not exist. /// </exception> /// <exception cref="Amazon.ManagedGrafana.Model.ThrottlingException"> /// The request was denied because of request throttling. Retry the request. /// </exception> /// <exception cref="Amazon.ManagedGrafana.Model.ValidationException"> /// The value of a parameter in the request caused an error. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspaceAuthentication">REST API Reference for DescribeWorkspaceAuthentication Operation</seealso> public virtual Task <DescribeWorkspaceAuthenticationResponse> DescribeWorkspaceAuthenticationAsync(DescribeWorkspaceAuthenticationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeWorkspaceAuthenticationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeWorkspaceAuthenticationResponseUnmarshaller.Instance; return(InvokeAsync <DescribeWorkspaceAuthenticationResponse>(request, options, cancellationToken)); }
internal virtual DescribeWorkspaceAuthenticationResponse DescribeWorkspaceAuthentication(DescribeWorkspaceAuthenticationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeWorkspaceAuthenticationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeWorkspaceAuthenticationResponseUnmarshaller.Instance; return(Invoke <DescribeWorkspaceAuthenticationResponse>(request, options)); }