MediaStoreData class Null safety

An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3 service. Objects are the fundamental entities that are stored in AWS Elemental MediaStore.

Constructors

MediaStoreData({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
deleteObject({required String path}) Future<void>
Deletes an object at the specified path.
describeObject({required String path}) Future<DescribeObjectResponse>
Gets the headers for an object at the specified path.
getObject({required String path, String? range}) Future<GetObjectResponse>
Downloads the object at the specified path. If the object’s upload availability is set to streaming, AWS Elemental MediaStore downloads the object even if it’s still uploading the object.
listItems({int? maxResults, String? nextToken, String? path}) Future<ListItemsResponse>
Provides a list of metadata entries about folders and objects in the specified folder.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
putObject({required Uint8List body, required String path, String? cacheControl, String? contentType, StorageClass? storageClass, UploadAvailability? uploadAvailability}) Future<PutObjectResponse>
Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited