Official Plugins (Kuzzle v2.x)
S3 v3.x
2

exists #

Check if a S3 bucket exists.

Query Syntax #

HTTP #

URL: http://kuzzle:7512/bucket/exists/<bucketRegion>/<bucketName>
Method: GET

Other protocols #

{
  "controller": "s3",
  "action": "exists",
  "bucketName": "bucket-name",
  "bucketRegion": "eu-east-1"
}

Arguments #

  • bucketName: the name of the bucket to check
  • bucketRegion: the AWS region where the bucket is located

Response #

Returns an object with the following properties:

{
  "status": 200,
  "error": null,
  "action": "exists",
  "controller": "s3/bucket",
  "result": { "exists": "true" }
}