aws-sdk-ivs 1.44.0 → 1.45.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')
@@ -165,6 +184,8 @@ module Aws::IVS
165
184
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
166
185
  UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
167
186
  UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
187
+ UpdatePlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'UpdatePlaybackRestrictionPolicyRequest')
188
+ UpdatePlaybackRestrictionPolicyResponse = Shapes::StructureShape.new(name: 'UpdatePlaybackRestrictionPolicyResponse')
168
189
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
169
190
  VideoConfiguration = Shapes::StructureShape.new(name: 'VideoConfiguration')
170
191
  ViewerId = Shapes::StringShape.new(name: 'ViewerId')
@@ -229,6 +250,7 @@ module Aws::IVS
229
250
  Channel.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: InsecureIngest, location_name: "insecureIngest"))
230
251
  Channel.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
231
252
  Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
253
+ Channel.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
232
254
  Channel.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
233
255
  Channel.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
234
256
  Channel.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
@@ -248,6 +270,7 @@ module Aws::IVS
248
270
  ChannelSummary.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: InsecureIngest, location_name: "insecureIngest"))
249
271
  ChannelSummary.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
250
272
  ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
273
+ ChannelSummary.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
251
274
  ChannelSummary.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
252
275
  ChannelSummary.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
253
276
  ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -263,6 +286,7 @@ module Aws::IVS
263
286
  CreateChannelRequest.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: Boolean, location_name: "insecureIngest"))
264
287
  CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
265
288
  CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
289
+ CreateChannelRequest.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
266
290
  CreateChannelRequest.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
267
291
  CreateChannelRequest.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
268
292
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -273,6 +297,16 @@ module Aws::IVS
273
297
  CreateChannelResponse.add_member(:stream_key, Shapes::ShapeRef.new(shape: StreamKey, location_name: "streamKey"))
274
298
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
275
299
 
300
+ CreatePlaybackRestrictionPolicyRequest.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, location_name: "allowedCountries"))
301
+ CreatePlaybackRestrictionPolicyRequest.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, location_name: "allowedOrigins"))
302
+ CreatePlaybackRestrictionPolicyRequest.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
303
+ CreatePlaybackRestrictionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
304
+ CreatePlaybackRestrictionPolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
305
+ CreatePlaybackRestrictionPolicyRequest.struct_class = Types::CreatePlaybackRestrictionPolicyRequest
306
+
307
+ CreatePlaybackRestrictionPolicyResponse.add_member(:playback_restriction_policy, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicy, location_name: "playbackRestrictionPolicy"))
308
+ CreatePlaybackRestrictionPolicyResponse.struct_class = Types::CreatePlaybackRestrictionPolicyResponse
309
+
276
310
  CreateRecordingConfigurationRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
277
311
  CreateRecordingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
278
312
  CreateRecordingConfigurationRequest.add_member(:recording_reconnect_window_seconds, Shapes::ShapeRef.new(shape: RecordingReconnectWindowSeconds, location_name: "recordingReconnectWindowSeconds"))
@@ -299,6 +333,9 @@ module Aws::IVS
299
333
 
300
334
  DeletePlaybackKeyPairResponse.struct_class = Types::DeletePlaybackKeyPairResponse
301
335
 
336
+ DeletePlaybackRestrictionPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
337
+ DeletePlaybackRestrictionPolicyRequest.struct_class = Types::DeletePlaybackRestrictionPolicyRequest
338
+
302
339
  DeleteRecordingConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: RecordingConfigurationArn, required: true, location_name: "arn"))
303
340
  DeleteRecordingConfigurationRequest.struct_class = Types::DeleteRecordingConfigurationRequest
304
341
 
@@ -320,6 +357,12 @@ module Aws::IVS
320
357
  GetPlaybackKeyPairResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: PlaybackKeyPair, location_name: "keyPair"))
321
358
  GetPlaybackKeyPairResponse.struct_class = Types::GetPlaybackKeyPairResponse
322
359
 
360
+ GetPlaybackRestrictionPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
361
+ GetPlaybackRestrictionPolicyRequest.struct_class = Types::GetPlaybackRestrictionPolicyRequest
362
+
363
+ GetPlaybackRestrictionPolicyResponse.add_member(:playback_restriction_policy, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicy, location_name: "playbackRestrictionPolicy"))
364
+ GetPlaybackRestrictionPolicyResponse.struct_class = Types::GetPlaybackRestrictionPolicyResponse
365
+
323
366
  GetRecordingConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: RecordingConfigurationArn, required: true, location_name: "arn"))
324
367
  GetRecordingConfigurationRequest.struct_class = Types::GetRecordingConfigurationRequest
325
368
 
@@ -361,6 +404,7 @@ module Aws::IVS
361
404
  InternalServerException.struct_class = Types::InternalServerException
362
405
 
363
406
  ListChannelsRequest.add_member(:filter_by_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "filterByName"))
407
+ ListChannelsRequest.add_member(:filter_by_playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "filterByPlaybackRestrictionPolicyArn"))
364
408
  ListChannelsRequest.add_member(:filter_by_recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "filterByRecordingConfigurationArn"))
365
409
  ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxChannelResults, location_name: "maxResults"))
366
410
  ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -378,6 +422,14 @@ module Aws::IVS
378
422
  ListPlaybackKeyPairsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
379
423
  ListPlaybackKeyPairsResponse.struct_class = Types::ListPlaybackKeyPairsResponse
380
424
 
425
+ ListPlaybackRestrictionPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPlaybackRestrictionPolicyResults, location_name: "maxResults"))
426
+ ListPlaybackRestrictionPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
427
+ ListPlaybackRestrictionPoliciesRequest.struct_class = Types::ListPlaybackRestrictionPoliciesRequest
428
+
429
+ ListPlaybackRestrictionPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
430
+ ListPlaybackRestrictionPoliciesResponse.add_member(:playback_restriction_policies, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyList, required: true, location_name: "playbackRestrictionPolicies"))
431
+ ListPlaybackRestrictionPoliciesResponse.struct_class = Types::ListPlaybackRestrictionPoliciesResponse
432
+
381
433
  ListRecordingConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxRecordingConfigurationResults, location_name: "maxResults"))
382
434
  ListRecordingConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
383
435
  ListRecordingConfigurationsRequest.struct_class = Types::ListRecordingConfigurationsRequest
@@ -435,6 +487,28 @@ module Aws::IVS
435
487
  PlaybackKeyPairSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
436
488
  PlaybackKeyPairSummary.struct_class = Types::PlaybackKeyPairSummary
437
489
 
490
+ PlaybackRestrictionPolicy.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, required: true, location_name: "allowedCountries"))
491
+ PlaybackRestrictionPolicy.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, required: true, location_name: "allowedOrigins"))
492
+ PlaybackRestrictionPolicy.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
493
+ PlaybackRestrictionPolicy.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
494
+ PlaybackRestrictionPolicy.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
495
+ PlaybackRestrictionPolicy.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
496
+ PlaybackRestrictionPolicy.struct_class = Types::PlaybackRestrictionPolicy
497
+
498
+ PlaybackRestrictionPolicyAllowedCountryList.member = Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountry)
499
+
500
+ PlaybackRestrictionPolicyAllowedOriginList.member = Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOrigin)
501
+
502
+ PlaybackRestrictionPolicyList.member = Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicySummary)
503
+
504
+ PlaybackRestrictionPolicySummary.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, required: true, location_name: "allowedCountries"))
505
+ PlaybackRestrictionPolicySummary.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, required: true, location_name: "allowedOrigins"))
506
+ PlaybackRestrictionPolicySummary.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
507
+ PlaybackRestrictionPolicySummary.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
508
+ PlaybackRestrictionPolicySummary.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
509
+ PlaybackRestrictionPolicySummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
510
+ PlaybackRestrictionPolicySummary.struct_class = Types::PlaybackRestrictionPolicySummary
511
+
438
512
  PutMetadataRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
439
513
  PutMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: StreamMetadata, required: true, location_name: "metadata"))
440
514
  PutMetadataRequest.struct_class = Types::PutMetadataRequest
@@ -584,6 +658,7 @@ module Aws::IVS
584
658
  UpdateChannelRequest.add_member(:insecure_ingest, Shapes::ShapeRef.new(shape: Boolean, location_name: "insecureIngest"))
585
659
  UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
586
660
  UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
661
+ UpdateChannelRequest.add_member(:playback_restriction_policy_arn, Shapes::ShapeRef.new(shape: ChannelPlaybackRestrictionPolicyArn, location_name: "playbackRestrictionPolicyArn"))
587
662
  UpdateChannelRequest.add_member(:preset, Shapes::ShapeRef.new(shape: TranscodePreset, location_name: "preset"))
588
663
  UpdateChannelRequest.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
589
664
  UpdateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
@@ -592,6 +667,16 @@ module Aws::IVS
592
667
  UpdateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
593
668
  UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
594
669
 
670
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:allowed_countries, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedCountryList, location_name: "allowedCountries"))
671
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:allowed_origins, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyAllowedOriginList, location_name: "allowedOrigins"))
672
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyArn, required: true, location_name: "arn"))
673
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:enable_strict_origin_enforcement, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyEnableStrictOriginEnforcement, location_name: "enableStrictOriginEnforcement"))
674
+ UpdatePlaybackRestrictionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicyName, location_name: "name"))
675
+ UpdatePlaybackRestrictionPolicyRequest.struct_class = Types::UpdatePlaybackRestrictionPolicyRequest
676
+
677
+ UpdatePlaybackRestrictionPolicyResponse.add_member(:playback_restriction_policy, Shapes::ShapeRef.new(shape: PlaybackRestrictionPolicy, location_name: "playbackRestrictionPolicy"))
678
+ UpdatePlaybackRestrictionPolicyResponse.struct_class = Types::UpdatePlaybackRestrictionPolicyResponse
679
+
595
680
  ValidationException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
596
681
  ValidationException.struct_class = Types::ValidationException
597
682
 
@@ -665,6 +750,19 @@ module Aws::IVS
665
750
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
666
751
  end)
667
752
 
753
+ api.add_operation(:create_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
754
+ o.name = "CreatePlaybackRestrictionPolicy"
755
+ o.http_method = "POST"
756
+ o.http_request_uri = "/CreatePlaybackRestrictionPolicy"
757
+ o.input = Shapes::ShapeRef.new(shape: CreatePlaybackRestrictionPolicyRequest)
758
+ o.output = Shapes::ShapeRef.new(shape: CreatePlaybackRestrictionPolicyResponse)
759
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
760
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
761
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
762
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
764
+ end)
765
+
668
766
  api.add_operation(:create_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
669
767
  o.name = "CreateRecordingConfiguration"
670
768
  o.http_method = "POST"
@@ -717,6 +815,19 @@ module Aws::IVS
717
815
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
718
816
  end)
719
817
 
818
+ api.add_operation(:delete_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
819
+ o.name = "DeletePlaybackRestrictionPolicy"
820
+ o.http_method = "POST"
821
+ o.http_request_uri = "/DeletePlaybackRestrictionPolicy"
822
+ o.input = Shapes::ShapeRef.new(shape: DeletePlaybackRestrictionPolicyRequest)
823
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
824
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
825
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
826
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
827
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
828
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
829
+ end)
830
+
720
831
  api.add_operation(:delete_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
721
832
  o.name = "DeleteRecordingConfiguration"
722
833
  o.http_method = "POST"
@@ -764,6 +875,18 @@ module Aws::IVS
764
875
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
765
876
  end)
766
877
 
878
+ api.add_operation(:get_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
879
+ o.name = "GetPlaybackRestrictionPolicy"
880
+ o.http_method = "POST"
881
+ o.http_request_uri = "/GetPlaybackRestrictionPolicy"
882
+ o.input = Shapes::ShapeRef.new(shape: GetPlaybackRestrictionPolicyRequest)
883
+ o.output = Shapes::ShapeRef.new(shape: GetPlaybackRestrictionPolicyResponse)
884
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
885
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
886
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
887
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
888
+ end)
889
+
767
890
  api.add_operation(:get_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
768
891
  o.name = "GetRecordingConfiguration"
769
892
  o.http_method = "POST"
@@ -856,6 +979,24 @@ module Aws::IVS
856
979
  )
857
980
  end)
858
981
 
982
+ api.add_operation(:list_playback_restriction_policies, Seahorse::Model::Operation.new.tap do |o|
983
+ o.name = "ListPlaybackRestrictionPolicies"
984
+ o.http_method = "POST"
985
+ o.http_request_uri = "/ListPlaybackRestrictionPolicies"
986
+ o.input = Shapes::ShapeRef.new(shape: ListPlaybackRestrictionPoliciesRequest)
987
+ o.output = Shapes::ShapeRef.new(shape: ListPlaybackRestrictionPoliciesResponse)
988
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
989
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
990
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
991
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
992
+ o[:pager] = Aws::Pager.new(
993
+ limit_key: "max_results",
994
+ tokens: {
995
+ "next_token" => "next_token"
996
+ }
997
+ )
998
+ end)
999
+
859
1000
  api.add_operation(:list_recording_configurations, Seahorse::Model::Operation.new.tap do |o|
860
1001
  o.name = "ListRecordingConfigurations"
861
1002
  o.http_method = "POST"
@@ -1008,6 +1149,19 @@ module Aws::IVS
1008
1149
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
1009
1150
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1010
1151
  end)
1152
+
1153
+ api.add_operation(:update_playback_restriction_policy, Seahorse::Model::Operation.new.tap do |o|
1154
+ o.name = "UpdatePlaybackRestrictionPolicy"
1155
+ o.http_method = "POST"
1156
+ o.http_request_uri = "/UpdatePlaybackRestrictionPolicy"
1157
+ o.input = Shapes::ShapeRef.new(shape: UpdatePlaybackRestrictionPolicyRequest)
1158
+ o.output = Shapes::ShapeRef.new(shape: UpdatePlaybackRestrictionPolicyResponse)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1161
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1162
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
1163
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1164
+ end)
1011
1165
  end
1012
1166
 
1013
1167
  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