aws-sdk-mediapackagevod 1.8.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,9 @@ module Aws::MediaPackageVod
52
52
  ListPackagingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListPackagingConfigurationsResponse')
53
53
  ListPackagingGroupsRequest = Shapes::StructureShape.new(name: 'ListPackagingGroupsRequest')
54
54
  ListPackagingGroupsResponse = Shapes::StructureShape.new(name: 'ListPackagingGroupsResponse')
55
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
56
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
57
+ ManifestLayout = Shapes::StringShape.new(name: 'ManifestLayout')
55
58
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
56
59
  MssEncryption = Shapes::StructureShape.new(name: 'MssEncryption')
57
60
  MssManifest = Shapes::StructureShape.new(name: 'MssManifest')
@@ -64,12 +67,18 @@ module Aws::MediaPackageVod
64
67
  PackagingGroupCreateParameters = Shapes::StructureShape.new(name: 'PackagingGroupCreateParameters')
65
68
  PackagingGroupList = Shapes::StructureShape.new(name: 'PackagingGroupList')
66
69
  Profile = Shapes::StringShape.new(name: 'Profile')
70
+ SegmentTemplateFormat = Shapes::StringShape.new(name: 'SegmentTemplateFormat')
67
71
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
68
72
  SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
69
73
  StreamOrder = Shapes::StringShape.new(name: 'StreamOrder')
70
74
  StreamSelection = Shapes::StructureShape.new(name: 'StreamSelection')
75
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
76
+ Tags = Shapes::MapShape.new(name: 'Tags')
77
+ TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
71
78
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
72
79
  UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
80
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
81
+ __PeriodTriggersElement = Shapes::StringShape.new(name: '__PeriodTriggersElement')
73
82
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
74
83
  __double = Shapes::FloatShape.new(name: '__double')
75
84
  __integer = Shapes::IntegerShape.new(name: '__integer')
@@ -80,8 +89,10 @@ module Aws::MediaPackageVod
80
89
  __listOfMssManifest = Shapes::ListShape.new(name: '__listOfMssManifest')
81
90
  __listOfPackagingConfiguration = Shapes::ListShape.new(name: '__listOfPackagingConfiguration')
82
91
  __listOfPackagingGroup = Shapes::ListShape.new(name: '__listOfPackagingGroup')
92
+ __listOf__PeriodTriggersElement = Shapes::ListShape.new(name: '__listOf__PeriodTriggersElement')
83
93
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
84
94
  __long = Shapes::IntegerShape.new(name: '__long')
95
+ __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
85
96
  __string = Shapes::StringShape.new(name: '__string')
86
97
 
87
98
  Asset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -92,6 +103,7 @@ module Aws::MediaPackageVod
92
103
  Asset.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
93
104
  Asset.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
94
105
  Asset.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
106
+ Asset.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
95
107
  Asset.struct_class = Types::Asset
96
108
 
97
109
  AssetCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
@@ -99,6 +111,7 @@ module Aws::MediaPackageVod
99
111
  AssetCreateParameters.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
100
112
  AssetCreateParameters.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
101
113
  AssetCreateParameters.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceRoleArn"))
114
+ AssetCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
102
115
  AssetCreateParameters.struct_class = Types::AssetCreateParameters
103
116
 
104
117
  AssetList.add_member(:assets, Shapes::ShapeRef.new(shape: __listOfAssetShallow, location_name: "assets"))
@@ -112,6 +125,7 @@ module Aws::MediaPackageVod
112
125
  AssetShallow.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
113
126
  AssetShallow.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
114
127
  AssetShallow.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
128
+ AssetShallow.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
115
129
  AssetShallow.struct_class = Types::AssetShallow
116
130
 
117
131
  CmafEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
@@ -127,6 +141,7 @@ module Aws::MediaPackageVod
127
141
  CreateAssetRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
128
142
  CreateAssetRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
129
143
  CreateAssetRequest.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceRoleArn"))
144
+ CreateAssetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
130
145
  CreateAssetRequest.struct_class = Types::CreateAssetRequest
131
146
 
132
147
  CreateAssetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -137,6 +152,7 @@ module Aws::MediaPackageVod
137
152
  CreateAssetResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
138
153
  CreateAssetResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
139
154
  CreateAssetResponse.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
155
+ CreateAssetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
140
156
  CreateAssetResponse.struct_class = Types::CreateAssetResponse
141
157
 
142
158
  CreatePackagingConfigurationRequest.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
@@ -145,6 +161,7 @@ module Aws::MediaPackageVod
145
161
  CreatePackagingConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
146
162
  CreatePackagingConfigurationRequest.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
147
163
  CreatePackagingConfigurationRequest.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "packagingGroupId"))
164
+ CreatePackagingConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
148
165
  CreatePackagingConfigurationRequest.struct_class = Types::CreatePackagingConfigurationRequest
149
166
 
150
167
  CreatePackagingConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -154,19 +171,23 @@ module Aws::MediaPackageVod
154
171
  CreatePackagingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
155
172
  CreatePackagingConfigurationResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
156
173
  CreatePackagingConfigurationResponse.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingGroupId"))
174
+ CreatePackagingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
157
175
  CreatePackagingConfigurationResponse.struct_class = Types::CreatePackagingConfigurationResponse
158
176
 
159
177
  CreatePackagingGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
178
+ CreatePackagingGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
160
179
  CreatePackagingGroupRequest.struct_class = Types::CreatePackagingGroupRequest
161
180
 
162
181
  CreatePackagingGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
163
182
  CreatePackagingGroupResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "domainName"))
164
183
  CreatePackagingGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
184
+ CreatePackagingGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
165
185
  CreatePackagingGroupResponse.struct_class = Types::CreatePackagingGroupResponse
166
186
 
167
187
  DashEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
168
188
  DashEncryption.struct_class = Types::DashEncryption
169
189
 
190
+ DashManifest.add_member(:manifest_layout, Shapes::ShapeRef.new(shape: ManifestLayout, location_name: "manifestLayout"))
170
191
  DashManifest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
171
192
  DashManifest.add_member(:min_buffer_time_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "minBufferTimeSeconds"))
172
193
  DashManifest.add_member(:profile, Shapes::ShapeRef.new(shape: Profile, location_name: "profile"))
@@ -175,7 +196,9 @@ module Aws::MediaPackageVod
175
196
 
176
197
  DashPackage.add_member(:dash_manifests, Shapes::ShapeRef.new(shape: __listOfDashManifest, required: true, location_name: "dashManifests"))
177
198
  DashPackage.add_member(:encryption, Shapes::ShapeRef.new(shape: DashEncryption, location_name: "encryption"))
199
+ DashPackage.add_member(:period_triggers, Shapes::ShapeRef.new(shape: __listOf__PeriodTriggersElement, location_name: "periodTriggers"))
178
200
  DashPackage.add_member(:segment_duration_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "segmentDurationSeconds"))
201
+ DashPackage.add_member(:segment_template_format, Shapes::ShapeRef.new(shape: SegmentTemplateFormat, location_name: "segmentTemplateFormat"))
179
202
  DashPackage.struct_class = Types::DashPackage
180
203
 
181
204
  DeleteAssetRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -204,6 +227,7 @@ module Aws::MediaPackageVod
204
227
  DescribeAssetResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
205
228
  DescribeAssetResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
206
229
  DescribeAssetResponse.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
230
+ DescribeAssetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
207
231
  DescribeAssetResponse.struct_class = Types::DescribeAssetResponse
208
232
 
209
233
  DescribePackagingConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -216,6 +240,7 @@ module Aws::MediaPackageVod
216
240
  DescribePackagingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
217
241
  DescribePackagingConfigurationResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
218
242
  DescribePackagingConfigurationResponse.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingGroupId"))
243
+ DescribePackagingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
219
244
  DescribePackagingConfigurationResponse.struct_class = Types::DescribePackagingConfigurationResponse
220
245
 
221
246
  DescribePackagingGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -224,6 +249,7 @@ module Aws::MediaPackageVod
224
249
  DescribePackagingGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
225
250
  DescribePackagingGroupResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "domainName"))
226
251
  DescribePackagingGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
252
+ DescribePackagingGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
227
253
  DescribePackagingGroupResponse.struct_class = Types::DescribePackagingGroupResponse
228
254
 
229
255
  EgressEndpoint.add_member(:packaging_configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingConfigurationId"))
@@ -281,6 +307,12 @@ module Aws::MediaPackageVod
281
307
  ListPackagingGroupsResponse.add_member(:packaging_groups, Shapes::ShapeRef.new(shape: __listOfPackagingGroup, location_name: "packagingGroups"))
282
308
  ListPackagingGroupsResponse.struct_class = Types::ListPackagingGroupsResponse
283
309
 
310
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
311
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
312
+
313
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
314
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
315
+
284
316
  MssEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
285
317
  MssEncryption.struct_class = Types::MssEncryption
286
318
 
@@ -303,6 +335,7 @@ module Aws::MediaPackageVod
303
335
  PackagingConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
304
336
  PackagingConfiguration.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
305
337
  PackagingConfiguration.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingGroupId"))
338
+ PackagingConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
306
339
  PackagingConfiguration.struct_class = Types::PackagingConfiguration
307
340
 
308
341
  PackagingConfigurationCreateParameters.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
@@ -311,6 +344,7 @@ module Aws::MediaPackageVod
311
344
  PackagingConfigurationCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
312
345
  PackagingConfigurationCreateParameters.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
313
346
  PackagingConfigurationCreateParameters.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "packagingGroupId"))
347
+ PackagingConfigurationCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
314
348
  PackagingConfigurationCreateParameters.struct_class = Types::PackagingConfigurationCreateParameters
315
349
 
316
350
  PackagingConfigurationList.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -320,9 +354,11 @@ module Aws::MediaPackageVod
320
354
  PackagingGroup.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
321
355
  PackagingGroup.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "domainName"))
322
356
  PackagingGroup.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
357
+ PackagingGroup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
323
358
  PackagingGroup.struct_class = Types::PackagingGroup
324
359
 
325
360
  PackagingGroupCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
361
+ PackagingGroupCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
326
362
  PackagingGroupCreateParameters.struct_class = Types::PackagingGroupCreateParameters
327
363
 
328
364
  PackagingGroupList.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -342,12 +378,26 @@ module Aws::MediaPackageVod
342
378
  StreamSelection.add_member(:stream_order, Shapes::ShapeRef.new(shape: StreamOrder, location_name: "streamOrder"))
343
379
  StreamSelection.struct_class = Types::StreamSelection
344
380
 
381
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
382
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
383
+ TagResourceRequest.struct_class = Types::TagResourceRequest
384
+
385
+ Tags.key = Shapes::ShapeRef.new(shape: __string)
386
+ Tags.value = Shapes::ShapeRef.new(shape: __string)
387
+
388
+ TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
389
+ TagsModel.struct_class = Types::TagsModel
390
+
345
391
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
346
392
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
347
393
 
348
394
  UnprocessableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
349
395
  UnprocessableEntityException.struct_class = Types::UnprocessableEntityException
350
396
 
397
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
398
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
399
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
400
+
351
401
  __listOfAssetShallow.member = Shapes::ShapeRef.new(shape: AssetShallow)
352
402
 
353
403
  __listOfDashManifest.member = Shapes::ShapeRef.new(shape: DashManifest)
@@ -362,8 +412,13 @@ module Aws::MediaPackageVod
362
412
 
363
413
  __listOfPackagingGroup.member = Shapes::ShapeRef.new(shape: PackagingGroup)
364
414
 
415
+ __listOf__PeriodTriggersElement.member = Shapes::ShapeRef.new(shape: __PeriodTriggersElement)
416
+
365
417
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
366
418
 
419
+ __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
420
+ __mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
421
+
367
422
 
368
423
  # @api private
369
424
  API = Seahorse::Model::Api.new.tap do |api|
@@ -568,6 +623,30 @@ module Aws::MediaPackageVod
568
623
  }
569
624
  )
570
625
  end)
626
+
627
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "ListTagsForResource"
629
+ o.http_method = "GET"
630
+ o.http_request_uri = "/tags/{resource-arn}"
631
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
632
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
633
+ end)
634
+
635
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
636
+ o.name = "TagResource"
637
+ o.http_method = "POST"
638
+ o.http_request_uri = "/tags/{resource-arn}"
639
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
640
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
641
+ end)
642
+
643
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
644
+ o.name = "UntagResource"
645
+ o.http_method = "DELETE"
646
+ o.http_request_uri = "/tags/{resource-arn}"
647
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
648
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
649
+ end)
571
650
  end
572
651
 
573
652
  end
@@ -6,6 +6,34 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MediaPackageVod
9
+
10
+ # When MediaPackageVod returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::MediaPackageVod::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all MediaPackageVod errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::MediaPackageVod::Errors::ServiceError
18
+ # # rescues all MediaPackageVod API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {ForbiddenException}
29
+ # * {InternalServerErrorException}
30
+ # * {NotFoundException}
31
+ # * {ServiceUnavailableException}
32
+ # * {TooManyRequestsException}
33
+ # * {UnprocessableEntityException}
34
+ #
35
+ # Additionally, error classes are dynamically generated for service errors based on the error code
36
+ # if they are not defined above.
9
37
  module Errors
10
38
 
11
39
  extend Aws::Errors::DynamicErrors
@@ -23,7 +51,6 @@ module Aws::MediaPackageVod
23
51
  def message
24
52
  @message || @data[:message]
25
53
  end
26
-
27
54
  end
28
55
 
29
56
  class InternalServerErrorException < ServiceError
@@ -39,7 +66,6 @@ module Aws::MediaPackageVod
39
66
  def message
40
67
  @message || @data[:message]
41
68
  end
42
-
43
69
  end
44
70
 
45
71
  class NotFoundException < ServiceError
@@ -55,7 +81,6 @@ module Aws::MediaPackageVod
55
81
  def message
56
82
  @message || @data[:message]
57
83
  end
58
-
59
84
  end
60
85
 
61
86
  class ServiceUnavailableException < ServiceError
@@ -71,7 +96,6 @@ module Aws::MediaPackageVod
71
96
  def message
72
97
  @message || @data[:message]
73
98
  end
74
-
75
99
  end
76
100
 
77
101
  class TooManyRequestsException < ServiceError
@@ -87,7 +111,6 @@ module Aws::MediaPackageVod
87
111
  def message
88
112
  @message || @data[:message]
89
113
  end
90
-
91
114
  end
92
115
 
93
116
  class UnprocessableEntityException < ServiceError
@@ -103,7 +126,6 @@ module Aws::MediaPackageVod
103
126
  def message
104
127
  @message || @data[:message]
105
128
  end
106
-
107
129
  end
108
130
 
109
131
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MediaPackageVod
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -42,6 +42,10 @@ module Aws::MediaPackageVod
42
42
  # The IAM role\_arn used to access the source S3 bucket.
43
43
  # @return [String]
44
44
  #
45
+ # @!attribute [rw] tags
46
+ # A collection of tags associated with a resource
47
+ # @return [Hash<String,String>]
48
+ #
45
49
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/Asset AWS API Documentation
46
50
  #
47
51
  class Asset < Struct.new(
@@ -52,7 +56,8 @@ module Aws::MediaPackageVod
52
56
  :packaging_group_id,
53
57
  :resource_id,
54
58
  :source_arn,
55
- :source_role_arn)
59
+ :source_role_arn,
60
+ :tags)
56
61
  include Aws::Structure
57
62
  end
58
63
 
@@ -78,6 +83,10 @@ module Aws::MediaPackageVod
78
83
  # The IAM role ARN used to access the source S3 bucket.
79
84
  # @return [String]
80
85
  #
86
+ # @!attribute [rw] tags
87
+ # A collection of tags associated with a resource
88
+ # @return [Hash<String,String>]
89
+ #
81
90
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/AssetCreateParameters AWS API Documentation
82
91
  #
83
92
  class AssetCreateParameters < Struct.new(
@@ -85,7 +94,8 @@ module Aws::MediaPackageVod
85
94
  :packaging_group_id,
86
95
  :resource_id,
87
96
  :source_arn,
88
- :source_role_arn)
97
+ :source_role_arn,
98
+ :tags)
89
99
  include Aws::Structure
90
100
  end
91
101
 
@@ -138,6 +148,10 @@ module Aws::MediaPackageVod
138
148
  # The IAM role ARN used to access the source S3 bucket.
139
149
  # @return [String]
140
150
  #
151
+ # @!attribute [rw] tags
152
+ # A collection of tags associated with a resource
153
+ # @return [Hash<String,String>]
154
+ #
141
155
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/AssetShallow AWS API Documentation
142
156
  #
143
157
  class AssetShallow < Struct.new(
@@ -147,7 +161,8 @@ module Aws::MediaPackageVod
147
161
  :packaging_group_id,
148
162
  :resource_id,
149
163
  :source_arn,
150
- :source_role_arn)
164
+ :source_role_arn,
165
+ :tags)
151
166
  include Aws::Structure
152
167
  end
153
168
 
@@ -238,6 +253,9 @@ module Aws::MediaPackageVod
238
253
  # resource_id: "__string",
239
254
  # source_arn: "__string", # required
240
255
  # source_role_arn: "__string", # required
256
+ # tags: {
257
+ # "__string" => "__string",
258
+ # },
241
259
  # }
242
260
  #
243
261
  # @!attribute [rw] id
@@ -255,6 +273,10 @@ module Aws::MediaPackageVod
255
273
  # @!attribute [rw] source_role_arn
256
274
  # @return [String]
257
275
  #
276
+ # @!attribute [rw] tags
277
+ # A collection of tags associated with a resource
278
+ # @return [Hash<String,String>]
279
+ #
258
280
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAssetRequest AWS API Documentation
259
281
  #
260
282
  class CreateAssetRequest < Struct.new(
@@ -262,7 +284,8 @@ module Aws::MediaPackageVod
262
284
  :packaging_group_id,
263
285
  :resource_id,
264
286
  :source_arn,
265
- :source_role_arn)
287
+ :source_role_arn,
288
+ :tags)
266
289
  include Aws::Structure
267
290
  end
268
291
 
@@ -290,6 +313,10 @@ module Aws::MediaPackageVod
290
313
  # @!attribute [rw] source_role_arn
291
314
  # @return [String]
292
315
  #
316
+ # @!attribute [rw] tags
317
+ # A collection of tags associated with a resource
318
+ # @return [Hash<String,String>]
319
+ #
293
320
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAssetResponse AWS API Documentation
294
321
  #
295
322
  class CreateAssetResponse < Struct.new(
@@ -300,7 +327,8 @@ module Aws::MediaPackageVod
300
327
  :packaging_group_id,
301
328
  :resource_id,
302
329
  :source_arn,
303
- :source_role_arn)
330
+ :source_role_arn,
331
+ :tags)
304
332
  include Aws::Structure
305
333
  end
306
334
 
@@ -335,6 +363,7 @@ module Aws::MediaPackageVod
335
363
  # dash_package: {
336
364
  # dash_manifests: [ # required
337
365
  # {
366
+ # manifest_layout: "FULL", # accepts FULL, COMPACT
338
367
  # manifest_name: "__string",
339
368
  # min_buffer_time_seconds: 1,
340
369
  # profile: "NONE", # accepts NONE, HBBTV_1_5
@@ -352,7 +381,9 @@ module Aws::MediaPackageVod
352
381
  # url: "__string", # required
353
382
  # },
354
383
  # },
384
+ # period_triggers: ["ADS"], # accepts ADS
355
385
  # segment_duration_seconds: 1,
386
+ # segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
356
387
  # },
357
388
  # hls_package: {
358
389
  # encryption: {
@@ -403,6 +434,9 @@ module Aws::MediaPackageVod
403
434
  # segment_duration_seconds: 1,
404
435
  # },
405
436
  # packaging_group_id: "__string", # required
437
+ # tags: {
438
+ # "__string" => "__string",
439
+ # },
406
440
  # }
407
441
  #
408
442
  # @!attribute [rw] cmaf_package
@@ -428,6 +462,10 @@ module Aws::MediaPackageVod
428
462
  # @!attribute [rw] packaging_group_id
429
463
  # @return [String]
430
464
  #
465
+ # @!attribute [rw] tags
466
+ # A collection of tags associated with a resource
467
+ # @return [Hash<String,String>]
468
+ #
431
469
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfigurationRequest AWS API Documentation
432
470
  #
433
471
  class CreatePackagingConfigurationRequest < Struct.new(
@@ -436,7 +474,8 @@ module Aws::MediaPackageVod
436
474
  :hls_package,
437
475
  :id,
438
476
  :mss_package,
439
- :packaging_group_id)
477
+ :packaging_group_id,
478
+ :tags)
440
479
  include Aws::Structure
441
480
  end
442
481
 
@@ -466,6 +505,10 @@ module Aws::MediaPackageVod
466
505
  # @!attribute [rw] packaging_group_id
467
506
  # @return [String]
468
507
  #
508
+ # @!attribute [rw] tags
509
+ # A collection of tags associated with a resource
510
+ # @return [Hash<String,String>]
511
+ #
469
512
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfigurationResponse AWS API Documentation
470
513
  #
471
514
  class CreatePackagingConfigurationResponse < Struct.new(
@@ -475,7 +518,8 @@ module Aws::MediaPackageVod
475
518
  :hls_package,
476
519
  :id,
477
520
  :mss_package,
478
- :packaging_group_id)
521
+ :packaging_group_id,
522
+ :tags)
479
523
  include Aws::Structure
480
524
  end
481
525
 
@@ -484,15 +528,23 @@ module Aws::MediaPackageVod
484
528
  #
485
529
  # {
486
530
  # id: "__string", # required
531
+ # tags: {
532
+ # "__string" => "__string",
533
+ # },
487
534
  # }
488
535
  #
489
536
  # @!attribute [rw] id
490
537
  # @return [String]
491
538
  #
539
+ # @!attribute [rw] tags
540
+ # A collection of tags associated with a resource
541
+ # @return [Hash<String,String>]
542
+ #
492
543
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroupRequest AWS API Documentation
493
544
  #
494
545
  class CreatePackagingGroupRequest < Struct.new(
495
- :id)
546
+ :id,
547
+ :tags)
496
548
  include Aws::Structure
497
549
  end
498
550
 
@@ -505,12 +557,17 @@ module Aws::MediaPackageVod
505
557
  # @!attribute [rw] id
506
558
  # @return [String]
507
559
  #
560
+ # @!attribute [rw] tags
561
+ # A collection of tags associated with a resource
562
+ # @return [Hash<String,String>]
563
+ #
508
564
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroupResponse AWS API Documentation
509
565
  #
510
566
  class CreatePackagingGroupResponse < Struct.new(
511
567
  :arn,
512
568
  :domain_name,
513
- :id)
569
+ :id,
570
+ :tags)
514
571
  include Aws::Structure
515
572
  end
516
573
 
@@ -547,6 +604,7 @@ module Aws::MediaPackageVod
547
604
  # data as a hash:
548
605
  #
549
606
  # {
607
+ # manifest_layout: "FULL", # accepts FULL, COMPACT
550
608
  # manifest_name: "__string",
551
609
  # min_buffer_time_seconds: 1,
552
610
  # profile: "NONE", # accepts NONE, HBBTV_1_5
@@ -557,6 +615,14 @@ module Aws::MediaPackageVod
557
615
  # },
558
616
  # }
559
617
  #
618
+ # @!attribute [rw] manifest_layout
619
+ # Determines the position of some tags in the Media Presentation
620
+ # Description (MPD). When set to FULL, elements like SegmentTemplate
621
+ # and ContentProtection are included in each Representation. When set
622
+ # to COMPACT, duplicate elements are combined and presented at the
623
+ # AdaptationSet level.
624
+ # @return [String]
625
+ #
560
626
  # @!attribute [rw] manifest_name
561
627
  # An optional string to include in the name of the manifest.
562
628
  # @return [String]
@@ -578,6 +644,7 @@ module Aws::MediaPackageVod
578
644
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DashManifest AWS API Documentation
579
645
  #
580
646
  class DashManifest < Struct.new(
647
+ :manifest_layout,
581
648
  :manifest_name,
582
649
  :min_buffer_time_seconds,
583
650
  :profile,
@@ -593,6 +660,7 @@ module Aws::MediaPackageVod
593
660
  # {
594
661
  # dash_manifests: [ # required
595
662
  # {
663
+ # manifest_layout: "FULL", # accepts FULL, COMPACT
596
664
  # manifest_name: "__string",
597
665
  # min_buffer_time_seconds: 1,
598
666
  # profile: "NONE", # accepts NONE, HBBTV_1_5
@@ -610,7 +678,9 @@ module Aws::MediaPackageVod
610
678
  # url: "__string", # required
611
679
  # },
612
680
  # },
681
+ # period_triggers: ["ADS"], # accepts ADS
613
682
  # segment_duration_seconds: 1,
683
+ # segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
614
684
  # }
615
685
  #
616
686
  # @!attribute [rw] dash_manifests
@@ -622,17 +692,38 @@ module Aws::MediaPackageVod
622
692
  # configuration.
623
693
  # @return [Types::DashEncryption]
624
694
  #
695
+ # @!attribute [rw] period_triggers
696
+ # A list of triggers that controls when the outgoing Dynamic Adaptive
697
+ # Streaming over HTTP (DASH) Media Presentation Description (MPD) will
698
+ # be partitioned into multiple periods. If empty, the content will not
699
+ # be partitioned into more than one period. If the list contains
700
+ # "ADS", new periods will be created where the Asset contains
701
+ # SCTE-35 ad markers.
702
+ # @return [Array<String>]
703
+ #
625
704
  # @!attribute [rw] segment_duration_seconds
626
705
  # Duration (in seconds) of each segment. Actual segments will be
627
706
  # rounded to the nearest multiple of the source segment duration.
628
707
  # @return [Integer]
629
708
  #
709
+ # @!attribute [rw] segment_template_format
710
+ # Determines the type of SegmentTemplate included in the Media
711
+ # Presentation Description (MPD). When set to NUMBER\_WITH\_TIMELINE,
712
+ # a full timeline is presented in each SegmentTemplate, with $Number$
713
+ # media URLs. When set to TIME\_WITH\_TIMELINE, a full timeline is
714
+ # presented in each SegmentTemplate, with $Time$ media URLs. When set
715
+ # to NUMBER\_WITH\_DURATION, only a duration is included in each
716
+ # SegmentTemplate, with $Number$ media URLs.
717
+ # @return [String]
718
+ #
630
719
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DashPackage AWS API Documentation
631
720
  #
632
721
  class DashPackage < Struct.new(
633
722
  :dash_manifests,
634
723
  :encryption,
635
- :segment_duration_seconds)
724
+ :period_triggers,
725
+ :segment_duration_seconds,
726
+ :segment_template_format)
636
727
  include Aws::Structure
637
728
  end
638
729
 
@@ -740,6 +831,10 @@ module Aws::MediaPackageVod
740
831
  # @!attribute [rw] source_role_arn
741
832
  # @return [String]
742
833
  #
834
+ # @!attribute [rw] tags
835
+ # A collection of tags associated with a resource
836
+ # @return [Hash<String,String>]
837
+ #
743
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAssetResponse AWS API Documentation
744
839
  #
745
840
  class DescribeAssetResponse < Struct.new(
@@ -750,7 +845,8 @@ module Aws::MediaPackageVod
750
845
  :packaging_group_id,
751
846
  :resource_id,
752
847
  :source_arn,
753
- :source_role_arn)
848
+ :source_role_arn,
849
+ :tags)
754
850
  include Aws::Structure
755
851
  end
756
852
 
@@ -797,6 +893,10 @@ module Aws::MediaPackageVod
797
893
  # @!attribute [rw] packaging_group_id
798
894
  # @return [String]
799
895
  #
896
+ # @!attribute [rw] tags
897
+ # A collection of tags associated with a resource
898
+ # @return [Hash<String,String>]
899
+ #
800
900
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfigurationResponse AWS API Documentation
801
901
  #
802
902
  class DescribePackagingConfigurationResponse < Struct.new(
@@ -806,7 +906,8 @@ module Aws::MediaPackageVod
806
906
  :hls_package,
807
907
  :id,
808
908
  :mss_package,
809
- :packaging_group_id)
909
+ :packaging_group_id,
910
+ :tags)
810
911
  include Aws::Structure
811
912
  end
812
913
 
@@ -836,12 +937,17 @@ module Aws::MediaPackageVod
836
937
  # @!attribute [rw] id
837
938
  # @return [String]
838
939
  #
940
+ # @!attribute [rw] tags
941
+ # A collection of tags associated with a resource
942
+ # @return [Hash<String,String>]
943
+ #
839
944
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroupResponse AWS API Documentation
840
945
  #
841
946
  class DescribePackagingGroupResponse < Struct.new(
842
947
  :arn,
843
948
  :domain_name,
844
- :id)
949
+ :id,
950
+ :tags)
845
951
  include Aws::Structure
846
952
  end
847
953
 
@@ -1171,6 +1277,33 @@ module Aws::MediaPackageVod
1171
1277
  include Aws::Structure
1172
1278
  end
1173
1279
 
1280
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1281
+ # data as a hash:
1282
+ #
1283
+ # {
1284
+ # resource_arn: "__string", # required
1285
+ # }
1286
+ #
1287
+ # @!attribute [rw] resource_arn
1288
+ # @return [String]
1289
+ #
1290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResourceRequest AWS API Documentation
1291
+ #
1292
+ class ListTagsForResourceRequest < Struct.new(
1293
+ :resource_arn)
1294
+ include Aws::Structure
1295
+ end
1296
+
1297
+ # @!attribute [rw] tags
1298
+ # @return [Hash<String,String>]
1299
+ #
1300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResourceResponse AWS API Documentation
1301
+ #
1302
+ class ListTagsForResourceResponse < Struct.new(
1303
+ :tags)
1304
+ include Aws::Structure
1305
+ end
1306
+
1174
1307
  # A Microsoft Smooth Streaming (MSS) encryption configuration.
1175
1308
  #
1176
1309
  # @note When making an API call, you may pass MssEncryption
@@ -1315,6 +1448,10 @@ module Aws::MediaPackageVod
1315
1448
  # The ID of a PackagingGroup.
1316
1449
  # @return [String]
1317
1450
  #
1451
+ # @!attribute [rw] tags
1452
+ # A collection of tags associated with a resource
1453
+ # @return [Hash<String,String>]
1454
+ #
1318
1455
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingConfiguration AWS API Documentation
1319
1456
  #
1320
1457
  class PackagingConfiguration < Struct.new(
@@ -1324,7 +1461,8 @@ module Aws::MediaPackageVod
1324
1461
  :hls_package,
1325
1462
  :id,
1326
1463
  :mss_package,
1327
- :packaging_group_id)
1464
+ :packaging_group_id,
1465
+ :tags)
1328
1466
  include Aws::Structure
1329
1467
  end
1330
1468
 
@@ -1356,6 +1494,10 @@ module Aws::MediaPackageVod
1356
1494
  # The ID of a PackagingGroup.
1357
1495
  # @return [String]
1358
1496
  #
1497
+ # @!attribute [rw] tags
1498
+ # A collection of tags associated with a resource
1499
+ # @return [Hash<String,String>]
1500
+ #
1359
1501
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingConfigurationCreateParameters AWS API Documentation
1360
1502
  #
1361
1503
  class PackagingConfigurationCreateParameters < Struct.new(
@@ -1364,7 +1506,8 @@ module Aws::MediaPackageVod
1364
1506
  :hls_package,
1365
1507
  :id,
1366
1508
  :mss_package,
1367
- :packaging_group_id)
1509
+ :packaging_group_id,
1510
+ :tags)
1368
1511
  include Aws::Structure
1369
1512
  end
1370
1513
 
@@ -1401,12 +1544,17 @@ module Aws::MediaPackageVod
1401
1544
  # The ID of the PackagingGroup.
1402
1545
  # @return [String]
1403
1546
  #
1547
+ # @!attribute [rw] tags
1548
+ # A collection of tags associated with a resource
1549
+ # @return [Hash<String,String>]
1550
+ #
1404
1551
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingGroup AWS API Documentation
1405
1552
  #
1406
1553
  class PackagingGroup < Struct.new(
1407
1554
  :arn,
1408
1555
  :domain_name,
1409
- :id)
1556
+ :id,
1557
+ :tags)
1410
1558
  include Aws::Structure
1411
1559
  end
1412
1560
 
@@ -1417,10 +1565,15 @@ module Aws::MediaPackageVod
1417
1565
  # The ID of the PackagingGroup.
1418
1566
  # @return [String]
1419
1567
  #
1568
+ # @!attribute [rw] tags
1569
+ # A collection of tags associated with a resource
1570
+ # @return [Hash<String,String>]
1571
+ #
1420
1572
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingGroupCreateParameters AWS API Documentation
1421
1573
  #
1422
1574
  class PackagingGroupCreateParameters < Struct.new(
1423
- :id)
1575
+ :id,
1576
+ :tags)
1424
1577
  include Aws::Structure
1425
1578
  end
1426
1579
 
@@ -1519,6 +1672,40 @@ module Aws::MediaPackageVod
1519
1672
  include Aws::Structure
1520
1673
  end
1521
1674
 
1675
+ # @note When making an API call, you may pass TagResourceRequest
1676
+ # data as a hash:
1677
+ #
1678
+ # {
1679
+ # resource_arn: "__string", # required
1680
+ # tags: { # required
1681
+ # "__string" => "__string",
1682
+ # },
1683
+ # }
1684
+ #
1685
+ # @!attribute [rw] resource_arn
1686
+ # @return [String]
1687
+ #
1688
+ # @!attribute [rw] tags
1689
+ # @return [Hash<String,String>]
1690
+ #
1691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResourceRequest AWS API Documentation
1692
+ #
1693
+ class TagResourceRequest < Struct.new(
1694
+ :resource_arn,
1695
+ :tags)
1696
+ include Aws::Structure
1697
+ end
1698
+
1699
+ # @!attribute [rw] tags
1700
+ # @return [Hash<String,String>]
1701
+ #
1702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagsModel AWS API Documentation
1703
+ #
1704
+ class TagsModel < Struct.new(
1705
+ :tags)
1706
+ include Aws::Structure
1707
+ end
1708
+
1522
1709
  # @!attribute [rw] message
1523
1710
  # @return [String]
1524
1711
  #
@@ -1539,5 +1726,27 @@ module Aws::MediaPackageVod
1539
1726
  include Aws::Structure
1540
1727
  end
1541
1728
 
1729
+ # @note When making an API call, you may pass UntagResourceRequest
1730
+ # data as a hash:
1731
+ #
1732
+ # {
1733
+ # resource_arn: "__string", # required
1734
+ # tag_keys: ["__string"], # required
1735
+ # }
1736
+ #
1737
+ # @!attribute [rw] resource_arn
1738
+ # @return [String]
1739
+ #
1740
+ # @!attribute [rw] tag_keys
1741
+ # @return [Array<String>]
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResourceRequest AWS API Documentation
1744
+ #
1745
+ class UntagResourceRequest < Struct.new(
1746
+ :resource_arn,
1747
+ :tag_keys)
1748
+ include Aws::Structure
1749
+ end
1750
+
1542
1751
  end
1543
1752
  end