Yousef
09/24/2021, 3:40 PMAdrián Mouly
09/24/2021, 4:06 PMDennis Dang
09/28/2021, 6:19 AMthdxr
09/29/2021, 9:36 PMRoss Coundon
10/01/2021, 8:45 AMAshishkumar Pandey
10/04/2021, 12:51 AM-cron.attachPermissions([
  new cdk.aws() -
    iam.PolicyStatement({
      actions: ["execute-api:Invoke"],
      effect: cdk.aws - iam.Effect.ALLOW,
      resources: [
        `arn:aws:execute-api:${region}:${account}:${api.httpApiId}/*`,
      ],
    }),
]);thdxr
10/04/2021, 4:55 PMthdxr
10/07/2021, 8:12 PMAshishkumar Pandey
10/10/2021, 12:05 AM<http://ap-south-1.dev.api.com|ap-south-1.dev.api.com><http://us-west-1.dev.api.com|us-west-1.dev.api.com><http://eu-south-1.dev.api.com|eu-south-1.dev.api.com><http://dev.api.com|dev.api.com>Devin
10/11/2021, 7:36 PMthdxr
10/11/2021, 8:06 PMsst startDennis Dang
10/11/2021, 9:37 PMthdxr
10/12/2021, 12:56 PMthdxr
10/12/2021, 3:26 PMRoss Coundon
10/12/2021, 6:44 PMthdxr
10/14/2021, 2:23 PMthdxr
10/14/2021, 10:34 PMTomasz Sobczyk
10/19/2021, 12:30 PMRoss Coundon
10/20/2021, 4:56 PMthdxr
10/20/2021, 7:36 PMAshishkumar Pandey
10/21/2021, 10:35 AMSam Hulick
10/21/2021, 11:30 PMSam Hulick
10/22/2021, 2:48 PMGarret Harp
10/22/2021, 5:45 PMimport { Record, String } from 'runtypes'
const DynamoItem = Record({
  id: String,
  something: String,
  else: String
})
export const getItem = async (id: string, attributes?: Parameters<typeof DynamoItem.pick>) => {
  const { Item } = await dynamo.get({ id }, { attributes })
  if (!Item) throw new Error('No item')
  return attributes ? DynamoItem.pick(attributes).check(Item) : DynamoItem.check(Item)
}getItem('myItemId', 'id')thdxr
10/23/2021, 3:43 PMSam Hulick
10/23/2021, 10:46 PMDamjan
10/26/2021, 12:12 PMAshishkumar Pandey
10/26/2021, 12:25 PMthdxr
10/27/2021, 3:57 PMthdxr
10/27/2021, 5:51 PM