]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/notification/logging: add bucket as context param 61759/head
authorYuval Lifshitz <ylifshit@ibm.com>
Mon, 10 Feb 2025 17:07:21 +0000 (17:07 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 10 Feb 2025 17:07:21 +0000 (17:07 +0000)
when URI has the form: "/{Bucket}?<action>"
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 <ylifshit@ibm.com>
examples/rgw/boto3/service-2.sdk-extras.json

index d96c0f32caed1033670801c7192a64eb899afa0d..ffa5ab585f8c6c45602bfb9df955ae3ec6468140 100644 (file)
                 "Bucket":{
                     "shape":"BucketName",
                     "documentation":"<p>Name of the bucket to delete the notifications configuration from.</p>",
+                    "contextParam":{"name":"Bucket"},
                     "location":"uri",
                     "locationName":"Bucket"
                 },
                 "Bucket":{
                     "shape":"BucketName",
                     "documentation":"<p>Name of the bucket to flush its logging objects.</p>",
+                    "contextParam":{"name":"Bucket"},
                     "location":"uri",
                     "locationName":"Bucket"
                 }