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
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if 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 : AWSShape
extension 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