aws-sdk-mediaconnect 1.46.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-mediaconnect/client.rb +1065 -24
- data/lib/aws-sdk-mediaconnect/client_api.rb +787 -24
- data/lib/aws-sdk-mediaconnect/endpoint_provider.rb +38 -96
- data/lib/aws-sdk-mediaconnect/endpoints.rb +280 -0
- data/lib/aws-sdk-mediaconnect/errors.rb +48 -0
- data/lib/aws-sdk-mediaconnect/plugins/endpoints.rb +40 -0
- data/lib/aws-sdk-mediaconnect/types.rb +1697 -1091
- data/lib/aws-sdk-mediaconnect.rb +2 -2
- metadata +2 -2
@@ -9,104 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::MediaConnect
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mediaconnect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mediaconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mediaconnect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mediaconnect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
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
-
Zml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJl
|
108
|
-
bmRwb2ludCJ9XX1dfQ==
|
109
|
-
|
110
|
-
JSON
|
111
53
|
end
|
112
54
|
end
|
@@ -11,6 +11,34 @@
|
|
11
11
|
module Aws::MediaConnect
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class AddBridgeOutputs
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::MediaConnect::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class AddBridgeSources
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::MediaConnect::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
14
42
|
class AddFlowMediaStreams
|
15
43
|
def self.build(context)
|
16
44
|
unless context.config.regional_endpoint
|
@@ -67,6 +95,20 @@ module Aws::MediaConnect
|
|
67
95
|
end
|
68
96
|
end
|
69
97
|
|
98
|
+
class CreateBridge
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::MediaConnect::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
70
112
|
class CreateFlow
|
71
113
|
def self.build(context)
|
72
114
|
unless context.config.regional_endpoint
|
@@ -81,6 +123,34 @@ module Aws::MediaConnect
|
|
81
123
|
end
|
82
124
|
end
|
83
125
|
|
126
|
+
class CreateGateway
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::MediaConnect::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DeleteBridge
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::MediaConnect::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
84
154
|
class DeleteFlow
|
85
155
|
def self.build(context)
|
86
156
|
unless context.config.regional_endpoint
|
@@ -95,6 +165,48 @@ module Aws::MediaConnect
|
|
95
165
|
end
|
96
166
|
end
|
97
167
|
|
168
|
+
class DeleteGateway
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::MediaConnect::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class DeregisterGatewayInstance
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::MediaConnect::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class DescribeBridge
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::MediaConnect::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
98
210
|
class DescribeFlow
|
99
211
|
def self.build(context)
|
100
212
|
unless context.config.regional_endpoint
|
@@ -109,6 +221,34 @@ module Aws::MediaConnect
|
|
109
221
|
end
|
110
222
|
end
|
111
223
|
|
224
|
+
class DescribeGateway
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::MediaConnect::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class DescribeGatewayInstance
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::MediaConnect::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
112
252
|
class DescribeOffering
|
113
253
|
def self.build(context)
|
114
254
|
unless context.config.regional_endpoint
|
@@ -151,6 +291,20 @@ module Aws::MediaConnect
|
|
151
291
|
end
|
152
292
|
end
|
153
293
|
|
294
|
+
class ListBridges
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::MediaConnect::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
154
308
|
class ListEntitlements
|
155
309
|
def self.build(context)
|
156
310
|
unless context.config.regional_endpoint
|
@@ -179,6 +333,34 @@ module Aws::MediaConnect
|
|
179
333
|
end
|
180
334
|
end
|
181
335
|
|
336
|
+
class ListGatewayInstances
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::MediaConnect::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class ListGateways
|
351
|
+
def self.build(context)
|
352
|
+
unless context.config.regional_endpoint
|
353
|
+
endpoint = context.config.endpoint.to_s
|
354
|
+
end
|
355
|
+
Aws::MediaConnect::EndpointParameters.new(
|
356
|
+
region: context.config.region,
|
357
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
358
|
+
use_fips: context.config.use_fips_endpoint,
|
359
|
+
endpoint: endpoint,
|
360
|
+
)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
182
364
|
class ListOfferings
|
183
365
|
def self.build(context)
|
184
366
|
unless context.config.regional_endpoint
|
@@ -235,6 +417,34 @@ module Aws::MediaConnect
|
|
235
417
|
end
|
236
418
|
end
|
237
419
|
|
420
|
+
class RemoveBridgeOutput
|
421
|
+
def self.build(context)
|
422
|
+
unless context.config.regional_endpoint
|
423
|
+
endpoint = context.config.endpoint.to_s
|
424
|
+
end
|
425
|
+
Aws::MediaConnect::EndpointParameters.new(
|
426
|
+
region: context.config.region,
|
427
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
428
|
+
use_fips: context.config.use_fips_endpoint,
|
429
|
+
endpoint: endpoint,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class RemoveBridgeSource
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::MediaConnect::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
442
|
+
use_fips: context.config.use_fips_endpoint,
|
443
|
+
endpoint: endpoint,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
238
448
|
class RemoveFlowMediaStream
|
239
449
|
def self.build(context)
|
240
450
|
unless context.config.regional_endpoint
|
@@ -361,6 +571,62 @@ module Aws::MediaConnect
|
|
361
571
|
end
|
362
572
|
end
|
363
573
|
|
574
|
+
class UpdateBridge
|
575
|
+
def self.build(context)
|
576
|
+
unless context.config.regional_endpoint
|
577
|
+
endpoint = context.config.endpoint.to_s
|
578
|
+
end
|
579
|
+
Aws::MediaConnect::EndpointParameters.new(
|
580
|
+
region: context.config.region,
|
581
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
582
|
+
use_fips: context.config.use_fips_endpoint,
|
583
|
+
endpoint: endpoint,
|
584
|
+
)
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class UpdateBridgeOutput
|
589
|
+
def self.build(context)
|
590
|
+
unless context.config.regional_endpoint
|
591
|
+
endpoint = context.config.endpoint.to_s
|
592
|
+
end
|
593
|
+
Aws::MediaConnect::EndpointParameters.new(
|
594
|
+
region: context.config.region,
|
595
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
596
|
+
use_fips: context.config.use_fips_endpoint,
|
597
|
+
endpoint: endpoint,
|
598
|
+
)
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class UpdateBridgeSource
|
603
|
+
def self.build(context)
|
604
|
+
unless context.config.regional_endpoint
|
605
|
+
endpoint = context.config.endpoint.to_s
|
606
|
+
end
|
607
|
+
Aws::MediaConnect::EndpointParameters.new(
|
608
|
+
region: context.config.region,
|
609
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
610
|
+
use_fips: context.config.use_fips_endpoint,
|
611
|
+
endpoint: endpoint,
|
612
|
+
)
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
class UpdateBridgeState
|
617
|
+
def self.build(context)
|
618
|
+
unless context.config.regional_endpoint
|
619
|
+
endpoint = context.config.endpoint.to_s
|
620
|
+
end
|
621
|
+
Aws::MediaConnect::EndpointParameters.new(
|
622
|
+
region: context.config.region,
|
623
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
624
|
+
use_fips: context.config.use_fips_endpoint,
|
625
|
+
endpoint: endpoint,
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
364
630
|
class UpdateFlow
|
365
631
|
def self.build(context)
|
366
632
|
unless context.config.regional_endpoint
|
@@ -431,5 +697,19 @@ module Aws::MediaConnect
|
|
431
697
|
end
|
432
698
|
end
|
433
699
|
|
700
|
+
class UpdateGatewayInstance
|
701
|
+
def self.build(context)
|
702
|
+
unless context.config.regional_endpoint
|
703
|
+
endpoint = context.config.endpoint.to_s
|
704
|
+
end
|
705
|
+
Aws::MediaConnect::EndpointParameters.new(
|
706
|
+
region: context.config.region,
|
707
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
708
|
+
use_fips: context.config.use_fips_endpoint,
|
709
|
+
endpoint: endpoint,
|
710
|
+
)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
434
714
|
end
|
435
715
|
end
|
@@ -29,7 +29,10 @@ module Aws::MediaConnect
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AddFlowOutputs420Exception}
|
31
31
|
# * {BadRequestException}
|
32
|
+
# * {ConflictException}
|
33
|
+
# * {CreateBridge420Exception}
|
32
34
|
# * {CreateFlow420Exception}
|
35
|
+
# * {CreateGateway420Exception}
|
33
36
|
# * {ForbiddenException}
|
34
37
|
# * {GrantFlowEntitlements420Exception}
|
35
38
|
# * {InternalServerErrorException}
|
@@ -73,6 +76,36 @@ module Aws::MediaConnect
|
|
73
76
|
end
|
74
77
|
end
|
75
78
|
|
79
|
+
class ConflictException < ServiceError
|
80
|
+
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
82
|
+
# @param [String] message
|
83
|
+
# @param [Aws::MediaConnect::Types::ConflictException] data
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
+
super(context, message, data)
|
86
|
+
end
|
87
|
+
|
88
|
+
# @return [String]
|
89
|
+
def message
|
90
|
+
@message || @data[:message]
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class CreateBridge420Exception < ServiceError
|
95
|
+
|
96
|
+
# @param [Seahorse::Client::RequestContext] context
|
97
|
+
# @param [String] message
|
98
|
+
# @param [Aws::MediaConnect::Types::CreateBridge420Exception] data
|
99
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
100
|
+
super(context, message, data)
|
101
|
+
end
|
102
|
+
|
103
|
+
# @return [String]
|
104
|
+
def message
|
105
|
+
@message || @data[:message]
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
76
109
|
class CreateFlow420Exception < ServiceError
|
77
110
|
|
78
111
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -88,6 +121,21 @@ module Aws::MediaConnect
|
|
88
121
|
end
|
89
122
|
end
|
90
123
|
|
124
|
+
class CreateGateway420Exception < ServiceError
|
125
|
+
|
126
|
+
# @param [Seahorse::Client::RequestContext] context
|
127
|
+
# @param [String] message
|
128
|
+
# @param [Aws::MediaConnect::Types::CreateGateway420Exception] data
|
129
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
130
|
+
super(context, message, data)
|
131
|
+
end
|
132
|
+
|
133
|
+
# @return [String]
|
134
|
+
def message
|
135
|
+
@message || @data[:message]
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
91
139
|
class ForbiddenException < ServiceError
|
92
140
|
|
93
141
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -56,6 +56,10 @@ module Aws::MediaConnect
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :add_bridge_outputs
|
60
|
+
Aws::MediaConnect::Endpoints::AddBridgeOutputs.build(context)
|
61
|
+
when :add_bridge_sources
|
62
|
+
Aws::MediaConnect::Endpoints::AddBridgeSources.build(context)
|
59
63
|
when :add_flow_media_streams
|
60
64
|
Aws::MediaConnect::Endpoints::AddFlowMediaStreams.build(context)
|
61
65
|
when :add_flow_outputs
|
@@ -64,22 +68,44 @@ module Aws::MediaConnect
|
|
64
68
|
Aws::MediaConnect::Endpoints::AddFlowSources.build(context)
|
65
69
|
when :add_flow_vpc_interfaces
|
66
70
|
Aws::MediaConnect::Endpoints::AddFlowVpcInterfaces.build(context)
|
71
|
+
when :create_bridge
|
72
|
+
Aws::MediaConnect::Endpoints::CreateBridge.build(context)
|
67
73
|
when :create_flow
|
68
74
|
Aws::MediaConnect::Endpoints::CreateFlow.build(context)
|
75
|
+
when :create_gateway
|
76
|
+
Aws::MediaConnect::Endpoints::CreateGateway.build(context)
|
77
|
+
when :delete_bridge
|
78
|
+
Aws::MediaConnect::Endpoints::DeleteBridge.build(context)
|
69
79
|
when :delete_flow
|
70
80
|
Aws::MediaConnect::Endpoints::DeleteFlow.build(context)
|
81
|
+
when :delete_gateway
|
82
|
+
Aws::MediaConnect::Endpoints::DeleteGateway.build(context)
|
83
|
+
when :deregister_gateway_instance
|
84
|
+
Aws::MediaConnect::Endpoints::DeregisterGatewayInstance.build(context)
|
85
|
+
when :describe_bridge
|
86
|
+
Aws::MediaConnect::Endpoints::DescribeBridge.build(context)
|
71
87
|
when :describe_flow
|
72
88
|
Aws::MediaConnect::Endpoints::DescribeFlow.build(context)
|
89
|
+
when :describe_gateway
|
90
|
+
Aws::MediaConnect::Endpoints::DescribeGateway.build(context)
|
91
|
+
when :describe_gateway_instance
|
92
|
+
Aws::MediaConnect::Endpoints::DescribeGatewayInstance.build(context)
|
73
93
|
when :describe_offering
|
74
94
|
Aws::MediaConnect::Endpoints::DescribeOffering.build(context)
|
75
95
|
when :describe_reservation
|
76
96
|
Aws::MediaConnect::Endpoints::DescribeReservation.build(context)
|
77
97
|
when :grant_flow_entitlements
|
78
98
|
Aws::MediaConnect::Endpoints::GrantFlowEntitlements.build(context)
|
99
|
+
when :list_bridges
|
100
|
+
Aws::MediaConnect::Endpoints::ListBridges.build(context)
|
79
101
|
when :list_entitlements
|
80
102
|
Aws::MediaConnect::Endpoints::ListEntitlements.build(context)
|
81
103
|
when :list_flows
|
82
104
|
Aws::MediaConnect::Endpoints::ListFlows.build(context)
|
105
|
+
when :list_gateway_instances
|
106
|
+
Aws::MediaConnect::Endpoints::ListGatewayInstances.build(context)
|
107
|
+
when :list_gateways
|
108
|
+
Aws::MediaConnect::Endpoints::ListGateways.build(context)
|
83
109
|
when :list_offerings
|
84
110
|
Aws::MediaConnect::Endpoints::ListOfferings.build(context)
|
85
111
|
when :list_reservations
|
@@ -88,6 +114,10 @@ module Aws::MediaConnect
|
|
88
114
|
Aws::MediaConnect::Endpoints::ListTagsForResource.build(context)
|
89
115
|
when :purchase_offering
|
90
116
|
Aws::MediaConnect::Endpoints::PurchaseOffering.build(context)
|
117
|
+
when :remove_bridge_output
|
118
|
+
Aws::MediaConnect::Endpoints::RemoveBridgeOutput.build(context)
|
119
|
+
when :remove_bridge_source
|
120
|
+
Aws::MediaConnect::Endpoints::RemoveBridgeSource.build(context)
|
91
121
|
when :remove_flow_media_stream
|
92
122
|
Aws::MediaConnect::Endpoints::RemoveFlowMediaStream.build(context)
|
93
123
|
when :remove_flow_output
|
@@ -106,6 +136,14 @@ module Aws::MediaConnect
|
|
106
136
|
Aws::MediaConnect::Endpoints::TagResource.build(context)
|
107
137
|
when :untag_resource
|
108
138
|
Aws::MediaConnect::Endpoints::UntagResource.build(context)
|
139
|
+
when :update_bridge
|
140
|
+
Aws::MediaConnect::Endpoints::UpdateBridge.build(context)
|
141
|
+
when :update_bridge_output
|
142
|
+
Aws::MediaConnect::Endpoints::UpdateBridgeOutput.build(context)
|
143
|
+
when :update_bridge_source
|
144
|
+
Aws::MediaConnect::Endpoints::UpdateBridgeSource.build(context)
|
145
|
+
when :update_bridge_state
|
146
|
+
Aws::MediaConnect::Endpoints::UpdateBridgeState.build(context)
|
109
147
|
when :update_flow
|
110
148
|
Aws::MediaConnect::Endpoints::UpdateFlow.build(context)
|
111
149
|
when :update_flow_entitlement
|
@@ -116,6 +154,8 @@ module Aws::MediaConnect
|
|
116
154
|
Aws::MediaConnect::Endpoints::UpdateFlowOutput.build(context)
|
117
155
|
when :update_flow_source
|
118
156
|
Aws::MediaConnect::Endpoints::UpdateFlowSource.build(context)
|
157
|
+
when :update_gateway_instance
|
158
|
+
Aws::MediaConnect::Endpoints::UpdateGatewayInstance.build(context)
|
119
159
|
end
|
120
160
|
end
|
121
161
|
end
|