Skip to content

Commit 976264b

Browse files
- Bucket locations working for real.
1 parent 0ab3e53 commit 976264b

File tree

1 file changed

+87
-1
lines changed
  • test/registry/src/aws/v0.1.0/services

1 file changed

+87
-1
lines changed

test/registry/src/aws/v0.1.0/services/s3.yaml

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,92 @@ paths:
879879
$ref: '#/components/schemas/ObjectNotInActiveTierError'
880880
description: |-
881881
The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier.
882+
/{Bucket}?max-keys=1000:
883+
get:
884+
description: "This operation is not supported for directory buckets.\n\nReturns\
885+
\ some or all (up to 1,000) of the objects in a bucket. You can use the request\
886+
\ parameters as selection criteria to return a subset of the objects in a\
887+
\ bucket. A 200 OK response can contain valid or invalid XML. Be sure to design\
888+
\ your application to parse the contents of the response and handle it appropriately.\n\
889+
\nThis action has been revised. We recommend that you use the newer version,\
890+
\ [ListObjectsV2](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html),\
891+
\ when developing applications. For backward compatibility, Amazon S3 continues\
892+
\ to support `ListObjects`.\n\nThe following operations are related to `ListObjects`:\n\
893+
\n * [ListObjectsV2](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html)\n\
894+
\n * [GetObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)\n\
895+
\n * [PutObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)\n\
896+
\n * [CreateBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)\n\
897+
\n * [ListBuckets](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html)\n\
898+
\nYou must URL encode any signed header values that contain spaces. For example,\
899+
\ if your header value is `my file.txt`, containing two spaces after `my`,\
900+
\ you must URL encode this value to `my%20%20file.txt`."
901+
operationId: ListObjects
902+
parameters:
903+
- in: path
904+
name: Bucket
905+
required: true
906+
schema:
907+
$ref: '#/components/schemas/BucketName'
908+
- in: header
909+
name: x-amz-content-sha256
910+
required: false
911+
schema:
912+
default: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
913+
type: string
914+
- in: query
915+
name: delimiter
916+
required: false
917+
schema:
918+
$ref: '#/components/schemas/Delimiter'
919+
- in: query
920+
name: encoding-type
921+
required: false
922+
schema:
923+
$ref: '#/components/schemas/EncodingType'
924+
- in: query
925+
name: marker
926+
required: false
927+
schema:
928+
$ref: '#/components/schemas/Marker'
929+
- in: query
930+
name: max_keys
931+
required: false
932+
schema:
933+
type: integer
934+
default: 1000
935+
- in: query
936+
name: prefix
937+
required: false
938+
schema:
939+
$ref: '#/components/schemas/Prefix'
940+
- in: header
941+
name: x-amz-request-payer
942+
required: false
943+
schema:
944+
$ref: '#/components/schemas/RequestPayer'
945+
- in: header
946+
name: x-amz-expected-bucket-owner
947+
required: false
948+
schema:
949+
$ref: '#/components/schemas/AccountId'
950+
- in: header
951+
name: x-amz-optional-object-attributes
952+
required: false
953+
schema:
954+
$ref: '#/components/schemas/OptionalObjectAttributesList'
955+
responses:
956+
'200':
957+
content:
958+
text/xml:
959+
schema:
960+
$ref: '#/components/schemas/ListObjectsOutput'
961+
description: Success
962+
'404':
963+
content:
964+
text/xml:
965+
schema:
966+
$ref: '#/components/schemas/NoSuchBucket'
967+
description: The specified bucket does not exist.
882968
/{Bucket}:
883969
put:
884970
operationId: CreateBucket
@@ -23120,7 +23206,7 @@ components:
2312023206
openAPIDocKey: '200'
2312123207
list_objects:
2312223208
operation:
23123-
$ref: '#/paths/~1{Bucket}/get'
23209+
$ref: '#/paths/~1{Bucket}?max-keys=1000/get'
2312423210
response:
2312523211
mediaType: text/xml
2312623212
openAPIDocKey: '200'

0 commit comments

Comments
 (0)