internal virtual GetAccountSettingsResponse GetAccountSettings(GetAccountSettingsRequest request) { var marshaller = GetAccountSettingsRequestMarshaller.Instance; var unmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return(Invoke <GetAccountSettingsRequest, GetAccountSettingsResponse>(request, marshaller, unmarshaller)); }
public static async Task <GetAccountSettingsResponse> callLambda() { var request = new GetAccountSettingsRequest(); var response = await lambdaClient.GetAccountSettingsAsync(request); return(response); }
public async Task <MessageOutputBase> GetSettings(GetAccountSettingsRequest request) { MessageOutputBase result = null; request.UserName = GetCurrentUser(); await Execute(flow => { flow.StartRegisterFlow() .Add <CheckUserExistsStep>() .Add <GetAccountSettingsStep>(); flow. When <UserNotFoundStep, UserNotFoundParams>(notFound => { result = notFound.Response; }) .When <GetAccountSettingsStep, GetAccountSettingsParams>(fetch => { result = fetch.Response; }); }, request, error => { result = error; }); return(result); }
/// <summary> /// Initiates the asynchronous execution of the GetAccountSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAccountSettings operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings">REST API Reference for GetAccountSettings Operation</seealso> public virtual Task <GetAccountSettingsResponse> GetAccountSettingsAsync(GetAccountSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = GetAccountSettingsRequestMarshaller.Instance; var unmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return(InvokeAsync <GetAccountSettingsRequest, GetAccountSettingsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the GetAccountSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAccountSettings operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings">REST API Reference for GetAccountSettings Operation</seealso> public virtual Task <GetAccountSettingsResponse> GetAccountSettingsAsync(GetAccountSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return(InvokeAsync <GetAccountSettingsResponse>(request, options, cancellationToken)); }
internal virtual GetAccountSettingsResponse GetAccountSettings(GetAccountSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return(Invoke <GetAccountSettingsResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the GetAccountSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAccountSettings operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<GetAccountSettingsResponse> GetAccountSettingsAsync(GetAccountSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetAccountSettingsRequestMarshaller(); var unmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return InvokeAsync<GetAccountSettingsRequest,GetAccountSettingsResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal GetAccountSettingsResponse GetAccountSettings(GetAccountSettingsRequest request) { var marshaller = new GetAccountSettingsRequestMarshaller(); var unmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return Invoke<GetAccountSettingsRequest,GetAccountSettingsResponse>(request, marshaller, unmarshaller); }
public void GetAccountSettingsAsync(GetAccountSettingsRequest request, AmazonServiceCallback <GetAccountSettingsRequest, GetAccountSettingsResponse> callback, AsyncOptions options = null) { throw new System.NotImplementedException(); }
/// <summary> /// Initiates the asynchronous execution of the GetAccountSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAccountSettings operation on AmazonDeviceFarmClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAccountSettings /// operation.</returns> public IAsyncResult BeginGetAccountSettings(GetAccountSettingsRequest request, AsyncCallback callback, object state) { var marshaller = new GetAccountSettingsRequestMarshaller(); var unmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; return BeginInvoke<GetAccountSettingsRequest>(request, marshaller, unmarshaller, callback, state); }
/// <summary> /// Initiates the asynchronous execution of the GetAccountSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAccountSettings operation on AmazonLambdaClient.</param> /// <param name="callback">An Action delegate that is invoked when the operation completes.</param> /// <param name="options">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> public void GetAccountSettingsAsync(GetAccountSettingsRequest request, AmazonServiceCallback<GetAccountSettingsRequest, GetAccountSettingsResponse> callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var marshaller = new GetAccountSettingsRequestMarshaller(); var unmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult<GetAccountSettingsRequest,GetAccountSettingsResponse> responseObject = new AmazonServiceResult<GetAccountSettingsRequest,GetAccountSettingsResponse>((GetAccountSettingsRequest)req, (GetAccountSettingsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke<GetAccountSettingsRequest>(request, marshaller, unmarshaller, options, callbackHelper); }