public void LambdaDeleteFunctionEventInvokeConfig()
        {
            #region to-delete-an-asynchronous-invocation-configuration-1586481102187

            var response = client.DeleteFunctionEventInvokeConfig(new DeleteFunctionEventInvokeConfigRequest
            {
                FunctionName = "my-function",
                Qualifier    = "GREEN"
            });


            #endregion
        }
示例#2
0
 private Amazon.Lambda.Model.DeleteFunctionEventInvokeConfigResponse CallAWSServiceOperation(IAmazonLambda client, Amazon.Lambda.Model.DeleteFunctionEventInvokeConfigRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Lambda", "DeleteFunctionEventInvokeConfig");
     try
     {
         #if DESKTOP
         return(client.DeleteFunctionEventInvokeConfig(request));
         #elif CORECLR
         return(client.DeleteFunctionEventInvokeConfigAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }