/// <summary> /// Returns detailed information about one or more specified events for one or more accounts /// in your organization. Information includes standard event data (Region, service, and /// so on, as returned by <a>DescribeEventsForOrganization</a>, a detailed event description, /// and possible additional metadata that depends upon the nature of the event. Affected /// entities are not included; to retrieve those, use the <a>DescribeAffectedEntitiesForOrganization</a> /// operation. /// /// /// <para> /// Before you can call this operation, you must first enable AWS Health to work with /// AWS Organizations. To do this, call the <a>EnableHealthServiceAccessForOrganization</a> /// operation from your organization's master account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEventDetailsForOrganization 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 DescribeEventDetailsForOrganization service method, as returned by AWSHealth.</returns> /// <exception cref="Amazon.AWSHealth.Model.UnsupportedLocaleException"> /// The specified locale is not supported. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsForOrganization">REST API Reference for DescribeEventDetailsForOrganization Operation</seealso> public virtual Task <DescribeEventDetailsForOrganizationResponse> DescribeEventDetailsForOrganizationAsync(DescribeEventDetailsForOrganizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventDetailsForOrganizationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventDetailsForOrganizationResponseUnmarshaller.Instance; return(InvokeAsync <DescribeEventDetailsForOrganizationResponse>(request, options, cancellationToken)); }
internal virtual DescribeEventDetailsForOrganizationResponse DescribeEventDetailsForOrganization(DescribeEventDetailsForOrganizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventDetailsForOrganizationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventDetailsForOrganizationResponseUnmarshaller.Instance; return(Invoke <DescribeEventDetailsForOrganizationResponse>(request, options)); }