/// <summary> /// Use this operation to define the identity provider (IdP) that this workspace authenticates /// users from, using SAML. You can also map SAML assertion attributes to workspace user /// information and define which groups in the assertion attribute are to have the <code>Admin</code> /// and <code>Editor</code> roles in the workspace. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateWorkspaceAuthentication 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 UpdateWorkspaceAuthentication 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.ConflictException"> /// A resource was in an inconsistent state during an update or a deletion. /// </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/UpdateWorkspaceAuthentication">REST API Reference for UpdateWorkspaceAuthentication Operation</seealso> public virtual Task <UpdateWorkspaceAuthenticationResponse> UpdateWorkspaceAuthenticationAsync(UpdateWorkspaceAuthenticationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkspaceAuthenticationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkspaceAuthenticationResponseUnmarshaller.Instance; return(InvokeAsync <UpdateWorkspaceAuthenticationResponse>(request, options, cancellationToken)); }
internal virtual UpdateWorkspaceAuthenticationResponse UpdateWorkspaceAuthentication(UpdateWorkspaceAuthenticationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkspaceAuthenticationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkspaceAuthenticationResponseUnmarshaller.Instance; return(Invoke <UpdateWorkspaceAuthenticationResponse>(request, options)); }