From 2c6d3ec3d8ebb3d91fc6345e9f67c6832c8550c4 Mon Sep 17 00:00:00 2001 From: Yuval Lifshitz Date: Mon, 10 Feb 2025 17:07:21 +0000 Subject: [PATCH] rgw/notification/logging: add bucket as context param when URI has the form: "/{Bucket}?" the "Bucket" parameter has to be added as context parameter for botocore based clients to send the operation as a bucket operation Signed-off-by: Yuval Lifshitz --- examples/rgw/boto3/service-2.sdk-extras.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/rgw/boto3/service-2.sdk-extras.json b/examples/rgw/boto3/service-2.sdk-extras.json index d96c0f32caed1..ffa5ab585f8c6 100644 --- a/examples/rgw/boto3/service-2.sdk-extras.json +++ b/examples/rgw/boto3/service-2.sdk-extras.json @@ -146,6 +146,7 @@ "Bucket":{ "shape":"BucketName", "documentation":"

Name of the bucket to delete the notifications configuration from.

", + "contextParam":{"name":"Bucket"}, "location":"uri", "locationName":"Bucket" }, @@ -164,6 +165,7 @@ "Bucket":{ "shape":"BucketName", "documentation":"

Name of the bucket to flush its logging objects.

", + "contextParam":{"name":"Bucket"}, "location":"uri", "locationName":"Bucket" } -- 2.39.5