/// <summary> /// This operation provides status information on enabling or disabling AWS Health to /// work with your organization. To call this operation, you must sign in as an IAM user, /// assume an IAM role, or sign in as the root user (not recommended) in the organization's /// master account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeHealthServiceStatusForOrganization 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 DescribeHealthServiceStatusForOrganization service method, as returned by AWSHealth.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeHealthServiceStatusForOrganization">REST API Reference for DescribeHealthServiceStatusForOrganization Operation</seealso> public virtual Task <DescribeHealthServiceStatusForOrganizationResponse> DescribeHealthServiceStatusForOrganizationAsync(DescribeHealthServiceStatusForOrganizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHealthServiceStatusForOrganizationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHealthServiceStatusForOrganizationResponseUnmarshaller.Instance; return(InvokeAsync <DescribeHealthServiceStatusForOrganizationResponse>(request, options, cancellationToken)); }
internal virtual DescribeHealthServiceStatusForOrganizationResponse DescribeHealthServiceStatusForOrganization(DescribeHealthServiceStatusForOrganizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHealthServiceStatusForOrganizationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHealthServiceStatusForOrganizationResponseUnmarshaller.Instance; return(Invoke <DescribeHealthServiceStatusForOrganizationResponse>(request, options)); }