From 1f30d80a7264fe008ab37901c16a7f18970c60df Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Mon, 12 Aug 2024 16:19:46 +0000 Subject: [PATCH 1/2] fix(client-s3-control): populate memberName as contextParams value --- .../client-s3-control/src/commands/DeleteAccessPointCommand.ts | 2 +- .../src/commands/DeleteAccessPointPolicyCommand.ts | 2 +- clients/client-s3-control/src/commands/GetAccessPointCommand.ts | 2 +- .../src/commands/GetAccessPointPolicyCommand.ts | 2 +- .../src/commands/GetAccessPointPolicyStatusCommand.ts | 2 +- .../src/commands/PutAccessPointPolicyCommand.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/client-s3-control/src/commands/DeleteAccessPointCommand.ts b/clients/client-s3-control/src/commands/DeleteAccessPointCommand.ts index fd2bc43152af..8f8a0681c6b6 100644 --- a/clients/client-s3-control/src/commands/DeleteAccessPointCommand.ts +++ b/clients/client-s3-control/src/commands/DeleteAccessPointCommand.ts @@ -90,7 +90,7 @@ export class DeleteAccessPointCommand extends $Command .ep({ ...commonParams, RequiresAccountId: { type: "staticContextParams", value: true }, - AccessPointName: { type: "contextParams", name: "AccessPointName" }, + AccessPointName: { type: "contextParams", name: "Name" }, AccountId: { type: "contextParams", name: "AccountId" }, }) .m(function (this: any, Command: any, cs: any, config: S3ControlClientResolvedConfig, o: any) { diff --git a/clients/client-s3-control/src/commands/DeleteAccessPointPolicyCommand.ts b/clients/client-s3-control/src/commands/DeleteAccessPointPolicyCommand.ts index cafc67402199..f093b5d518e3 100644 --- a/clients/client-s3-control/src/commands/DeleteAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/src/commands/DeleteAccessPointPolicyCommand.ts @@ -86,7 +86,7 @@ export class DeleteAccessPointPolicyCommand extends $Command .ep({ ...commonParams, RequiresAccountId: { type: "staticContextParams", value: true }, - AccessPointName: { type: "contextParams", name: "AccessPointName" }, + AccessPointName: { type: "contextParams", name: "Name" }, AccountId: { type: "contextParams", name: "AccountId" }, }) .m(function (this: any, Command: any, cs: any, config: S3ControlClientResolvedConfig, o: any) { diff --git a/clients/client-s3-control/src/commands/GetAccessPointCommand.ts b/clients/client-s3-control/src/commands/GetAccessPointCommand.ts index b9254a0d851f..222d37126274 100644 --- a/clients/client-s3-control/src/commands/GetAccessPointCommand.ts +++ b/clients/client-s3-control/src/commands/GetAccessPointCommand.ts @@ -111,7 +111,7 @@ export class GetAccessPointCommand extends $Command .ep({ ...commonParams, RequiresAccountId: { type: "staticContextParams", value: true }, - AccessPointName: { type: "contextParams", name: "AccessPointName" }, + AccessPointName: { type: "contextParams", name: "Name" }, AccountId: { type: "contextParams", name: "AccountId" }, }) .m(function (this: any, Command: any, cs: any, config: S3ControlClientResolvedConfig, o: any) { diff --git a/clients/client-s3-control/src/commands/GetAccessPointPolicyCommand.ts b/clients/client-s3-control/src/commands/GetAccessPointPolicyCommand.ts index 221401339e71..a176551d3c58 100644 --- a/clients/client-s3-control/src/commands/GetAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/src/commands/GetAccessPointPolicyCommand.ts @@ -86,7 +86,7 @@ export class GetAccessPointPolicyCommand extends $Command .ep({ ...commonParams, RequiresAccountId: { type: "staticContextParams", value: true }, - AccessPointName: { type: "contextParams", name: "AccessPointName" }, + AccessPointName: { type: "contextParams", name: "Name" }, AccountId: { type: "contextParams", name: "AccountId" }, }) .m(function (this: any, Command: any, cs: any, config: S3ControlClientResolvedConfig, o: any) { diff --git a/clients/client-s3-control/src/commands/GetAccessPointPolicyStatusCommand.ts b/clients/client-s3-control/src/commands/GetAccessPointPolicyStatusCommand.ts index fb3697417d29..a0eeb975b847 100644 --- a/clients/client-s3-control/src/commands/GetAccessPointPolicyStatusCommand.ts +++ b/clients/client-s3-control/src/commands/GetAccessPointPolicyStatusCommand.ts @@ -77,7 +77,7 @@ export class GetAccessPointPolicyStatusCommand extends $Command .ep({ ...commonParams, RequiresAccountId: { type: "staticContextParams", value: true }, - AccessPointName: { type: "contextParams", name: "AccessPointName" }, + AccessPointName: { type: "contextParams", name: "Name" }, AccountId: { type: "contextParams", name: "AccountId" }, }) .m(function (this: any, Command: any, cs: any, config: S3ControlClientResolvedConfig, o: any) { diff --git a/clients/client-s3-control/src/commands/PutAccessPointPolicyCommand.ts b/clients/client-s3-control/src/commands/PutAccessPointPolicyCommand.ts index 72731d0baff5..a34c556ff412 100644 --- a/clients/client-s3-control/src/commands/PutAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/src/commands/PutAccessPointPolicyCommand.ts @@ -89,7 +89,7 @@ export class PutAccessPointPolicyCommand extends $Command .ep({ ...commonParams, RequiresAccountId: { type: "staticContextParams", value: true }, - AccessPointName: { type: "contextParams", name: "AccessPointName" }, + AccessPointName: { type: "contextParams", name: "Name" }, AccountId: { type: "contextParams", name: "AccountId" }, }) .m(function (this: any, Command: any, cs: any, config: S3ControlClientResolvedConfig, o: any) { From 74266fa01f3da155edb7e1928204d34b793b5856 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:52:56 +0000 Subject: [PATCH 2/2] chore(codegen): populate memberName as contextParams value --- scripts/generate-clients/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-clients/config.js b/scripts/generate-clients/config.js index 38a34e5cc911..849cb6b84e4b 100644 --- a/scripts/generate-clients/config.js +++ b/scripts/generate-clients/config.js @@ -1,7 +1,7 @@ // Update this commit when taking up new changes from smithy-typescript. module.exports = { // Use full commit hash as we explicitly fetch it. - SMITHY_TS_COMMIT: "7d4691ca45a17efbdfba4afb0a31b48edbf8ba60", + SMITHY_TS_COMMIT: "fa63800730b1a7a59e231965941d2006dc031662", }; if (module.exports.SMITHY_TS_COMMIT.length < 40) {