MediaPackageClient
public class MediaPackageClient
Inheritance
Initializers
init(config:)
public init(config: AWSClientRuntime.AWSClientConfiguration)
init(region:)
public convenience init(region: Swift.String? = nil) throws
Properties
clientName
public static let clientName = "MediaPackageClient"
Methods
configureLogs(input:completion:)
Changes the Channel’s properities to configure log subscription
public func configureLogs(input: ConfigureLogsInput, completion: @escaping (ClientRuntime.SdkResult<ConfigureLogsOutputResponse, ConfigureLogsOutputError>) -> Void)
createChannel(input:completion:)
Creates a new Channel.
public func createChannel(input: CreateChannelInput, completion: @escaping (ClientRuntime.SdkResult<CreateChannelOutputResponse, CreateChannelOutputError>) -> Void)
createHarvestJob(input:completion:)
Creates a new HarvestJob record.
public func createHarvestJob(input: CreateHarvestJobInput, completion: @escaping (ClientRuntime.SdkResult<CreateHarvestJobOutputResponse, CreateHarvestJobOutputError>) -> Void)
createOriginEndpoint(input:completion:)
Creates a new OriginEndpoint record.
public func createOriginEndpoint(input: CreateOriginEndpointInput, completion: @escaping (ClientRuntime.SdkResult<CreateOriginEndpointOutputResponse, CreateOriginEndpointOutputError>) -> Void)
deleteChannel(input:completion:)
Deletes an existing Channel.
public func deleteChannel(input: DeleteChannelInput, completion: @escaping (ClientRuntime.SdkResult<DeleteChannelOutputResponse, DeleteChannelOutputError>) -> Void)
deleteOriginEndpoint(input:completion:)
Deletes an existing OriginEndpoint.
public func deleteOriginEndpoint(input: DeleteOriginEndpointInput, completion: @escaping (ClientRuntime.SdkResult<DeleteOriginEndpointOutputResponse, DeleteOriginEndpointOutputError>) -> Void)
describeChannel(input:completion:)
Gets details about a Channel.
public func describeChannel(input: DescribeChannelInput, completion: @escaping (ClientRuntime.SdkResult<DescribeChannelOutputResponse, DescribeChannelOutputError>) -> Void)
describeHarvestJob(input:completion:)
Gets details about an existing HarvestJob.
public func describeHarvestJob(input: DescribeHarvestJobInput, completion: @escaping (ClientRuntime.SdkResult<DescribeHarvestJobOutputResponse, DescribeHarvestJobOutputError>) -> Void)
describeOriginEndpoint(input:completion:)
Gets details about an existing OriginEndpoint.
public func describeOriginEndpoint(input: DescribeOriginEndpointInput, completion: @escaping (ClientRuntime.SdkResult<DescribeOriginEndpointOutputResponse, DescribeOriginEndpointOutputError>) -> Void)
listChannels(input:completion:)
Returns a collection of Channels.
public func listChannels(input: ListChannelsInput, completion: @escaping (ClientRuntime.SdkResult<ListChannelsOutputResponse, ListChannelsOutputError>) -> Void)
listHarvestJobs(input:completion:)
Returns a collection of HarvestJob records.
public func listHarvestJobs(input: ListHarvestJobsInput, completion: @escaping (ClientRuntime.SdkResult<ListHarvestJobsOutputResponse, ListHarvestJobsOutputError>) -> Void)
listOriginEndpoints(input:completion:)
Returns a collection of OriginEndpoint records.
public func listOriginEndpoints(input: ListOriginEndpointsInput, completion: @escaping (ClientRuntime.SdkResult<ListOriginEndpointsOutputResponse, ListOriginEndpointsOutputError>) -> Void)
listTagsForResource(input:completion:)
public func listTagsForResource(input: ListTagsForResourceInput, completion: @escaping (ClientRuntime.SdkResult<ListTagsForResourceOutputResponse, ListTagsForResourceOutputError>) -> Void)
rotateChannelCredentials(input:completion:)
Changes the Channel’s first IngestEndpoint’s username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
@available(*, deprecated, message: "This API is deprecated. Please use RotateIngestEndpointCredentials instead")
public func rotateChannelCredentials(input: RotateChannelCredentialsInput, completion: @escaping (ClientRuntime.SdkResult<RotateChannelCredentialsOutputResponse, RotateChannelCredentialsOutputError>) -> Void)
rotateIngestEndpointCredentials(input:completion:)
Rotate the IngestEndpoint’s username and password, as specified by the IngestEndpoint’s id.
public func rotateIngestEndpointCredentials(input: RotateIngestEndpointCredentialsInput, completion: @escaping (ClientRuntime.SdkResult<RotateIngestEndpointCredentialsOutputResponse, RotateIngestEndpointCredentialsOutputError>) -> Void)
tagResource(input:completion:)
public func tagResource(input: TagResourceInput, completion: @escaping (ClientRuntime.SdkResult<TagResourceOutputResponse, TagResourceOutputError>) -> Void)
untagResource(input:completion:)
public func untagResource(input: UntagResourceInput, completion: @escaping (ClientRuntime.SdkResult<UntagResourceOutputResponse, UntagResourceOutputError>) -> Void)
updateChannel(input:completion:)
Updates an existing Channel.
public func updateChannel(input: UpdateChannelInput, completion: @escaping (ClientRuntime.SdkResult<UpdateChannelOutputResponse, UpdateChannelOutputError>) -> Void)
updateOriginEndpoint(input:completion:)
Updates an existing OriginEndpoint.
public func updateOriginEndpoint(input: UpdateOriginEndpointInput, completion: @escaping (ClientRuntime.SdkResult<UpdateOriginEndpointOutputResponse, UpdateOriginEndpointOutputError>) -> Void)