aws-sdk-ivs 1.32.0 → 1.33.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivs/client.rb +82 -1
- data/lib/aws-sdk-ivs/client_api.rb +59 -0
- data/lib/aws-sdk-ivs/endpoints.rb +28 -0
- data/lib/aws-sdk-ivs/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-ivs/types.rb +115 -0
- data/lib/aws-sdk-ivs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c4f1161970791665943eac4d74f7733653949b031eef037e88f696e2550eeca
|
4
|
+
data.tar.gz: fb7ec9f5cf9c0d657031d0d205c1ed8d22c2bdf10b9753863571afe2e1fe6eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d710dca7dc3076c411f3f870cc7f930763e19d7e77059a35b02f7f1935722de2f672e7f67f9764fe53c9149e7ba4d050a0f1c24103aa91a364dd6d61c27f1eb6
|
7
|
+
data.tar.gz: a2e95396e9caa3c2ede116a2ad72c57b75312d47ca8aa940e3cdad5edbc4c5d9a0974e9f32a4bdd24aacf65fb934ccaf9ed2d0f157a77fa9207c33f6d92f94c6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.33.0 (2023-06-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - IVS customers can now revoke the viewer session associated with an auth token, to prevent and stop playback using that token.
|
8
|
+
|
4
9
|
1.32.0 (2023-06-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
data/lib/aws-sdk-ivs/client.rb
CHANGED
@@ -456,6 +456,45 @@ module Aws::IVS
|
|
456
456
|
req.send_request(options)
|
457
457
|
end
|
458
458
|
|
459
|
+
# Performs StartViewerSessionRevocation on multiple channel ARN and
|
460
|
+
# viewer ID pairs simultaneously.
|
461
|
+
#
|
462
|
+
# @option params [required, Array<Types::BatchStartViewerSessionRevocationViewerSession>] :viewer_sessions
|
463
|
+
# Array of viewer sessions, one per channel-ARN and viewer-ID pair.
|
464
|
+
#
|
465
|
+
# @return [Types::BatchStartViewerSessionRevocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
466
|
+
#
|
467
|
+
# * {Types::BatchStartViewerSessionRevocationResponse#errors #errors} => Array<Types::BatchStartViewerSessionRevocationError>
|
468
|
+
#
|
469
|
+
# @example Request syntax with placeholder values
|
470
|
+
#
|
471
|
+
# resp = client.batch_start_viewer_session_revocation({
|
472
|
+
# viewer_sessions: [ # required
|
473
|
+
# {
|
474
|
+
# channel_arn: "ChannelArn", # required
|
475
|
+
# viewer_id: "ViewerId", # required
|
476
|
+
# viewer_session_versions_less_than_or_equal_to: 1,
|
477
|
+
# },
|
478
|
+
# ],
|
479
|
+
# })
|
480
|
+
#
|
481
|
+
# @example Response structure
|
482
|
+
#
|
483
|
+
# resp.errors #=> Array
|
484
|
+
# resp.errors[0].channel_arn #=> String
|
485
|
+
# resp.errors[0].code #=> String
|
486
|
+
# resp.errors[0].message #=> String
|
487
|
+
# resp.errors[0].viewer_id #=> String
|
488
|
+
#
|
489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchStartViewerSessionRevocation AWS API Documentation
|
490
|
+
#
|
491
|
+
# @overload batch_start_viewer_session_revocation(params = {})
|
492
|
+
# @param [Hash] params ({})
|
493
|
+
def batch_start_viewer_session_revocation(params = {}, options = {})
|
494
|
+
req = build_request(:batch_start_viewer_session_revocation, params)
|
495
|
+
req.send_request(options)
|
496
|
+
end
|
497
|
+
|
459
498
|
# Creates a new channel and an associated stream key to start streaming.
|
460
499
|
#
|
461
500
|
# @option params [Boolean] :authorized
|
@@ -1526,6 +1565,48 @@ module Aws::IVS
|
|
1526
1565
|
req.send_request(options)
|
1527
1566
|
end
|
1528
1567
|
|
1568
|
+
# Starts the process of revoking the viewer session associated with a
|
1569
|
+
# specified channel ARN and viewer ID. Optionally, you can provide a
|
1570
|
+
# version to revoke viewer sessions less than and including that
|
1571
|
+
# version. For instructions on associating a viewer ID with a viewer
|
1572
|
+
# session, see [Setting Up Private Channels][1].
|
1573
|
+
#
|
1574
|
+
#
|
1575
|
+
#
|
1576
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html
|
1577
|
+
#
|
1578
|
+
# @option params [required, String] :channel_arn
|
1579
|
+
# The ARN of the channel associated with the viewer session to revoke.
|
1580
|
+
#
|
1581
|
+
# @option params [required, String] :viewer_id
|
1582
|
+
# The ID of the viewer associated with the viewer session to revoke. Do
|
1583
|
+
# not use this field for personally identifying, confidential, or
|
1584
|
+
# sensitive information.
|
1585
|
+
#
|
1586
|
+
# @option params [Integer] :viewer_session_versions_less_than_or_equal_to
|
1587
|
+
# An optional filter on which versions of the viewer session to revoke.
|
1588
|
+
# All versions less than or equal to the specified version will be
|
1589
|
+
# revoked. Default: 0.
|
1590
|
+
#
|
1591
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1592
|
+
#
|
1593
|
+
# @example Request syntax with placeholder values
|
1594
|
+
#
|
1595
|
+
# resp = client.start_viewer_session_revocation({
|
1596
|
+
# channel_arn: "ChannelArn", # required
|
1597
|
+
# viewer_id: "ViewerId", # required
|
1598
|
+
# viewer_session_versions_less_than_or_equal_to: 1,
|
1599
|
+
# })
|
1600
|
+
#
|
1601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StartViewerSessionRevocation AWS API Documentation
|
1602
|
+
#
|
1603
|
+
# @overload start_viewer_session_revocation(params = {})
|
1604
|
+
# @param [Hash] params ({})
|
1605
|
+
def start_viewer_session_revocation(params = {}, options = {})
|
1606
|
+
req = build_request(:start_viewer_session_revocation, params)
|
1607
|
+
req.send_request(options)
|
1608
|
+
end
|
1609
|
+
|
1529
1610
|
# Disconnects the incoming RTMPS stream for the specified channel. Can
|
1530
1611
|
# be used in conjunction with DeleteStreamKey to prevent further
|
1531
1612
|
# streaming to a channel.
|
@@ -1770,7 +1851,7 @@ module Aws::IVS
|
|
1770
1851
|
params: params,
|
1771
1852
|
config: config)
|
1772
1853
|
context[:gem_name] = 'aws-sdk-ivs'
|
1773
|
-
context[:gem_version] = '1.
|
1854
|
+
context[:gem_version] = '1.33.0'
|
1774
1855
|
Seahorse::Client::Request.new(handlers, context)
|
1775
1856
|
end
|
1776
1857
|
|
@@ -21,6 +21,12 @@ module Aws::IVS
|
|
21
21
|
BatchGetChannelResponse = Shapes::StructureShape.new(name: 'BatchGetChannelResponse')
|
22
22
|
BatchGetStreamKeyRequest = Shapes::StructureShape.new(name: 'BatchGetStreamKeyRequest')
|
23
23
|
BatchGetStreamKeyResponse = Shapes::StructureShape.new(name: 'BatchGetStreamKeyResponse')
|
24
|
+
BatchStartViewerSessionRevocationError = Shapes::StructureShape.new(name: 'BatchStartViewerSessionRevocationError')
|
25
|
+
BatchStartViewerSessionRevocationErrors = Shapes::ListShape.new(name: 'BatchStartViewerSessionRevocationErrors')
|
26
|
+
BatchStartViewerSessionRevocationRequest = Shapes::StructureShape.new(name: 'BatchStartViewerSessionRevocationRequest')
|
27
|
+
BatchStartViewerSessionRevocationResponse = Shapes::StructureShape.new(name: 'BatchStartViewerSessionRevocationResponse')
|
28
|
+
BatchStartViewerSessionRevocationViewerSession = Shapes::StructureShape.new(name: 'BatchStartViewerSessionRevocationViewerSession')
|
29
|
+
BatchStartViewerSessionRevocationViewerSessionList = Shapes::ListShape.new(name: 'BatchStartViewerSessionRevocationViewerSessionList')
|
24
30
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
25
31
|
Channel = Shapes::StructureShape.new(name: 'Channel')
|
26
32
|
ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
|
@@ -109,6 +115,8 @@ module Aws::IVS
|
|
109
115
|
S3DestinationBucketName = Shapes::StringShape.new(name: 'S3DestinationBucketName')
|
110
116
|
S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
|
111
117
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
118
|
+
StartViewerSessionRevocationRequest = Shapes::StructureShape.new(name: 'StartViewerSessionRevocationRequest')
|
119
|
+
StartViewerSessionRevocationResponse = Shapes::StructureShape.new(name: 'StartViewerSessionRevocationResponse')
|
112
120
|
StopStreamRequest = Shapes::StructureShape.new(name: 'StopStreamRequest')
|
113
121
|
StopStreamResponse = Shapes::StructureShape.new(name: 'StopStreamResponse')
|
114
122
|
Stream = Shapes::StructureShape.new(name: 'Stream')
|
@@ -152,6 +160,8 @@ module Aws::IVS
|
|
152
160
|
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
153
161
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
154
162
|
VideoConfiguration = Shapes::StructureShape.new(name: 'VideoConfiguration')
|
163
|
+
ViewerId = Shapes::StringShape.new(name: 'ViewerId')
|
164
|
+
ViewerSessionVersion = Shapes::IntegerShape.new(name: 'ViewerSessionVersion')
|
155
165
|
errorCode = Shapes::StringShape.new(name: 'errorCode')
|
156
166
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
157
167
|
|
@@ -185,6 +195,27 @@ module Aws::IVS
|
|
185
195
|
BatchGetStreamKeyResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeys, location_name: "streamKeys"))
|
186
196
|
BatchGetStreamKeyResponse.struct_class = Types::BatchGetStreamKeyResponse
|
187
197
|
|
198
|
+
BatchStartViewerSessionRevocationError.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
199
|
+
BatchStartViewerSessionRevocationError.add_member(:code, Shapes::ShapeRef.new(shape: errorCode, location_name: "code"))
|
200
|
+
BatchStartViewerSessionRevocationError.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
201
|
+
BatchStartViewerSessionRevocationError.add_member(:viewer_id, Shapes::ShapeRef.new(shape: ViewerId, required: true, location_name: "viewerId"))
|
202
|
+
BatchStartViewerSessionRevocationError.struct_class = Types::BatchStartViewerSessionRevocationError
|
203
|
+
|
204
|
+
BatchStartViewerSessionRevocationErrors.member = Shapes::ShapeRef.new(shape: BatchStartViewerSessionRevocationError)
|
205
|
+
|
206
|
+
BatchStartViewerSessionRevocationRequest.add_member(:viewer_sessions, Shapes::ShapeRef.new(shape: BatchStartViewerSessionRevocationViewerSessionList, required: true, location_name: "viewerSessions"))
|
207
|
+
BatchStartViewerSessionRevocationRequest.struct_class = Types::BatchStartViewerSessionRevocationRequest
|
208
|
+
|
209
|
+
BatchStartViewerSessionRevocationResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchStartViewerSessionRevocationErrors, location_name: "errors"))
|
210
|
+
BatchStartViewerSessionRevocationResponse.struct_class = Types::BatchStartViewerSessionRevocationResponse
|
211
|
+
|
212
|
+
BatchStartViewerSessionRevocationViewerSession.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
213
|
+
BatchStartViewerSessionRevocationViewerSession.add_member(:viewer_id, Shapes::ShapeRef.new(shape: ViewerId, required: true, location_name: "viewerId"))
|
214
|
+
BatchStartViewerSessionRevocationViewerSession.add_member(:viewer_session_versions_less_than_or_equal_to, Shapes::ShapeRef.new(shape: ViewerSessionVersion, location_name: "viewerSessionVersionsLessThanOrEqualTo"))
|
215
|
+
BatchStartViewerSessionRevocationViewerSession.struct_class = Types::BatchStartViewerSessionRevocationViewerSession
|
216
|
+
|
217
|
+
BatchStartViewerSessionRevocationViewerSessionList.member = Shapes::ShapeRef.new(shape: BatchStartViewerSessionRevocationViewerSession)
|
218
|
+
|
188
219
|
Channel.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
|
189
220
|
Channel.add_member(:authorized, Shapes::ShapeRef.new(shape: IsAuthorized, location_name: "authorized"))
|
190
221
|
Channel.add_member(:ingest_endpoint, Shapes::ShapeRef.new(shape: IngestEndpoint, location_name: "ingestEndpoint"))
|
@@ -427,6 +458,13 @@ module Aws::IVS
|
|
427
458
|
ServiceQuotaExceededException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
428
459
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
429
460
|
|
461
|
+
StartViewerSessionRevocationRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
462
|
+
StartViewerSessionRevocationRequest.add_member(:viewer_id, Shapes::ShapeRef.new(shape: ViewerId, required: true, location_name: "viewerId"))
|
463
|
+
StartViewerSessionRevocationRequest.add_member(:viewer_session_versions_less_than_or_equal_to, Shapes::ShapeRef.new(shape: ViewerSessionVersion, location_name: "viewerSessionVersionsLessThanOrEqualTo"))
|
464
|
+
StartViewerSessionRevocationRequest.struct_class = Types::StartViewerSessionRevocationRequest
|
465
|
+
|
466
|
+
StartViewerSessionRevocationResponse.struct_class = Types::StartViewerSessionRevocationResponse
|
467
|
+
|
430
468
|
StopStreamRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
431
469
|
StopStreamRequest.struct_class = Types::StopStreamRequest
|
432
470
|
|
@@ -583,6 +621,15 @@ module Aws::IVS
|
|
583
621
|
o.output = Shapes::ShapeRef.new(shape: BatchGetStreamKeyResponse)
|
584
622
|
end)
|
585
623
|
|
624
|
+
api.add_operation(:batch_start_viewer_session_revocation, Seahorse::Model::Operation.new.tap do |o|
|
625
|
+
o.name = "BatchStartViewerSessionRevocation"
|
626
|
+
o.http_method = "POST"
|
627
|
+
o.http_request_uri = "/BatchStartViewerSessionRevocation"
|
628
|
+
o.input = Shapes::ShapeRef.new(shape: BatchStartViewerSessionRevocationRequest)
|
629
|
+
o.output = Shapes::ShapeRef.new(shape: BatchStartViewerSessionRevocationResponse)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
631
|
+
end)
|
632
|
+
|
586
633
|
api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
|
587
634
|
o.name = "CreateChannel"
|
588
635
|
o.http_method = "POST"
|
@@ -878,6 +925,18 @@ module Aws::IVS
|
|
878
925
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
879
926
|
end)
|
880
927
|
|
928
|
+
api.add_operation(:start_viewer_session_revocation, Seahorse::Model::Operation.new.tap do |o|
|
929
|
+
o.name = "StartViewerSessionRevocation"
|
930
|
+
o.http_method = "POST"
|
931
|
+
o.http_request_uri = "/StartViewerSessionRevocation"
|
932
|
+
o.input = Shapes::ShapeRef.new(shape: StartViewerSessionRevocationRequest)
|
933
|
+
o.output = Shapes::ShapeRef.new(shape: StartViewerSessionRevocationResponse)
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
936
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
937
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
938
|
+
end)
|
939
|
+
|
881
940
|
api.add_operation(:stop_stream, Seahorse::Model::Operation.new.tap do |o|
|
882
941
|
o.name = "StopStream"
|
883
942
|
o.http_method = "POST"
|
@@ -40,6 +40,20 @@ module Aws::IVS
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
+
class BatchStartViewerSessionRevocation
|
44
|
+
def self.build(context)
|
45
|
+
unless context.config.regional_endpoint
|
46
|
+
endpoint = context.config.endpoint.to_s
|
47
|
+
end
|
48
|
+
Aws::IVS::EndpointParameters.new(
|
49
|
+
region: context.config.region,
|
50
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
51
|
+
use_fips: context.config.use_fips_endpoint,
|
52
|
+
endpoint: endpoint,
|
53
|
+
)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
43
57
|
class CreateChannel
|
44
58
|
def self.build(context)
|
45
59
|
unless context.config.regional_endpoint
|
@@ -348,6 +362,20 @@ module Aws::IVS
|
|
348
362
|
end
|
349
363
|
end
|
350
364
|
|
365
|
+
class StartViewerSessionRevocation
|
366
|
+
def self.build(context)
|
367
|
+
unless context.config.regional_endpoint
|
368
|
+
endpoint = context.config.endpoint.to_s
|
369
|
+
end
|
370
|
+
Aws::IVS::EndpointParameters.new(
|
371
|
+
region: context.config.region,
|
372
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
373
|
+
use_fips: context.config.use_fips_endpoint,
|
374
|
+
endpoint: endpoint,
|
375
|
+
)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
351
379
|
class StopStream
|
352
380
|
def self.build(context)
|
353
381
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,8 @@ module Aws::IVS
|
|
60
60
|
Aws::IVS::Endpoints::BatchGetChannel.build(context)
|
61
61
|
when :batch_get_stream_key
|
62
62
|
Aws::IVS::Endpoints::BatchGetStreamKey.build(context)
|
63
|
+
when :batch_start_viewer_session_revocation
|
64
|
+
Aws::IVS::Endpoints::BatchStartViewerSessionRevocation.build(context)
|
63
65
|
when :create_channel
|
64
66
|
Aws::IVS::Endpoints::CreateChannel.build(context)
|
65
67
|
when :create_recording_configuration
|
@@ -104,6 +106,8 @@ module Aws::IVS
|
|
104
106
|
Aws::IVS::Endpoints::ListTagsForResource.build(context)
|
105
107
|
when :put_metadata
|
106
108
|
Aws::IVS::Endpoints::PutMetadata.build(context)
|
109
|
+
when :start_viewer_session_revocation
|
110
|
+
Aws::IVS::Endpoints::StartViewerSessionRevocation.build(context)
|
107
111
|
when :stop_stream
|
108
112
|
Aws::IVS::Endpoints::StopStream.build(context)
|
109
113
|
when :tag_resource
|
data/lib/aws-sdk-ivs/types.rb
CHANGED
@@ -133,6 +133,91 @@ module Aws::IVS
|
|
133
133
|
include Aws::Structure
|
134
134
|
end
|
135
135
|
|
136
|
+
# Error for a request in the batch for
|
137
|
+
# BatchStartViewerSessionRevocation. Each error is related to a specific
|
138
|
+
# channel-ARN and viewer-ID pair.
|
139
|
+
#
|
140
|
+
# @!attribute [rw] channel_arn
|
141
|
+
# Channel ARN.
|
142
|
+
# @return [String]
|
143
|
+
#
|
144
|
+
# @!attribute [rw] code
|
145
|
+
# Error code.
|
146
|
+
# @return [String]
|
147
|
+
#
|
148
|
+
# @!attribute [rw] message
|
149
|
+
# Error message, determined by the application.
|
150
|
+
# @return [String]
|
151
|
+
#
|
152
|
+
# @!attribute [rw] viewer_id
|
153
|
+
# The ID of the viewer session to revoke.
|
154
|
+
# @return [String]
|
155
|
+
#
|
156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchStartViewerSessionRevocationError AWS API Documentation
|
157
|
+
#
|
158
|
+
class BatchStartViewerSessionRevocationError < Struct.new(
|
159
|
+
:channel_arn,
|
160
|
+
:code,
|
161
|
+
:message,
|
162
|
+
:viewer_id)
|
163
|
+
SENSITIVE = []
|
164
|
+
include Aws::Structure
|
165
|
+
end
|
166
|
+
|
167
|
+
# @!attribute [rw] viewer_sessions
|
168
|
+
# Array of viewer sessions, one per channel-ARN and viewer-ID pair.
|
169
|
+
# @return [Array<Types::BatchStartViewerSessionRevocationViewerSession>]
|
170
|
+
#
|
171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchStartViewerSessionRevocationRequest AWS API Documentation
|
172
|
+
#
|
173
|
+
class BatchStartViewerSessionRevocationRequest < Struct.new(
|
174
|
+
:viewer_sessions)
|
175
|
+
SENSITIVE = []
|
176
|
+
include Aws::Structure
|
177
|
+
end
|
178
|
+
|
179
|
+
# @!attribute [rw] errors
|
180
|
+
# Each error object is related to a specific `channelArn` and
|
181
|
+
# `viewerId` pair in the request.
|
182
|
+
# @return [Array<Types::BatchStartViewerSessionRevocationError>]
|
183
|
+
#
|
184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchStartViewerSessionRevocationResponse AWS API Documentation
|
185
|
+
#
|
186
|
+
class BatchStartViewerSessionRevocationResponse < Struct.new(
|
187
|
+
:errors)
|
188
|
+
SENSITIVE = []
|
189
|
+
include Aws::Structure
|
190
|
+
end
|
191
|
+
|
192
|
+
# A viewer session to revoke in the call to
|
193
|
+
# BatchStartViewerSessionRevocation.
|
194
|
+
#
|
195
|
+
# @!attribute [rw] channel_arn
|
196
|
+
# The ARN of the channel associated with the viewer session to revoke.
|
197
|
+
# @return [String]
|
198
|
+
#
|
199
|
+
# @!attribute [rw] viewer_id
|
200
|
+
# The ID of the viewer associated with the viewer session to revoke.
|
201
|
+
# Do not use this field for personally identifying, confidential, or
|
202
|
+
# sensitive information.
|
203
|
+
# @return [String]
|
204
|
+
#
|
205
|
+
# @!attribute [rw] viewer_session_versions_less_than_or_equal_to
|
206
|
+
# An optional filter on which versions of the viewer session to
|
207
|
+
# revoke. All versions less than or equal to the specified version
|
208
|
+
# will be revoked. Default: 0.
|
209
|
+
# @return [Integer]
|
210
|
+
#
|
211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchStartViewerSessionRevocationViewerSession AWS API Documentation
|
212
|
+
#
|
213
|
+
class BatchStartViewerSessionRevocationViewerSession < Struct.new(
|
214
|
+
:channel_arn,
|
215
|
+
:viewer_id,
|
216
|
+
:viewer_session_versions_less_than_or_equal_to)
|
217
|
+
SENSITIVE = []
|
218
|
+
include Aws::Structure
|
219
|
+
end
|
220
|
+
|
136
221
|
# Object specifying a channel.
|
137
222
|
#
|
138
223
|
# @!attribute [rw] arn
|
@@ -1450,6 +1535,36 @@ module Aws::IVS
|
|
1450
1535
|
include Aws::Structure
|
1451
1536
|
end
|
1452
1537
|
|
1538
|
+
# @!attribute [rw] channel_arn
|
1539
|
+
# The ARN of the channel associated with the viewer session to revoke.
|
1540
|
+
# @return [String]
|
1541
|
+
#
|
1542
|
+
# @!attribute [rw] viewer_id
|
1543
|
+
# The ID of the viewer associated with the viewer session to revoke.
|
1544
|
+
# Do not use this field for personally identifying, confidential, or
|
1545
|
+
# sensitive information.
|
1546
|
+
# @return [String]
|
1547
|
+
#
|
1548
|
+
# @!attribute [rw] viewer_session_versions_less_than_or_equal_to
|
1549
|
+
# An optional filter on which versions of the viewer session to
|
1550
|
+
# revoke. All versions less than or equal to the specified version
|
1551
|
+
# will be revoked. Default: 0.
|
1552
|
+
# @return [Integer]
|
1553
|
+
#
|
1554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StartViewerSessionRevocationRequest AWS API Documentation
|
1555
|
+
#
|
1556
|
+
class StartViewerSessionRevocationRequest < Struct.new(
|
1557
|
+
:channel_arn,
|
1558
|
+
:viewer_id,
|
1559
|
+
:viewer_session_versions_less_than_or_equal_to)
|
1560
|
+
SENSITIVE = []
|
1561
|
+
include Aws::Structure
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StartViewerSessionRevocationResponse AWS API Documentation
|
1565
|
+
#
|
1566
|
+
class StartViewerSessionRevocationResponse < Aws::EmptyStructure; end
|
1567
|
+
|
1453
1568
|
# @!attribute [rw] channel_arn
|
1454
1569
|
# ARN of the channel for which the stream is to be stopped.
|
1455
1570
|
# @return [String]
|
data/lib/aws-sdk-ivs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ivs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.33.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: 2023-06-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|