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

  • declare const myTable: dynamodb.Table;
    new tasks.DynamoPutItem(this, 'PutItem', {
      item: {
        MessageId: tasks.DynamoAttributeValue.fromString('message-007'),
        Text: tasks.DynamoAttributeValue.fromString(sfn.JsonPath.stringAt('$.bar')),
        TotalCount: tasks.DynamoAttributeValue.fromNumber(10),
      },
      table: myTable,
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoUpdateItem(this, 'UpdateItem', {
      key: {
        MessageId: tasks.DynamoAttributeValue.fromString('message-007')
      },
      table: myTable,
      expressionAttributeValues: {
        ':val': tasks.DynamoAttributeValue.numberFromString(sfn.JsonPath.stringAt('$.Item.TotalCount.N')),
        ':rand': tasks.DynamoAttributeValue.fromNumber(20),
      },
      updateExpression: 'SET TotalCount = :val + :rand',
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoGetItem(this, 'Get Item', {
      key: { messageId: tasks.DynamoAttributeValue.fromString('message-007') },
      table: myTable,
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoPutItem(this, 'PutItem', {
      item: {
        MessageId: tasks.DynamoAttributeValue.fromString('message-id'),
      },
      table: myTable,
      resultPath: `$.Item`,
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoDeleteItem(this, 'DeleteItem', {
      key: { MessageId: tasks.DynamoAttributeValue.fromString('message-007') },
      table: myTable,
      resultPath: sfn.JsonPath.DISCARD,
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoPutItem(this, 'PutItem', {
      item: {
        MessageId: tasks.DynamoAttributeValue.fromString('message-007'),
        Text: tasks.DynamoAttributeValue.fromString(sfn.JsonPath.stringAt('$.bar')),
        TotalCount: tasks.DynamoAttributeValue.fromNumber(10),
      },
      table: myTable,
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoUpdateItem(this, 'UpdateItem', {
      key: {
        MessageId: tasks.DynamoAttributeValue.fromString('message-007')
      },
      table: myTable,
      expressionAttributeValues: {
        ':val': tasks.DynamoAttributeValue.numberFromString(sfn.JsonPath.stringAt('$.Item.TotalCount.N')),
        ':rand': tasks.DynamoAttributeValue.fromNumber(20),
      },
      updateExpression: 'SET TotalCount = :val + :rand',
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoUpdateItem(this, 'UpdateItem', {
      key: {
        MessageId: tasks.DynamoAttributeValue.fromString('message-007')
      },
      table: myTable,
      expressionAttributeValues: {
        ':val': tasks.DynamoAttributeValue.numberFromString(sfn.JsonPath.stringAt('$.Item.TotalCount.N')),
        ':rand': tasks.DynamoAttributeValue.fromNumber(20),
      },
      updateExpression: 'SET TotalCount = :val + :rand',
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoGetItem(this, 'Get Item', {
      key: { messageId: tasks.DynamoAttributeValue.fromString('message-007') },
      table: myTable,
    });
    
    Docs
    0
  • declare const myTable: dynamodb.Table;
    new tasks.DynamoDeleteItem(this, 'DeleteItem', {
      key: { MessageId: tasks.DynamoAttributeValue.fromString('message-007') },
      table: myTable,
      resultPath: sfn.JsonPath.DISCARD,
    });
    
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples