cdk-lambda-subminute 2.0.368 → 2.0.370

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.
Files changed (117) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/available-typed-arrays/.eslintrc +0 -4
  4. package/node_modules/available-typed-arrays/CHANGELOG.md +15 -0
  5. package/node_modules/available-typed-arrays/index.d.ts +17 -0
  6. package/node_modules/available-typed-arrays/index.js +4 -2
  7. package/node_modules/available-typed-arrays/package.json +23 -15
  8. package/node_modules/available-typed-arrays/tsconfig.json +49 -0
  9. package/node_modules/aws-sdk/README.md +1 -1
  10. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +67 -6
  11. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +163 -81
  12. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +1 -1
  13. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +76 -32
  14. package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +227 -152
  15. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +102 -101
  16. package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +240 -49
  17. package/node_modules/aws-sdk/apis/ivs-2020-07-14.paginators.json +5 -0
  18. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +2 -1
  19. package/node_modules/aws-sdk/apis/managedblockchain-query-2023-05-04.min.json +14 -5
  20. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +104 -87
  21. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +597 -333
  22. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +10 -0
  23. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +259 -184
  24. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +852 -756
  25. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +68 -3
  26. package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +6 -0
  27. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +779 -773
  28. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +45 -28
  29. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +75 -72
  30. package/node_modules/aws-sdk/clients/appsync.d.ts +47 -0
  31. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +12 -8
  32. package/node_modules/aws-sdk/clients/codepipeline.d.ts +102 -7
  33. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +63 -63
  34. package/node_modules/aws-sdk/clients/datasync.d.ts +185 -124
  35. package/node_modules/aws-sdk/clients/dynamodb.d.ts +3 -3
  36. package/node_modules/aws-sdk/clients/ecs.d.ts +5 -5
  37. package/node_modules/aws-sdk/clients/es.d.ts +111 -0
  38. package/node_modules/aws-sdk/clients/glue.d.ts +8 -3
  39. package/node_modules/aws-sdk/clients/ivs.d.ts +223 -4
  40. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +324 -0
  41. package/node_modules/aws-sdk/clients/managedblockchainquery.d.ts +30 -20
  42. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +17 -8
  43. package/node_modules/aws-sdk/clients/opensearch.d.ts +108 -0
  44. package/node_modules/aws-sdk/clients/quicksight.d.ts +130 -2
  45. package/node_modules/aws-sdk/clients/redshift.d.ts +119 -0
  46. package/node_modules/aws-sdk/clients/sagemaker.d.ts +51 -41
  47. package/node_modules/aws-sdk/clients/wafv2.d.ts +23 -3
  48. package/node_modules/aws-sdk/clients/workspaces.d.ts +16 -3
  49. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +211 -108
  50. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2388 -2182
  51. package/node_modules/aws-sdk/dist/aws-sdk.js +243 -89
  52. package/node_modules/aws-sdk/dist/aws-sdk.min.js +89 -89
  53. package/node_modules/aws-sdk/lib/core.js +1 -1
  54. package/node_modules/aws-sdk/lib/credentials/remote_credentials.js +14 -2
  55. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
  56. package/node_modules/aws-sdk/package.json +1 -1
  57. package/node_modules/call-bind/CHANGELOG.md +9 -0
  58. package/node_modules/call-bind/index.js +1 -1
  59. package/node_modules/call-bind/package.json +10 -6
  60. package/node_modules/define-data-property/CHANGELOG.md +11 -0
  61. package/node_modules/define-data-property/index.js +2 -2
  62. package/node_modules/define-data-property/package.json +19 -18
  63. package/node_modules/define-data-property/test/index.js +7 -7
  64. package/node_modules/es-errors/.eslintrc +5 -0
  65. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  66. package/node_modules/es-errors/CHANGELOG.md +40 -0
  67. package/node_modules/es-errors/LICENSE +21 -0
  68. package/node_modules/es-errors/README.md +55 -0
  69. package/node_modules/es-errors/eval.d.ts +3 -0
  70. package/node_modules/es-errors/eval.js +4 -0
  71. package/node_modules/es-errors/index.d.ts +3 -0
  72. package/node_modules/es-errors/index.js +4 -0
  73. package/node_modules/es-errors/package.json +80 -0
  74. package/node_modules/es-errors/range.d.ts +3 -0
  75. package/node_modules/es-errors/range.js +4 -0
  76. package/node_modules/es-errors/ref.d.ts +3 -0
  77. package/node_modules/es-errors/ref.js +4 -0
  78. package/node_modules/es-errors/syntax.d.ts +3 -0
  79. package/node_modules/es-errors/syntax.js +4 -0
  80. package/node_modules/es-errors/test/index.js +19 -0
  81. package/node_modules/es-errors/tsconfig.json +49 -0
  82. package/node_modules/es-errors/type.d.ts +3 -0
  83. package/node_modules/es-errors/type.js +4 -0
  84. package/node_modules/es-errors/uri.d.ts +3 -0
  85. package/node_modules/es-errors/uri.js +4 -0
  86. package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
  87. package/node_modules/get-intrinsic/index.js +15 -7
  88. package/node_modules/get-intrinsic/package.json +12 -12
  89. package/node_modules/has-tostringtag/.eslintrc +0 -6
  90. package/node_modules/has-tostringtag/.nycrc +13 -0
  91. package/node_modules/has-tostringtag/CHANGELOG.md +22 -0
  92. package/node_modules/has-tostringtag/index.d.ts +3 -0
  93. package/node_modules/has-tostringtag/index.js +1 -0
  94. package/node_modules/has-tostringtag/package.json +37 -13
  95. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  96. package/node_modules/has-tostringtag/shams.js +1 -0
  97. package/node_modules/has-tostringtag/test/shams/core-js.js +3 -0
  98. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +2 -0
  99. package/node_modules/has-tostringtag/test/tests.js +2 -1
  100. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  101. package/node_modules/is-typed-array/CHANGELOG.md +10 -0
  102. package/node_modules/is-typed-array/index.d.ts +16 -0
  103. package/node_modules/is-typed-array/index.js +1 -0
  104. package/node_modules/is-typed-array/package.json +18 -7
  105. package/node_modules/is-typed-array/test/index.js +9 -1
  106. package/node_modules/is-typed-array/tsconfig.json +49 -0
  107. package/node_modules/set-function-length/CHANGELOG.md +8 -0
  108. package/node_modules/set-function-length/index.js +1 -1
  109. package/node_modules/set-function-length/package.json +7 -6
  110. package/node_modules/which-typed-array/CHANGELOG.md +9 -0
  111. package/node_modules/which-typed-array/index.d.ts +16 -0
  112. package/node_modules/which-typed-array/index.js +39 -18
  113. package/node_modules/which-typed-array/package.json +18 -7
  114. package/node_modules/which-typed-array/test/index.js +9 -1
  115. package/node_modules/which-typed-array/tsconfig.json +49 -0
  116. package/package.json +4 -4
  117. package/node_modules/available-typed-arrays/.eslintignore +0 -1
@@ -43,6 +43,14 @@ declare class IVS extends Service {
43
43
  * Creates a new channel and an associated stream key to start streaming.
44
44
  */
45
45
  createChannel(callback?: (err: AWSError, data: IVS.Types.CreateChannelResponse) => void): Request<IVS.Types.CreateChannelResponse, AWSError>;
46
+ /**
47
+ * Creates a new playback restriction policy, for constraining playback by countries and/or origins.
48
+ */
49
+ createPlaybackRestrictionPolicy(params: IVS.Types.CreatePlaybackRestrictionPolicyRequest, callback?: (err: AWSError, data: IVS.Types.CreatePlaybackRestrictionPolicyResponse) => void): Request<IVS.Types.CreatePlaybackRestrictionPolicyResponse, AWSError>;
50
+ /**
51
+ * Creates a new playback restriction policy, for constraining playback by countries and/or origins.
52
+ */
53
+ createPlaybackRestrictionPolicy(callback?: (err: AWSError, data: IVS.Types.CreatePlaybackRestrictionPolicyResponse) => void): Request<IVS.Types.CreatePlaybackRestrictionPolicyResponse, AWSError>;
46
54
  /**
47
55
  * Creates a new recording configuration, used to enable recording to Amazon S3. Known issue: In the us-east-1 region, if you use the Amazon Web Services CLI to create a recording configuration, it returns success even if the S3 bucket is in a different region. In this case, the state of the recording configuration is CREATE_FAILED (instead of ACTIVE). (In other regions, the CLI correctly returns failure if the bucket is in a different region.) Workaround: Ensure that your S3 bucket is in the same region as the recording configuration. If you create a recording configuration in a different region as your S3 bucket, delete that recording configuration and create a new one with an S3 bucket from the correct region.
48
56
  */
@@ -75,6 +83,14 @@ declare class IVS extends Service {
75
83
  * Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
76
84
  */
77
85
  deletePlaybackKeyPair(callback?: (err: AWSError, data: IVS.Types.DeletePlaybackKeyPairResponse) => void): Request<IVS.Types.DeletePlaybackKeyPairResponse, AWSError>;
86
+ /**
87
+ * Deletes the specified playback restriction policy.
88
+ */
89
+ deletePlaybackRestrictionPolicy(params: IVS.Types.DeletePlaybackRestrictionPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90
+ /**
91
+ * Deletes the specified playback restriction policy.
92
+ */
93
+ deletePlaybackRestrictionPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78
94
  /**
79
95
  * Deletes the recording configuration for the specified ARN. If you try to delete a recording configuration that is associated with a channel, you will get an error (409 ConflictException). To avoid this, for all channels that reference the recording configuration, first use UpdateChannel to set the recordingConfigurationArn field to an empty string, then use DeleteRecordingConfiguration.
80
96
  */
@@ -107,6 +123,14 @@ declare class IVS extends Service {
107
123
  * Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
108
124
  */
109
125
  getPlaybackKeyPair(callback?: (err: AWSError, data: IVS.Types.GetPlaybackKeyPairResponse) => void): Request<IVS.Types.GetPlaybackKeyPairResponse, AWSError>;
126
+ /**
127
+ * Gets the specified playback restriction policy.
128
+ */
129
+ getPlaybackRestrictionPolicy(params: IVS.Types.GetPlaybackRestrictionPolicyRequest, callback?: (err: AWSError, data: IVS.Types.GetPlaybackRestrictionPolicyResponse) => void): Request<IVS.Types.GetPlaybackRestrictionPolicyResponse, AWSError>;
130
+ /**
131
+ * Gets the specified playback restriction policy.
132
+ */
133
+ getPlaybackRestrictionPolicy(callback?: (err: AWSError, data: IVS.Types.GetPlaybackRestrictionPolicyResponse) => void): Request<IVS.Types.GetPlaybackRestrictionPolicyResponse, AWSError>;
110
134
  /**
111
135
  * Gets the recording configuration for the specified ARN.
112
136
  */
@@ -163,6 +187,14 @@ declare class IVS extends Service {
163
187
  * Gets summary information about playback key pairs. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
164
188
  */
165
189
  listPlaybackKeyPairs(callback?: (err: AWSError, data: IVS.Types.ListPlaybackKeyPairsResponse) => void): Request<IVS.Types.ListPlaybackKeyPairsResponse, AWSError>;
190
+ /**
191
+ * Gets summary information about playback restriction policies.
192
+ */
193
+ listPlaybackRestrictionPolicies(params: IVS.Types.ListPlaybackRestrictionPoliciesRequest, callback?: (err: AWSError, data: IVS.Types.ListPlaybackRestrictionPoliciesResponse) => void): Request<IVS.Types.ListPlaybackRestrictionPoliciesResponse, AWSError>;
194
+ /**
195
+ * Gets summary information about playback restriction policies.
196
+ */
197
+ listPlaybackRestrictionPolicies(callback?: (err: AWSError, data: IVS.Types.ListPlaybackRestrictionPoliciesResponse) => void): Request<IVS.Types.ListPlaybackRestrictionPoliciesResponse, AWSError>;
166
198
  /**
167
199
  * Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed.
168
200
  */
@@ -251,6 +283,14 @@ declare class IVS extends Service {
251
283
  * Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.
252
284
  */
253
285
  updateChannel(callback?: (err: AWSError, data: IVS.Types.UpdateChannelResponse) => void): Request<IVS.Types.UpdateChannelResponse, AWSError>;
286
+ /**
287
+ * Updates a specified playback restriction policy.
288
+ */
289
+ updatePlaybackRestrictionPolicy(params: IVS.Types.UpdatePlaybackRestrictionPolicyRequest, callback?: (err: AWSError, data: IVS.Types.UpdatePlaybackRestrictionPolicyResponse) => void): Request<IVS.Types.UpdatePlaybackRestrictionPolicyResponse, AWSError>;
290
+ /**
291
+ * Updates a specified playback restriction policy.
292
+ */
293
+ updatePlaybackRestrictionPolicy(callback?: (err: AWSError, data: IVS.Types.UpdatePlaybackRestrictionPolicyResponse) => void): Request<IVS.Types.UpdatePlaybackRestrictionPolicyResponse, AWSError>;
254
294
  }
255
295
  declare namespace IVS {
256
296
  export interface AudioConfiguration {
@@ -390,6 +430,10 @@ declare namespace IVS {
390
430
  * Channel name.
391
431
  */
392
432
  name?: ChannelName;
433
+ /**
434
+ * Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: "" (empty string, no playback restriction policy is applied).
435
+ */
436
+ playbackRestrictionPolicyArn?: ChannelPlaybackRestrictionPolicyArn;
393
437
  /**
394
438
  * Channel playback URL.
395
439
  */
@@ -399,7 +443,7 @@ declare namespace IVS {
399
443
  */
400
444
  preset?: TranscodePreset;
401
445
  /**
402
- * Recording-configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (empty string, recording is disabled).
446
+ * Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
403
447
  */
404
448
  recordingConfigurationArn?: ChannelRecordingConfigurationArn;
405
449
  /**
@@ -416,6 +460,7 @@ declare namespace IVS {
416
460
  export type ChannelLatencyMode = "NORMAL"|"LOW"|string;
417
461
  export type ChannelList = ChannelSummary[];
418
462
  export type ChannelName = string;
463
+ export type ChannelPlaybackRestrictionPolicyArn = string;
419
464
  export type ChannelRecordingConfigurationArn = string;
420
465
  export interface ChannelSummary {
421
466
  /**
@@ -438,12 +483,16 @@ declare namespace IVS {
438
483
  * Channel name.
439
484
  */
440
485
  name?: ChannelName;
486
+ /**
487
+ * Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: "" (empty string, no playback restriction policy is applied).
488
+ */
489
+ playbackRestrictionPolicyArn?: ChannelPlaybackRestrictionPolicyArn;
441
490
  /**
442
491
  * Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
443
492
  */
444
493
  preset?: TranscodePreset;
445
494
  /**
446
- * Recording-configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (empty string, recording is disabled).
495
+ * Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
447
496
  */
448
497
  recordingConfigurationArn?: ChannelRecordingConfigurationArn;
449
498
  /**
@@ -474,12 +523,16 @@ declare namespace IVS {
474
523
  * Channel name.
475
524
  */
476
525
  name?: ChannelName;
526
+ /**
527
+ * Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: "" (empty string, no playback restriction policy is applied).
528
+ */
529
+ playbackRestrictionPolicyArn?: ChannelPlaybackRestrictionPolicyArn;
477
530
  /**
478
531
  * Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
479
532
  */
480
533
  preset?: TranscodePreset;
481
534
  /**
482
- * Recording-configuration ARN. Default: "" (empty string, recording is disabled).
535
+ * Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
483
536
  */
484
537
  recordingConfigurationArn?: ChannelRecordingConfigurationArn;
485
538
  /**
@@ -501,6 +554,34 @@ declare namespace IVS {
501
554
  */
502
555
  streamKey?: StreamKey;
503
556
  }
557
+ export interface CreatePlaybackRestrictionPolicyRequest {
558
+ /**
559
+ * A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
560
+ */
561
+ allowedCountries?: PlaybackRestrictionPolicyAllowedCountryList;
562
+ /**
563
+ * A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
564
+ */
565
+ allowedOrigins?: PlaybackRestrictionPolicyAllowedOriginList;
566
+ /**
567
+ * Whether channel playback is constrained by origin site. Default: false.
568
+ */
569
+ enableStrictOriginEnforcement?: PlaybackRestrictionPolicyEnableStrictOriginEnforcement;
570
+ /**
571
+ * Playback-restriction-policy name. The value does not need to be unique.
572
+ */
573
+ name?: PlaybackRestrictionPolicyName;
574
+ /**
575
+ * Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
576
+ */
577
+ tags?: Tags;
578
+ }
579
+ export interface CreatePlaybackRestrictionPolicyResponse {
580
+ /**
581
+ *
582
+ */
583
+ playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
584
+ }
504
585
  export interface CreateRecordingConfigurationRequest {
505
586
  /**
506
587
  * A complex type that contains a destination configuration for where recorded video will be stored.
@@ -563,6 +644,12 @@ declare namespace IVS {
563
644
  }
564
645
  export interface DeletePlaybackKeyPairResponse {
565
646
  }
647
+ export interface DeletePlaybackRestrictionPolicyRequest {
648
+ /**
649
+ * ARN of the playback restriction policy to be deleted.
650
+ */
651
+ arn: PlaybackRestrictionPolicyArn;
652
+ }
566
653
  export interface DeleteRecordingConfigurationRequest {
567
654
  /**
568
655
  * ARN of the recording configuration to be deleted.
@@ -605,6 +692,18 @@ declare namespace IVS {
605
692
  */
606
693
  keyPair?: PlaybackKeyPair;
607
694
  }
695
+ export interface GetPlaybackRestrictionPolicyRequest {
696
+ /**
697
+ * ARN of the playback restriction policy to be returned.
698
+ */
699
+ arn: PlaybackRestrictionPolicyArn;
700
+ }
701
+ export interface GetPlaybackRestrictionPolicyResponse {
702
+ /**
703
+ *
704
+ */
705
+ playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
706
+ }
608
707
  export interface GetRecordingConfigurationRequest {
609
708
  /**
610
709
  * ARN of the recording configuration to be retrieved.
@@ -696,6 +795,10 @@ declare namespace IVS {
696
795
  * Filters the channel list to match the specified name.
697
796
  */
698
797
  filterByName?: ChannelName;
798
+ /**
799
+ * Filters the channel list to match the specified policy.
800
+ */
801
+ filterByPlaybackRestrictionPolicyArn?: ChannelPlaybackRestrictionPolicyArn;
699
802
  /**
700
803
  * Filters the channel list to match the specified recording-configuration ARN.
701
804
  */
@@ -739,6 +842,26 @@ declare namespace IVS {
739
842
  */
740
843
  nextToken?: PaginationToken;
741
844
  }
845
+ export interface ListPlaybackRestrictionPoliciesRequest {
846
+ /**
847
+ * Maximum number of policies to return. Default: 1.
848
+ */
849
+ maxResults?: MaxPlaybackRestrictionPolicyResults;
850
+ /**
851
+ * The first policy to retrieve. This is used for pagination; see the nextToken response field.
852
+ */
853
+ nextToken?: PaginationToken;
854
+ }
855
+ export interface ListPlaybackRestrictionPoliciesResponse {
856
+ /**
857
+ * If there are more channels than maxResults, use nextToken in the request to get the next set.
858
+ */
859
+ nextToken?: PaginationToken;
860
+ /**
861
+ * List of the matching policies.
862
+ */
863
+ playbackRestrictionPolicies: PlaybackRestrictionPolicyList;
864
+ }
742
865
  export interface ListRecordingConfigurationsRequest {
743
866
  /**
744
867
  * Maximum number of recording configurations to return. Default: your service quota or 100, whichever is smaller.
@@ -845,6 +968,7 @@ declare namespace IVS {
845
968
  }
846
969
  export type MaxChannelResults = number;
847
970
  export type MaxPlaybackKeyPairResults = number;
971
+ export type MaxPlaybackRestrictionPolicyResults = number;
848
972
  export type MaxRecordingConfigurationResults = number;
849
973
  export type MaxStreamKeyResults = number;
850
974
  export type MaxStreamResults = number;
@@ -886,6 +1010,66 @@ declare namespace IVS {
886
1010
  tags?: Tags;
887
1011
  }
888
1012
  export type PlaybackPublicKeyMaterial = string;
1013
+ export interface PlaybackRestrictionPolicy {
1014
+ /**
1015
+ * A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
1016
+ */
1017
+ allowedCountries: PlaybackRestrictionPolicyAllowedCountryList;
1018
+ /**
1019
+ * A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
1020
+ */
1021
+ allowedOrigins: PlaybackRestrictionPolicyAllowedOriginList;
1022
+ /**
1023
+ * Playback-restriction-policy ARN
1024
+ */
1025
+ arn: PlaybackRestrictionPolicyArn;
1026
+ /**
1027
+ * Whether channel playback is constrained by origin site. Default: false.
1028
+ */
1029
+ enableStrictOriginEnforcement?: PlaybackRestrictionPolicyEnableStrictOriginEnforcement;
1030
+ /**
1031
+ * Playback-restriction-policy name. The value does not need to be unique.
1032
+ */
1033
+ name?: PlaybackRestrictionPolicyName;
1034
+ /**
1035
+ * Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
1036
+ */
1037
+ tags?: Tags;
1038
+ }
1039
+ export type PlaybackRestrictionPolicyAllowedCountry = string;
1040
+ export type PlaybackRestrictionPolicyAllowedCountryList = PlaybackRestrictionPolicyAllowedCountry[];
1041
+ export type PlaybackRestrictionPolicyAllowedOrigin = string;
1042
+ export type PlaybackRestrictionPolicyAllowedOriginList = PlaybackRestrictionPolicyAllowedOrigin[];
1043
+ export type PlaybackRestrictionPolicyArn = string;
1044
+ export type PlaybackRestrictionPolicyEnableStrictOriginEnforcement = boolean;
1045
+ export type PlaybackRestrictionPolicyList = PlaybackRestrictionPolicySummary[];
1046
+ export type PlaybackRestrictionPolicyName = string;
1047
+ export interface PlaybackRestrictionPolicySummary {
1048
+ /**
1049
+ * A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
1050
+ */
1051
+ allowedCountries: PlaybackRestrictionPolicyAllowedCountryList;
1052
+ /**
1053
+ * A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
1054
+ */
1055
+ allowedOrigins: PlaybackRestrictionPolicyAllowedOriginList;
1056
+ /**
1057
+ * Playback-restriction-policy ARN
1058
+ */
1059
+ arn: PlaybackRestrictionPolicyArn;
1060
+ /**
1061
+ * Whether channel playback is constrained by origin site. Default: false.
1062
+ */
1063
+ enableStrictOriginEnforcement?: PlaybackRestrictionPolicyEnableStrictOriginEnforcement;
1064
+ /**
1065
+ * Playback-restriction-policy name. The value does not need to be unique.
1066
+ */
1067
+ name?: PlaybackRestrictionPolicyName;
1068
+ /**
1069
+ * Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
1070
+ */
1071
+ tags?: Tags;
1072
+ }
889
1073
  export type PlaybackURL = string;
890
1074
  export interface PutMetadataRequest {
891
1075
  /**
@@ -1248,12 +1432,16 @@ declare namespace IVS {
1248
1432
  * Channel name.
1249
1433
  */
1250
1434
  name?: ChannelName;
1435
+ /**
1436
+ * Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
1437
+ */
1438
+ playbackRestrictionPolicyArn?: ChannelPlaybackRestrictionPolicyArn;
1251
1439
  /**
1252
1440
  * Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
1253
1441
  */
1254
1442
  preset?: TranscodePreset;
1255
1443
  /**
1256
- * Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than an empty string indicates that recording is enabled
1444
+ * Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
1257
1445
  */
1258
1446
  recordingConfigurationArn?: ChannelRecordingConfigurationArn;
1259
1447
  /**
@@ -1262,8 +1450,39 @@ declare namespace IVS {
1262
1450
  type?: ChannelType;
1263
1451
  }
1264
1452
  export interface UpdateChannelResponse {
1453
+ /**
1454
+ * Object specifying the updated channel.
1455
+ */
1265
1456
  channel?: Channel;
1266
1457
  }
1458
+ export interface UpdatePlaybackRestrictionPolicyRequest {
1459
+ /**
1460
+ * A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
1461
+ */
1462
+ allowedCountries?: PlaybackRestrictionPolicyAllowedCountryList;
1463
+ /**
1464
+ * A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
1465
+ */
1466
+ allowedOrigins?: PlaybackRestrictionPolicyAllowedOriginList;
1467
+ /**
1468
+ * ARN of the playback-restriction-policy to be updated.
1469
+ */
1470
+ arn: PlaybackRestrictionPolicyArn;
1471
+ /**
1472
+ * Whether channel playback is constrained by origin site. Default: false.
1473
+ */
1474
+ enableStrictOriginEnforcement?: PlaybackRestrictionPolicyEnableStrictOriginEnforcement;
1475
+ /**
1476
+ * Playback-restriction-policy name. The value does not need to be unique.
1477
+ */
1478
+ name?: PlaybackRestrictionPolicyName;
1479
+ }
1480
+ export interface UpdatePlaybackRestrictionPolicyResponse {
1481
+ /**
1482
+ * Object specifying the updated policy.
1483
+ */
1484
+ playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
1485
+ }
1267
1486
  export interface VideoConfiguration {
1268
1487
  /**
1269
1488
  * Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.