From b353e25e70529719dd8c1c58a306c967b64b7c32 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] 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 fd2bc43152afb..8f8a0681c6b6e 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 cafc674021993..f093b5d518e3f 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 b9254a0d851f0..222d371262741 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 221401339e717..a176551d3c587 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 fb3697417d290..a0eeb975b847f 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 72731d0baff59..a34c556ff4122 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) {