Skip to content

Instantly share code, notes, and snippets.

@cbodley
Created September 18, 2019 14:59
Show Gist options
  • Save cbodley/eaf483f1e372224b130e15757d9e5634 to your computer and use it in GitHub Desktop.
Save cbodley/eaf483f1e372224b130e15757d9e5634 to your computer and use it in GitHub Desktop.
boto3 extension for allow-unordered in s3 ListObjectsRequest
{
"version": 1.0,
"merge": {
"shapes": {
"ListObjectsRequest": {
"members": {
"AllowUnordered": {
"shape":"AllowUnordered",
"documentation":"<p>Allow the listing results to be returned in unsorted order. This may be faster when listing very large buckets.</p>",
"location":"querystring",
"locationName":"allow-unordered"
}
}
},
"AllowUnordered":{"type":"boolean"}
}
}
}
@robbat2
Copy link

robbat2 commented Sep 18, 2019

For anybody else reading this, place the file at ~/.aws/models/s3/2006-03-01/service-2.sdk-extras.json, and then use the demo code in https://gist.github.com/cbodley/7ecbbaf4d220a120b2a893a4abf7ba0d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment