lib/aws-sdk-mediapackage/client.rb in aws-sdk-mediapackage-1.24.0 vs lib/aws-sdk-mediapackage/client.rb in aws-sdk-mediapackage-1.25.0
- old
+ new
@@ -366,10 +366,13 @@
req.send_request(options)
end
# Creates a new OriginEndpoint record.
#
+ # @option params [Types::Authorization] :authorization
+ # CDN Authorization credentials
+ #
# @option params [required, String] :channel_id
#
# @option params [Types::CmafPackageCreateOrUpdateParameters] :cmaf_package
# A Common Media Application Format (CMAF) packaging configuration.
#
@@ -400,10 +403,11 @@
# @option params [Array<String>] :whitelist
#
# @return [Types::CreateOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateOriginEndpointResponse#arn #arn} => String
+ # * {Types::CreateOriginEndpointResponse#authorization #authorization} => Types::Authorization
# * {Types::CreateOriginEndpointResponse#channel_id #channel_id} => String
# * {Types::CreateOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
# * {Types::CreateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
# * {Types::CreateOriginEndpointResponse#description #description} => String
# * {Types::CreateOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
@@ -418,10 +422,14 @@
# * {Types::CreateOriginEndpointResponse#whitelist #whitelist} => Array<String>
#
# @example Request syntax with placeholder values
#
# resp = client.create_origin_endpoint({
+ # authorization: {
+ # cdn_identifier_secret: "__string", # required
+ # secrets_role_arn: "__string", # required
+ # },
# channel_id: "__string", # required
# cmaf_package: {
# encryption: {
# key_rotation_interval_seconds: 1,
# speke_key_provider: { # required
@@ -541,10 +549,12 @@
# })
#
# @example Response structure
#
# resp.arn #=> String
+ # resp.authorization.cdn_identifier_secret #=> String
+ # resp.authorization.secrets_role_arn #=> String
# resp.channel_id #=> String
# resp.cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
# resp.cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
# resp.cmaf_package.encryption.speke_key_provider.resource_id #=> String
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
@@ -775,10 +785,11 @@
# @option params [required, String] :id
#
# @return [Types::DescribeOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeOriginEndpointResponse#arn #arn} => String
+ # * {Types::DescribeOriginEndpointResponse#authorization #authorization} => Types::Authorization
# * {Types::DescribeOriginEndpointResponse#channel_id #channel_id} => String
# * {Types::DescribeOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
# * {Types::DescribeOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
# * {Types::DescribeOriginEndpointResponse#description #description} => String
# * {Types::DescribeOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
@@ -799,10 +810,12 @@
# })
#
# @example Response structure
#
# resp.arn #=> String
+ # resp.authorization.cdn_identifier_secret #=> String
+ # resp.authorization.secrets_role_arn #=> String
# resp.channel_id #=> String
# resp.cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
# resp.cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
# resp.cmaf_package.encryption.speke_key_provider.resource_id #=> String
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
@@ -1016,10 +1029,12 @@
# @example Response structure
#
# resp.next_token #=> String
# resp.origin_endpoints #=> Array
# resp.origin_endpoints[0].arn #=> String
+ # resp.origin_endpoints[0].authorization.cdn_identifier_secret #=> String
+ # resp.origin_endpoints[0].authorization.secrets_role_arn #=> String
# resp.origin_endpoints[0].channel_id #=> String
# resp.origin_endpoints[0].cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
# resp.origin_endpoints[0].cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
# resp.origin_endpoints[0].cmaf_package.encryption.speke_key_provider.resource_id #=> String
# resp.origin_endpoints[0].cmaf_package.encryption.speke_key_provider.role_arn #=> String
@@ -1319,10 +1334,13 @@
req.send_request(options)
end
# Updates an existing OriginEndpoint.
#
+ # @option params [Types::Authorization] :authorization
+ # CDN Authorization credentials
+ #
# @option params [Types::CmafPackageCreateOrUpdateParameters] :cmaf_package
# A Common Media Application Format (CMAF) packaging configuration.
#
# @option params [Types::DashPackage] :dash_package
# A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
@@ -1348,10 +1366,11 @@
# @option params [Array<String>] :whitelist
#
# @return [Types::UpdateOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateOriginEndpointResponse#arn #arn} => String
+ # * {Types::UpdateOriginEndpointResponse#authorization #authorization} => Types::Authorization
# * {Types::UpdateOriginEndpointResponse#channel_id #channel_id} => String
# * {Types::UpdateOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
# * {Types::UpdateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
# * {Types::UpdateOriginEndpointResponse#description #description} => String
# * {Types::UpdateOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
@@ -1366,10 +1385,14 @@
# * {Types::UpdateOriginEndpointResponse#whitelist #whitelist} => Array<String>
#
# @example Request syntax with placeholder values
#
# resp = client.update_origin_endpoint({
+ # authorization: {
+ # cdn_identifier_secret: "__string", # required
+ # secrets_role_arn: "__string", # required
+ # },
# cmaf_package: {
# encryption: {
# key_rotation_interval_seconds: 1,
# speke_key_provider: { # required
# certificate_arn: "__string",
@@ -1485,10 +1508,12 @@
# })
#
# @example Response structure
#
# resp.arn #=> String
+ # resp.authorization.cdn_identifier_secret #=> String
+ # resp.authorization.secrets_role_arn #=> String
# resp.channel_id #=> String
# resp.cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
# resp.cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
# resp.cmaf_package.encryption.speke_key_provider.resource_id #=> String
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
@@ -1598,10 +1623,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-mediapackage'
- context[:gem_version] = '1.24.0'
+ context[:gem_version] = '1.25.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated