Learn R Programming

AutoDeskR (version 0.1.5)

makeBucket: Make a Bucket for an App.

Description

Make an app-based bucket for storage of design files using the Data Management API.

Usage

makeBucket(token = NULL, bucket = "mybucket", policy = "transient")

Value

An object containing the bucketKey, bucketOwner, and

createdDate.

Arguments

token

A string. Token generated with getToken function with bucket:create, bucket:read, and data:write scopes.

bucket

A string. Unique bucket name. Defaults to mybucket.

policy

A string. May be transient, temporary, or persistent.

Examples

Run this code
if (FALSE) {
# Make a transient bucket with the name "mybucket"
resp <- makeBucket(token = myToken, bucket = "mybucket", policy = "transient")
}

Run the code above in your browser using DataLab