aws-sdk-ivsrealtime 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/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ivsrealtime/client.rb +810 -0
- data/lib/aws-sdk-ivsrealtime/client_api.rb +351 -0
- data/lib/aws-sdk-ivsrealtime/customizations.rb +0 -0
- data/lib/aws-sdk-ivsrealtime/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ivsrealtime/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-ivsrealtime/endpoints.rb +155 -0
- data/lib/aws-sdk-ivsrealtime/errors.rb +150 -0
- data/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb +88 -0
- data/lib/aws-sdk-ivsrealtime/resource.rb +26 -0
- data/lib/aws-sdk-ivsrealtime/types.rb +582 -0
- data/lib/aws-sdk-ivsrealtime.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,582 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::IVSRealTime
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# @!attribute [rw] exception_message
|
14
|
+
# User does not have sufficient access to perform this action.
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/AccessDeniedException AWS API Documentation
|
18
|
+
#
|
19
|
+
class AccessDeniedException < Struct.new(
|
20
|
+
:exception_message)
|
21
|
+
SENSITIVE = []
|
22
|
+
include Aws::Structure
|
23
|
+
end
|
24
|
+
|
25
|
+
# @!attribute [rw] exception_message
|
26
|
+
# Updating or deleting a resource can cause an inconsistent state.
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ConflictException AWS API Documentation
|
30
|
+
#
|
31
|
+
class ConflictException < Struct.new(
|
32
|
+
:exception_message)
|
33
|
+
SENSITIVE = []
|
34
|
+
include Aws::Structure
|
35
|
+
end
|
36
|
+
|
37
|
+
# @!attribute [rw] attributes
|
38
|
+
# Application-provided attributes to encode into the token and attach
|
39
|
+
# to a stage. Map keys and values can contain UTF-8 encoded text. The
|
40
|
+
# maximum length of this field is 1 KB total. *This field is exposed
|
41
|
+
# to all stage participants and should not be used for personally
|
42
|
+
# identifying, confidential, or sensitive information.*
|
43
|
+
# @return [Hash<String,String>]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] capabilities
|
46
|
+
# Set of capabilities that the user is allowed to perform in the
|
47
|
+
# stage. Default: `PUBLISH, SUBSCRIBE`.
|
48
|
+
# @return [Array<String>]
|
49
|
+
#
|
50
|
+
# @!attribute [rw] duration
|
51
|
+
# Duration (in minutes), after which the token expires. Default: 60 (1
|
52
|
+
# hour).
|
53
|
+
# @return [Integer]
|
54
|
+
#
|
55
|
+
# @!attribute [rw] stage_arn
|
56
|
+
# ARN of the stage to which this token is scoped.
|
57
|
+
# @return [String]
|
58
|
+
#
|
59
|
+
# @!attribute [rw] user_id
|
60
|
+
# Name that can be specified to help identify the token. This can be
|
61
|
+
# any UTF-8 encoded text. *This field is exposed to all stage
|
62
|
+
# participants and should not be used for personally identifying,
|
63
|
+
# confidential, or sensitive information.*
|
64
|
+
# @return [String]
|
65
|
+
#
|
66
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateParticipantTokenRequest AWS API Documentation
|
67
|
+
#
|
68
|
+
class CreateParticipantTokenRequest < Struct.new(
|
69
|
+
:attributes,
|
70
|
+
:capabilities,
|
71
|
+
:duration,
|
72
|
+
:stage_arn,
|
73
|
+
:user_id)
|
74
|
+
SENSITIVE = []
|
75
|
+
include Aws::Structure
|
76
|
+
end
|
77
|
+
|
78
|
+
# @!attribute [rw] participant_token
|
79
|
+
# The participant token that was created.
|
80
|
+
# @return [Types::ParticipantToken]
|
81
|
+
#
|
82
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateParticipantTokenResponse AWS API Documentation
|
83
|
+
#
|
84
|
+
class CreateParticipantTokenResponse < Struct.new(
|
85
|
+
:participant_token)
|
86
|
+
SENSITIVE = []
|
87
|
+
include Aws::Structure
|
88
|
+
end
|
89
|
+
|
90
|
+
# @!attribute [rw] name
|
91
|
+
# Optional name that can be specified for the stage being created.
|
92
|
+
# @return [String]
|
93
|
+
#
|
94
|
+
# @!attribute [rw] participant_token_configurations
|
95
|
+
# Array of participant token configuration objects to attach to the
|
96
|
+
# new stage.
|
97
|
+
# @return [Array<Types::ParticipantTokenConfiguration>]
|
98
|
+
#
|
99
|
+
# @!attribute [rw] tags
|
100
|
+
# Tags attached to the resource. Array of maps, each of the form
|
101
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
102
|
+
# details, including restrictions that apply to tags and "Tag naming
|
103
|
+
# limits and requirements"; Amazon IVS has no constraints on tags
|
104
|
+
# beyond what is documented there.
|
105
|
+
#
|
106
|
+
#
|
107
|
+
#
|
108
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
109
|
+
# @return [Hash<String,String>]
|
110
|
+
#
|
111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateStageRequest AWS API Documentation
|
112
|
+
#
|
113
|
+
class CreateStageRequest < Struct.new(
|
114
|
+
:name,
|
115
|
+
:participant_token_configurations,
|
116
|
+
:tags)
|
117
|
+
SENSITIVE = []
|
118
|
+
include Aws::Structure
|
119
|
+
end
|
120
|
+
|
121
|
+
# @!attribute [rw] participant_tokens
|
122
|
+
# Participant tokens attached to the stage. These correspond to the
|
123
|
+
# `participants` in the request.
|
124
|
+
# @return [Array<Types::ParticipantToken>]
|
125
|
+
#
|
126
|
+
# @!attribute [rw] stage
|
127
|
+
# The stage that was created.
|
128
|
+
# @return [Types::Stage]
|
129
|
+
#
|
130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateStageResponse AWS API Documentation
|
131
|
+
#
|
132
|
+
class CreateStageResponse < Struct.new(
|
133
|
+
:participant_tokens,
|
134
|
+
:stage)
|
135
|
+
SENSITIVE = []
|
136
|
+
include Aws::Structure
|
137
|
+
end
|
138
|
+
|
139
|
+
# @!attribute [rw] arn
|
140
|
+
# ARN of the stage to be deleted.
|
141
|
+
# @return [String]
|
142
|
+
#
|
143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStageRequest AWS API Documentation
|
144
|
+
#
|
145
|
+
class DeleteStageRequest < Struct.new(
|
146
|
+
:arn)
|
147
|
+
SENSITIVE = []
|
148
|
+
include Aws::Structure
|
149
|
+
end
|
150
|
+
|
151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStageResponse AWS API Documentation
|
152
|
+
#
|
153
|
+
class DeleteStageResponse < Aws::EmptyStructure; end
|
154
|
+
|
155
|
+
# @!attribute [rw] participant_id
|
156
|
+
# Identifier of the participant to be disconnected. This is returned
|
157
|
+
# by CreateParticipantToken.
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
# @!attribute [rw] reason
|
161
|
+
# Description of why this participant is being disconnected.
|
162
|
+
# @return [String]
|
163
|
+
#
|
164
|
+
# @!attribute [rw] stage_arn
|
165
|
+
# ARN of the stage to which the participant is attached.
|
166
|
+
# @return [String]
|
167
|
+
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DisconnectParticipantRequest AWS API Documentation
|
169
|
+
#
|
170
|
+
class DisconnectParticipantRequest < Struct.new(
|
171
|
+
:participant_id,
|
172
|
+
:reason,
|
173
|
+
:stage_arn)
|
174
|
+
SENSITIVE = []
|
175
|
+
include Aws::Structure
|
176
|
+
end
|
177
|
+
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DisconnectParticipantResponse AWS API Documentation
|
179
|
+
#
|
180
|
+
class DisconnectParticipantResponse < Aws::EmptyStructure; end
|
181
|
+
|
182
|
+
# @!attribute [rw] arn
|
183
|
+
# ARN of the stage for which the information is to be retrieved.
|
184
|
+
# @return [String]
|
185
|
+
#
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStageRequest AWS API Documentation
|
187
|
+
#
|
188
|
+
class GetStageRequest < Struct.new(
|
189
|
+
:arn)
|
190
|
+
SENSITIVE = []
|
191
|
+
include Aws::Structure
|
192
|
+
end
|
193
|
+
|
194
|
+
# @!attribute [rw] stage
|
195
|
+
# @return [Types::Stage]
|
196
|
+
#
|
197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStageResponse AWS API Documentation
|
198
|
+
#
|
199
|
+
class GetStageResponse < Struct.new(
|
200
|
+
:stage)
|
201
|
+
SENSITIVE = []
|
202
|
+
include Aws::Structure
|
203
|
+
end
|
204
|
+
|
205
|
+
# @!attribute [rw] exception_message
|
206
|
+
# Unexpected error during processing of request.
|
207
|
+
# @return [String]
|
208
|
+
#
|
209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/InternalServerException AWS API Documentation
|
210
|
+
#
|
211
|
+
class InternalServerException < Struct.new(
|
212
|
+
:exception_message)
|
213
|
+
SENSITIVE = []
|
214
|
+
include Aws::Structure
|
215
|
+
end
|
216
|
+
|
217
|
+
# @!attribute [rw] max_results
|
218
|
+
# Maximum number of results to return. Default: 50.
|
219
|
+
# @return [Integer]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] next_token
|
222
|
+
# The first stage to retrieve. This is used for pagination; see the
|
223
|
+
# `nextToken` response field.
|
224
|
+
# @return [String]
|
225
|
+
#
|
226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStagesRequest AWS API Documentation
|
227
|
+
#
|
228
|
+
class ListStagesRequest < Struct.new(
|
229
|
+
:max_results,
|
230
|
+
:next_token)
|
231
|
+
SENSITIVE = []
|
232
|
+
include Aws::Structure
|
233
|
+
end
|
234
|
+
|
235
|
+
# @!attribute [rw] next_token
|
236
|
+
# If there are more rooms than `maxResults`, use `nextToken` in the
|
237
|
+
# request to get the next set.
|
238
|
+
# @return [String]
|
239
|
+
#
|
240
|
+
# @!attribute [rw] stages
|
241
|
+
# List of the matching stages (summary information only).
|
242
|
+
# @return [Array<Types::StageSummary>]
|
243
|
+
#
|
244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStagesResponse AWS API Documentation
|
245
|
+
#
|
246
|
+
class ListStagesResponse < Struct.new(
|
247
|
+
:next_token,
|
248
|
+
:stages)
|
249
|
+
SENSITIVE = []
|
250
|
+
include Aws::Structure
|
251
|
+
end
|
252
|
+
|
253
|
+
# @!attribute [rw] resource_arn
|
254
|
+
# The ARN of the resource to be retrieved. The ARN must be
|
255
|
+
# URL-encoded.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListTagsForResourceRequest AWS API Documentation
|
259
|
+
#
|
260
|
+
class ListTagsForResourceRequest < Struct.new(
|
261
|
+
:resource_arn)
|
262
|
+
SENSITIVE = []
|
263
|
+
include Aws::Structure
|
264
|
+
end
|
265
|
+
|
266
|
+
# @!attribute [rw] tags
|
267
|
+
# Tags attached to the resource. Array of maps, each of the form
|
268
|
+
# `string:string (key:value)`.
|
269
|
+
# @return [Hash<String,String>]
|
270
|
+
#
|
271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListTagsForResourceResponse AWS API Documentation
|
272
|
+
#
|
273
|
+
class ListTagsForResourceResponse < Struct.new(
|
274
|
+
:tags)
|
275
|
+
SENSITIVE = []
|
276
|
+
include Aws::Structure
|
277
|
+
end
|
278
|
+
|
279
|
+
# Object specifying a participant token in a stage.
|
280
|
+
#
|
281
|
+
# @!attribute [rw] attributes
|
282
|
+
# Application-provided attributes to encode into the token and attach
|
283
|
+
# to a stage. *This field is exposed to all stage participants and
|
284
|
+
# should not be used for personally identifying, confidential, or
|
285
|
+
# sensitive information.*
|
286
|
+
# @return [Hash<String,String>]
|
287
|
+
#
|
288
|
+
# @!attribute [rw] capabilities
|
289
|
+
# Set of capabilities that the user is allowed to perform in the
|
290
|
+
# stage.
|
291
|
+
# @return [Array<String>]
|
292
|
+
#
|
293
|
+
# @!attribute [rw] duration
|
294
|
+
# Duration (in minutes), after which the participant token expires.
|
295
|
+
# Default: 60 (1 hour).
|
296
|
+
# @return [Integer]
|
297
|
+
#
|
298
|
+
# @!attribute [rw] expiration_time
|
299
|
+
# ISO 8601 timestamp (returned as a string) for when this token
|
300
|
+
# expires.
|
301
|
+
# @return [Time]
|
302
|
+
#
|
303
|
+
# @!attribute [rw] participant_id
|
304
|
+
# Unique identifier for this participant token, assigned by IVS.
|
305
|
+
# @return [String]
|
306
|
+
#
|
307
|
+
# @!attribute [rw] token
|
308
|
+
# The issued client token, encrypted.
|
309
|
+
# @return [String]
|
310
|
+
#
|
311
|
+
# @!attribute [rw] user_id
|
312
|
+
# Name to help identify the token. This can be any UTF-8 encoded text.
|
313
|
+
# *This field is exposed to all stage participants and should not be
|
314
|
+
# used for personally identifying, confidential, or sensitive
|
315
|
+
# information.*
|
316
|
+
# @return [String]
|
317
|
+
#
|
318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ParticipantToken AWS API Documentation
|
319
|
+
#
|
320
|
+
class ParticipantToken < Struct.new(
|
321
|
+
:attributes,
|
322
|
+
:capabilities,
|
323
|
+
:duration,
|
324
|
+
:expiration_time,
|
325
|
+
:participant_id,
|
326
|
+
:token,
|
327
|
+
:user_id)
|
328
|
+
SENSITIVE = []
|
329
|
+
include Aws::Structure
|
330
|
+
end
|
331
|
+
|
332
|
+
# Object specifying a participant token configuration in a stage.
|
333
|
+
#
|
334
|
+
# @!attribute [rw] attributes
|
335
|
+
# Application-provided attributes to encode into the corresponding
|
336
|
+
# participant token and attach to a stage. Map keys and values can
|
337
|
+
# contain UTF-8 encoded text. The maximum length of this field is 1 KB
|
338
|
+
# total. *This field is exposed to all stage participants and should
|
339
|
+
# not be used for personally identifying, confidential, or sensitive
|
340
|
+
# information.*
|
341
|
+
# @return [Hash<String,String>]
|
342
|
+
#
|
343
|
+
# @!attribute [rw] capabilities
|
344
|
+
# Set of capabilities that the user is allowed to perform in the
|
345
|
+
# stage.
|
346
|
+
# @return [Array<String>]
|
347
|
+
#
|
348
|
+
# @!attribute [rw] duration
|
349
|
+
# Duration (in minutes), after which the corresponding participant
|
350
|
+
# token expires. Default: 60 (1 hour).
|
351
|
+
# @return [Integer]
|
352
|
+
#
|
353
|
+
# @!attribute [rw] user_id
|
354
|
+
# Name that can be specified to help identify the corresponding
|
355
|
+
# participant token. This can be any UTF-8 encoded text. *This field
|
356
|
+
# is exposed to all stage participants and should not be used for
|
357
|
+
# personally identifying, confidential, or sensitive information.*
|
358
|
+
# @return [String]
|
359
|
+
#
|
360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ParticipantTokenConfiguration AWS API Documentation
|
361
|
+
#
|
362
|
+
class ParticipantTokenConfiguration < Struct.new(
|
363
|
+
:attributes,
|
364
|
+
:capabilities,
|
365
|
+
:duration,
|
366
|
+
:user_id)
|
367
|
+
SENSITIVE = []
|
368
|
+
include Aws::Structure
|
369
|
+
end
|
370
|
+
|
371
|
+
# @!attribute [rw] exception_message
|
372
|
+
# Your account is pending verification.
|
373
|
+
# @return [String]
|
374
|
+
#
|
375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/PendingVerification AWS API Documentation
|
376
|
+
#
|
377
|
+
class PendingVerification < Struct.new(
|
378
|
+
:exception_message)
|
379
|
+
SENSITIVE = []
|
380
|
+
include Aws::Structure
|
381
|
+
end
|
382
|
+
|
383
|
+
# @!attribute [rw] exception_message
|
384
|
+
# Request references a resource which does not exist.
|
385
|
+
# @return [String]
|
386
|
+
#
|
387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ResourceNotFoundException AWS API Documentation
|
388
|
+
#
|
389
|
+
class ResourceNotFoundException < Struct.new(
|
390
|
+
:exception_message)
|
391
|
+
SENSITIVE = []
|
392
|
+
include Aws::Structure
|
393
|
+
end
|
394
|
+
|
395
|
+
# @!attribute [rw] exception_message
|
396
|
+
# Request would cause a service quota to be exceeded.
|
397
|
+
# @return [String]
|
398
|
+
#
|
399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ServiceQuotaExceededException AWS API Documentation
|
400
|
+
#
|
401
|
+
class ServiceQuotaExceededException < Struct.new(
|
402
|
+
:exception_message)
|
403
|
+
SENSITIVE = []
|
404
|
+
include Aws::Structure
|
405
|
+
end
|
406
|
+
|
407
|
+
# Object specifying a stage.
|
408
|
+
#
|
409
|
+
# @!attribute [rw] active_session_id
|
410
|
+
# ID of the active session within the stage.
|
411
|
+
# @return [String]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] arn
|
414
|
+
# Stage ARN.
|
415
|
+
# @return [String]
|
416
|
+
#
|
417
|
+
# @!attribute [rw] name
|
418
|
+
# Stage name.
|
419
|
+
# @return [String]
|
420
|
+
#
|
421
|
+
# @!attribute [rw] tags
|
422
|
+
# Tags attached to the resource. Array of maps, each of the form
|
423
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
424
|
+
# details, including restrictions that apply to tags and "Tag naming
|
425
|
+
# limits and requirements"; Amazon IVS has no constraints on tags
|
426
|
+
# beyond what is documented there.
|
427
|
+
#
|
428
|
+
#
|
429
|
+
#
|
430
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
431
|
+
# @return [Hash<String,String>]
|
432
|
+
#
|
433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/Stage AWS API Documentation
|
434
|
+
#
|
435
|
+
class Stage < Struct.new(
|
436
|
+
:active_session_id,
|
437
|
+
:arn,
|
438
|
+
:name,
|
439
|
+
:tags)
|
440
|
+
SENSITIVE = []
|
441
|
+
include Aws::Structure
|
442
|
+
end
|
443
|
+
|
444
|
+
# Summary information about a stage.
|
445
|
+
#
|
446
|
+
# @!attribute [rw] active_session_id
|
447
|
+
# ID of the active session within the stage.
|
448
|
+
# @return [String]
|
449
|
+
#
|
450
|
+
# @!attribute [rw] arn
|
451
|
+
# Stage ARN.
|
452
|
+
# @return [String]
|
453
|
+
#
|
454
|
+
# @!attribute [rw] name
|
455
|
+
# Stage name.
|
456
|
+
# @return [String]
|
457
|
+
#
|
458
|
+
# @!attribute [rw] tags
|
459
|
+
# Tags attached to the resource. Array of maps, each of the form
|
460
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
461
|
+
# details, including restrictions that apply to tags and "Tag naming
|
462
|
+
# limits and requirements"; Amazon IVS has no constraints on tags
|
463
|
+
# beyond what is documented there.
|
464
|
+
#
|
465
|
+
#
|
466
|
+
#
|
467
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
468
|
+
# @return [Hash<String,String>]
|
469
|
+
#
|
470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StageSummary AWS API Documentation
|
471
|
+
#
|
472
|
+
class StageSummary < Struct.new(
|
473
|
+
:active_session_id,
|
474
|
+
:arn,
|
475
|
+
:name,
|
476
|
+
:tags)
|
477
|
+
SENSITIVE = []
|
478
|
+
include Aws::Structure
|
479
|
+
end
|
480
|
+
|
481
|
+
# @!attribute [rw] resource_arn
|
482
|
+
# The ARN of the resource to be tagged. The ARN must be URL-encoded.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @!attribute [rw] tags
|
486
|
+
# Array of tags to be added or updated. Array of maps, each of the
|
487
|
+
# form `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
488
|
+
# details, including restrictions that apply to tags and "Tag naming
|
489
|
+
# limits and requirements"; Amazon IVS has no constraints beyond what
|
490
|
+
# is documented there.
|
491
|
+
#
|
492
|
+
#
|
493
|
+
#
|
494
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
495
|
+
# @return [Hash<String,String>]
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/TagResourceRequest AWS API Documentation
|
498
|
+
#
|
499
|
+
class TagResourceRequest < Struct.new(
|
500
|
+
:resource_arn,
|
501
|
+
:tags)
|
502
|
+
SENSITIVE = []
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/TagResourceResponse AWS API Documentation
|
507
|
+
#
|
508
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
509
|
+
|
510
|
+
# @!attribute [rw] resource_arn
|
511
|
+
# The ARN of the resource to be untagged. The ARN must be URL-encoded.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] tag_keys
|
515
|
+
# Array of tags to be removed. Array of maps, each of the form
|
516
|
+
# `string:string (key:value)`. See [Tagging AWS Resources][1] for
|
517
|
+
# details, including restrictions that apply to tags and "Tag naming
|
518
|
+
# limits and requirements"; Amazon IVS has no constraints beyond what
|
519
|
+
# is documented there.
|
520
|
+
#
|
521
|
+
#
|
522
|
+
#
|
523
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
524
|
+
# @return [Array<String>]
|
525
|
+
#
|
526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UntagResourceRequest AWS API Documentation
|
527
|
+
#
|
528
|
+
class UntagResourceRequest < Struct.new(
|
529
|
+
:resource_arn,
|
530
|
+
:tag_keys)
|
531
|
+
SENSITIVE = []
|
532
|
+
include Aws::Structure
|
533
|
+
end
|
534
|
+
|
535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UntagResourceResponse AWS API Documentation
|
536
|
+
#
|
537
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
538
|
+
|
539
|
+
# @!attribute [rw] arn
|
540
|
+
# ARN of the stage to be updated.
|
541
|
+
# @return [String]
|
542
|
+
#
|
543
|
+
# @!attribute [rw] name
|
544
|
+
# Name of the stage to be updated.
|
545
|
+
# @return [String]
|
546
|
+
#
|
547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStageRequest AWS API Documentation
|
548
|
+
#
|
549
|
+
class UpdateStageRequest < Struct.new(
|
550
|
+
:arn,
|
551
|
+
:name)
|
552
|
+
SENSITIVE = []
|
553
|
+
include Aws::Structure
|
554
|
+
end
|
555
|
+
|
556
|
+
# @!attribute [rw] stage
|
557
|
+
# The updated stage.
|
558
|
+
# @return [Types::Stage]
|
559
|
+
#
|
560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStageResponse AWS API Documentation
|
561
|
+
#
|
562
|
+
class UpdateStageResponse < Struct.new(
|
563
|
+
:stage)
|
564
|
+
SENSITIVE = []
|
565
|
+
include Aws::Structure
|
566
|
+
end
|
567
|
+
|
568
|
+
# @!attribute [rw] exception_message
|
569
|
+
# The input fails to satisfy the constraints specified by an Amazon
|
570
|
+
# Web Services service.
|
571
|
+
# @return [String]
|
572
|
+
#
|
573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ValidationException AWS API Documentation
|
574
|
+
#
|
575
|
+
class ValidationException < Struct.new(
|
576
|
+
:exception_message)
|
577
|
+
SENSITIVE = []
|
578
|
+
include Aws::Structure
|
579
|
+
end
|
580
|
+
|
581
|
+
end
|
582
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-ivsrealtime/types'
|
15
|
+
require_relative 'aws-sdk-ivsrealtime/client_api'
|
16
|
+
require_relative 'aws-sdk-ivsrealtime/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-ivsrealtime/client'
|
18
|
+
require_relative 'aws-sdk-ivsrealtime/errors'
|
19
|
+
require_relative 'aws-sdk-ivsrealtime/resource'
|
20
|
+
require_relative 'aws-sdk-ivsrealtime/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-ivsrealtime/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-ivsrealtime/endpoints'
|
23
|
+
require_relative 'aws-sdk-ivsrealtime/customizations'
|
24
|
+
|
25
|
+
# This module provides support for Amazon Interactive Video Service RealTime. This module is available in the
|
26
|
+
# `aws-sdk-ivsrealtime` gem.
|
27
|
+
#
|
28
|
+
# # Client
|
29
|
+
#
|
30
|
+
# The {Client} class provides one method for each API operation. Operation
|
31
|
+
# methods each accept a hash of request parameters and return a response
|
32
|
+
# structure.
|
33
|
+
#
|
34
|
+
# ivs_real_time = Aws::IVSRealTime::Client.new
|
35
|
+
# resp = ivs_real_time.create_participant_token(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from Amazon Interactive Video Service RealTime are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::IVSRealTime::Errors::ServiceError
|
47
|
+
# # rescues all Amazon Interactive Video Service RealTime API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::IVSRealTime
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|