Skip to content

Commit

Permalink
examples: boto3: support append object apiVersion
Browse files Browse the repository at this point in the history
Put Object takes a `--append` `--append-position` params which allows for
appendable objects. Also PutObject api response has a AppendPosition output
which displays the next position to append to

Signed-off-by: Abhishek Lekshmanan <[email protected]>
  • Loading branch information
theanalyst committed Feb 4, 2020
1 parent 1ca532d commit dbdf49e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions examples/boto3/service-2.sdk-extras.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,34 @@
}
},
"AllowUnordered":{"type":"boolean"},
"PutObjectRequest": {
"members": {
"AppendPosition": {
"shape":"AppendPosition",
"documentation": "<p>Position to allow appending</p>",
"location": "querystring",
"locationName": "position"
},
"Append": {
"shape":"Append",
"documentation":"<p>Append Object</p>",
"location": "querystring",
"locationName": "append"
}
}
},
"Append": {"type":"boolean"},
"AppendPosition":{"type":"integer"},
"PutObjectOutput": {
"members": {
"AppendPosition": {
"shape":"AppendPosition",
"documentation": "<p>Position to allow appending</p>",
"location": "header",
"locationName": "x-rgw-next-append-position"
}
}
},
"GetBucketNotificationConfigurationRequest":{
"type":"structure",
"required":["Bucket"],
Expand Down

0 comments on commit dbdf49e

Please sign in to comment.