Global InfraGlobal Infra Cloud
A W S

Create a s3 bucket

Creates a new s3 bucket.

POST
/api/v1/giservices/aws/s3_buckets

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/giservices/aws/s3_buckets" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "quota": 0    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "expiration_date": "2019-08-24T14:15:22Z",
    "labels": {
      "property1": "string",
      "property2": "string"
    },
    "metadata": {},
    "partitions": {
      "property1": {
        "region": "string",
        "storage_class": "STANDARD"
      },
      "property2": {
        "region": "string",
        "storage_class": "STANDARD"
      }
    },
    "percentage_threshold": 0,
    "quota": 0
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty