MediaStoreData
public struct MediaStoreData
Client object for interacting with AWS MediaStoreData service.
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.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the MediaStoreData client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)Parameters
accessKeyIdPublic access key provided by AWS
secretAccessKeyPrivate access key provided by AWS
sessionTokenToken provided by STS.AssumeRole() which allows access to another AWS account
regionRegion of server you want to communicate with
endpointCustom endpoint URL to use instead of standard AWS servers
middlewaresArray of middlewares to apply to requests and responses
eventLoopGroupProviderEventLoopGroup to use. Use
useAWSClientSharedif the client shall manage its own EventLoopGroup.
-
Deletes an object at the specified path.
Declaration
Swift
public func deleteObject(_ input: DeleteObjectRequest) -> EventLoopFuture<DeleteObjectResponse> -
Gets the headers for an object at the specified path.
Declaration
Swift
public func describeObject(_ input: DescribeObjectRequest) -> EventLoopFuture<DescribeObjectResponse> -
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.
Declaration
Swift
public func getObject(_ input: GetObjectRequest) -> EventLoopFuture<GetObjectResponse> -
Provides a list of metadata entries about folders and objects in the specified folder.
Declaration
Swift
public func listItems(_ input: ListItemsRequest) -> EventLoopFuture<ListItemsResponse> -
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.
Declaration
Swift
public func putObject(_ input: PutObjectRequest) -> EventLoopFuture<PutObjectResponse>
-
Provides a list of metadata entries about folders and objects in the specified folder.
Declaration
Swift
public func listItemsPaginator(_ input: ListItemsRequest, onPage: @escaping (ListItemsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListItemsRequest : AWSShapeextension MediaStoreData.ListItemsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum ItemType : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum StorageClass : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum UploadAvailability : String, CustomStringConvertible, Codable
View on GitHub
MediaStoreData Structure Reference