aws-sdk-mediaconnect 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-mediaconnect/client.rb +1060 -0
- data/lib/aws-sdk-mediaconnect/client_api.rb +556 -0
- data/lib/aws-sdk-mediaconnect/customizations.rb +0 -0
- data/lib/aws-sdk-mediaconnect/errors.rb +14 -0
- data/lib/aws-sdk-mediaconnect/resource.rb +23 -0
- data/lib/aws-sdk-mediaconnect/types.rb +1475 -0
- data/lib/aws-sdk-mediaconnect.rb +47 -0
- metadata +88 -0
@@ -0,0 +1,556 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::MediaConnect
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AddFlowOutputs420Exception = Shapes::StructureShape.new(name: 'AddFlowOutputs420Exception')
|
15
|
+
AddFlowOutputsRequest = Shapes::StructureShape.new(name: 'AddFlowOutputsRequest')
|
16
|
+
AddFlowOutputsResponse = Shapes::StructureShape.new(name: 'AddFlowOutputsResponse')
|
17
|
+
AddOutputRequest = Shapes::StructureShape.new(name: 'AddOutputRequest')
|
18
|
+
Algorithm = Shapes::StringShape.new(name: 'Algorithm')
|
19
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
20
|
+
CreateFlow420Exception = Shapes::StructureShape.new(name: 'CreateFlow420Exception')
|
21
|
+
CreateFlowRequest = Shapes::StructureShape.new(name: 'CreateFlowRequest')
|
22
|
+
CreateFlowResponse = Shapes::StructureShape.new(name: 'CreateFlowResponse')
|
23
|
+
DeleteFlowRequest = Shapes::StructureShape.new(name: 'DeleteFlowRequest')
|
24
|
+
DeleteFlowResponse = Shapes::StructureShape.new(name: 'DeleteFlowResponse')
|
25
|
+
DescribeFlowRequest = Shapes::StructureShape.new(name: 'DescribeFlowRequest')
|
26
|
+
DescribeFlowResponse = Shapes::StructureShape.new(name: 'DescribeFlowResponse')
|
27
|
+
Encryption = Shapes::StructureShape.new(name: 'Encryption')
|
28
|
+
Entitlement = Shapes::StructureShape.new(name: 'Entitlement')
|
29
|
+
Flow = Shapes::StructureShape.new(name: 'Flow')
|
30
|
+
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
31
|
+
GrantEntitlementRequest = Shapes::StructureShape.new(name: 'GrantEntitlementRequest')
|
32
|
+
GrantFlowEntitlements420Exception = Shapes::StructureShape.new(name: 'GrantFlowEntitlements420Exception')
|
33
|
+
GrantFlowEntitlementsRequest = Shapes::StructureShape.new(name: 'GrantFlowEntitlementsRequest')
|
34
|
+
GrantFlowEntitlementsResponse = Shapes::StructureShape.new(name: 'GrantFlowEntitlementsResponse')
|
35
|
+
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
36
|
+
KeyType = Shapes::StringShape.new(name: 'KeyType')
|
37
|
+
ListEntitlementsRequest = Shapes::StructureShape.new(name: 'ListEntitlementsRequest')
|
38
|
+
ListEntitlementsResponse = Shapes::StructureShape.new(name: 'ListEntitlementsResponse')
|
39
|
+
ListFlowsRequest = Shapes::StructureShape.new(name: 'ListFlowsRequest')
|
40
|
+
ListFlowsResponse = Shapes::StructureShape.new(name: 'ListFlowsResponse')
|
41
|
+
ListedEntitlement = Shapes::StructureShape.new(name: 'ListedEntitlement')
|
42
|
+
ListedFlow = Shapes::StructureShape.new(name: 'ListedFlow')
|
43
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
44
|
+
Messages = Shapes::StructureShape.new(name: 'Messages')
|
45
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
46
|
+
Output = Shapes::StructureShape.new(name: 'Output')
|
47
|
+
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
48
|
+
RemoveFlowOutputRequest = Shapes::StructureShape.new(name: 'RemoveFlowOutputRequest')
|
49
|
+
RemoveFlowOutputResponse = Shapes::StructureShape.new(name: 'RemoveFlowOutputResponse')
|
50
|
+
ResponseError = Shapes::StructureShape.new(name: 'ResponseError')
|
51
|
+
RevokeFlowEntitlementRequest = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementRequest')
|
52
|
+
RevokeFlowEntitlementResponse = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementResponse')
|
53
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
54
|
+
SetSourceRequest = Shapes::StructureShape.new(name: 'SetSourceRequest')
|
55
|
+
Source = Shapes::StructureShape.new(name: 'Source')
|
56
|
+
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
57
|
+
StartFlowRequest = Shapes::StructureShape.new(name: 'StartFlowRequest')
|
58
|
+
StartFlowResponse = Shapes::StructureShape.new(name: 'StartFlowResponse')
|
59
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
60
|
+
StopFlowRequest = Shapes::StructureShape.new(name: 'StopFlowRequest')
|
61
|
+
StopFlowResponse = Shapes::StructureShape.new(name: 'StopFlowResponse')
|
62
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
63
|
+
Transport = Shapes::StructureShape.new(name: 'Transport')
|
64
|
+
UpdateEncryption = Shapes::StructureShape.new(name: 'UpdateEncryption')
|
65
|
+
UpdateFlowEntitlementRequest = Shapes::StructureShape.new(name: 'UpdateFlowEntitlementRequest')
|
66
|
+
UpdateFlowEntitlementResponse = Shapes::StructureShape.new(name: 'UpdateFlowEntitlementResponse')
|
67
|
+
UpdateFlowOutputRequest = Shapes::StructureShape.new(name: 'UpdateFlowOutputRequest')
|
68
|
+
UpdateFlowOutputResponse = Shapes::StructureShape.new(name: 'UpdateFlowOutputResponse')
|
69
|
+
UpdateFlowSourceRequest = Shapes::StructureShape.new(name: 'UpdateFlowSourceRequest')
|
70
|
+
UpdateFlowSourceResponse = Shapes::StructureShape.new(name: 'UpdateFlowSourceResponse')
|
71
|
+
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
72
|
+
__double = Shapes::FloatShape.new(name: '__double')
|
73
|
+
__integer = Shapes::IntegerShape.new(name: '__integer')
|
74
|
+
__listOfAddOutputRequest = Shapes::ListShape.new(name: '__listOfAddOutputRequest')
|
75
|
+
__listOfEntitlement = Shapes::ListShape.new(name: '__listOfEntitlement')
|
76
|
+
__listOfGrantEntitlementRequest = Shapes::ListShape.new(name: '__listOfGrantEntitlementRequest')
|
77
|
+
__listOfListedEntitlement = Shapes::ListShape.new(name: '__listOfListedEntitlement')
|
78
|
+
__listOfListedFlow = Shapes::ListShape.new(name: '__listOfListedFlow')
|
79
|
+
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
|
80
|
+
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
81
|
+
__long = Shapes::IntegerShape.new(name: '__long')
|
82
|
+
__string = Shapes::StringShape.new(name: '__string')
|
83
|
+
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
84
|
+
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
85
|
+
|
86
|
+
AddFlowOutputsRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
87
|
+
AddFlowOutputsRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: __listOfAddOutputRequest, required: true, location_name: "outputs"))
|
88
|
+
AddFlowOutputsRequest.struct_class = Types::AddFlowOutputsRequest
|
89
|
+
|
90
|
+
AddFlowOutputsResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
91
|
+
AddFlowOutputsResponse.add_member(:outputs, Shapes::ShapeRef.new(shape: __listOfOutput, location_name: "outputs"))
|
92
|
+
AddFlowOutputsResponse.struct_class = Types::AddFlowOutputsResponse
|
93
|
+
|
94
|
+
AddOutputRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
95
|
+
AddOutputRequest.add_member(:destination, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "destination"))
|
96
|
+
AddOutputRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
97
|
+
AddOutputRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
|
98
|
+
AddOutputRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
99
|
+
AddOutputRequest.add_member(:port, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "port"))
|
100
|
+
AddOutputRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "protocol"))
|
101
|
+
AddOutputRequest.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
|
102
|
+
AddOutputRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
|
103
|
+
AddOutputRequest.struct_class = Types::AddOutputRequest
|
104
|
+
|
105
|
+
CreateFlowRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: __string, location_name: "availabilityZone"))
|
106
|
+
CreateFlowRequest.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfGrantEntitlementRequest, location_name: "entitlements"))
|
107
|
+
CreateFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
108
|
+
CreateFlowRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: __listOfAddOutputRequest, location_name: "outputs"))
|
109
|
+
CreateFlowRequest.add_member(:source, Shapes::ShapeRef.new(shape: SetSourceRequest, required: true, location_name: "source"))
|
110
|
+
CreateFlowRequest.struct_class = Types::CreateFlowRequest
|
111
|
+
|
112
|
+
CreateFlowResponse.add_member(:flow, Shapes::ShapeRef.new(shape: Flow, location_name: "flow"))
|
113
|
+
CreateFlowResponse.struct_class = Types::CreateFlowResponse
|
114
|
+
|
115
|
+
DeleteFlowRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
116
|
+
DeleteFlowRequest.struct_class = Types::DeleteFlowRequest
|
117
|
+
|
118
|
+
DeleteFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
119
|
+
DeleteFlowResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
120
|
+
DeleteFlowResponse.struct_class = Types::DeleteFlowResponse
|
121
|
+
|
122
|
+
DescribeFlowRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
123
|
+
DescribeFlowRequest.struct_class = Types::DescribeFlowRequest
|
124
|
+
|
125
|
+
DescribeFlowResponse.add_member(:flow, Shapes::ShapeRef.new(shape: Flow, location_name: "flow"))
|
126
|
+
DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
127
|
+
DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
|
128
|
+
|
129
|
+
Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, required: true, location_name: "algorithm"))
|
130
|
+
Encryption.add_member(:key_type, Shapes::ShapeRef.new(shape: KeyType, location_name: "keyType"))
|
131
|
+
Encryption.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
|
132
|
+
Encryption.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "secretArn"))
|
133
|
+
Encryption.struct_class = Types::Encryption
|
134
|
+
|
135
|
+
Entitlement.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
136
|
+
Entitlement.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
137
|
+
Entitlement.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "entitlementArn"))
|
138
|
+
Entitlement.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
139
|
+
Entitlement.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
|
140
|
+
Entitlement.struct_class = Types::Entitlement
|
141
|
+
|
142
|
+
Flow.add_member(:availability_zone, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "availabilityZone"))
|
143
|
+
Flow.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
144
|
+
Flow.add_member(:egress_ip, Shapes::ShapeRef.new(shape: __string, location_name: "egressIp"))
|
145
|
+
Flow.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfEntitlement, required: true, location_name: "entitlements"))
|
146
|
+
Flow.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "flowArn"))
|
147
|
+
Flow.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
148
|
+
Flow.add_member(:outputs, Shapes::ShapeRef.new(shape: __listOfOutput, required: true, location_name: "outputs"))
|
149
|
+
Flow.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
150
|
+
Flow.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
151
|
+
Flow.struct_class = Types::Flow
|
152
|
+
|
153
|
+
GrantEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
154
|
+
GrantEntitlementRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
155
|
+
GrantEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
156
|
+
GrantEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
|
157
|
+
GrantEntitlementRequest.struct_class = Types::GrantEntitlementRequest
|
158
|
+
|
159
|
+
GrantFlowEntitlementsRequest.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfGrantEntitlementRequest, required: true, location_name: "entitlements"))
|
160
|
+
GrantFlowEntitlementsRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
161
|
+
GrantFlowEntitlementsRequest.struct_class = Types::GrantFlowEntitlementsRequest
|
162
|
+
|
163
|
+
GrantFlowEntitlementsResponse.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfEntitlement, location_name: "entitlements"))
|
164
|
+
GrantFlowEntitlementsResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
165
|
+
GrantFlowEntitlementsResponse.struct_class = Types::GrantFlowEntitlementsResponse
|
166
|
+
|
167
|
+
ListEntitlementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
168
|
+
ListEntitlementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
169
|
+
ListEntitlementsRequest.struct_class = Types::ListEntitlementsRequest
|
170
|
+
|
171
|
+
ListEntitlementsResponse.add_member(:entitlements, Shapes::ShapeRef.new(shape: __listOfListedEntitlement, location_name: "entitlements"))
|
172
|
+
ListEntitlementsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
173
|
+
ListEntitlementsResponse.struct_class = Types::ListEntitlementsResponse
|
174
|
+
|
175
|
+
ListFlowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
176
|
+
ListFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
177
|
+
ListFlowsRequest.struct_class = Types::ListFlowsRequest
|
178
|
+
|
179
|
+
ListFlowsResponse.add_member(:flows, Shapes::ShapeRef.new(shape: __listOfListedFlow, location_name: "flows"))
|
180
|
+
ListFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
181
|
+
ListFlowsResponse.struct_class = Types::ListFlowsResponse
|
182
|
+
|
183
|
+
ListedEntitlement.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "entitlementArn"))
|
184
|
+
ListedEntitlement.add_member(:entitlement_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "entitlementName"))
|
185
|
+
ListedEntitlement.struct_class = Types::ListedEntitlement
|
186
|
+
|
187
|
+
ListedFlow.add_member(:availability_zone, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "availabilityZone"))
|
188
|
+
ListedFlow.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
|
189
|
+
ListedFlow.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "flowArn"))
|
190
|
+
ListedFlow.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
191
|
+
ListedFlow.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "sourceType"))
|
192
|
+
ListedFlow.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
193
|
+
ListedFlow.struct_class = Types::ListedFlow
|
194
|
+
|
195
|
+
Messages.add_member(:errors, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "errors"))
|
196
|
+
Messages.struct_class = Types::Messages
|
197
|
+
|
198
|
+
Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
199
|
+
Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
|
200
|
+
Output.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
201
|
+
Output.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
|
202
|
+
Output.add_member(:media_live_input_arn, Shapes::ShapeRef.new(shape: __string, location_name: "mediaLiveInputArn"))
|
203
|
+
Output.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
204
|
+
Output.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "outputArn"))
|
205
|
+
Output.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
|
206
|
+
Output.add_member(:transport, Shapes::ShapeRef.new(shape: Transport, location_name: "transport"))
|
207
|
+
Output.struct_class = Types::Output
|
208
|
+
|
209
|
+
RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
210
|
+
RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
|
211
|
+
RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
|
212
|
+
|
213
|
+
RemoveFlowOutputResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
214
|
+
RemoveFlowOutputResponse.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, location_name: "outputArn"))
|
215
|
+
RemoveFlowOutputResponse.struct_class = Types::RemoveFlowOutputResponse
|
216
|
+
|
217
|
+
ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
218
|
+
ResponseError.struct_class = Types::ResponseError
|
219
|
+
|
220
|
+
RevokeFlowEntitlementRequest.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "entitlementArn"))
|
221
|
+
RevokeFlowEntitlementRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
222
|
+
RevokeFlowEntitlementRequest.struct_class = Types::RevokeFlowEntitlementRequest
|
223
|
+
|
224
|
+
RevokeFlowEntitlementResponse.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
|
225
|
+
RevokeFlowEntitlementResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
226
|
+
RevokeFlowEntitlementResponse.struct_class = Types::RevokeFlowEntitlementResponse
|
227
|
+
|
228
|
+
SetSourceRequest.add_member(:decryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "decryption"))
|
229
|
+
SetSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
230
|
+
SetSourceRequest.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
|
231
|
+
SetSourceRequest.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
|
232
|
+
SetSourceRequest.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
|
233
|
+
SetSourceRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
|
234
|
+
SetSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
235
|
+
SetSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
|
236
|
+
SetSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
|
237
|
+
SetSourceRequest.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
|
238
|
+
SetSourceRequest.struct_class = Types::SetSourceRequest
|
239
|
+
|
240
|
+
Source.add_member(:decryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "decryption"))
|
241
|
+
Source.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
242
|
+
Source.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
|
243
|
+
Source.add_member(:ingest_ip, Shapes::ShapeRef.new(shape: __string, location_name: "ingestIp"))
|
244
|
+
Source.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
|
245
|
+
Source.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
246
|
+
Source.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
|
247
|
+
Source.add_member(:transport, Shapes::ShapeRef.new(shape: Transport, location_name: "transport"))
|
248
|
+
Source.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
|
249
|
+
Source.struct_class = Types::Source
|
250
|
+
|
251
|
+
StartFlowRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
252
|
+
StartFlowRequest.struct_class = Types::StartFlowRequest
|
253
|
+
|
254
|
+
StartFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
255
|
+
StartFlowResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
256
|
+
StartFlowResponse.struct_class = Types::StartFlowResponse
|
257
|
+
|
258
|
+
StopFlowRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
259
|
+
StopFlowRequest.struct_class = Types::StopFlowRequest
|
260
|
+
|
261
|
+
StopFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
262
|
+
StopFlowResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
263
|
+
StopFlowResponse.struct_class = Types::StopFlowResponse
|
264
|
+
|
265
|
+
Transport.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
|
266
|
+
Transport.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
|
267
|
+
Transport.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "protocol"))
|
268
|
+
Transport.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
|
269
|
+
Transport.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
|
270
|
+
Transport.struct_class = Types::Transport
|
271
|
+
|
272
|
+
UpdateEncryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, location_name: "algorithm"))
|
273
|
+
UpdateEncryption.add_member(:key_type, Shapes::ShapeRef.new(shape: KeyType, location_name: "keyType"))
|
274
|
+
UpdateEncryption.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
|
275
|
+
UpdateEncryption.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "secretArn"))
|
276
|
+
UpdateEncryption.struct_class = Types::UpdateEncryption
|
277
|
+
|
278
|
+
UpdateFlowEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
279
|
+
UpdateFlowEntitlementRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "encryption"))
|
280
|
+
UpdateFlowEntitlementRequest.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "entitlementArn"))
|
281
|
+
UpdateFlowEntitlementRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
282
|
+
UpdateFlowEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subscribers"))
|
283
|
+
UpdateFlowEntitlementRequest.struct_class = Types::UpdateFlowEntitlementRequest
|
284
|
+
|
285
|
+
UpdateFlowEntitlementResponse.add_member(:entitlement, Shapes::ShapeRef.new(shape: Entitlement, location_name: "entitlement"))
|
286
|
+
UpdateFlowEntitlementResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
287
|
+
UpdateFlowEntitlementResponse.struct_class = Types::UpdateFlowEntitlementResponse
|
288
|
+
|
289
|
+
UpdateFlowOutputRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
290
|
+
UpdateFlowOutputRequest.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
|
291
|
+
UpdateFlowOutputRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "encryption"))
|
292
|
+
UpdateFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
293
|
+
UpdateFlowOutputRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
|
294
|
+
UpdateFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
|
295
|
+
UpdateFlowOutputRequest.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
|
296
|
+
UpdateFlowOutputRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
|
297
|
+
UpdateFlowOutputRequest.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
|
298
|
+
UpdateFlowOutputRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
|
299
|
+
UpdateFlowOutputRequest.struct_class = Types::UpdateFlowOutputRequest
|
300
|
+
|
301
|
+
UpdateFlowOutputResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
302
|
+
UpdateFlowOutputResponse.add_member(:output, Shapes::ShapeRef.new(shape: Output, location_name: "output"))
|
303
|
+
UpdateFlowOutputResponse.struct_class = Types::UpdateFlowOutputResponse
|
304
|
+
|
305
|
+
UpdateFlowSourceRequest.add_member(:decryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "decryption"))
|
306
|
+
UpdateFlowSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
307
|
+
UpdateFlowSourceRequest.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
|
308
|
+
UpdateFlowSourceRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
309
|
+
UpdateFlowSourceRequest.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
|
310
|
+
UpdateFlowSourceRequest.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
|
311
|
+
UpdateFlowSourceRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
|
312
|
+
UpdateFlowSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
|
313
|
+
UpdateFlowSourceRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sourceArn"))
|
314
|
+
UpdateFlowSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
|
315
|
+
UpdateFlowSourceRequest.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
|
316
|
+
UpdateFlowSourceRequest.struct_class = Types::UpdateFlowSourceRequest
|
317
|
+
|
318
|
+
UpdateFlowSourceResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
|
319
|
+
UpdateFlowSourceResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
320
|
+
UpdateFlowSourceResponse.struct_class = Types::UpdateFlowSourceResponse
|
321
|
+
|
322
|
+
__listOfAddOutputRequest.member = Shapes::ShapeRef.new(shape: AddOutputRequest)
|
323
|
+
|
324
|
+
__listOfEntitlement.member = Shapes::ShapeRef.new(shape: Entitlement)
|
325
|
+
|
326
|
+
__listOfGrantEntitlementRequest.member = Shapes::ShapeRef.new(shape: GrantEntitlementRequest)
|
327
|
+
|
328
|
+
__listOfListedEntitlement.member = Shapes::ShapeRef.new(shape: ListedEntitlement)
|
329
|
+
|
330
|
+
__listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
|
331
|
+
|
332
|
+
__listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
|
333
|
+
|
334
|
+
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
335
|
+
|
336
|
+
|
337
|
+
# @api private
|
338
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
339
|
+
|
340
|
+
api.version = "2018-11-14"
|
341
|
+
|
342
|
+
api.metadata = {
|
343
|
+
"apiVersion" => "2018-11-14",
|
344
|
+
"endpointPrefix" => "mediaconnect",
|
345
|
+
"jsonVersion" => "1.1",
|
346
|
+
"protocol" => "rest-json",
|
347
|
+
"serviceFullName" => "AWS MediaConnect",
|
348
|
+
"serviceId" => "MediaConnect",
|
349
|
+
"signatureVersion" => "v4",
|
350
|
+
"signingName" => "mediaconnect",
|
351
|
+
"uid" => "mediaconnect-2018-11-14",
|
352
|
+
}
|
353
|
+
|
354
|
+
api.add_operation(:add_flow_outputs, Seahorse::Model::Operation.new.tap do |o|
|
355
|
+
o.name = "AddFlowOutputs"
|
356
|
+
o.http_method = "POST"
|
357
|
+
o.http_request_uri = "/v1/flows/{flowArn}/outputs"
|
358
|
+
o.input = Shapes::ShapeRef.new(shape: AddFlowOutputsRequest)
|
359
|
+
o.output = Shapes::ShapeRef.new(shape: AddFlowOutputsResponse)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: AddFlowOutputs420Exception)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
363
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
367
|
+
end)
|
368
|
+
|
369
|
+
api.add_operation(:create_flow, Seahorse::Model::Operation.new.tap do |o|
|
370
|
+
o.name = "CreateFlow"
|
371
|
+
o.http_method = "POST"
|
372
|
+
o.http_request_uri = "/v1/flows"
|
373
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFlowRequest)
|
374
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFlowResponse)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: CreateFlow420Exception)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
381
|
+
end)
|
382
|
+
|
383
|
+
api.add_operation(:delete_flow, Seahorse::Model::Operation.new.tap do |o|
|
384
|
+
o.name = "DeleteFlow"
|
385
|
+
o.http_method = "DELETE"
|
386
|
+
o.http_request_uri = "/v1/flows/{flowArn}"
|
387
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFlowRequest)
|
388
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFlowResponse)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
395
|
+
end)
|
396
|
+
|
397
|
+
api.add_operation(:describe_flow, Seahorse::Model::Operation.new.tap do |o|
|
398
|
+
o.name = "DescribeFlow"
|
399
|
+
o.http_method = "GET"
|
400
|
+
o.http_request_uri = "/v1/flows/{flowArn}"
|
401
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFlowRequest)
|
402
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFlowResponse)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
409
|
+
end)
|
410
|
+
|
411
|
+
api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
|
412
|
+
o.name = "GrantFlowEntitlements"
|
413
|
+
o.http_method = "POST"
|
414
|
+
o.http_request_uri = "/v1/flows/{flowArn}/entitlements"
|
415
|
+
o.input = Shapes::ShapeRef.new(shape: GrantFlowEntitlementsRequest)
|
416
|
+
o.output = Shapes::ShapeRef.new(shape: GrantFlowEntitlementsResponse)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: GrantFlowEntitlements420Exception)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
424
|
+
end)
|
425
|
+
|
426
|
+
api.add_operation(:list_entitlements, Seahorse::Model::Operation.new.tap do |o|
|
427
|
+
o.name = "ListEntitlements"
|
428
|
+
o.http_method = "GET"
|
429
|
+
o.http_request_uri = "/v1/entitlements"
|
430
|
+
o.input = Shapes::ShapeRef.new(shape: ListEntitlementsRequest)
|
431
|
+
o.output = Shapes::ShapeRef.new(shape: ListEntitlementsResponse)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
436
|
+
end)
|
437
|
+
|
438
|
+
api.add_operation(:list_flows, Seahorse::Model::Operation.new.tap do |o|
|
439
|
+
o.name = "ListFlows"
|
440
|
+
o.http_method = "GET"
|
441
|
+
o.http_request_uri = "/v1/flows"
|
442
|
+
o.input = Shapes::ShapeRef.new(shape: ListFlowsRequest)
|
443
|
+
o.output = Shapes::ShapeRef.new(shape: ListFlowsResponse)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
448
|
+
o[:pager] = Aws::Pager.new(
|
449
|
+
limit_key: "max_results",
|
450
|
+
tokens: {
|
451
|
+
"next_token" => "next_token"
|
452
|
+
}
|
453
|
+
)
|
454
|
+
end)
|
455
|
+
|
456
|
+
api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
|
457
|
+
o.name = "RemoveFlowOutput"
|
458
|
+
o.http_method = "DELETE"
|
459
|
+
o.http_request_uri = "/v1/flows/{flowArn}/outputs/{outputArn}"
|
460
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveFlowOutputRequest)
|
461
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveFlowOutputResponse)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
468
|
+
end)
|
469
|
+
|
470
|
+
api.add_operation(:revoke_flow_entitlement, Seahorse::Model::Operation.new.tap do |o|
|
471
|
+
o.name = "RevokeFlowEntitlement"
|
472
|
+
o.http_method = "DELETE"
|
473
|
+
o.http_request_uri = "/v1/flows/{flowArn}/entitlements/{entitlementArn}"
|
474
|
+
o.input = Shapes::ShapeRef.new(shape: RevokeFlowEntitlementRequest)
|
475
|
+
o.output = Shapes::ShapeRef.new(shape: RevokeFlowEntitlementResponse)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
482
|
+
end)
|
483
|
+
|
484
|
+
api.add_operation(:start_flow, Seahorse::Model::Operation.new.tap do |o|
|
485
|
+
o.name = "StartFlow"
|
486
|
+
o.http_method = "POST"
|
487
|
+
o.http_request_uri = "/v1/flows/start/{flowArn}"
|
488
|
+
o.input = Shapes::ShapeRef.new(shape: StartFlowRequest)
|
489
|
+
o.output = Shapes::ShapeRef.new(shape: StartFlowResponse)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
496
|
+
end)
|
497
|
+
|
498
|
+
api.add_operation(:stop_flow, Seahorse::Model::Operation.new.tap do |o|
|
499
|
+
o.name = "StopFlow"
|
500
|
+
o.http_method = "POST"
|
501
|
+
o.http_request_uri = "/v1/flows/stop/{flowArn}"
|
502
|
+
o.input = Shapes::ShapeRef.new(shape: StopFlowRequest)
|
503
|
+
o.output = Shapes::ShapeRef.new(shape: StopFlowResponse)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
510
|
+
end)
|
511
|
+
|
512
|
+
api.add_operation(:update_flow_entitlement, Seahorse::Model::Operation.new.tap do |o|
|
513
|
+
o.name = "UpdateFlowEntitlement"
|
514
|
+
o.http_method = "PUT"
|
515
|
+
o.http_request_uri = "/v1/flows/{flowArn}/entitlements/{entitlementArn}"
|
516
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFlowEntitlementRequest)
|
517
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFlowEntitlementResponse)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
524
|
+
end)
|
525
|
+
|
526
|
+
api.add_operation(:update_flow_output, Seahorse::Model::Operation.new.tap do |o|
|
527
|
+
o.name = "UpdateFlowOutput"
|
528
|
+
o.http_method = "PUT"
|
529
|
+
o.http_request_uri = "/v1/flows/{flowArn}/outputs/{outputArn}"
|
530
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFlowOutputRequest)
|
531
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFlowOutputResponse)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
538
|
+
end)
|
539
|
+
|
540
|
+
api.add_operation(:update_flow_source, Seahorse::Model::Operation.new.tap do |o|
|
541
|
+
o.name = "UpdateFlowSource"
|
542
|
+
o.http_method = "PUT"
|
543
|
+
o.http_request_uri = "/v1/flows/{flowArn}/source/{sourceArn}"
|
544
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFlowSourceRequest)
|
545
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFlowSourceResponse)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
552
|
+
end)
|
553
|
+
end
|
554
|
+
|
555
|
+
end
|
556
|
+
end
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::MediaConnect
|
9
|
+
module Errors
|
10
|
+
|
11
|
+
extend Aws::Errors::DynamicErrors
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::MediaConnect
|
9
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|