IntegrationsAwsActions
List S3 buckets
List general-purpose S3 buckets with pagination. Returns bucket Region when AWS supplies it. Requires s3:ListAllMyBuckets.
s3.buckets.list · AWS · v1
Details
Scopes
s3:ListAllMyBuckets
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
page_size | integer | No | minimum 1; maximum 1000 |
cursor | string | No | minLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$ |
prefix | string | No | minLength 1; maxLength 1024 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
buckets | array<object> | Yes | maxItems 1000 |
buckets[] | object | Yes | additionalProperties false |
buckets[].name | string | Yes | minLength 3; maxLength 63; pattern ^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$ |
buckets[].created_at | string | No | minLength 1; maxLength 64 |
buckets[].region | string | No | minLength 1; maxLength 64 |
next_cursor | string | No | minLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$ |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
},
"prefix": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
}
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"buckets": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 3,
"maxLength": 63,
"pattern": "^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"region": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"name"
]
},
"maxItems": 1000
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"buckets"
]
}