aws-sdk-ivs 1.44.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,7 @@ module Aws::IVS
35
35
  ChannelList = Shapes::ListShape.new(name: 'ChannelList')
36
36
  ChannelName = Shapes::StringShape.new(name: 'ChannelName')
37
37
  ChannelNotBroadcasting = Shapes::StructureShape.new(name: 'ChannelNotBroadcasting')
38
+ ChannelPlaybackRestrictionPolicyArn = Shapes::StringShape.new(name: 'ChannelPlaybackRestrictionPolicyArn')
38
39
  ChannelRecordingConfigurationArn = Shapes::StringShape.new(name: 'ChannelRecordingConfigurationArn')
39
40
  ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
40
41
  ChannelType = Shapes::StringShape.new(name: 'ChannelType')
@@ -42,6 +43,8 @@ module Aws::IVS
42
43
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
43
44
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
44
45
  CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
46
+ CreatePlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'CreatePlaybackRestrictionPolicyRequest')
47
+ CreatePlaybackRestrictionPolicyResponse = Shapes::StructureShape.new(name: 'CreatePlaybackRestrictionPolicyResponse')
45
48
  CreateRecordingConfigurationRequest = Shapes::StructureShape.new(name: 'CreateRecordingConfigurationRequest')
46
49
  CreateRecordingConfigurationResponse = Shapes::StructureShape.new(name: 'CreateRecordingConfigurationResponse')
47
50
  CreateStreamKeyRequest = Shapes::StructureShape.new(name: 'CreateStreamKeyRequest')
@@ -49,6 +52,7 @@ module Aws::IVS
49
52
  DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
50
53
  DeletePlaybackKeyPairRequest = Shapes::StructureShape.new(name: 'DeletePlaybackKeyPairRequest')
51
54
  DeletePlaybackKeyPairResponse = Shapes::StructureShape.new(name: 'DeletePlaybackKeyPairResponse')
55
+ DeletePlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'DeletePlaybackRestrictionPolicyRequest')
52
56
  DeleteRecordingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteRecordingConfigurationRequest')
53
57
  DeleteStreamKeyRequest = Shapes::StructureShape.new(name: 'DeleteStreamKeyRequest')
54
58
  DestinationConfiguration = Shapes::StructureShape.new(name: 'DestinationConfiguration')
@@ -56,6 +60,8 @@ module Aws::IVS
56
60
  GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
57
61
  GetPlaybackKeyPairRequest = Shapes::StructureShape.new(name: 'GetPlaybackKeyPairRequest')
58
62
  GetPlaybackKeyPairResponse = Shapes::StructureShape.new(name: 'GetPlaybackKeyPairResponse')
63
+ GetPlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'GetPlaybackRestrictionPolicyRequest')
64
+ GetPlaybackRestrictionPolicyResponse = Shapes::StructureShape.new(name: 'GetPlaybackRestrictionPolicyResponse')
59
65
  GetRecordingConfigurationRequest = Shapes::StructureShape.new(name: 'GetRecordingConfigurationRequest')
60
66
  GetRecordingConfigurationResponse = Shapes::StructureShape.new(name: 'GetRecordingConfigurationResponse')
61
67
  GetStreamKeyRequest = Shapes::StructureShape.new(name: 'GetStreamKeyRequest')
@@ -76,6 +82,8 @@ module Aws::IVS
76
82
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
77
83
  ListPlaybackKeyPairsRequest = Shapes::StructureShape.new(name: 'ListPlaybackKeyPairsRequest')
78
84
  ListPlaybackKeyPairsResponse = Shapes::StructureShape.new(name: 'ListPlaybackKeyPairsResponse')
85
+ ListPlaybackRestrictionPoliciesRequest = Shapes::StructureShape.new(name: 'ListPlaybackRestrictionPoliciesRequest')
86
+ ListPlaybackRestrictionPoliciesResponse = Shapes::StructureShape.new(name: 'ListPlaybackRestrictionPoliciesResponse')
79
87
  ListRecordingConfigurationsRequest = Shapes::StructureShape.new(name: 'ListRecordingConfigurationsRequest')
80
88
  ListRecordingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListRecordingConfigurationsResponse')
81
89
  ListStreamKeysRequest = Shapes::StructureShape.new(name: 'ListStreamKeysRequest')
@@ -88,6 +96,7 @@ module Aws::IVS
88
96
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
89
97
  MaxChannelResults = Shapes::IntegerShape.new(name: 'MaxChannelResults')
90
98
  MaxPlaybackKeyPairResults = Shapes::IntegerShape.new(name: 'MaxPlaybackKeyPairResults')
99
+ MaxPlaybackRestrictionPolicyResults = Shapes::IntegerShape.new(name: 'MaxPlaybackRestrictionPolicyResults')
91
100
  MaxRecordingConfigurationResults = Shapes::IntegerShape.new(name: 'MaxRecordingConfigurationResults')
92
101
  MaxStreamKeyResults = Shapes::IntegerShape.new(name: 'MaxStreamKeyResults')
93
102
  MaxStreamResults = Shapes::IntegerShape.new(name: 'MaxStreamResults')
@@ -100,6 +109,16 @@ module Aws::IVS
100
109
  PlaybackKeyPairName = Shapes::StringShape.new(name: 'PlaybackKeyPairName')
101
110
  PlaybackKeyPairSummary = Shapes::StructureShape.new(name: 'PlaybackKeyPairSummary')
102
111
  PlaybackPublicKeyMaterial = Shapes::StringShape.new(name: 'PlaybackPublicKeyMaterial')
112
+ PlaybackRestrictionPolicy = Shapes::StructureShape.new(name: 'PlaybackRestrictionPolicy')
113
+ PlaybackRestrictionPolicyAllowedCountry = Shapes::StringShape.new(name: 'PlaybackRestrictionPolicyAllowedCountry')
114
+ PlaybackRestrictionPolicyAllowedCountryList = Shapes::ListShape.new(name: 'PlaybackRestrictionPolicyAllowedCountryList')
115
+ PlaybackRestrictionPolicyAllowedOrigin = Shapes::StringShape.new(name: 'PlaybackRestrictionPolicyAllowedOrigin')
116
+ PlaybackRestrictionPolicyAllowedOriginList = Shapes::ListShape.new(name: 'PlaybackRestrictionPolicyAllowedOriginList')
117
+ PlaybackRestrictionPolicyArn = Shapes::StringShape.new(name: 'PlaybackRestrictionPolicyArn')
118
+ PlaybackRestrictionPolicyEnableStrictOriginEnforcement = Shapes::BooleanShape.new(name: 'PlaybackRestrictionPolicyEnableStrictOriginEnforcement')
119
+ PlaybackRestrictionPolicyList = Shapes::ListShape.new(name: 'PlaybackRestrictionPolicyList')
120
+ PlaybackRestrictionPolicyName = Shapes::StringShape.new(name: 'PlaybackRestrictionPolicyName')
121
+ PlaybackRestrictionPolicySummary = Shapes::StructureShape.new(name: 'PlaybackRestrictionPolicySummary')
103
122
  PlaybackURL = Shapes::StringShape.new(name: 'PlaybackURL')
104
123
  PutMetadataRequest = Shapes::StructureShape.new(name: 'PutMetadataRequest')
105
124
  RecordingConfiguration = Shapes::StructureShape.new(name: 'RecordingConfiguration')
@@ -119,6 +138,9 @@ module Aws::IVS
119
138
  S3DestinationBucketName = Shapes::StringShape.new(name: 'S3DestinationBucketName')
120
139
  S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
121
140
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
141
+ Srt = Shapes::StructureShape.new(name: 'Srt')
142
+ SrtEndpoint = Shapes::StringShape.new(name: 'SrtEndpoint')
143
+ SrtPassphrase = Shapes::StringShape.new(name: 'SrtPassphrase')
122
144
  StartViewerSessionRevocationRequest = Shapes::StructureShape.new(name: 'StartViewerSessionRevocationRequest')
123
145
  StartViewerSessionRevocationResponse = Shapes::StructureShape.new(name: 'StartViewerSessionRevocationResponse')
124
146
  StopStreamRequest = Shapes::StructureShape.new(name: 'StopStreamRequest')
@@ -165,6 +187,8 @@ module Aws::IVS
165
187
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
166
188
  UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
167
189
  UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
190
+ UpdatePlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'UpdatePlaybackRestrictionPolicyRequest')
191
+ UpdatePlaybackRestrictionPolicyResponse = Shapes::StructureShape.new(name: 'UpdatePlaybackRestrictionPolicyResponse')
168
192
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
169
193
  VideoConfiguration = Shapes::StructureShape.new(name: 'VideoConfiguration')
170
194
  ViewerId = Shapes::StringShape.new(name: 'ViewerId')
@@ -229,9 +253,11 @@ module Aws::IVS
229
253
  Channel.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: InsecureIngest, location_name: "insecureIngest"))
230
254
  Channel.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
231
255
  Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
256
+ Channel.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
232
257
  Channel.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
233
258
  Channel.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
234
259
  Channel.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
260
+ Channel.add_member(:srt, Shapes::ShapeRef.new(shape: Srt, location_name: "srt"))
235
261
  Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
236
262
  Channel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
237
263
  Channel.struct_class = Types::Channel
@@ -248,6 +274,7 @@ module Aws::IVS
248
274
  ChannelSummary.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: InsecureIngest, location_name: "insecureIngest"))
249
275
  ChannelSummary.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
250
276
  ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
277
+ ChannelSummary.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
251
278
  ChannelSummary.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
252
279
  ChannelSummary.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
253
280
  ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -263,6 +290,7 @@ module Aws::IVS
263
290
  CreateChannelRequest.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: Boolean, location_name: "insecureIngest"))
264
291
  CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
265
292
  CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
293
+ CreateChannelRequest.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
266
294
  CreateChannelRequest.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
267
295
  CreateChannelRequest.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
268
296
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -273,6 +301,16 @@ module Aws::IVS
273
301
  CreateChannelResponse.add_member(:stream_key, Shapes::ShapeRef.new(shape: StreamKey, location_name: "streamKey"))
274
302
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
275
303
 
304
+ CreatePlaybackRestrictionPolicyRequest.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, location_name: "allowedCountries"))
305
+ CreatePlaybackRestrictionPolicyRequest.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, location_name: "allowedOrigins"))
306
+ CreatePlaybackRestrictionPolicyRequest.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
307
+ CreatePlaybackRestrictionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
308
+ CreatePlaybackRestrictionPolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
309
+ CreatePlaybackRestrictionPolicyRequest.struct_class = Types::CreatePlaybackRestrictionPolicyRequest
310
+
311
+ CreatePlaybackRestrictionPolicyResponse.add_member(:playback_restriction_policy, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicy, location_name: "playbackRestrictionPolicy"))
312
+ CreatePlaybackRestrictionPolicyResponse.struct_class = Types::CreatePlaybackRestrictionPolicyResponse
313
+
276
314
  CreateRecordingConfigurationRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
277
315
  CreateRecordingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
278
316
  CreateRecordingConfigurationRequest.add_member(:recording_reconnect_window_seconds, Shapes::ShapeRef.new(shape: RecordingReconnectWindowSeconds, location_name: "recordingReconnectWindowSeconds"))
@@ -299,6 +337,9 @@ module Aws::IVS
299
337
 
300
338
  DeletePlaybackKeyPairResponse.struct_class = Types::DeletePlaybackKeyPairResponse
301
339
 
340
+ DeletePlaybackRestrictionPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
341
+ DeletePlaybackRestrictionPolicyRequest.struct_class = Types::DeletePlaybackRestrictionPolicyRequest
342
+
302
343
  DeleteRecordingConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: RecordingConfigurationArn, required: true, location_name: "arn"))
303
344
  DeleteRecordingConfigurationRequest.struct_class = Types::DeleteRecordingConfigurationRequest
304
345
 
@@ -320,6 +361,12 @@ module Aws::IVS
320
361
  GetPlaybackKeyPairResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: PlaybackKeyPair, location_name: "keyPair"))
321
362
  GetPlaybackKeyPairResponse.struct_class = Types::GetPlaybackKeyPairResponse
322
363
 
364
+ GetPlaybackRestrictionPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
365
+ GetPlaybackRestrictionPolicyRequest.struct_class = Types::GetPlaybackRestrictionPolicyRequest
366
+
367
+ GetPlaybackRestrictionPolicyResponse.add_member(:playback_restriction_policy, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicy, location_name: "playbackRestrictionPolicy"))
368
+ GetPlaybackRestrictionPolicyResponse.struct_class = Types::GetPlaybackRestrictionPolicyResponse
369
+
323
370
  GetRecordingConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: RecordingConfigurationArn, required: true, location_name: "arn"))
324
371
  GetRecordingConfigurationRequest.struct_class = Types::GetRecordingConfigurationRequest
325
372
 
@@ -361,6 +408,7 @@ module Aws::IVS
361
408
  InternalServerException.struct_class = Types::InternalServerException
362
409
 
363
410
  ListChannelsRequest.add_member(:filter_by_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "filterByName"))
411
+ ListChannelsRequest.add_member(:filter_by_playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "filterByPlaybackRestrictionPolicyArn"))
364
412
  ListChannelsRequest.add_member(:filter_by_recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "filterByRecordingConfigurationArn"))
365
413
  ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxChannelResults, location_name: "maxResults"))
366
414
  ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -378,6 +426,14 @@ module Aws::IVS
378
426
  ListPlaybackKeyPairsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
379
427
  ListPlaybackKeyPairsResponse.struct_class = Types::ListPlaybackKeyPairsResponse
380
428
 
429
+ ListPlaybackRestrictionPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPlaybackRestrictionPolicyResults, location_name: "maxResults"))
430
+ ListPlaybackRestrictionPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
431
+ ListPlaybackRestrictionPoliciesRequest.struct_class = Types::ListPlaybackRestrictionPoliciesRequest
432
+
433
+ ListPlaybackRestrictionPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
434
+ ListPlaybackRestrictionPoliciesResponse.add_member(:playback_restriction_policies, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyList, required: true, location_name: "playbackRestrictionPolicies"))
435
+ ListPlaybackRestrictionPoliciesResponse.struct_class = Types::ListPlaybackRestrictionPoliciesResponse
436
+
381
437
  ListRecordingConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxRecordingConfigurationResults, location_name: "maxResults"))
382
438
  ListRecordingConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
383
439
  ListRecordingConfigurationsRequest.struct_class = Types::ListRecordingConfigurationsRequest
@@ -435,6 +491,28 @@ module Aws::IVS
435
491
  PlaybackKeyPairSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
436
492
  PlaybackKeyPairSummary.struct_class = Types::PlaybackKeyPairSummary
437
493
 
494
+ PlaybackRestrictionPolicy.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, required: true, location_name: "allowedCountries"))
495
+ PlaybackRestrictionPolicy.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, required: true, location_name: "allowedOrigins"))
496
+ PlaybackRestrictionPolicy.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
497
+ PlaybackRestrictionPolicy.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
498
+ PlaybackRestrictionPolicy.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
499
+ PlaybackRestrictionPolicy.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
500
+ PlaybackRestrictionPolicy.struct_class = Types::PlaybackRestrictionPolicy
501
+
502
+ PlaybackRestrictionPolicyAllowedCountryList.member = Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountry)
503
+
504
+ PlaybackRestrictionPolicyAllowedOriginList.member = Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOrigin)
505
+
506
+ PlaybackRestrictionPolicyList.member = Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicySummary)
507
+
508
+ PlaybackRestrictionPolicySummary.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, required: true, location_name: "allowedCountries"))
509
+ PlaybackRestrictionPolicySummary.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, required: true, location_name: "allowedOrigins"))
510
+ PlaybackRestrictionPolicySummary.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
511
+ PlaybackRestrictionPolicySummary.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
512
+ PlaybackRestrictionPolicySummary.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
513
+ PlaybackRestrictionPolicySummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
514
+ PlaybackRestrictionPolicySummary.struct_class = Types::PlaybackRestrictionPolicySummary
515
+
438
516
  PutMetadataRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
439
517
  PutMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: StreamMetadata, required: true, location_name: "metadata"))
440
518
  PutMetadataRequest.struct_class = Types::PutMetadataRequest
@@ -473,6 +551,10 @@ module Aws::IVS
473
551
  ServiceQuotaExceededException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
474
552
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
475
553
 
554
+ Srt.add_member(:endpoint, Shapes::ShapeRef.new(shape: SrtEndpoint, location_name: "endpoint"))
555
+ Srt.add_member(:passphrase, Shapes::ShapeRef.new(shape: SrtPassphrase, location_name: "passphrase"))
556
+ Srt.struct_class = Types::Srt
557
+
476
558
  StartViewerSessionRevocationRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
477
559
  StartViewerSessionRevocationRequest.add_member(:viewer_id, Shapes::ShapeRef.new(shape: ViewerId, required: true, location_name: "viewerId"))
478
560
  StartViewerSessionRevocationRequest.add_member(:viewer_session_versions_less_than_or_equal_to, Shapes::ShapeRef.new(shape: ViewerSessionVersion, location_name: "viewerSessionVersionsLessThanOrEqualTo"))
@@ -584,6 +666,7 @@ module Aws::IVS
584
666
  UpdateChannelRequest.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: Boolean, location_name: "insecureIngest"))
585
667
  UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
586
668
  UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
669
+ UpdateChannelRequest.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
587
670
  UpdateChannelRequest.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
588
671
  UpdateChannelRequest.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
589
672
  UpdateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
@@ -592,6 +675,16 @@ module Aws::IVS
592
675
  UpdateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
593
676
  UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
594
677
 
678
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, location_name: "allowedCountries"))
679
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, location_name: "allowedOrigins"))
680
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
681
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
682
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
683
+ UpdatePlaybackRestrictionPolicyRequest.struct_class = Types::UpdatePlaybackRestrictionPolicyRequest
684
+
685
+ UpdatePlaybackRestrictionPolicyResponse.add_member(:playback_restriction_policy, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicy, location_name: "playbackRestrictionPolicy"))
686
+ UpdatePlaybackRestrictionPolicyResponse.struct_class = Types::UpdatePlaybackRestrictionPolicyResponse
687
+
595
688
  ValidationException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
596
689
  ValidationException.struct_class = Types::ValidationException
597
690
 
@@ -665,6 +758,19 @@ module Aws::IVS
665
758
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
666
759
  end)
667
760
 
761
+ api.add_operation(:create_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
762
+ o.name = "CreatePlaybackRestrictionPolicy"
763
+ o.http_method = "POST"
764
+ o.http_request_uri = "/CreatePlaybackRestrictionPolicy"
765
+ o.input = Shapes::ShapeRef.new(shape: CreatePlaybackRestrictionPolicyRequest)
766
+ o.output = Shapes::ShapeRef.new(shape: CreatePlaybackRestrictionPolicyResponse)
767
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
769
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
770
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
771
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
772
+ end)
773
+
668
774
  api.add_operation(:create_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
669
775
  o.name = "CreateRecordingConfiguration"
670
776
  o.http_method = "POST"
@@ -717,6 +823,19 @@ module Aws::IVS
717
823
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
718
824
  end)
719
825
 
826
+ api.add_operation(:delete_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
827
+ o.name = "DeletePlaybackRestrictionPolicy"
828
+ o.http_method = "POST"
829
+ o.http_request_uri = "/DeletePlaybackRestrictionPolicy"
830
+ o.input = Shapes::ShapeRef.new(shape: DeletePlaybackRestrictionPolicyRequest)
831
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
832
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
833
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
835
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
836
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
837
+ end)
838
+
720
839
  api.add_operation(:delete_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
721
840
  o.name = "DeleteRecordingConfiguration"
722
841
  o.http_method = "POST"
@@ -764,6 +883,18 @@ module Aws::IVS
764
883
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
765
884
  end)
766
885
 
886
+ api.add_operation(:get_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
887
+ o.name = "GetPlaybackRestrictionPolicy"
888
+ o.http_method = "POST"
889
+ o.http_request_uri = "/GetPlaybackRestrictionPolicy"
890
+ o.input = Shapes::ShapeRef.new(shape: GetPlaybackRestrictionPolicyRequest)
891
+ o.output = Shapes::ShapeRef.new(shape: GetPlaybackRestrictionPolicyResponse)
892
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
893
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
894
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
895
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
896
+ end)
897
+
767
898
  api.add_operation(:get_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
768
899
  o.name = "GetRecordingConfiguration"
769
900
  o.http_method = "POST"
@@ -856,6 +987,24 @@ module Aws::IVS
856
987
  )
857
988
  end)
858
989
 
990
+ api.add_operation(:list_playback_restriction_policies, Seahorse::Model::Operation.new.tap do |o|
991
+ o.name = "ListPlaybackRestrictionPolicies"
992
+ o.http_method = "POST"
993
+ o.http_request_uri = "/ListPlaybackRestrictionPolicies"
994
+ o.input = Shapes::ShapeRef.new(shape: ListPlaybackRestrictionPoliciesRequest)
995
+ o.output = Shapes::ShapeRef.new(shape: ListPlaybackRestrictionPoliciesResponse)
996
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
998
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
999
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1000
+ o[:pager] = Aws::Pager.new(
1001
+ limit_key: "max_results",
1002
+ tokens: {
1003
+ "next_token" => "next_token"
1004
+ }
1005
+ )
1006
+ end)
1007
+
859
1008
  api.add_operation(:list_recording_configurations, Seahorse::Model::Operation.new.tap do |o|
860
1009
  o.name = "ListRecordingConfigurations"
861
1010
  o.http_method = "POST"
@@ -1008,6 +1157,19 @@ module Aws::IVS
1008
1157
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
1009
1158
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1010
1159
  end)
1160
+
1161
+ api.add_operation(:update_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
1162
+ o.name = "UpdatePlaybackRestrictionPolicy"
1163
+ o.http_method = "POST"
1164
+ o.http_request_uri = "/UpdatePlaybackRestrictionPolicy"
1165
+ o.input = Shapes::ShapeRef.new(shape: UpdatePlaybackRestrictionPolicyRequest)
1166
+ o.output = Shapes::ShapeRef.new(shape: UpdatePlaybackRestrictionPolicyResponse)
1167
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1172
+ end)
1011
1173
  end
1012
1174
 
1013
1175
  end
@@ -68,6 +68,20 @@ module Aws::IVS
68
68
  end
69
69
  end
70
70
 
71
+ class CreatePlaybackRestrictionPolicy
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::IVS::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
71
85
  class CreateRecordingConfiguration
72
86
  def self.build(context)
73
87
  unless context.config.regional_endpoint
@@ -124,6 +138,20 @@ module Aws::IVS
124
138
  end
125
139
  end
126
140
 
141
+ class DeletePlaybackRestrictionPolicy
142
+ def self.build(context)
143
+ unless context.config.regional_endpoint
144
+ endpoint = context.config.endpoint.to_s
145
+ end
146
+ Aws::IVS::EndpointParameters.new(
147
+ region: context.config.region,
148
+ use_dual_stack: context.config.use_dualstack_endpoint,
149
+ use_fips: context.config.use_fips_endpoint,
150
+ endpoint: endpoint,
151
+ )
152
+ end
153
+ end
154
+
127
155
  class DeleteRecordingConfiguration
128
156
  def self.build(context)
129
157
  unless context.config.regional_endpoint
@@ -180,6 +208,20 @@ module Aws::IVS
180
208
  end
181
209
  end
182
210
 
211
+ class GetPlaybackRestrictionPolicy
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::IVS::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
183
225
  class GetRecordingConfiguration
184
226
  def self.build(context)
185
227
  unless context.config.regional_endpoint
@@ -278,6 +320,20 @@ module Aws::IVS
278
320
  end
279
321
  end
280
322
 
323
+ class ListPlaybackRestrictionPolicies
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::IVS::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
281
337
  class ListRecordingConfigurations
282
338
  def self.build(context)
283
339
  unless context.config.regional_endpoint
@@ -432,5 +488,19 @@ module Aws::IVS
432
488
  end
433
489
  end
434
490
 
491
+ class UpdatePlaybackRestrictionPolicy
492
+ def self.build(context)
493
+ unless context.config.regional_endpoint
494
+ endpoint = context.config.endpoint.to_s
495
+ end
496
+ Aws::IVS::EndpointParameters.new(
497
+ region: context.config.region,
498
+ use_dual_stack: context.config.use_dualstack_endpoint,
499
+ use_fips: context.config.use_fips_endpoint,
500
+ endpoint: endpoint,
501
+ )
502
+ end
503
+ end
504
+
435
505
  end
436
506
  end
@@ -66,6 +66,8 @@ module Aws::IVS
66
66
  Aws::IVS::Endpoints::BatchStartViewerSessionRevocation.build(context)
67
67
  when :create_channel
68
68
  Aws::IVS::Endpoints::CreateChannel.build(context)
69
+ when :create_playback_restriction_policy
70
+ Aws::IVS::Endpoints::CreatePlaybackRestrictionPolicy.build(context)
69
71
  when :create_recording_configuration
70
72
  Aws::IVS::Endpoints::CreateRecordingConfiguration.build(context)
71
73
  when :create_stream_key
@@ -74,6 +76,8 @@ module Aws::IVS
74
76
  Aws::IVS::Endpoints::DeleteChannel.build(context)
75
77
  when :delete_playback_key_pair
76
78
  Aws::IVS::Endpoints::DeletePlaybackKeyPair.build(context)
79
+ when :delete_playback_restriction_policy
80
+ Aws::IVS::Endpoints::DeletePlaybackRestrictionPolicy.build(context)
77
81
  when :delete_recording_configuration
78
82
  Aws::IVS::Endpoints::DeleteRecordingConfiguration.build(context)
79
83
  when :delete_stream_key
@@ -82,6 +86,8 @@ module Aws::IVS
82
86
  Aws::IVS::Endpoints::GetChannel.build(context)
83
87
  when :get_playback_key_pair
84
88
  Aws::IVS::Endpoints::GetPlaybackKeyPair.build(context)
89
+ when :get_playback_restriction_policy
90
+ Aws::IVS::Endpoints::GetPlaybackRestrictionPolicy.build(context)
85
91
  when :get_recording_configuration
86
92
  Aws::IVS::Endpoints::GetRecordingConfiguration.build(context)
87
93
  when :get_stream
@@ -96,6 +102,8 @@ module Aws::IVS
96
102
  Aws::IVS::Endpoints::ListChannels.build(context)
97
103
  when :list_playback_key_pairs
98
104
  Aws::IVS::Endpoints::ListPlaybackKeyPairs.build(context)
105
+ when :list_playback_restriction_policies
106
+ Aws::IVS::Endpoints::ListPlaybackRestrictionPolicies.build(context)
99
107
  when :list_recording_configurations
100
108
  Aws::IVS::Endpoints::ListRecordingConfigurations.build(context)
101
109
  when :list_stream_keys
@@ -118,6 +126,8 @@ module Aws::IVS
118
126
  Aws::IVS::Endpoints::UntagResource.build(context)
119
127
  when :update_channel
120
128
  Aws::IVS::Endpoints::UpdateChannel.build(context)
129
+ when :update_playback_restriction_policy
130
+ Aws::IVS::Endpoints::UpdatePlaybackRestrictionPolicy.build(context)
121
131
  end
122
132
  end
123
133
  end