StorageBucket
public protocol StorageBucket
Protocol that represents a Storage bucket.
- Tag: StorageBucket
-
fromOutputs(name:
Extension method) References a
StorageBucket
in the AmplifyOutputs file using the given name.Declaration
Swift
static func fromOutputs(name: String) -> Self
Parameters
name
The name of the bucket
-
fromBucketInfo(_:
Extension method) References a
StorageBucket
using the data from the givenBucketInfo
.Declaration
Swift
static func fromBucketInfo(_ bucketInfo: BucketInfo) -> Self
Parameters
bucketInfo
A
BucketInfo
instance