Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform API updates published till JS SDK v2 maintenance mode #939

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wicked-gorillas-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"aws-sdk-js-codemod": patch
---

Transform API updates published till JS SDK v2 maintenance mode
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@tsconfig/node16": "^16.1.3",
"@types/jscodeshift": "^0.11.11",
"@types/node": "^16.18.101",
"aws-sdk": "2.1689.0",
"aws-sdk": "2.1691.0",
"tsx": "^4.7.1",
"typescript": "~5.5.2",
"vitest": "~2.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23118,6 +23118,7 @@ export const CLIENT_REQ_RESP_TYPES_MAP: Record<string, Record<string, string>> =
UntagResourceRequest: "UntagResourceCommandInput",
UntagResourceResponse: "UntagResourceCommandOutput",
UpdateLibraryItemInput: "UpdateLibraryItemCommandInput",
UpdateLibraryItemMetadataInput: "UpdateLibraryItemMetadataCommandInput",
UpdateLibraryItemOutput: "UpdateLibraryItemCommandOutput",
UpdateQAppInput: "UpdateQAppCommandInput",
UpdateQAppOutput: "UpdateQAppCommandOutput",
Expand Down
4 changes: 4 additions & 0 deletions src/transforms/v2-to-v3/config/CLIENT_TYPES_MAP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,7 @@ export const CLIENT_TYPES_MAP: Record<string, Record<string, string>> = {
AttributeMap: "Record<string, string>",
AttributeMaps: "Array<Record<string, string>>",
Attributes: "Record<string, string>",
BudgetRequestsRemaining: "number",
BudgetSecondsRemaining: "number",
CalendarIntervalDuration: "number",
DimensionName: "string",
Expand Down Expand Up @@ -1466,6 +1467,7 @@ export const CLIENT_TYPES_MAP: Record<string, Record<string, string>> = {
TagList: "Array<Tag>",
TagValue: "string",
Timestamp: "Date",
TotalBudgetRequests: "number",
TotalBudgetSeconds: "number",
WarningThreshold: "number",
},
Expand Down Expand Up @@ -27177,8 +27179,10 @@ export const CLIENT_TYPES_MAP: Record<string, Record<string, string>> = {
HyperParameterTuningJobSummaries: "Array<HyperParameterTuningJobSummary>",
HyperParameterTuningMaxRuntimeInSeconds: "number",
HyperParameterValue: "string",
IAMRoleArn: "string",
IdempotencyToken: "string",
IdentityProviderOAuthSettings: "Array<IdentityProviderOAuthSetting>",
IdleTimeoutInMinutes: "number",
ImageArn: "string",
ImageBaseImage: "string",
ImageContainerImage: "string",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@ __metadata:
"@tsconfig/node16": "npm:^16.1.3"
"@types/jscodeshift": "npm:^0.11.11"
"@types/node": "npm:^16.18.101"
aws-sdk: "npm:2.1689.0"
aws-sdk: "npm:2.1691.0"
jscodeshift: "npm:17.0.0"
tsx: "npm:^4.7.1"
typescript: "npm:~5.5.2"
Expand All @@ -1643,9 +1643,9 @@ __metadata:
languageName: unknown
linkType: soft

"aws-sdk@npm:2.1689.0":
version: 2.1689.0
resolution: "aws-sdk@npm:2.1689.0"
"aws-sdk@npm:2.1691.0":
version: 2.1691.0
resolution: "aws-sdk@npm:2.1691.0"
dependencies:
buffer: "npm:4.9.2"
events: "npm:1.1.1"
Expand All @@ -1657,7 +1657,7 @@ __metadata:
util: "npm:^0.12.4"
uuid: "npm:8.0.0"
xml2js: "npm:0.6.2"
checksum: 10c0/52d55420f57455301b349b4c5f5a65a3ca92867a0ae1f7cdc9898f3c1967990d2214c44cb5e6f60c7df595679d29ec915cdc2dac02bc86402e72625a24bed765
checksum: 10c0/f08b279bb875ac6becc882ecde41dfd8c3766a1c836cc8e472ea62ae3e2d0316f73fc1eab6514391dedc0bb266a289f45db0ba5087178f63a78ffd2ef4edc38a
languageName: node
linkType: hard

Expand Down