Skip to content

Commit

Permalink
update aws-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Feb 14, 2024
1 parent 0ce163a commit c6ad3e0
Show file tree
Hide file tree
Showing 19 changed files with 1,575 additions and 1,359 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
silent: true, // uncomment this to get console.log
// silent: true, // uncomment this to get console.log
preset: 'ts-jest',
projects: [{
displayName: 'unit tests',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@types/jest": "^29.5.5",
"@types/swagger-ui-dist": "^3.30.3",
"aws-cdk": "2.100.0",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock-jest": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"aws-sdk-client-mock-jest": "^3.0.1",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/constructs/active-ruleset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-ses": "3.414.0",
"@aws-sdk/client-ses": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
2 changes: 1 addition & 1 deletion packages/constructs/cloudfront-invalidation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-cloudfront": "3.414.0",
"@aws-sdk/client-cloudfront": "3.513.0",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions packages/constructs/cross-region-stack-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-ssm": "3.414.0",
"@aws-sdk/client-sts": "3.414.0",
"@aws-sdk/client-ssm": "3.513.0",
"@aws-sdk/client-sts": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
2 changes: 1 addition & 1 deletion packages/constructs/edge-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
10 changes: 5 additions & 5 deletions packages/constructs/email-receiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "3.414.0",
"@aws-sdk/client-secrets-manager": "3.414.0",
"@aws-sdk/client-sesv2": "3.414.0",
"@aws-sdk/lib-dynamodb": "3.414.0",
"@aws-sdk/client-dynamodb": "3.513.0",
"@aws-sdk/client-secrets-manager": "3.513.0",
"@aws-sdk/client-sesv2": "3.513.0",
"@aws-sdk/lib-dynamodb": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/email-receiver-types": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
Expand All @@ -48,7 +48,7 @@
"@types/mailparser": "^3.4.0",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70",
"mailparser": "^3.6.5"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('verification-waiter', () => {

it('should error if it gets an invalid status back from AWS', async () => {
sesv2Mock.on(GetEmailIdentityCommand).resolvesOnce({
VerificationStatus: 'something weird',
VerificationStatus: 'something weird' as any,
})
const result = await onEvent(genEvent('email-identity-name'))
expect(result.Status).toBe('FAILED')
Expand Down
4 changes: 2 additions & 2 deletions packages/constructs/entra-id-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-secrets-manager": "3.414.0",
"@aws-sdk/client-secrets-manager": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
Expand All @@ -49,7 +49,7 @@
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70",
"ts-node": "^10.9.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/constructs/reapit-product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/constructs/replicated-key/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-kms": "3.414.0",
"@aws-sdk/client-kms": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
4 changes: 2 additions & 2 deletions packages/constructs/replicated-secret/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-secrets-manager": "3.414.0",
"@aws-sdk/client-secrets-manager": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
4 changes: 2 additions & 2 deletions packages/constructs/service-quotas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-service-quotas": "3.414.0",
"@aws-sdk/client-service-quotas": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70",
"ts-node": "^10.9.2",
"varname": "^6.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/constructs/userpool-domain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-cognito-identity-provider": "3.414.0",
"@aws-sdk/client-cognito-identity-provider": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
8 changes: 4 additions & 4 deletions packages/constructs/wildcard-certificate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
"constructs": "^10.2.70"
},
"devDependencies": {
"@aws-sdk/client-acm": "3.414.0",
"@aws-sdk/client-route-53": "3.414.0",
"@aws-sdk/client-sts": "3.414.0",
"@aws-sdk/client-acm": "3.513.0",
"@aws-sdk/client-route-53": "3.513.0",
"@aws-sdk/client-sts": "3.513.0",
"@reapit-cdk/custom-resource-wrapper": "workspace:^",
"@reapit-cdk/eslint-config": "workspace:^",
"@reapit-cdk/integration-tests": "workspace:^",
"@reapit-cdk/jsii": "workspace:^",
"@reapit-cdk/tsup": "workspace:^",
"aws-cdk-lib": "^2.96.2",
"aws-lambda": "^1.0.7",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock": "^3.0.1",
"constructs": "^10.2.70"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ResourceRecord } from '@aws-sdk/client-acm'
import {
Change,
ChangeResourceRecordSetsCommand,
Route53Client,
waitUntilResourceRecordSetsChanged,
Expand Down Expand Up @@ -29,7 +30,7 @@ export const ensureDnsRecords = async (
credentials: roleArn ? await assumeRole({ roleArn }) : undefined,
})

const Changes = [
const Changes: Change[] = [
{
Action: 'UPSERT',
ResourceRecordSet: {
Expand Down
Loading

0 comments on commit c6ad3e0

Please sign in to comment.