aws-sdk-mediaconnect 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81eb5213a5fb448eb28a90d190b2176e8d055ea3
4
- data.tar.gz: 0de3de13ace379036b29a798588d859afc63a834
3
+ metadata.gz: 7ece6e5562ab00fe2a81b5d068ecc3295edfce62
4
+ data.tar.gz: ded96e7950582def74020c9e77df4b009f559663
5
5
  SHA512:
6
- metadata.gz: 0aea18fb92f3533e1277db98e2bd3494241b2cb8c24e7395b2d5e39198cb0dd011866d161b41e194b3f7f415b5a6cbd877b711a8566a0dda0963a600d182a733
7
- data.tar.gz: 072d50b687654c647b68e98ed225bc3285a709769f541eaf7a3237196ee798bfd6cd3f46e669c7908c3b072afc0a7f20015f29ed5cf4e88d3635af6ec0e33082
6
+ metadata.gz: a0a3df267aa17aa8ccad79913f7726f6a19cfb652e3dd3e88144db4bbdb6f5d0d33686fe6fd14b58f0c05ea0ff0e48ed91ac3b4a25636929c2a42899c88e75a3
7
+ data.tar.gz: f4c30b0581cfd1c94197b34da196351773cc8cecae064f8a5cbb43e60f593bf1567717dc72bfb350d9cac16ccfc9303a8eb8a9286e79fabd241d965c3eb9c58e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediaconnect/customizations'
42
42
  # @service
43
43
  module Aws::MediaConnect
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -1164,7 +1164,7 @@ module Aws::MediaConnect
1164
1164
  params: params,
1165
1165
  config: config)
1166
1166
  context[:gem_name] = 'aws-sdk-mediaconnect'
1167
- context[:gem_version] = '1.7.0'
1167
+ context[:gem_version] = '1.8.0'
1168
1168
  Seahorse::Client::Request.new(handlers, context)
1169
1169
  end
1170
1170
 
@@ -88,6 +88,9 @@ module Aws::MediaConnect
88
88
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
89
89
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
90
90
 
91
+ AddFlowOutputs420Exception.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
92
+ AddFlowOutputs420Exception.struct_class = Types::AddFlowOutputs420Exception
93
+
91
94
  AddFlowOutputsRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
92
95
  AddFlowOutputsRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: __listOfAddOutputRequest, required: true, location_name: "outputs"))
93
96
  AddFlowOutputsRequest.struct_class = Types::AddFlowOutputsRequest
@@ -107,6 +110,12 @@ module Aws::MediaConnect
107
110
  AddOutputRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
108
111
  AddOutputRequest.struct_class = Types::AddOutputRequest
109
112
 
113
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
114
+ BadRequestException.struct_class = Types::BadRequestException
115
+
116
+ CreateFlow420Exception.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
117
+ CreateFlow420Exception.struct_class = Types::CreateFlow420Exception
118
+
110
119
  CreateFlowRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: __string, location_name: "availabilityZone"))
111
120
  CreateFlowRequest.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfGrantEntitlementRequest, location_name: "entitlements"))
112
121
  CreateFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
@@ -155,12 +164,18 @@ module Aws::MediaConnect
155
164
  Flow.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
156
165
  Flow.struct_class = Types::Flow
157
166
 
167
+ ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
168
+ ForbiddenException.struct_class = Types::ForbiddenException
169
+
158
170
  GrantEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
159
171
  GrantEntitlementRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
160
172
  GrantEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
161
173
  GrantEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
162
174
  GrantEntitlementRequest.struct_class = Types::GrantEntitlementRequest
163
175
 
176
+ GrantFlowEntitlements420Exception.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
177
+ GrantFlowEntitlements420Exception.struct_class = Types::GrantFlowEntitlements420Exception
178
+
164
179
  GrantFlowEntitlementsRequest.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfGrantEntitlementRequest, required: true, location_name: "entitlements"))
165
180
  GrantFlowEntitlementsRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
166
181
  GrantFlowEntitlementsRequest.struct_class = Types::GrantFlowEntitlementsRequest
@@ -169,6 +184,9 @@ module Aws::MediaConnect
169
184
  GrantFlowEntitlementsResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
170
185
  GrantFlowEntitlementsResponse.struct_class = Types::GrantFlowEntitlementsResponse
171
186
 
187
+ InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
188
+ InternalServerErrorException.struct_class = Types::InternalServerErrorException
189
+
172
190
  ListEntitlementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
173
191
  ListEntitlementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
174
192
  ListEntitlementsRequest.struct_class = Types::ListEntitlementsRequest
@@ -206,6 +224,9 @@ module Aws::MediaConnect
206
224
  Messages.add_member(:errors, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "errors"))
207
225
  Messages.struct_class = Types::Messages
208
226
 
227
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
228
+ NotFoundException.struct_class = Types::NotFoundException
229
+
209
230
  Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
210
231
  Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
211
232
  Output.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
@@ -236,6 +257,9 @@ module Aws::MediaConnect
236
257
  RevokeFlowEntitlementResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
237
258
  RevokeFlowEntitlementResponse.struct_class = Types::RevokeFlowEntitlementResponse
238
259
 
260
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
261
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
262
+
239
263
  SetSourceRequest.add_member(:decryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "decryption"))
240
264
  SetSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
241
265
  SetSourceRequest.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
@@ -277,6 +301,9 @@ module Aws::MediaConnect
277
301
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
278
302
  TagResourceRequest.struct_class = Types::TagResourceRequest
279
303
 
304
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
305
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
306
+
280
307
  Transport.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
281
308
  Transport.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
282
309
  Transport.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "protocol"))
@@ -10,5 +10,149 @@ module Aws::MediaConnect
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AddFlowOutputs420Exception < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::MediaConnect::Types::AddFlowOutputs420Exception] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class BadRequestException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::MediaConnect::Types::BadRequestException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class CreateFlow420Exception < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::MediaConnect::Types::CreateFlow420Exception] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ForbiddenException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::MediaConnect::Types::ForbiddenException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class GrantFlowEntitlements420Exception < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::MediaConnect::Types::GrantFlowEntitlements420Exception] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InternalServerErrorException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::MediaConnect::Types::InternalServerErrorException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class NotFoundException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::MediaConnect::Types::NotFoundException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class ServiceUnavailableException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::MediaConnect::Types::ServiceUnavailableException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class TooManyRequestsException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::MediaConnect::Types::TooManyRequestsException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
13
157
  end
14
158
  end
@@ -8,6 +8,20 @@
8
8
  module Aws::MediaConnect
9
9
  module Types
10
10
 
11
+ # Exception raised by AWS Elemental MediaConnect. See the error message
12
+ # and documentation for the operation for more information on the cause
13
+ # of this exception.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs420Exception AWS API Documentation
19
+ #
20
+ class AddFlowOutputs420Exception < Struct.new(
21
+ :message)
22
+ include Aws::Structure
23
+ end
24
+
11
25
  # Adds outputs to an existing flow. You can create up to 20 outputs per
12
26
  # flow.
13
27
  #
@@ -148,6 +162,34 @@ module Aws::MediaConnect
148
162
  include Aws::Structure
149
163
  end
150
164
 
165
+ # Exception raised by AWS Elemental MediaConnect. See the error message
166
+ # and documentation for the operation for more information on the cause
167
+ # of this exception.
168
+ #
169
+ # @!attribute [rw] message
170
+ # @return [String]
171
+ #
172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/BadRequestException AWS API Documentation
173
+ #
174
+ class BadRequestException < Struct.new(
175
+ :message)
176
+ include Aws::Structure
177
+ end
178
+
179
+ # Exception raised by AWS Elemental MediaConnect. See the error message
180
+ # and documentation for the operation for more information on the cause
181
+ # of this exception.
182
+ #
183
+ # @!attribute [rw] message
184
+ # @return [String]
185
+ #
186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow420Exception AWS API Documentation
187
+ #
188
+ class CreateFlow420Exception < Struct.new(
189
+ :message)
190
+ include Aws::Structure
191
+ end
192
+
151
193
  # Creates a new flow. The request must include one source. The request
152
194
  # optionally can include outputs (up to 20) and one entitlement.
153
195
  #
@@ -461,6 +503,20 @@ module Aws::MediaConnect
461
503
  include Aws::Structure
462
504
  end
463
505
 
506
+ # Exception raised by AWS Elemental MediaConnect. See the error message
507
+ # and documentation for the operation for more information on the cause
508
+ # of this exception.
509
+ #
510
+ # @!attribute [rw] message
511
+ # @return [String]
512
+ #
513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ForbiddenException AWS API Documentation
514
+ #
515
+ class ForbiddenException < Struct.new(
516
+ :message)
517
+ include Aws::Structure
518
+ end
519
+
464
520
  # The entitlements that you want to grant on a flow.
465
521
  #
466
522
  # @note When making an API call, you may pass GrantEntitlementRequest
@@ -510,6 +566,20 @@ module Aws::MediaConnect
510
566
  include Aws::Structure
511
567
  end
512
568
 
569
+ # Exception raised by AWS Elemental MediaConnect. See the error message
570
+ # and documentation for the operation for more information on the cause
571
+ # of this exception.
572
+ #
573
+ # @!attribute [rw] message
574
+ # @return [String]
575
+ #
576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements420Exception AWS API Documentation
577
+ #
578
+ class GrantFlowEntitlements420Exception < Struct.new(
579
+ :message)
580
+ include Aws::Structure
581
+ end
582
+
513
583
  # Grants an entitlement on a flow.
514
584
  #
515
585
  # @note When making an API call, you may pass GrantFlowEntitlementsRequest
@@ -565,6 +635,20 @@ module Aws::MediaConnect
565
635
  include Aws::Structure
566
636
  end
567
637
 
638
+ # Exception raised by AWS Elemental MediaConnect. See the error message
639
+ # and documentation for the operation for more information on the cause
640
+ # of this exception.
641
+ #
642
+ # @!attribute [rw] message
643
+ # @return [String]
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InternalServerErrorException AWS API Documentation
646
+ #
647
+ class InternalServerErrorException < Struct.new(
648
+ :message)
649
+ include Aws::Structure
650
+ end
651
+
568
652
  # @note When making an API call, you may pass ListEntitlementsRequest
569
653
  # data as a hash:
570
654
  #
@@ -765,6 +849,20 @@ module Aws::MediaConnect
765
849
  include Aws::Structure
766
850
  end
767
851
 
852
+ # Exception raised by AWS Elemental MediaConnect. See the error message
853
+ # and documentation for the operation for more information on the cause
854
+ # of this exception.
855
+ #
856
+ # @!attribute [rw] message
857
+ # @return [String]
858
+ #
859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/NotFoundException AWS API Documentation
860
+ #
861
+ class NotFoundException < Struct.new(
862
+ :message)
863
+ include Aws::Structure
864
+ end
865
+
768
866
  # The settings for an output.
769
867
  #
770
868
  # @!attribute [rw] description
@@ -922,6 +1020,20 @@ module Aws::MediaConnect
922
1020
  include Aws::Structure
923
1021
  end
924
1022
 
1023
+ # Exception raised by AWS Elemental MediaConnect. See the error message
1024
+ # and documentation for the operation for more information on the cause
1025
+ # of this exception.
1026
+ #
1027
+ # @!attribute [rw] message
1028
+ # @return [String]
1029
+ #
1030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ServiceUnavailableException AWS API Documentation
1031
+ #
1032
+ class ServiceUnavailableException < Struct.new(
1033
+ :message)
1034
+ include Aws::Structure
1035
+ end
1036
+
925
1037
  # The settings for the source of the flow.
926
1038
  #
927
1039
  # @note When making an API call, you may pass SetSourceRequest
@@ -1173,6 +1285,20 @@ module Aws::MediaConnect
1173
1285
  include Aws::Structure
1174
1286
  end
1175
1287
 
1288
+ # Exception raised by AWS Elemental MediaConnect. See the error message
1289
+ # and documentation for the operation for more information on the cause
1290
+ # of this exception.
1291
+ #
1292
+ # @!attribute [rw] message
1293
+ # @return [String]
1294
+ #
1295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TooManyRequestsException AWS API Documentation
1296
+ #
1297
+ class TooManyRequestsException < Struct.new(
1298
+ :message)
1299
+ include Aws::Structure
1300
+ end
1301
+
1176
1302
  # Attributes related to the transport stream that are used in a source
1177
1303
  # or output.
1178
1304
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.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-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement