Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #126 from aws/s3-resource-waiters
Browse files Browse the repository at this point in the history
Add S3 Waiters to S3 Resource API
  • Loading branch information
trevorrowe committed Oct 1, 2014
2 parents 37d35dc + fa85ca6 commit b3ed6fa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions aws-sdk-core/apis/S3.resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@
}
}
},
"waiters": {
"Exists": {
"waiterName": "BucketExists",
"params": [
{ "target":"Bucket", "sourceType":"identifier", "source":"Name" }
]
},
"NotExists": {
"waiterName": "BucketNotExists",
"params": [
{ "target":"Bucket", "sourceType":"identifier", "source":"Name" }
]
}
},
"hasMany": {
"Objects": {
"request": {
Expand Down Expand Up @@ -575,6 +589,22 @@
}
}
},
"waiters": {
"Exists": {
"waiterName": "ObjectExists",
"params": [
{ "target":"Bucket", "sourceType":"identifier", "source":"BucketName" },
{ "target":"Key", "sourceType":"identifier", "source":"Key" }
]
},
"NotExists": {
"waiterName": "ObjectNotExists",
"params": [
{ "target":"Bucket", "sourceType":"identifier", "source":"BucketName" },
{ "target":"Key", "sourceType":"identifier", "source":"Key" }
]
}
},
"subResources": {
"resources": [
"ObjectAcl",
Expand Down

0 comments on commit b3ed6fa

Please sign in to comment.