Learn R Programming

AutoDeskR (version 0.1.5)

checkBucket: Check the Status of an App-Managed Bucket.

Description

Check the status of a recently created app-managed bucket using the Data Management API.

Usage

checkBucket(token = NULL, bucket = "mybucket")

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. Name of the bucket. Defaults to mybucket.

Examples

Run this code
if (FALSE) {
# Check the status of a bucket with the name "mybucket"
resp <- checkBucket(token = myToken, bucket = "mybucket")
resp
}

Run the code above in your browser using DataLab