How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • const getQueryResultsJob = new tasks.AthenaGetQueryResults(this, 'Get Query Results', {
      queryExecutionId: sfn.JsonPath.stringAt('$.QueryExecutionId'),
    });
    
    Docs
    0
  • const getQueryExecutionJob = new tasks.AthenaGetQueryExecution(this, 'Get Query Execution', {
      queryExecutionId: sfn.JsonPath.stringAt('$.QueryExecutionId'),
    });
    
    Docs
    0
  • const startQueryExecutionJob = new tasks.AthenaStartQueryExecution(this, 'Athena Start Query', {
      queryString: sfn.JsonPath.stringAt("States.Format('select contacts where year={};', $.year)"),
      queryExecutionContext: {
        databaseName: 'interactions',
      },
      resultConfiguration: {
        encryptionConfiguration: {
          encryptionOption: tasks.EncryptionOption.S3_MANAGED,
        },
        outputLocation: {
          bucketName: 'mybucket',
          objectKey: 'myprefix',
        },
      },
      integrationPattern: sfn.IntegrationPattern.RUN_JOB,
    });
    
    Docs
    0
  • const startQueryExecutionJob = new tasks.AthenaStartQueryExecution(this, 'Start Athena Query', {
      queryString: sfn.JsonPath.stringAt('$.queryString'),
      queryExecutionContext: {
        databaseName: 'mydatabase',
      },
      resultConfiguration: {
        encryptionConfiguration: {
          encryptionOption: tasks.EncryptionOption.S3_MANAGED,
        },
        outputLocation: {
          bucketName: 'query-results-bucket',
          objectKey: 'folder',
        },
      },
    });
    
    Docs
    0
  • const stopQueryExecutionJob = new tasks.AthenaStopQueryExecution(this, 'Stop Query Execution', {
      queryExecutionId: sfn.JsonPath.stringAt('$.QueryExecutionId'),
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as lambda from '@aws-cdk/aws-lambda';
    import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
    import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
    
    declare const function_: lambda.Function;
    declare const taskInput: stepfunctions.TaskInput;
    
    const runLambdaTask = new stepfunctions_tasks.RunLambdaTask(function_, /* all optional props */ {
      clientContext: 'clientContext',
      integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
      invocationType: stepfunctions_tasks.InvocationType.REQUEST_RESPONSE,
      payload: taskInput,
      qualifier: 'qualifier',
    });
    
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples