lib/aws-sdk-mediapackagevod/client.rb in aws-sdk-mediapackagevod-1.13.0 vs lib/aws-sdk-mediapackagevod/client.rb in aws-sdk-mediapackagevod-1.14.0

- old
+ new

@@ -584,34 +584,44 @@ req.send_request(options) end # Creates a new MediaPackage VOD PackagingGroup resource. # + # @option params [Types::Authorization] :authorization + # CDN Authorization credentials + # # @option params [required, String] :id # # @option params [Hash<String,String>] :tags # A collection of tags associated with a resource # # @return [Types::CreatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreatePackagingGroupResponse#arn #arn} => String + # * {Types::CreatePackagingGroupResponse#authorization #authorization} => Types::Authorization # * {Types::CreatePackagingGroupResponse#domain_name #domain_name} => String # * {Types::CreatePackagingGroupResponse#id #id} => String # * {Types::CreatePackagingGroupResponse#tags #tags} => Hash&lt;String,String&gt; # # @example Request syntax with placeholder values # # resp = client.create_packaging_group({ + # authorization: { + # cdn_identifier_secret: "__string", # required + # secrets_role_arn: "__string", # required + # }, # id: "__string", # required # tags: { # "__string" => "__string", # }, # }) # # @example Response structure # # resp.arn #=> String + # resp.authorization.cdn_identifier_secret #=> String + # resp.authorization.secrets_role_arn #=> String # resp.domain_name #=> String # resp.id #=> String # resp.tags #=> Hash # resp.tags["__string"] #=> String # @@ -834,10 +844,11 @@ # @option params [required, String] :id # # @return [Types::DescribePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribePackagingGroupResponse#arn #arn} => String + # * {Types::DescribePackagingGroupResponse#authorization #authorization} => Types::Authorization # * {Types::DescribePackagingGroupResponse#domain_name #domain_name} => String # * {Types::DescribePackagingGroupResponse#id #id} => String # * {Types::DescribePackagingGroupResponse#tags #tags} => Hash&lt;String,String&gt; # # @example Request syntax with placeholder values @@ -847,10 +858,12 @@ # }) # # @example Response structure # # resp.arn #=> String + # resp.authorization.cdn_identifier_secret #=> String + # resp.authorization.secrets_role_arn #=> String # resp.domain_name #=> String # resp.id #=> String # resp.tags #=> Hash # resp.tags["__string"] #=> String # @@ -1032,10 +1045,12 @@ # @example Response structure # # resp.next_token #=> String # resp.packaging_groups #=> Array # resp.packaging_groups[0].arn #=> String + # resp.packaging_groups[0].authorization.cdn_identifier_secret #=> String + # resp.packaging_groups[0].authorization.secrets_role_arn #=> String # resp.packaging_groups[0].domain_name #=> String # resp.packaging_groups[0].id #=> String # resp.packaging_groups[0].tags #=> Hash # resp.packaging_groups[0].tags["__string"] #=> String # @@ -1046,10 +1061,12 @@ def list_packaging_groups(params = {}, options = {}) req = build_request(:list_packaging_groups, params) req.send_request(options) end + # Returns a list of the tags assigned to the specified resource. + # # @option params [required, String] :resource_arn # # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt; @@ -1072,10 +1089,13 @@ def list_tags_for_resource(params = {}, options = {}) req = build_request(:list_tags_for_resource, params) req.send_request(options) end + # Adds tags to the specified resource. You can specify one or more tags + # to add. + # # @option params [required, String] :resource_arn # # @option params [required, Hash<String,String>] :tags # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -1096,10 +1116,13 @@ def tag_resource(params = {}, options = {}) req = build_request(:tag_resource, params) req.send_request(options) end + # Removes tags from the specified resource. You can specify one or more + # tags to remove. + # # @option params [required, String] :resource_arn # # @option params [required, Array<String>] :tag_keys # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -1118,10 +1141,55 @@ def untag_resource(params = {}, options = {}) req = build_request(:untag_resource, params) req.send_request(options) end + # Updates a specific packaging group. You can't change the id attribute + # or any other system-generated attributes. + # + # @option params [Types::Authorization] :authorization + # CDN Authorization credentials + # + # @option params [required, String] :id + # + # @return [Types::UpdatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::UpdatePackagingGroupResponse#arn #arn} => String + # * {Types::UpdatePackagingGroupResponse#authorization #authorization} => Types::Authorization + # * {Types::UpdatePackagingGroupResponse#domain_name #domain_name} => String + # * {Types::UpdatePackagingGroupResponse#id #id} => String + # * {Types::UpdatePackagingGroupResponse#tags #tags} => Hash&lt;String,String&gt; + # + # @example Request syntax with placeholder values + # + # resp = client.update_packaging_group({ + # authorization: { + # cdn_identifier_secret: "__string", # required + # secrets_role_arn: "__string", # required + # }, + # id: "__string", # required + # }) + # + # @example Response structure + # + # resp.arn #=> String + # resp.authorization.cdn_identifier_secret #=> String + # resp.authorization.secrets_role_arn #=> String + # resp.domain_name #=> String + # resp.id #=> String + # resp.tags #=> Hash + # resp.tags["__string"] #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UpdatePackagingGroup AWS API Documentation + # + # @overload update_packaging_group(params = {}) + # @param [Hash] params ({}) + def update_packaging_group(params = {}, options = {}) + req = build_request(:update_packaging_group, params) + req.send_request(options) + end + # @!endgroup # @param params ({}) # @api private def build_request(operation_name, params = {}) @@ -1131,10 +1199,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-mediapackagevod' - context[:gem_version] = '1.13.0' + context[:gem_version] = '1.14.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated