From 7867ee1b954001ecf290b379dc3fa6319cbd46f4 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:41:22 -0700 Subject: [PATCH] fix(client-s3-control): populate memberName as contextParams value (#6376) --- .../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 +- scripts/generate-clients/config.js | 2 +- 7 files changed, 7 insertions(+), 7 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) { 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) {