sig/client.rbs in aws-sdk-mediapackagev2-1.30.0 vs sig/client.rbs in aws-sdk-mediapackagev2-1.31.0
- old
+ new
@@ -73,10 +73,23 @@
?raise_response_errors: bool
) -> instance
| (?Hash[Symbol, untyped]) -> instance
+ interface _CancelHarvestJobResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelHarvestJobResponse]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#cancel_harvest_job-instance_method
+ def cancel_harvest_job: (
+ channel_group_name: ::String,
+ channel_name: ::String,
+ origin_endpoint_name: ::String,
+ harvest_job_name: ::String,
+ ?etag: ::String
+ ) -> _CancelHarvestJobResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelHarvestJobResponseSuccess
+
interface _CreateChannelResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelResponse]
def arn: () -> ::String
def channel_name: () -> ::String
def channel_group_name: () -> ::String
@@ -117,10 +130,67 @@
?description: ::String,
?tags: Hash[::String, ::String]
) -> _CreateChannelGroupResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelGroupResponseSuccess
+ interface _CreateHarvestJobResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHarvestJobResponse]
+ def channel_group_name: () -> ::String
+ def channel_name: () -> ::String
+ def origin_endpoint_name: () -> ::String
+ def destination: () -> Types::Destination
+ def harvest_job_name: () -> ::String
+ def harvested_manifests: () -> Types::HarvestedManifests
+ def description: () -> ::String
+ def schedule_configuration: () -> Types::HarvesterScheduleConfiguration
+ def arn: () -> ::String
+ def created_at: () -> ::Time
+ def modified_at: () -> ::Time
+ def status: () -> ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
+ def error_message: () -> ::String
+ def etag: () -> ::String
+ def tags: () -> ::Hash[::String, ::String]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#create_harvest_job-instance_method
+ def create_harvest_job: (
+ channel_group_name: ::String,
+ channel_name: ::String,
+ origin_endpoint_name: ::String,
+ ?description: ::String,
+ harvested_manifests: {
+ hls_manifests: Array[
+ {
+ manifest_name: ::String
+ },
+ ]?,
+ dash_manifests: Array[
+ {
+ manifest_name: ::String
+ },
+ ]?,
+ low_latency_hls_manifests: Array[
+ {
+ manifest_name: ::String
+ },
+ ]?
+ },
+ schedule_configuration: {
+ start_time: ::Time,
+ end_time: ::Time
+ },
+ destination: {
+ s3_destination: {
+ bucket_name: ::String,
+ destination_path: ::String
+ }
+ },
+ ?client_token: ::String,
+ ?harvest_job_name: ::String,
+ ?tags: Hash[::String, ::String]
+ ) -> _CreateHarvestJobResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHarvestJobResponseSuccess
+
interface _CreateOriginEndpointResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateOriginEndpointResponse]
def arn: () -> ::String
def channel_group_name: () -> ::String
def channel_name: () -> ::String
@@ -351,10 +421,37 @@
channel_group_name: ::String,
channel_name: ::String
) -> _GetChannelPolicyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelPolicyResponseSuccess
+ interface _GetHarvestJobResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetHarvestJobResponse]
+ def channel_group_name: () -> ::String
+ def channel_name: () -> ::String
+ def origin_endpoint_name: () -> ::String
+ def destination: () -> Types::Destination
+ def harvest_job_name: () -> ::String
+ def harvested_manifests: () -> Types::HarvestedManifests
+ def description: () -> ::String
+ def schedule_configuration: () -> Types::HarvesterScheduleConfiguration
+ def arn: () -> ::String
+ def created_at: () -> ::Time
+ def modified_at: () -> ::Time
+ def status: () -> ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
+ def error_message: () -> ::String
+ def etag: () -> ::String
+ def tags: () -> ::Hash[::String, ::String]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_harvest_job-instance_method
+ def get_harvest_job: (
+ channel_group_name: ::String,
+ channel_name: ::String,
+ origin_endpoint_name: ::String,
+ harvest_job_name: ::String
+ ) -> _GetHarvestJobResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHarvestJobResponseSuccess
+
interface _GetOriginEndpointResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginEndpointResponse]
def arn: () -> ::String
def channel_group_name: () -> ::String
def channel_name: () -> ::String
@@ -418,10 +515,26 @@
?max_results: ::Integer,
?next_token: ::String
) -> _ListChannelsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
+ interface _ListHarvestJobsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHarvestJobsResponse]
+ def items: () -> ::Array[Types::HarvestJob]
+ def next_token: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#list_harvest_jobs-instance_method
+ def list_harvest_jobs: (
+ channel_group_name: ::String,
+ ?channel_name: ::String,
+ ?origin_endpoint_name: ::String,
+ ?status: ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED"),
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListHarvestJobsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHarvestJobsResponseSuccess
+
interface _ListOriginEndpointsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListOriginEndpointsResponse]
def items: () -> ::Array[Types::OriginEndpointListConfiguration]
def next_token: () -> ::String
end
@@ -651,9 +764,18 @@
endpoint_error_conditions: Array[("STALE_MANIFEST" | "INCOMPLETE_MANIFEST" | "MISSING_DRM_KEY" | "SLATE_INPUT")]?
},
?etag: ::String
) -> _UpdateOriginEndpointResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOriginEndpointResponseSuccess
+
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#wait_until-instance_method
+ def wait_until: (:harvest_job_finished waiter_name,
+ channel_group_name: ::String,
+ channel_name: ::String,
+ origin_endpoint_name: ::String,
+ harvest_job_name: ::String
+ ) -> Client::_GetHarvestJobResponseSuccess
+ | (:harvest_job_finished waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetHarvestJobResponseSuccess
end
end
end