aws-sdk-medialive 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cedfe81cb0cb96c613062f79dc4ee74fd0384630
4
- data.tar.gz: 56b4e59034104c79999117a6ecfae697a8b49520
3
+ metadata.gz: 99fdf5ef4a82da4b9547c7a1a3ffb87ae4f16b94
4
+ data.tar.gz: c618f52725c330456ddff12c673542a491efe71b
5
5
  SHA512:
6
- metadata.gz: f30b32a9d2c7a40463b6ee1fa5749537b0e4d6ede49ff49319a89e69790ca0460727f3782184656ec2696ea8d2ad2a3f19cf8dc351748839ed1a5d3757281714
7
- data.tar.gz: a5a8cf3c943e3ebc87f333b61ff3364055396e8f61eaaa7985410fb6e53026559112418e2cd250b9b33a33286d72fbf832a174fedc104b97a4eaf538fea5f4ac
6
+ metadata.gz: f86dbfb3cd74fefbddbd6938486385df068e9866aac29e0f370640cda596629818d8b450d61cb4496fa60b264e7669d91acc9036c0e1641efdd380c583698487
7
+ data.tar.gz: 862f04b2e5cbfe7adbb979a6054954180c4f3030999d8d02b8d3915c4c693f473459af3e550341abd12e614c6cb6af69c18bc1adcd731fb8f5caf81290817571
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-medialive/customizations'
42
42
  # @service
43
43
  module Aws::MediaLive
44
44
 
45
- GEM_VERSION = '1.19.0'
45
+ GEM_VERSION = '1.20.0'
46
46
 
47
47
  end
@@ -419,6 +419,8 @@ module Aws::MediaLive
419
419
  #
420
420
  # @option params [String] :role_arn
421
421
  #
422
+ # @option params [Hash<String,String>] :tags
423
+ #
422
424
  # @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
423
425
  #
424
426
  # * {Types::CreateChannelResponse#channel #channel} => Types::Channel
@@ -1136,6 +1138,9 @@ module Aws::MediaLive
1136
1138
  # request_id: "__string",
1137
1139
  # reserved: "__string",
1138
1140
  # role_arn: "__string",
1141
+ # tags: {
1142
+ # "__string" => "__string",
1143
+ # },
1139
1144
  # })
1140
1145
  #
1141
1146
  # @example Response structure
@@ -1614,6 +1619,8 @@ module Aws::MediaLive
1614
1619
  # resp.channel.pipelines_running_count #=> Integer
1615
1620
  # resp.channel.role_arn #=> String
1616
1621
  # resp.channel.state #=> String, one of "CREATING", "CREATE_FAILED", "IDLE", "STARTING", "RUNNING", "RECOVERING", "STOPPING", "DELETING", "DELETED"
1622
+ # resp.channel.tags #=> Hash
1623
+ # resp.channel.tags["__string"] #=> String
1617
1624
  #
1618
1625
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel AWS API Documentation
1619
1626
  #
@@ -1642,6 +1649,8 @@ module Aws::MediaLive
1642
1649
  #
1643
1650
  # @option params [Array<Types::InputSourceRequest>] :sources
1644
1651
  #
1652
+ # @option params [Hash<String,String>] :tags
1653
+ #
1645
1654
  # @option params [String] :type
1646
1655
  #
1647
1656
  # @return [Types::CreateInputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1672,6 +1681,9 @@ module Aws::MediaLive
1672
1681
  # username: "__string",
1673
1682
  # },
1674
1683
  # ],
1684
+ # tags: {
1685
+ # "__string" => "__string",
1686
+ # },
1675
1687
  # type: "UDP_PUSH", # accepts UDP_PUSH, RTP_PUSH, RTMP_PUSH, RTMP_PULL, URL_PULL, MP4_FILE, MEDIACONNECT
1676
1688
  # })
1677
1689
  #
@@ -1696,6 +1708,8 @@ module Aws::MediaLive
1696
1708
  # resp.input.sources[0].url #=> String
1697
1709
  # resp.input.sources[0].username #=> String
1698
1710
  # resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
1711
+ # resp.input.tags #=> Hash
1712
+ # resp.input.tags["__string"] #=> String
1699
1713
  # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT"
1700
1714
  #
1701
1715
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput AWS API Documentation
@@ -1709,6 +1723,8 @@ module Aws::MediaLive
1709
1723
 
1710
1724
  # Creates a Input Security Group
1711
1725
  #
1726
+ # @option params [Hash<String,String>] :tags
1727
+ #
1712
1728
  # @option params [Array<Types::InputWhitelistRuleCidr>] :whitelist_rules
1713
1729
  #
1714
1730
  # @return [Types::CreateInputSecurityGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1718,6 +1734,9 @@ module Aws::MediaLive
1718
1734
  # @example Request syntax with placeholder values
1719
1735
  #
1720
1736
  # resp = client.create_input_security_group({
1737
+ # tags: {
1738
+ # "__string" => "__string",
1739
+ # },
1721
1740
  # whitelist_rules: [
1722
1741
  # {
1723
1742
  # cidr: "__string",
@@ -1732,6 +1751,8 @@ module Aws::MediaLive
1732
1751
  # resp.security_group.inputs #=> Array
1733
1752
  # resp.security_group.inputs[0] #=> String
1734
1753
  # resp.security_group.state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
1754
+ # resp.security_group.tags #=> Hash
1755
+ # resp.security_group.tags["__string"] #=> String
1735
1756
  # resp.security_group.whitelist_rules #=> Array
1736
1757
  # resp.security_group.whitelist_rules[0].cidr #=> String
1737
1758
  #
@@ -1744,6 +1765,32 @@ module Aws::MediaLive
1744
1765
  req.send_request(options)
1745
1766
  end
1746
1767
 
1768
+ # Create tags for a resource
1769
+ #
1770
+ # @option params [required, String] :resource_arn
1771
+ #
1772
+ # @option params [Hash<String,String>] :tags
1773
+ #
1774
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1775
+ #
1776
+ # @example Request syntax with placeholder values
1777
+ #
1778
+ # resp = client.create_tags({
1779
+ # resource_arn: "__string", # required
1780
+ # tags: {
1781
+ # "__string" => "__string",
1782
+ # },
1783
+ # })
1784
+ #
1785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateTags AWS API Documentation
1786
+ #
1787
+ # @overload create_tags(params = {})
1788
+ # @param [Hash] params ({})
1789
+ def create_tags(params = {}, options = {})
1790
+ req = build_request(:create_tags, params)
1791
+ req.send_request(options)
1792
+ end
1793
+
1747
1794
  # Starts deletion of channel. The associated outputs are also deleted.
1748
1795
  #
1749
1796
  # @option params [required, String] :channel_id
@@ -1762,6 +1809,7 @@ module Aws::MediaLive
1762
1809
  # * {Types::DeleteChannelResponse#pipelines_running_count #pipelines_running_count} => Integer
1763
1810
  # * {Types::DeleteChannelResponse#role_arn #role_arn} => String
1764
1811
  # * {Types::DeleteChannelResponse#state #state} => String
1812
+ # * {Types::DeleteChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1765
1813
  #
1766
1814
  # @example Request syntax with placeholder values
1767
1815
  #
@@ -2245,6 +2293,8 @@ module Aws::MediaLive
2245
2293
  # resp.pipelines_running_count #=> Integer
2246
2294
  # resp.role_arn #=> String
2247
2295
  # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "IDLE", "STARTING", "RUNNING", "RECOVERING", "STOPPING", "DELETING", "DELETED"
2296
+ # resp.tags #=> Hash
2297
+ # resp.tags["__string"] #=> String
2248
2298
  #
2249
2299
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel AWS API Documentation
2250
2300
  #
@@ -2362,6 +2412,30 @@ module Aws::MediaLive
2362
2412
  req.send_request(options)
2363
2413
  end
2364
2414
 
2415
+ # Removes tags for a resource
2416
+ #
2417
+ # @option params [required, String] :resource_arn
2418
+ #
2419
+ # @option params [required, Array<String>] :tag_keys
2420
+ #
2421
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2422
+ #
2423
+ # @example Request syntax with placeholder values
2424
+ #
2425
+ # resp = client.delete_tags({
2426
+ # resource_arn: "__string", # required
2427
+ # tag_keys: ["__string"], # required
2428
+ # })
2429
+ #
2430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteTags AWS API Documentation
2431
+ #
2432
+ # @overload delete_tags(params = {})
2433
+ # @param [Hash] params ({})
2434
+ def delete_tags(params = {}, options = {})
2435
+ req = build_request(:delete_tags, params)
2436
+ req.send_request(options)
2437
+ end
2438
+
2365
2439
  # Gets details about a channel
2366
2440
  #
2367
2441
  # @option params [required, String] :channel_id
@@ -2380,6 +2454,7 @@ module Aws::MediaLive
2380
2454
  # * {Types::DescribeChannelResponse#pipelines_running_count #pipelines_running_count} => Integer
2381
2455
  # * {Types::DescribeChannelResponse#role_arn #role_arn} => String
2382
2456
  # * {Types::DescribeChannelResponse#state #state} => String
2457
+ # * {Types::DescribeChannelResponse#tags #tags} => Hash&lt;String,String&gt;
2383
2458
  #
2384
2459
  # @example Request syntax with placeholder values
2385
2460
  #
@@ -2863,6 +2938,8 @@ module Aws::MediaLive
2863
2938
  # resp.pipelines_running_count #=> Integer
2864
2939
  # resp.role_arn #=> String
2865
2940
  # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "IDLE", "STARTING", "RUNNING", "RECOVERING", "STOPPING", "DELETING", "DELETED"
2941
+ # resp.tags #=> Hash
2942
+ # resp.tags["__string"] #=> String
2866
2943
  #
2867
2944
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel AWS API Documentation
2868
2945
  #
@@ -2889,6 +2966,7 @@ module Aws::MediaLive
2889
2966
  # * {Types::DescribeInputResponse#security_groups #security_groups} => Array&lt;String&gt;
2890
2967
  # * {Types::DescribeInputResponse#sources #sources} => Array&lt;Types::InputSource&gt;
2891
2968
  # * {Types::DescribeInputResponse#state #state} => String
2969
+ # * {Types::DescribeInputResponse#tags #tags} => Hash&lt;String,String&gt;
2892
2970
  # * {Types::DescribeInputResponse#type #type} => String
2893
2971
  #
2894
2972
  # @example Request syntax with placeholder values
@@ -2918,6 +2996,8 @@ module Aws::MediaLive
2918
2996
  # resp.sources[0].url #=> String
2919
2997
  # resp.sources[0].username #=> String
2920
2998
  # resp.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
2999
+ # resp.tags #=> Hash
3000
+ # resp.tags["__string"] #=> String
2921
3001
  # resp.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT"
2922
3002
  #
2923
3003
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput AWS API Documentation
@@ -2939,6 +3019,7 @@ module Aws::MediaLive
2939
3019
  # * {Types::DescribeInputSecurityGroupResponse#id #id} => String
2940
3020
  # * {Types::DescribeInputSecurityGroupResponse#inputs #inputs} => Array&lt;String&gt;
2941
3021
  # * {Types::DescribeInputSecurityGroupResponse#state #state} => String
3022
+ # * {Types::DescribeInputSecurityGroupResponse#tags #tags} => Hash&lt;String,String&gt;
2942
3023
  # * {Types::DescribeInputSecurityGroupResponse#whitelist_rules #whitelist_rules} => Array&lt;Types::InputWhitelistRule&gt;
2943
3024
  #
2944
3025
  # @example Request syntax with placeholder values
@@ -2954,6 +3035,8 @@ module Aws::MediaLive
2954
3035
  # resp.inputs #=> Array
2955
3036
  # resp.inputs[0] #=> String
2956
3037
  # resp.state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
3038
+ # resp.tags #=> Hash
3039
+ # resp.tags["__string"] #=> String
2957
3040
  # resp.whitelist_rules #=> Array
2958
3041
  # resp.whitelist_rules[0].cidr #=> String
2959
3042
  #
@@ -3268,6 +3351,8 @@ module Aws::MediaLive
3268
3351
  # resp.input_security_groups[0].inputs #=> Array
3269
3352
  # resp.input_security_groups[0].inputs[0] #=> String
3270
3353
  # resp.input_security_groups[0].state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
3354
+ # resp.input_security_groups[0].tags #=> Hash
3355
+ # resp.input_security_groups[0].tags["__string"] #=> String
3271
3356
  # resp.input_security_groups[0].whitelist_rules #=> Array
3272
3357
  # resp.input_security_groups[0].whitelist_rules[0].cidr #=> String
3273
3358
  # resp.next_token #=> String
@@ -3321,6 +3406,8 @@ module Aws::MediaLive
3321
3406
  # resp.inputs[0].sources[0].url #=> String
3322
3407
  # resp.inputs[0].sources[0].username #=> String
3323
3408
  # resp.inputs[0].state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
3409
+ # resp.inputs[0].tags #=> Hash
3410
+ # resp.inputs[0].tags["__string"] #=> String
3324
3411
  # resp.inputs[0].type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT"
3325
3412
  # resp.next_token #=> String
3326
3413
  #
@@ -3482,6 +3569,34 @@ module Aws::MediaLive
3482
3569
  req.send_request(options)
3483
3570
  end
3484
3571
 
3572
+ # Produces list of tags that have been created for a resource
3573
+ #
3574
+ # @option params [required, String] :resource_arn
3575
+ #
3576
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3577
+ #
3578
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
3579
+ #
3580
+ # @example Request syntax with placeholder values
3581
+ #
3582
+ # resp = client.list_tags_for_resource({
3583
+ # resource_arn: "__string", # required
3584
+ # })
3585
+ #
3586
+ # @example Response structure
3587
+ #
3588
+ # resp.tags #=> Hash
3589
+ # resp.tags["__string"] #=> String
3590
+ #
3591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource AWS API Documentation
3592
+ #
3593
+ # @overload list_tags_for_resource(params = {})
3594
+ # @param [Hash] params ({})
3595
+ def list_tags_for_resource(params = {}, options = {})
3596
+ req = build_request(:list_tags_for_resource, params)
3597
+ req.send_request(options)
3598
+ end
3599
+
3485
3600
  # Purchase an offering and create a reservation.
3486
3601
  #
3487
3602
  # @option params [required, Integer] :count
@@ -3563,6 +3678,7 @@ module Aws::MediaLive
3563
3678
  # * {Types::StartChannelResponse#pipelines_running_count #pipelines_running_count} => Integer
3564
3679
  # * {Types::StartChannelResponse#role_arn #role_arn} => String
3565
3680
  # * {Types::StartChannelResponse#state #state} => String
3681
+ # * {Types::StartChannelResponse#tags #tags} => Hash&lt;String,String&gt;
3566
3682
  #
3567
3683
  # @example Request syntax with placeholder values
3568
3684
  #
@@ -4046,6 +4162,8 @@ module Aws::MediaLive
4046
4162
  # resp.pipelines_running_count #=> Integer
4047
4163
  # resp.role_arn #=> String
4048
4164
  # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "IDLE", "STARTING", "RUNNING", "RECOVERING", "STOPPING", "DELETING", "DELETED"
4165
+ # resp.tags #=> Hash
4166
+ # resp.tags["__string"] #=> String
4049
4167
  #
4050
4168
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel AWS API Documentation
4051
4169
  #
@@ -4074,6 +4192,7 @@ module Aws::MediaLive
4074
4192
  # * {Types::StopChannelResponse#pipelines_running_count #pipelines_running_count} => Integer
4075
4193
  # * {Types::StopChannelResponse#role_arn #role_arn} => String
4076
4194
  # * {Types::StopChannelResponse#state #state} => String
4195
+ # * {Types::StopChannelResponse#tags #tags} => Hash&lt;String,String&gt;
4077
4196
  #
4078
4197
  # @example Request syntax with placeholder values
4079
4198
  #
@@ -4557,6 +4676,8 @@ module Aws::MediaLive
4557
4676
  # resp.pipelines_running_count #=> Integer
4558
4677
  # resp.role_arn #=> String
4559
4678
  # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "IDLE", "STARTING", "RUNNING", "RECOVERING", "STOPPING", "DELETING", "DELETED"
4679
+ # resp.tags #=> Hash
4680
+ # resp.tags["__string"] #=> String
4560
4681
  #
4561
4682
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel AWS API Documentation
4562
4683
  #
@@ -5780,6 +5901,8 @@ module Aws::MediaLive
5780
5901
  # resp.channel.pipelines_running_count #=> Integer
5781
5902
  # resp.channel.role_arn #=> String
5782
5903
  # resp.channel.state #=> String, one of "CREATING", "CREATE_FAILED", "IDLE", "STARTING", "RUNNING", "RECOVERING", "STOPPING", "DELETING", "DELETED"
5904
+ # resp.channel.tags #=> Hash
5905
+ # resp.channel.tags["__string"] #=> String
5783
5906
  #
5784
5907
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel AWS API Documentation
5785
5908
  #
@@ -5857,6 +5980,8 @@ module Aws::MediaLive
5857
5980
  # resp.input.sources[0].url #=> String
5858
5981
  # resp.input.sources[0].username #=> String
5859
5982
  # resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
5983
+ # resp.input.tags #=> Hash
5984
+ # resp.input.tags["__string"] #=> String
5860
5985
  # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT"
5861
5986
  #
5862
5987
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput AWS API Documentation
@@ -5872,6 +5997,8 @@ module Aws::MediaLive
5872
5997
  #
5873
5998
  # @option params [required, String] :input_security_group_id
5874
5999
  #
6000
+ # @option params [Hash<String,String>] :tags
6001
+ #
5875
6002
  # @option params [Array<Types::InputWhitelistRuleCidr>] :whitelist_rules
5876
6003
  #
5877
6004
  # @return [Types::UpdateInputSecurityGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -5882,6 +6009,9 @@ module Aws::MediaLive
5882
6009
  #
5883
6010
  # resp = client.update_input_security_group({
5884
6011
  # input_security_group_id: "__string", # required
6012
+ # tags: {
6013
+ # "__string" => "__string",
6014
+ # },
5885
6015
  # whitelist_rules: [
5886
6016
  # {
5887
6017
  # cidr: "__string",
@@ -5896,6 +6026,8 @@ module Aws::MediaLive
5896
6026
  # resp.security_group.inputs #=> Array
5897
6027
  # resp.security_group.inputs[0] #=> String
5898
6028
  # resp.security_group.state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
6029
+ # resp.security_group.tags #=> Hash
6030
+ # resp.security_group.tags["__string"] #=> String
5899
6031
  # resp.security_group.whitelist_rules #=> Array
5900
6032
  # resp.security_group.whitelist_rules[0].cidr #=> String
5901
6033
  #
@@ -5921,7 +6053,7 @@ module Aws::MediaLive
5921
6053
  params: params,
5922
6054
  config: config)
5923
6055
  context[:gem_name] = 'aws-sdk-medialive'
5924
- context[:gem_version] = '1.19.0'
6056
+ context[:gem_version] = '1.20.0'
5925
6057
  Seahorse::Client::Request.new(handlers, context)
5926
6058
  end
5927
6059
 
@@ -94,6 +94,7 @@ module Aws::MediaLive
94
94
  CreateInputSecurityGroupRequest = Shapes::StructureShape.new(name: 'CreateInputSecurityGroupRequest')
95
95
  CreateInputSecurityGroupResponse = Shapes::StructureShape.new(name: 'CreateInputSecurityGroupResponse')
96
96
  CreateInputSecurityGroupResultModel = Shapes::StructureShape.new(name: 'CreateInputSecurityGroupResultModel')
97
+ CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
97
98
  DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
98
99
  DeleteChannelResponse = Shapes::StructureShape.new(name: 'DeleteChannelResponse')
99
100
  DeleteInputRequest = Shapes::StructureShape.new(name: 'DeleteInputRequest')
@@ -102,6 +103,7 @@ module Aws::MediaLive
102
103
  DeleteInputSecurityGroupResponse = Shapes::StructureShape.new(name: 'DeleteInputSecurityGroupResponse')
103
104
  DeleteReservationRequest = Shapes::StructureShape.new(name: 'DeleteReservationRequest')
104
105
  DeleteReservationResponse = Shapes::StructureShape.new(name: 'DeleteReservationResponse')
106
+ DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
105
107
  DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
106
108
  DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
107
109
  DescribeInputRequest = Shapes::StructureShape.new(name: 'DescribeInputRequest')
@@ -266,6 +268,8 @@ module Aws::MediaLive
266
268
  ListReservationsRequest = Shapes::StructureShape.new(name: 'ListReservationsRequest')
267
269
  ListReservationsResponse = Shapes::StructureShape.new(name: 'ListReservationsResponse')
268
270
  ListReservationsResultModel = Shapes::StructureShape.new(name: 'ListReservationsResultModel')
271
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
272
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
269
273
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
270
274
  M2tsAbsentInputAudioBehavior = Shapes::StringShape.new(name: 'M2tsAbsentInputAudioBehavior')
271
275
  M2tsArib = Shapes::StringShape.new(name: 'M2tsArib')
@@ -378,6 +382,8 @@ module Aws::MediaLive
378
382
  StaticKeySettings = Shapes::StructureShape.new(name: 'StaticKeySettings')
379
383
  StopChannelRequest = Shapes::StructureShape.new(name: 'StopChannelRequest')
380
384
  StopChannelResponse = Shapes::StructureShape.new(name: 'StopChannelResponse')
385
+ Tags = Shapes::MapShape.new(name: 'Tags')
386
+ TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
381
387
  TeletextDestinationSettings = Shapes::StructureShape.new(name: 'TeletextDestinationSettings')
382
388
  TeletextSourceSettings = Shapes::StructureShape.new(name: 'TeletextSourceSettings')
383
389
  TimecodeConfig = Shapes::StructureShape.new(name: 'TimecodeConfig')
@@ -707,6 +713,7 @@ module Aws::MediaLive
707
713
  Channel.add_member(:pipelines_running_count, Shapes::ShapeRef.new(shape: __integer, location_name: "pipelinesRunningCount"))
708
714
  Channel.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
709
715
  Channel.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
716
+ Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
710
717
  Channel.struct_class = Types::Channel
711
718
 
712
719
  ChannelConfigurationValidationError.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
@@ -738,6 +745,7 @@ module Aws::MediaLive
738
745
  CreateChannel.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
739
746
  CreateChannel.add_member(:reserved, Shapes::ShapeRef.new(shape: __string, deprecated: true, location_name: "reserved"))
740
747
  CreateChannel.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
748
+ CreateChannel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
741
749
  CreateChannel.struct_class = Types::CreateChannel
742
750
 
743
751
  CreateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
@@ -749,6 +757,7 @@ module Aws::MediaLive
749
757
  CreateChannelRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
750
758
  CreateChannelRequest.add_member(:reserved, Shapes::ShapeRef.new(shape: __string, deprecated: true, location_name: "reserved"))
751
759
  CreateChannelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
760
+ CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
752
761
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
753
762
 
754
763
  CreateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
@@ -764,6 +773,7 @@ module Aws::MediaLive
764
773
  CreateInput.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
765
774
  CreateInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
766
775
  CreateInput.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSourceRequest, location_name: "sources"))
776
+ CreateInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
767
777
  CreateInput.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
768
778
  CreateInput.struct_class = Types::CreateInput
769
779
 
@@ -774,6 +784,7 @@ module Aws::MediaLive
774
784
  CreateInputRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
775
785
  CreateInputRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
776
786
  CreateInputRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSourceRequest, location_name: "sources"))
787
+ CreateInputRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
777
788
  CreateInputRequest.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
778
789
  CreateInputRequest.struct_class = Types::CreateInputRequest
779
790
 
@@ -783,6 +794,7 @@ module Aws::MediaLive
783
794
  CreateInputResultModel.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
784
795
  CreateInputResultModel.struct_class = Types::CreateInputResultModel
785
796
 
797
+ CreateInputSecurityGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
786
798
  CreateInputSecurityGroupRequest.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRuleCidr, location_name: "whitelistRules"))
787
799
  CreateInputSecurityGroupRequest.struct_class = Types::CreateInputSecurityGroupRequest
788
800
 
@@ -792,6 +804,10 @@ module Aws::MediaLive
792
804
  CreateInputSecurityGroupResultModel.add_member(:security_group, Shapes::ShapeRef.new(shape: InputSecurityGroup, location_name: "securityGroup"))
793
805
  CreateInputSecurityGroupResultModel.struct_class = Types::CreateInputSecurityGroupResultModel
794
806
 
807
+ CreateTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
808
+ CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
809
+ CreateTagsRequest.struct_class = Types::CreateTagsRequest
810
+
795
811
  DeleteChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
796
812
  DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
797
813
 
@@ -807,6 +823,7 @@ module Aws::MediaLive
807
823
  DeleteChannelResponse.add_member(:pipelines_running_count, Shapes::ShapeRef.new(shape: __integer, location_name: "pipelinesRunningCount"))
808
824
  DeleteChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
809
825
  DeleteChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
826
+ DeleteChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
810
827
  DeleteChannelResponse.struct_class = Types::DeleteChannelResponse
811
828
 
812
829
  DeleteInputRequest.add_member(:input_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputId"))
@@ -841,6 +858,10 @@ module Aws::MediaLive
841
858
  DeleteReservationResponse.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
842
859
  DeleteReservationResponse.struct_class = Types::DeleteReservationResponse
843
860
 
861
+ DeleteTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
862
+ DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
863
+ DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
864
+
844
865
  DescribeChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
845
866
  DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
846
867
 
@@ -856,6 +877,7 @@ module Aws::MediaLive
856
877
  DescribeChannelResponse.add_member(:pipelines_running_count, Shapes::ShapeRef.new(shape: __integer, location_name: "pipelinesRunningCount"))
857
878
  DescribeChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
858
879
  DescribeChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
880
+ DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
859
881
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
860
882
 
861
883
  DescribeInputRequest.add_member(:input_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputId"))
@@ -871,6 +893,7 @@ module Aws::MediaLive
871
893
  DescribeInputResponse.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
872
894
  DescribeInputResponse.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSource, location_name: "sources"))
873
895
  DescribeInputResponse.add_member(:state, Shapes::ShapeRef.new(shape: InputState, location_name: "state"))
896
+ DescribeInputResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
874
897
  DescribeInputResponse.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
875
898
  DescribeInputResponse.struct_class = Types::DescribeInputResponse
876
899
 
@@ -881,6 +904,7 @@ module Aws::MediaLive
881
904
  DescribeInputSecurityGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
882
905
  DescribeInputSecurityGroupResponse.add_member(:inputs, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputs"))
883
906
  DescribeInputSecurityGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: InputSecurityGroupState, location_name: "state"))
907
+ DescribeInputSecurityGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
884
908
  DescribeInputSecurityGroupResponse.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRule, location_name: "whitelistRules"))
885
909
  DescribeInputSecurityGroupResponse.struct_class = Types::DescribeInputSecurityGroupResponse
886
910
 
@@ -1181,6 +1205,7 @@ module Aws::MediaLive
1181
1205
  Input.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
1182
1206
  Input.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSource, location_name: "sources"))
1183
1207
  Input.add_member(:state, Shapes::ShapeRef.new(shape: InputState, location_name: "state"))
1208
+ Input.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1184
1209
  Input.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
1185
1210
  Input.struct_class = Types::Input
1186
1211
 
@@ -1217,9 +1242,11 @@ module Aws::MediaLive
1217
1242
  InputSecurityGroup.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1218
1243
  InputSecurityGroup.add_member(:inputs, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputs"))
1219
1244
  InputSecurityGroup.add_member(:state, Shapes::ShapeRef.new(shape: InputSecurityGroupState, location_name: "state"))
1245
+ InputSecurityGroup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1220
1246
  InputSecurityGroup.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRule, location_name: "whitelistRules"))
1221
1247
  InputSecurityGroup.struct_class = Types::InputSecurityGroup
1222
1248
 
1249
+ InputSecurityGroupWhitelistRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1223
1250
  InputSecurityGroupWhitelistRequest.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRuleCidr, location_name: "whitelistRules"))
1224
1251
  InputSecurityGroupWhitelistRequest.struct_class = Types::InputSecurityGroupWhitelistRequest
1225
1252
 
@@ -1345,6 +1372,12 @@ module Aws::MediaLive
1345
1372
  ListReservationsResultModel.add_member(:reservations, Shapes::ShapeRef.new(shape: __listOfReservation, location_name: "reservations"))
1346
1373
  ListReservationsResultModel.struct_class = Types::ListReservationsResultModel
1347
1374
 
1375
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
1376
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1377
+
1378
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1379
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1380
+
1348
1381
  M2tsSettings.add_member(:absent_input_audio_behavior, Shapes::ShapeRef.new(shape: M2tsAbsentInputAudioBehavior, location_name: "absentInputAudioBehavior"))
1349
1382
  M2tsSettings.add_member(:arib, Shapes::ShapeRef.new(shape: M2tsArib, location_name: "arib"))
1350
1383
  M2tsSettings.add_member(:arib_captions_pid, Shapes::ShapeRef.new(shape: __string, location_name: "aribCaptionsPid"))
@@ -1679,6 +1712,7 @@ module Aws::MediaLive
1679
1712
  StartChannelResponse.add_member(:pipelines_running_count, Shapes::ShapeRef.new(shape: __integer, location_name: "pipelinesRunningCount"))
1680
1713
  StartChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
1681
1714
  StartChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
1715
+ StartChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1682
1716
  StartChannelResponse.struct_class = Types::StartChannelResponse
1683
1717
 
1684
1718
  StaticImageActivateScheduleActionSettings.add_member(:duration, Shapes::ShapeRef.new(shape: __integerMin0, location_name: "duration"))
@@ -1716,8 +1750,15 @@ module Aws::MediaLive
1716
1750
  StopChannelResponse.add_member(:pipelines_running_count, Shapes::ShapeRef.new(shape: __integer, location_name: "pipelinesRunningCount"))
1717
1751
  StopChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
1718
1752
  StopChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
1753
+ StopChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1719
1754
  StopChannelResponse.struct_class = Types::StopChannelResponse
1720
1755
 
1756
+ Tags.key = Shapes::ShapeRef.new(shape: __string)
1757
+ Tags.value = Shapes::ShapeRef.new(shape: __string)
1758
+
1759
+ TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1760
+ TagsModel.struct_class = Types::TagsModel
1761
+
1721
1762
  TeletextDestinationSettings.struct_class = Types::TeletextDestinationSettings
1722
1763
 
1723
1764
  TeletextSourceSettings.add_member(:page_number, Shapes::ShapeRef.new(shape: __string, location_name: "pageNumber"))
@@ -1793,6 +1834,7 @@ module Aws::MediaLive
1793
1834
  UpdateInputResultModel.struct_class = Types::UpdateInputResultModel
1794
1835
 
1795
1836
  UpdateInputSecurityGroupRequest.add_member(:input_security_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputSecurityGroupId"))
1837
+ UpdateInputSecurityGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1796
1838
  UpdateInputSecurityGroupRequest.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRuleCidr, location_name: "whitelistRules"))
1797
1839
  UpdateInputSecurityGroupRequest.struct_class = Types::UpdateInputSecurityGroupRequest
1798
1840
 
@@ -1979,6 +2021,18 @@ module Aws::MediaLive
1979
2021
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1980
2022
  end)
1981
2023
 
2024
+ api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
2025
+ o.name = "CreateTags"
2026
+ o.http_method = "POST"
2027
+ o.http_request_uri = "/prod/tags/{resource-arn}"
2028
+ o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
2029
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2030
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2032
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2033
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2034
+ end)
2035
+
1982
2036
  api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
1983
2037
  o.name = "DeleteChannel"
1984
2038
  o.http_method = "DELETE"
@@ -2042,6 +2096,18 @@ module Aws::MediaLive
2042
2096
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2043
2097
  end)
2044
2098
 
2099
+ api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
2100
+ o.name = "DeleteTags"
2101
+ o.http_method = "DELETE"
2102
+ o.http_request_uri = "/prod/tags/{resource-arn}"
2103
+ o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
2104
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2105
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2106
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2107
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2108
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2109
+ end)
2110
+
2045
2111
  api.add_operation(:describe_channel, Seahorse::Model::Operation.new.tap do |o|
2046
2112
  o.name = "DescribeChannel"
2047
2113
  o.http_method = "GET"
@@ -2238,6 +2304,18 @@ module Aws::MediaLive
2238
2304
  )
2239
2305
  end)
2240
2306
 
2307
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2308
+ o.name = "ListTagsForResource"
2309
+ o.http_method = "GET"
2310
+ o.http_request_uri = "/prod/tags/{resource-arn}"
2311
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2312
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
2313
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2314
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2315
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2316
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2317
+ end)
2318
+
2241
2319
  api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
2242
2320
  o.name = "PurchaseOffering"
2243
2321
  o.http_method = "POST"
@@ -1881,6 +1881,10 @@ module Aws::MediaLive
1881
1881
  # @!attribute [rw] state
1882
1882
  # @return [String]
1883
1883
  #
1884
+ # @!attribute [rw] tags
1885
+ # A collection of key-value pairs.
1886
+ # @return [Hash<String,String>]
1887
+ #
1884
1888
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Channel AWS API Documentation
1885
1889
  #
1886
1890
  class Channel < Struct.new(
@@ -1895,7 +1899,8 @@ module Aws::MediaLive
1895
1899
  :name,
1896
1900
  :pipelines_running_count,
1897
1901
  :role_arn,
1898
- :state)
1902
+ :state,
1903
+ :tags)
1899
1904
  include Aws::Structure
1900
1905
  end
1901
1906
 
@@ -2024,6 +2029,10 @@ module Aws::MediaLive
2024
2029
  # running the Channel.
2025
2030
  # @return [String]
2026
2031
  #
2032
+ # @!attribute [rw] tags
2033
+ # A collection of key-value pairs.
2034
+ # @return [Hash<String,String>]
2035
+ #
2027
2036
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel AWS API Documentation
2028
2037
  #
2029
2038
  class CreateChannel < Struct.new(
@@ -2035,7 +2044,8 @@ module Aws::MediaLive
2035
2044
  :name,
2036
2045
  :request_id,
2037
2046
  :reserved,
2038
- :role_arn)
2047
+ :role_arn,
2048
+ :tags)
2039
2049
  include Aws::Structure
2040
2050
  end
2041
2051
 
@@ -2753,6 +2763,9 @@ module Aws::MediaLive
2753
2763
  # request_id: "__string",
2754
2764
  # reserved: "__string",
2755
2765
  # role_arn: "__string",
2766
+ # tags: {
2767
+ # "__string" => "__string",
2768
+ # },
2756
2769
  # }
2757
2770
  #
2758
2771
  # @!attribute [rw] destinations
@@ -2785,6 +2798,9 @@ module Aws::MediaLive
2785
2798
  # @!attribute [rw] role_arn
2786
2799
  # @return [String]
2787
2800
  #
2801
+ # @!attribute [rw] tags
2802
+ # @return [Hash<String,String>]
2803
+ #
2788
2804
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelRequest AWS API Documentation
2789
2805
  #
2790
2806
  class CreateChannelRequest < Struct.new(
@@ -2796,7 +2812,8 @@ module Aws::MediaLive
2796
2812
  :name,
2797
2813
  :request_id,
2798
2814
  :reserved,
2799
- :role_arn)
2815
+ :role_arn,
2816
+ :tags)
2800
2817
  include Aws::Structure
2801
2818
  end
2802
2819
 
@@ -2856,6 +2873,10 @@ module Aws::MediaLive
2856
2873
  # PULL type Inputs. Leave Destinations empty.
2857
2874
  # @return [Array<Types::InputSourceRequest>]
2858
2875
  #
2876
+ # @!attribute [rw] tags
2877
+ # A collection of key-value pairs.
2878
+ # @return [Hash<String,String>]
2879
+ #
2859
2880
  # @!attribute [rw] type
2860
2881
  # @return [String]
2861
2882
  #
@@ -2869,6 +2890,7 @@ module Aws::MediaLive
2869
2890
  :request_id,
2870
2891
  :role_arn,
2871
2892
  :sources,
2893
+ :tags,
2872
2894
  :type)
2873
2895
  include Aws::Structure
2874
2896
  end
@@ -2898,6 +2920,9 @@ module Aws::MediaLive
2898
2920
  # username: "__string",
2899
2921
  # },
2900
2922
  # ],
2923
+ # tags: {
2924
+ # "__string" => "__string",
2925
+ # },
2901
2926
  # type: "UDP_PUSH", # accepts UDP_PUSH, RTP_PUSH, RTMP_PUSH, RTMP_PULL, URL_PULL, MP4_FILE, MEDIACONNECT
2902
2927
  # }
2903
2928
  #
@@ -2924,6 +2949,9 @@ module Aws::MediaLive
2924
2949
  # @!attribute [rw] sources
2925
2950
  # @return [Array<Types::InputSourceRequest>]
2926
2951
  #
2952
+ # @!attribute [rw] tags
2953
+ # @return [Hash<String,String>]
2954
+ #
2927
2955
  # @!attribute [rw] type
2928
2956
  # @return [String]
2929
2957
  #
@@ -2937,6 +2965,7 @@ module Aws::MediaLive
2937
2965
  :request_id,
2938
2966
  :role_arn,
2939
2967
  :sources,
2968
+ :tags,
2940
2969
  :type)
2941
2970
  include Aws::Structure
2942
2971
  end
@@ -2965,6 +2994,9 @@ module Aws::MediaLive
2965
2994
  # data as a hash:
2966
2995
  #
2967
2996
  # {
2997
+ # tags: {
2998
+ # "__string" => "__string",
2999
+ # },
2968
3000
  # whitelist_rules: [
2969
3001
  # {
2970
3002
  # cidr: "__string",
@@ -2972,12 +3004,16 @@ module Aws::MediaLive
2972
3004
  # ],
2973
3005
  # }
2974
3006
  #
3007
+ # @!attribute [rw] tags
3008
+ # @return [Hash<String,String>]
3009
+ #
2975
3010
  # @!attribute [rw] whitelist_rules
2976
3011
  # @return [Array<Types::InputWhitelistRuleCidr>]
2977
3012
  #
2978
3013
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroupRequest AWS API Documentation
2979
3014
  #
2980
3015
  class CreateInputSecurityGroupRequest < Struct.new(
3016
+ :tags,
2981
3017
  :whitelist_rules)
2982
3018
  include Aws::Structure
2983
3019
  end
@@ -3004,6 +3040,30 @@ module Aws::MediaLive
3004
3040
  include Aws::Structure
3005
3041
  end
3006
3042
 
3043
+ # @note When making an API call, you may pass CreateTagsRequest
3044
+ # data as a hash:
3045
+ #
3046
+ # {
3047
+ # resource_arn: "__string", # required
3048
+ # tags: {
3049
+ # "__string" => "__string",
3050
+ # },
3051
+ # }
3052
+ #
3053
+ # @!attribute [rw] resource_arn
3054
+ # @return [String]
3055
+ #
3056
+ # @!attribute [rw] tags
3057
+ # @return [Hash<String,String>]
3058
+ #
3059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateTagsRequest AWS API Documentation
3060
+ #
3061
+ class CreateTagsRequest < Struct.new(
3062
+ :resource_arn,
3063
+ :tags)
3064
+ include Aws::Structure
3065
+ end
3066
+
3007
3067
  # @note When making an API call, you may pass DeleteChannelRequest
3008
3068
  # data as a hash:
3009
3069
  #
@@ -3058,6 +3118,9 @@ module Aws::MediaLive
3058
3118
  # @!attribute [rw] state
3059
3119
  # @return [String]
3060
3120
  #
3121
+ # @!attribute [rw] tags
3122
+ # @return [Hash<String,String>]
3123
+ #
3061
3124
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelResponse AWS API Documentation
3062
3125
  #
3063
3126
  class DeleteChannelResponse < Struct.new(
@@ -3072,7 +3135,8 @@ module Aws::MediaLive
3072
3135
  :name,
3073
3136
  :pipelines_running_count,
3074
3137
  :role_arn,
3075
- :state)
3138
+ :state,
3139
+ :tags)
3076
3140
  include Aws::Structure
3077
3141
  end
3078
3142
 
@@ -3213,6 +3277,28 @@ module Aws::MediaLive
3213
3277
  include Aws::Structure
3214
3278
  end
3215
3279
 
3280
+ # @note When making an API call, you may pass DeleteTagsRequest
3281
+ # data as a hash:
3282
+ #
3283
+ # {
3284
+ # resource_arn: "__string", # required
3285
+ # tag_keys: ["__string"], # required
3286
+ # }
3287
+ #
3288
+ # @!attribute [rw] resource_arn
3289
+ # @return [String]
3290
+ #
3291
+ # @!attribute [rw] tag_keys
3292
+ # @return [Array<String>]
3293
+ #
3294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteTagsRequest AWS API Documentation
3295
+ #
3296
+ class DeleteTagsRequest < Struct.new(
3297
+ :resource_arn,
3298
+ :tag_keys)
3299
+ include Aws::Structure
3300
+ end
3301
+
3216
3302
  # @note When making an API call, you may pass DescribeChannelRequest
3217
3303
  # data as a hash:
3218
3304
  #
@@ -3267,6 +3353,9 @@ module Aws::MediaLive
3267
3353
  # @!attribute [rw] state
3268
3354
  # @return [String]
3269
3355
  #
3356
+ # @!attribute [rw] tags
3357
+ # @return [Hash<String,String>]
3358
+ #
3270
3359
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelResponse AWS API Documentation
3271
3360
  #
3272
3361
  class DescribeChannelResponse < Struct.new(
@@ -3281,7 +3370,8 @@ module Aws::MediaLive
3281
3370
  :name,
3282
3371
  :pipelines_running_count,
3283
3372
  :role_arn,
3284
- :state)
3373
+ :state,
3374
+ :tags)
3285
3375
  include Aws::Structure
3286
3376
  end
3287
3377
 
@@ -3332,6 +3422,9 @@ module Aws::MediaLive
3332
3422
  # @!attribute [rw] state
3333
3423
  # @return [String]
3334
3424
  #
3425
+ # @!attribute [rw] tags
3426
+ # @return [Hash<String,String>]
3427
+ #
3335
3428
  # @!attribute [rw] type
3336
3429
  # @return [String]
3337
3430
  #
@@ -3348,6 +3441,7 @@ module Aws::MediaLive
3348
3441
  :security_groups,
3349
3442
  :sources,
3350
3443
  :state,
3444
+ :tags,
3351
3445
  :type)
3352
3446
  include Aws::Structure
3353
3447
  end
@@ -3381,6 +3475,9 @@ module Aws::MediaLive
3381
3475
  # @!attribute [rw] state
3382
3476
  # @return [String]
3383
3477
  #
3478
+ # @!attribute [rw] tags
3479
+ # @return [Hash<String,String>]
3480
+ #
3384
3481
  # @!attribute [rw] whitelist_rules
3385
3482
  # @return [Array<Types::InputWhitelistRule>]
3386
3483
  #
@@ -3391,6 +3488,7 @@ module Aws::MediaLive
3391
3488
  :id,
3392
3489
  :inputs,
3393
3490
  :state,
3491
+ :tags,
3394
3492
  :whitelist_rules)
3395
3493
  include Aws::Structure
3396
3494
  end
@@ -6109,6 +6207,10 @@ module Aws::MediaLive
6109
6207
  # @!attribute [rw] state
6110
6208
  # @return [String]
6111
6209
  #
6210
+ # @!attribute [rw] tags
6211
+ # A collection of key-value pairs.
6212
+ # @return [Hash<String,String>]
6213
+ #
6112
6214
  # @!attribute [rw] type
6113
6215
  # @return [String]
6114
6216
  #
@@ -6125,6 +6227,7 @@ module Aws::MediaLive
6125
6227
  :security_groups,
6126
6228
  :sources,
6127
6229
  :state,
6230
+ :tags,
6128
6231
  :type)
6129
6232
  include Aws::Structure
6130
6233
  end
@@ -6411,6 +6514,10 @@ module Aws::MediaLive
6411
6514
  # The current state of the Input Security Group.
6412
6515
  # @return [String]
6413
6516
  #
6517
+ # @!attribute [rw] tags
6518
+ # A collection of key-value pairs.
6519
+ # @return [Hash<String,String>]
6520
+ #
6414
6521
  # @!attribute [rw] whitelist_rules
6415
6522
  # Whitelist rules and their sync status
6416
6523
  # @return [Array<Types::InputWhitelistRule>]
@@ -6422,12 +6529,17 @@ module Aws::MediaLive
6422
6529
  :id,
6423
6530
  :inputs,
6424
6531
  :state,
6532
+ :tags,
6425
6533
  :whitelist_rules)
6426
6534
  include Aws::Structure
6427
6535
  end
6428
6536
 
6429
6537
  # Request of IPv4 CIDR addresses to whitelist in a security group.
6430
6538
  #
6539
+ # @!attribute [rw] tags
6540
+ # A collection of key-value pairs.
6541
+ # @return [Hash<String,String>]
6542
+ #
6431
6543
  # @!attribute [rw] whitelist_rules
6432
6544
  # List of IPv4 CIDR addresses to whitelist
6433
6545
  # @return [Array<Types::InputWhitelistRuleCidr>]
@@ -6435,6 +6547,7 @@ module Aws::MediaLive
6435
6547
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSecurityGroupWhitelistRequest AWS API Documentation
6436
6548
  #
6437
6549
  class InputSecurityGroupWhitelistRequest < Struct.new(
6550
+ :tags,
6438
6551
  :whitelist_rules)
6439
6552
  include Aws::Structure
6440
6553
  end
@@ -7108,6 +7221,33 @@ module Aws::MediaLive
7108
7221
  include Aws::Structure
7109
7222
  end
7110
7223
 
7224
+ # @note When making an API call, you may pass ListTagsForResourceRequest
7225
+ # data as a hash:
7226
+ #
7227
+ # {
7228
+ # resource_arn: "__string", # required
7229
+ # }
7230
+ #
7231
+ # @!attribute [rw] resource_arn
7232
+ # @return [String]
7233
+ #
7234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResourceRequest AWS API Documentation
7235
+ #
7236
+ class ListTagsForResourceRequest < Struct.new(
7237
+ :resource_arn)
7238
+ include Aws::Structure
7239
+ end
7240
+
7241
+ # @!attribute [rw] tags
7242
+ # @return [Hash<String,String>]
7243
+ #
7244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResourceResponse AWS API Documentation
7245
+ #
7246
+ class ListTagsForResourceResponse < Struct.new(
7247
+ :tags)
7248
+ include Aws::Structure
7249
+ end
7250
+
7111
7251
  # @note When making an API call, you may pass M2tsSettings
7112
7252
  # data as a hash:
7113
7253
  #
@@ -10300,6 +10440,9 @@ module Aws::MediaLive
10300
10440
  # @!attribute [rw] state
10301
10441
  # @return [String]
10302
10442
  #
10443
+ # @!attribute [rw] tags
10444
+ # @return [Hash<String,String>]
10445
+ #
10303
10446
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannelResponse AWS API Documentation
10304
10447
  #
10305
10448
  class StartChannelResponse < Struct.new(
@@ -10314,7 +10457,8 @@ module Aws::MediaLive
10314
10457
  :name,
10315
10458
  :pipelines_running_count,
10316
10459
  :role_arn,
10317
- :state)
10460
+ :state,
10461
+ :tags)
10318
10462
  include Aws::Structure
10319
10463
  end
10320
10464
 
@@ -10530,6 +10674,9 @@ module Aws::MediaLive
10530
10674
  # @!attribute [rw] state
10531
10675
  # @return [String]
10532
10676
  #
10677
+ # @!attribute [rw] tags
10678
+ # @return [Hash<String,String>]
10679
+ #
10533
10680
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannelResponse AWS API Documentation
10534
10681
  #
10535
10682
  class StopChannelResponse < Struct.new(
@@ -10544,7 +10691,18 @@ module Aws::MediaLive
10544
10691
  :name,
10545
10692
  :pipelines_running_count,
10546
10693
  :role_arn,
10547
- :state)
10694
+ :state,
10695
+ :tags)
10696
+ include Aws::Structure
10697
+ end
10698
+
10699
+ # @!attribute [rw] tags
10700
+ # @return [Hash<String,String>]
10701
+ #
10702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TagsModel AWS API Documentation
10703
+ #
10704
+ class TagsModel < Struct.new(
10705
+ :tags)
10548
10706
  include Aws::Structure
10549
10707
  end
10550
10708
 
@@ -11796,6 +11954,9 @@ module Aws::MediaLive
11796
11954
  #
11797
11955
  # {
11798
11956
  # input_security_group_id: "__string", # required
11957
+ # tags: {
11958
+ # "__string" => "__string",
11959
+ # },
11799
11960
  # whitelist_rules: [
11800
11961
  # {
11801
11962
  # cidr: "__string",
@@ -11806,6 +11967,9 @@ module Aws::MediaLive
11806
11967
  # @!attribute [rw] input_security_group_id
11807
11968
  # @return [String]
11808
11969
  #
11970
+ # @!attribute [rw] tags
11971
+ # @return [Hash<String,String>]
11972
+ #
11809
11973
  # @!attribute [rw] whitelist_rules
11810
11974
  # @return [Array<Types::InputWhitelistRuleCidr>]
11811
11975
  #
@@ -11813,6 +11977,7 @@ module Aws::MediaLive
11813
11977
  #
11814
11978
  class UpdateInputSecurityGroupRequest < Struct.new(
11815
11979
  :input_security_group_id,
11980
+ :tags,
11816
11981
  :whitelist_rules)
11817
11982
  include Aws::Structure
11818
11983
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-medialive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-25 00:00:00.000000000 Z
11
+ date: 2019-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core