MediaPackage
public struct MediaPackage
Client object for interacting with AWS MediaPackage service.
AWS Elemental MediaPackage
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the MediaPackage 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.
-
Creates a new Channel.
Declaration
Swift
public func createChannel(_ input: CreateChannelRequest) -> EventLoopFuture<CreateChannelResponse> -
Creates a new HarvestJob record.
Declaration
Swift
public func createHarvestJob(_ input: CreateHarvestJobRequest) -> EventLoopFuture<CreateHarvestJobResponse> -
Creates a new OriginEndpoint record.
Declaration
Swift
public func createOriginEndpoint(_ input: CreateOriginEndpointRequest) -> EventLoopFuture<CreateOriginEndpointResponse> -
Deletes an existing Channel.
Declaration
Swift
public func deleteChannel(_ input: DeleteChannelRequest) -> EventLoopFuture<DeleteChannelResponse> -
Deletes an existing OriginEndpoint.
Declaration
Swift
public func deleteOriginEndpoint(_ input: DeleteOriginEndpointRequest) -> EventLoopFuture<DeleteOriginEndpointResponse> -
Gets details about a Channel.
Declaration
Swift
public func describeChannel(_ input: DescribeChannelRequest) -> EventLoopFuture<DescribeChannelResponse> -
Gets details about an existing HarvestJob.
Declaration
Swift
public func describeHarvestJob(_ input: DescribeHarvestJobRequest) -> EventLoopFuture<DescribeHarvestJobResponse> -
Gets details about an existing OriginEndpoint.
Declaration
Swift
public func describeOriginEndpoint(_ input: DescribeOriginEndpointRequest) -> EventLoopFuture<DescribeOriginEndpointResponse> -
Returns a collection of Channels.
Declaration
Swift
public func listChannels(_ input: ListChannelsRequest) -> EventLoopFuture<ListChannelsResponse> -
Returns a collection of HarvestJob records.
Declaration
Swift
public func listHarvestJobs(_ input: ListHarvestJobsRequest) -> EventLoopFuture<ListHarvestJobsResponse> -
Returns a collection of OriginEndpoint records.
Declaration
Swift
public func listOriginEndpoints(_ input: ListOriginEndpointsRequest) -> EventLoopFuture<ListOriginEndpointsResponse> -
Undocumented
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse> -
Changes the Channel’s first IngestEndpoint’s username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
Declaration
Swift
@available(*, deprecated, message: "This API is deprecated. Please use RotateIngestEndpointCredentials instead") public func rotateChannelCredentials(_ input: RotateChannelCredentialsRequest) -> EventLoopFuture<RotateChannelCredentialsResponse> -
Rotate the IngestEndpoint’s username and password, as specified by the IngestEndpoint’s id.
Declaration
Swift
public func rotateIngestEndpointCredentials(_ input: RotateIngestEndpointCredentialsRequest) -> EventLoopFuture<RotateIngestEndpointCredentialsResponse> -
Undocumented
Declaration
Swift
@discardableResult public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<Void> -
Undocumented
Declaration
Swift
@discardableResult public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<Void> -
Updates an existing Channel.
Declaration
Swift
public func updateChannel(_ input: UpdateChannelRequest) -> EventLoopFuture<UpdateChannelResponse> -
Updates an existing OriginEndpoint.
Declaration
Swift
public func updateOriginEndpoint(_ input: UpdateOriginEndpointRequest) -> EventLoopFuture<UpdateOriginEndpointResponse>
-
Returns a collection of Channels.
Declaration
Swift
public func listChannelsPaginator(_ input: ListChannelsRequest, onPage: @escaping (ListChannelsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void> -
Returns a collection of HarvestJob records.
Declaration
Swift
public func listHarvestJobsPaginator(_ input: ListHarvestJobsRequest, onPage: @escaping (ListHarvestJobsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void> -
Returns a collection of OriginEndpoint records.
Declaration
Swift
public func listOriginEndpointsPaginator(_ input: ListOriginEndpointsRequest, onPage: @escaping (ListOriginEndpointsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListChannelsRequest : AWSShapeextension MediaPackage.ListChannelsRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct ListHarvestJobsRequest : AWSShapeextension MediaPackage.ListHarvestJobsRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct ListOriginEndpointsRequest : AWSShapeextension MediaPackage.ListOriginEndpointsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum AdMarkers : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum AdsOnDeliveryRestrictions : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum EncryptionMethod : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum ManifestLayout : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum Origination : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum PlaylistType : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum Profile : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum SegmentTemplateFormat : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum Status : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum StreamOrder : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum UtcTiming : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum Adtriggerselement : String, CustomStringConvertible, Codable -
Undocumented
See moreDeclaration
Swift
public enum Periodtriggerselement : String, CustomStringConvertible, Codable
View on GitHub
MediaPackage Structure Reference