/// <summary> /// Retrieves the list of the data lake administrators of a Lake Formation-managed data /// lake. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDataLakeSettings 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 GetDataLakeSettings service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings">REST API Reference for GetDataLakeSettings Operation</seealso> public virtual Task <GetDataLakeSettingsResponse> GetDataLakeSettingsAsync(GetDataLakeSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataLakeSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataLakeSettingsResponseUnmarshaller.Instance; return(InvokeAsync <GetDataLakeSettingsResponse>(request, options, cancellationToken)); }
internal virtual GetDataLakeSettingsResponse GetDataLakeSettings(GetDataLakeSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataLakeSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataLakeSettingsResponseUnmarshaller.Instance; return(Invoke <GetDataLakeSettingsResponse>(request, options)); }