From: Yuval Lifshitz Date: Mon, 10 Feb 2025 17:07:21 +0000 (+0000) Subject: rgw/notification/logging: add bucket as context param X-Git-Tag: v20.0.0~171^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c6d3ec3d8ebb3d91fc6345e9f67c6832c8550c4;p=ceph.git 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 --- diff --git a/examples/rgw/boto3/service-2.sdk-extras.json b/examples/rgw/boto3/service-2.sdk-extras.json index d96c0f32caed..ffa5ab585f8c 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" }