/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the lambda-2015-03-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Lambda.Model; using Amazon.Lambda.Model.Internal.MarshallTransformations; using Amazon.Lambda.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Lambda { /// /// Implementation for accessing Lambda /// /// AWS Lambda /// /// Overview /// /// /// /// This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides /// additional information. For the service overview, see What /// is AWS Lambda, and for information about how the service works, see AWS /// Lambda: How it Works in the AWS Lambda Developer Guide. /// /// public partial class AmazonLambdaClient : AmazonServiceClient, IAmazonLambda { private static IServiceMetadata serviceMetadata = new AmazonLambdaMetadata(); #region Constructors /// /// Constructs AmazonLambdaClient with AWS Credentials /// /// AWS Credentials public AmazonLambdaClient(AWSCredentials credentials) : this(credentials, new AmazonLambdaConfig()) { } /// /// Constructs AmazonLambdaClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonLambdaClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonLambdaConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonLambdaClient with AWS Credentials and an /// AmazonLambdaClient Configuration object. /// /// AWS Credentials /// The AmazonLambdaClient Configuration Object public AmazonLambdaClient(AWSCredentials credentials, AmazonLambdaConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonLambdaConfig()) { } /// /// Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonLambdaConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonLambdaClient with AWS Access Key ID, AWS Secret Key and an /// AmazonLambdaClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonLambdaClient Configuration Object public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonLambdaConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLambdaConfig()) { } /// /// Constructs AmazonLambdaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLambdaConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonLambdaClient with AWS Access Key ID, AWS Secret Key and an /// AmazonLambdaClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonLambdaClient Configuration Object public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonLambdaConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AddLayerVersionPermission /// /// Initiates the asynchronous execution of the AddLayerVersionPermission operation. /// /// /// Container for the necessary parameters to execute the AddLayerVersionPermission operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for AddLayerVersionPermission Operation public virtual void AddLayerVersionPermissionAsync(AddLayerVersionPermissionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AddLayerVersionPermissionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AddLayerVersionPermissionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AddLayerVersionPermissionRequest)req, (AddLayerVersionPermissionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region AddPermission /// /// Initiates the asynchronous execution of the AddPermission operation. /// /// /// Container for the necessary parameters to execute the AddPermission operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for AddPermission Operation public virtual void AddPermissionAsync(AddPermissionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AddPermissionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AddPermissionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AddPermissionRequest)req, (AddPermissionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateAlias /// /// Initiates the asynchronous execution of the CreateAlias operation. /// /// /// Container for the necessary parameters to execute the CreateAlias operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for CreateAlias Operation public virtual void CreateAliasAsync(CreateAliasRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateAliasRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateAliasResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateAliasRequest)req, (CreateAliasResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateEventSourceMapping /// /// Initiates the asynchronous execution of the CreateEventSourceMapping operation. /// /// /// Container for the necessary parameters to execute the CreateEventSourceMapping operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for CreateEventSourceMapping Operation public virtual void CreateEventSourceMappingAsync(CreateEventSourceMappingRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateEventSourceMappingRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateEventSourceMappingResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateEventSourceMappingRequest)req, (CreateEventSourceMappingResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateFunction /// /// Initiates the asynchronous execution of the CreateFunction operation. /// /// /// Container for the necessary parameters to execute the CreateFunction operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for CreateFunction Operation public virtual void CreateFunctionAsync(CreateFunctionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateFunctionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateFunctionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateFunctionRequest)req, (CreateFunctionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteAlias /// /// Initiates the asynchronous execution of the DeleteAlias operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteAlias operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteAlias Operation public virtual void DeleteAliasAsync(DeleteAliasRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteAlias is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteAliasRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteAliasResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteAliasRequest)req, (DeleteAliasResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteEventSourceMapping /// /// Initiates the asynchronous execution of the DeleteEventSourceMapping operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteEventSourceMapping operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteEventSourceMapping Operation public virtual void DeleteEventSourceMappingAsync(DeleteEventSourceMappingRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteEventSourceMapping is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteEventSourceMappingRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteEventSourceMappingResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteEventSourceMappingRequest)req, (DeleteEventSourceMappingResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteFunction /// /// Deletes a Lambda function. To delete a specific function version, use the Qualifier /// parameter. Otherwise, all versions and aliases are deleted. /// /// /// /// To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. /// For AWS services and resources that invoke your function directly, delete the trigger /// in the service where you originally configured it. /// /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value of this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// The name of the Lambda function or version.

Name formats

  • Function name - my-function (name-only), my-function:1 (with version).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. /// An Action delegate that is invoked when the operation completes. /// /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// /// The response from the DeleteFunction service method, as returned by Lambda. /// /// One of the parameters in the request is invalid. /// /// /// The resource already exists, or another operation is in progress. /// /// /// The resource specified in the request does not exist. /// /// /// The AWS Lambda service encountered an internal error. /// /// /// The request throughput limit was exceeded. /// /// REST API Reference for DeleteFunction Operation public virtual void DeleteFunctionAsync(string functionName, AmazonServiceCallback callback, AsyncOptions options = null) { var request = new DeleteFunctionRequest(); request.FunctionName = functionName; DeleteFunctionAsync(request, callback, options); } /// /// Initiates the asynchronous execution of the DeleteFunction operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteFunction operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteFunction Operation public virtual void DeleteFunctionAsync(DeleteFunctionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteFunction is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteFunctionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteFunctionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteFunctionRequest)req, (DeleteFunctionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteFunctionConcurrency /// /// Initiates the asynchronous execution of the DeleteFunctionConcurrency operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteFunctionConcurrency operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteFunctionConcurrency Operation public virtual void DeleteFunctionConcurrencyAsync(DeleteFunctionConcurrencyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteFunctionConcurrency is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteFunctionConcurrencyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteFunctionConcurrencyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteFunctionConcurrencyRequest)req, (DeleteFunctionConcurrencyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteFunctionEventInvokeConfig /// /// Initiates the asynchronous execution of the DeleteFunctionEventInvokeConfig operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteFunctionEventInvokeConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteFunctionEventInvokeConfig Operation public virtual void DeleteFunctionEventInvokeConfigAsync(DeleteFunctionEventInvokeConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteFunctionEventInvokeConfig is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteFunctionEventInvokeConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteFunctionEventInvokeConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteFunctionEventInvokeConfigRequest)req, (DeleteFunctionEventInvokeConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteLayerVersion /// /// Initiates the asynchronous execution of the DeleteLayerVersion operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteLayerVersion operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteLayerVersion Operation public virtual void DeleteLayerVersionAsync(DeleteLayerVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteLayerVersion is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteLayerVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteLayerVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteLayerVersionRequest)req, (DeleteLayerVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteProvisionedConcurrencyConfig /// /// Initiates the asynchronous execution of the DeleteProvisionedConcurrencyConfig operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the DeleteProvisionedConcurrencyConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for DeleteProvisionedConcurrencyConfig Operation public virtual void DeleteProvisionedConcurrencyConfigAsync(DeleteProvisionedConcurrencyConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("DeleteProvisionedConcurrencyConfig is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteProvisionedConcurrencyConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteProvisionedConcurrencyConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteProvisionedConcurrencyConfigRequest)req, (DeleteProvisionedConcurrencyConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetAccountSettings /// /// Initiates the asynchronous execution of the GetAccountSettings operation. /// /// /// Container for the necessary parameters to execute the GetAccountSettings operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetAccountSettings Operation public virtual void GetAccountSettingsAsync(GetAccountSettingsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetAccountSettingsRequest)req, (GetAccountSettingsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetAlias /// /// Initiates the asynchronous execution of the GetAlias operation. /// /// /// Container for the necessary parameters to execute the GetAlias operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetAlias Operation public virtual void GetAliasAsync(GetAliasRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetAliasRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetAliasResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetAliasRequest)req, (GetAliasResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetEventSourceMapping /// /// Initiates the asynchronous execution of the GetEventSourceMapping operation. /// /// /// Container for the necessary parameters to execute the GetEventSourceMapping operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetEventSourceMapping Operation public virtual void GetEventSourceMappingAsync(GetEventSourceMappingRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetEventSourceMappingRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetEventSourceMappingResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetEventSourceMappingRequest)req, (GetEventSourceMappingResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetFunction /// /// Returns information about the function or function version, with a link to download /// the deployment package that's valid for 10 minutes. If you specify a function version, /// only details that are specific to that version are returned. /// /// The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. /// An Action delegate that is invoked when the operation completes. /// /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// /// The response from the GetFunction service method, as returned by Lambda. /// /// One of the parameters in the request is invalid. /// /// /// The resource specified in the request does not exist. /// /// /// The AWS Lambda service encountered an internal error. /// /// /// The request throughput limit was exceeded. /// /// REST API Reference for GetFunction Operation public virtual void GetFunctionAsync(string functionName, AmazonServiceCallback callback, AsyncOptions options = null) { var request = new GetFunctionRequest(); request.FunctionName = functionName; GetFunctionAsync(request, callback, options); } /// /// Initiates the asynchronous execution of the GetFunction operation. /// /// /// Container for the necessary parameters to execute the GetFunction operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetFunction Operation public virtual void GetFunctionAsync(GetFunctionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetFunctionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetFunctionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetFunctionRequest)req, (GetFunctionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetFunctionConcurrency /// /// Initiates the asynchronous execution of the GetFunctionConcurrency operation. /// /// /// Container for the necessary parameters to execute the GetFunctionConcurrency operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetFunctionConcurrency Operation public virtual void GetFunctionConcurrencyAsync(GetFunctionConcurrencyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetFunctionConcurrencyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetFunctionConcurrencyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetFunctionConcurrencyRequest)req, (GetFunctionConcurrencyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetFunctionConfiguration /// /// Returns the version-specific settings of a Lambda function or version. The output /// includes only options that can vary between versions of a function. To modify these /// settings, use UpdateFunctionConfiguration. /// /// /// /// To get all of a function's details, including function-level settings, use GetFunction. /// /// /// The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. /// An Action delegate that is invoked when the operation completes. /// /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// /// The response from the GetFunctionConfiguration service method, as returned by Lambda. /// /// One of the parameters in the request is invalid. /// /// /// The resource specified in the request does not exist. /// /// /// The AWS Lambda service encountered an internal error. /// /// /// The request throughput limit was exceeded. /// /// REST API Reference for GetFunctionConfiguration Operation public virtual void GetFunctionConfigurationAsync(string functionName, AmazonServiceCallback callback, AsyncOptions options = null) { var request = new GetFunctionConfigurationRequest(); request.FunctionName = functionName; GetFunctionConfigurationAsync(request, callback, options); } /// /// Initiates the asynchronous execution of the GetFunctionConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetFunctionConfiguration operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetFunctionConfiguration Operation public virtual void GetFunctionConfigurationAsync(GetFunctionConfigurationRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetFunctionConfigurationRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetFunctionConfigurationResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetFunctionConfigurationRequest)req, (GetFunctionConfigurationResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetFunctionEventInvokeConfig /// /// Initiates the asynchronous execution of the GetFunctionEventInvokeConfig operation. /// /// /// Container for the necessary parameters to execute the GetFunctionEventInvokeConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetFunctionEventInvokeConfig Operation public virtual void GetFunctionEventInvokeConfigAsync(GetFunctionEventInvokeConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetFunctionEventInvokeConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetFunctionEventInvokeConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetFunctionEventInvokeConfigRequest)req, (GetFunctionEventInvokeConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetLayerVersion /// /// Initiates the asynchronous execution of the GetLayerVersion operation. /// /// /// Container for the necessary parameters to execute the GetLayerVersion operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetLayerVersion Operation public virtual void GetLayerVersionAsync(GetLayerVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetLayerVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetLayerVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetLayerVersionRequest)req, (GetLayerVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetLayerVersionByArn /// /// Initiates the asynchronous execution of the GetLayerVersionByArn operation. /// /// /// Container for the necessary parameters to execute the GetLayerVersionByArn operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetLayerVersionByArn Operation public virtual void GetLayerVersionByArnAsync(GetLayerVersionByArnRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetLayerVersionByArnRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetLayerVersionByArnResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetLayerVersionByArnRequest)req, (GetLayerVersionByArnResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetLayerVersionPolicy /// /// Initiates the asynchronous execution of the GetLayerVersionPolicy operation. /// /// /// Container for the necessary parameters to execute the GetLayerVersionPolicy operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetLayerVersionPolicy Operation public virtual void GetLayerVersionPolicyAsync(GetLayerVersionPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetLayerVersionPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetLayerVersionPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetLayerVersionPolicyRequest)req, (GetLayerVersionPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetPolicy /// /// Initiates the asynchronous execution of the GetPolicy operation. /// /// /// Container for the necessary parameters to execute the GetPolicy operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetPolicy Operation public virtual void GetPolicyAsync(GetPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetPolicyRequest)req, (GetPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetProvisionedConcurrencyConfig /// /// Initiates the asynchronous execution of the GetProvisionedConcurrencyConfig operation. /// /// /// Container for the necessary parameters to execute the GetProvisionedConcurrencyConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for GetProvisionedConcurrencyConfig Operation public virtual void GetProvisionedConcurrencyConfigAsync(GetProvisionedConcurrencyConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetProvisionedConcurrencyConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetProvisionedConcurrencyConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetProvisionedConcurrencyConfigRequest)req, (GetProvisionedConcurrencyConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region Invoke /// /// Initiates the asynchronous execution of the Invoke operation. /// /// /// Container for the necessary parameters to execute the Invoke operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for Invoke Operation public virtual void InvokeAsync(InvokeRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = InvokeRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = InvokeResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((InvokeRequest)req, (InvokeResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region InvokeAsync /// /// Initiates the asynchronous execution of the InvokeAsync operation. /// /// /// Container for the necessary parameters to execute the InvokeAsync operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for InvokeAsync Operation [Obsolete("For .NET 3.5/4.5, API InvokeAsyncResponse InvokeAsync(InvokeAsyncRequest) is deprecated, use InvokeResponse Invoke(InvokeRequest), or Task InvokeAsync(InvokeRequest, CancellationToken) instead. For .NET Core and PCL, Task InvokeAsyncAsync(InvokeAsyncRequest, CancellationToken) is deprecated, use Task InvokeAsync(InvokeRequest, CancellationToken) instead.")] public virtual void InvokeAsyncAsync(InvokeAsyncRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = InvokeAsyncRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = InvokeAsyncResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((InvokeAsyncRequest)req, (InvokeAsyncResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListAliases /// /// Initiates the asynchronous execution of the ListAliases operation. /// /// /// Container for the necessary parameters to execute the ListAliases operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListAliases Operation public virtual void ListAliasesAsync(ListAliasesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListAliasesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListAliasesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListAliasesRequest)req, (ListAliasesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListEventSourceMappings /// /// Initiates the asynchronous execution of the ListEventSourceMappings operation. /// /// /// Container for the necessary parameters to execute the ListEventSourceMappings operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListEventSourceMappings Operation public virtual void ListEventSourceMappingsAsync(ListEventSourceMappingsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListEventSourceMappingsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListEventSourceMappingsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListEventSourceMappingsRequest)req, (ListEventSourceMappingsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListFunctionEventInvokeConfigs /// /// Initiates the asynchronous execution of the ListFunctionEventInvokeConfigs operation. /// /// /// Container for the necessary parameters to execute the ListFunctionEventInvokeConfigs operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListFunctionEventInvokeConfigs Operation public virtual void ListFunctionEventInvokeConfigsAsync(ListFunctionEventInvokeConfigsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListFunctionEventInvokeConfigsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListFunctionEventInvokeConfigsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListFunctionEventInvokeConfigsRequest)req, (ListFunctionEventInvokeConfigsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListFunctions /// /// Returns a list of Lambda functions, with the version-specific configuration of each. /// /// /// /// Set FunctionVersion to ALL to include all published versions /// of each function in addition to the unpublished version. To get more information about /// a function or version, use GetFunction. /// /// /// An Action delegate that is invoked when the operation completes. /// /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// /// The response from the ListFunctions service method, as returned by Lambda. /// /// One of the parameters in the request is invalid. /// /// /// The AWS Lambda service encountered an internal error. /// /// /// The request throughput limit was exceeded. /// /// REST API Reference for ListFunctions Operation public virtual void ListFunctionsAsync( AmazonServiceCallback callback, AsyncOptions options = null) { var request = new ListFunctionsRequest(); ListFunctionsAsync(request, callback, options); } /// /// Initiates the asynchronous execution of the ListFunctions operation. /// /// /// Container for the necessary parameters to execute the ListFunctions operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListFunctions Operation public virtual void ListFunctionsAsync(ListFunctionsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListFunctionsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListFunctionsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListFunctionsRequest)req, (ListFunctionsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListLayers /// /// Initiates the asynchronous execution of the ListLayers operation. /// /// /// Container for the necessary parameters to execute the ListLayers operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListLayers Operation public virtual void ListLayersAsync(ListLayersRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListLayersRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListLayersResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListLayersRequest)req, (ListLayersResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListLayerVersions /// /// Initiates the asynchronous execution of the ListLayerVersions operation. /// /// /// Container for the necessary parameters to execute the ListLayerVersions operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListLayerVersions Operation public virtual void ListLayerVersionsAsync(ListLayerVersionsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListLayerVersionsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListLayerVersionsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListLayerVersionsRequest)req, (ListLayerVersionsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListProvisionedConcurrencyConfigs /// /// Initiates the asynchronous execution of the ListProvisionedConcurrencyConfigs operation. /// /// /// Container for the necessary parameters to execute the ListProvisionedConcurrencyConfigs operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListProvisionedConcurrencyConfigs Operation public virtual void ListProvisionedConcurrencyConfigsAsync(ListProvisionedConcurrencyConfigsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListProvisionedConcurrencyConfigsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListProvisionedConcurrencyConfigsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListProvisionedConcurrencyConfigsRequest)req, (ListProvisionedConcurrencyConfigsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListTags /// /// Initiates the asynchronous execution of the ListTags operation. /// /// /// Container for the necessary parameters to execute the ListTags operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListTags Operation public virtual void ListTagsAsync(ListTagsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListTagsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListTagsRequest)req, (ListTagsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListVersionsByFunction /// /// Initiates the asynchronous execution of the ListVersionsByFunction operation. /// /// /// Container for the necessary parameters to execute the ListVersionsByFunction operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for ListVersionsByFunction Operation public virtual void ListVersionsByFunctionAsync(ListVersionsByFunctionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListVersionsByFunctionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListVersionsByFunctionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListVersionsByFunctionRequest)req, (ListVersionsByFunctionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PublishLayerVersion /// /// Initiates the asynchronous execution of the PublishLayerVersion operation. /// /// /// Container for the necessary parameters to execute the PublishLayerVersion operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for PublishLayerVersion Operation public virtual void PublishLayerVersionAsync(PublishLayerVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PublishLayerVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PublishLayerVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PublishLayerVersionRequest)req, (PublishLayerVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PublishVersion /// /// Initiates the asynchronous execution of the PublishVersion operation. /// /// /// Container for the necessary parameters to execute the PublishVersion operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for PublishVersion Operation public virtual void PublishVersionAsync(PublishVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PublishVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PublishVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PublishVersionRequest)req, (PublishVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutFunctionConcurrency /// /// Initiates the asynchronous execution of the PutFunctionConcurrency operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the PutFunctionConcurrency operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for PutFunctionConcurrency Operation public virtual void PutFunctionConcurrencyAsync(PutFunctionConcurrencyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("PutFunctionConcurrency is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutFunctionConcurrencyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutFunctionConcurrencyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutFunctionConcurrencyRequest)req, (PutFunctionConcurrencyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutFunctionEventInvokeConfig /// /// Initiates the asynchronous execution of the PutFunctionEventInvokeConfig operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the PutFunctionEventInvokeConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for PutFunctionEventInvokeConfig Operation public virtual void PutFunctionEventInvokeConfigAsync(PutFunctionEventInvokeConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("PutFunctionEventInvokeConfig is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutFunctionEventInvokeConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutFunctionEventInvokeConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutFunctionEventInvokeConfigRequest)req, (PutFunctionEventInvokeConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutProvisionedConcurrencyConfig /// /// Initiates the asynchronous execution of the PutProvisionedConcurrencyConfig operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the PutProvisionedConcurrencyConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for PutProvisionedConcurrencyConfig Operation public virtual void PutProvisionedConcurrencyConfigAsync(PutProvisionedConcurrencyConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("PutProvisionedConcurrencyConfig is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutProvisionedConcurrencyConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutProvisionedConcurrencyConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutProvisionedConcurrencyConfigRequest)req, (PutProvisionedConcurrencyConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region RemoveLayerVersionPermission /// /// Initiates the asynchronous execution of the RemoveLayerVersionPermission operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the RemoveLayerVersionPermission operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for RemoveLayerVersionPermission Operation public virtual void RemoveLayerVersionPermissionAsync(RemoveLayerVersionPermissionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("RemoveLayerVersionPermission is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = RemoveLayerVersionPermissionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = RemoveLayerVersionPermissionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((RemoveLayerVersionPermissionRequest)req, (RemoveLayerVersionPermissionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region RemovePermission /// /// Initiates the asynchronous execution of the RemovePermission operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the RemovePermission operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for RemovePermission Operation public virtual void RemovePermissionAsync(RemovePermissionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("RemovePermission is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = RemovePermissionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = RemovePermissionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((RemovePermissionRequest)req, (RemovePermissionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region TagResource /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for TagResource Operation public virtual void TagResourceAsync(TagResourceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = TagResourceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((TagResourceRequest)req, (TagResourceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UntagResource /// /// Initiates the asynchronous execution of the UntagResource operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for UntagResource Operation public virtual void UntagResourceAsync(UntagResourceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("UntagResource is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UntagResourceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UntagResourceRequest)req, (UntagResourceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateAlias /// /// Initiates the asynchronous execution of the UpdateAlias operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the UpdateAlias operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for UpdateAlias Operation public virtual void UpdateAliasAsync(UpdateAliasRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("UpdateAlias is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateAliasRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateAliasResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateAliasRequest)req, (UpdateAliasResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateEventSourceMapping /// /// Initiates the asynchronous execution of the UpdateEventSourceMapping operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the UpdateEventSourceMapping operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for UpdateEventSourceMapping Operation public virtual void UpdateEventSourceMappingAsync(UpdateEventSourceMappingRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("UpdateEventSourceMapping is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateEventSourceMappingRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateEventSourceMappingResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateEventSourceMappingRequest)req, (UpdateEventSourceMappingResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateFunctionCode /// /// Initiates the asynchronous execution of the UpdateFunctionCode operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the UpdateFunctionCode operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for UpdateFunctionCode Operation public virtual void UpdateFunctionCodeAsync(UpdateFunctionCodeRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("UpdateFunctionCode is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateFunctionCodeRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateFunctionCodeResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateFunctionCodeRequest)req, (UpdateFunctionCodeResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateFunctionConfiguration /// /// Initiates the asynchronous execution of the UpdateFunctionConfiguration operation. /// This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value for this configuration option is AWSConfigs.HttpClientOption.UnityWWW /// /// /// Container for the necessary parameters to execute the UpdateFunctionConfiguration operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for UpdateFunctionConfiguration Operation public virtual void UpdateFunctionConfigurationAsync(UpdateFunctionConfigurationRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { if (AWSConfigs.HttpClient == AWSConfigs.HttpClientOption.UnityWWW) { throw new InvalidOperationException("UpdateFunctionConfiguration is only allowed with AWSConfigs.HttpClientOption.UnityWebRequest API option"); } options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateFunctionConfigurationRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateFunctionConfigurationResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateFunctionConfigurationRequest)req, (UpdateFunctionConfigurationResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateFunctionEventInvokeConfig /// /// Initiates the asynchronous execution of the UpdateFunctionEventInvokeConfig operation. /// /// /// Container for the necessary parameters to execute the UpdateFunctionEventInvokeConfig operation on AmazonLambdaClient. /// An Action delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// REST API Reference for UpdateFunctionEventInvokeConfig Operation public virtual void UpdateFunctionEventInvokeConfigAsync(UpdateFunctionEventInvokeConfigRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateFunctionEventInvokeConfigRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateFunctionEventInvokeConfigResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateFunctionEventInvokeConfigRequest)req, (UpdateFunctionEventInvokeConfigResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion } }