Skip to content

Commit 2c6d3ec

Browse files
committed
rgw/notification/logging: add bucket as context param
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 <[email protected]>
1 parent 274a49e commit 2c6d3ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/rgw/boto3/service-2.sdk-extras.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
"Bucket":{
147147
"shape":"BucketName",
148148
"documentation":"<p>Name of the bucket to delete the notifications configuration from.</p>",
149+
"contextParam":{"name":"Bucket"},
149150
"location":"uri",
150151
"locationName":"Bucket"
151152
},
@@ -164,6 +165,7 @@
164165
"Bucket":{
165166
"shape":"BucketName",
166167
"documentation":"<p>Name of the bucket to flush its logging objects.</p>",
168+
"contextParam":{"name":"Bucket"},
167169
"location":"uri",
168170
"locationName":"Bucket"
169171
}

0 commit comments

Comments
 (0)