aws-sdk 2.1548.0 → 2.1550.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -327,11 +327,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
327
327
  */
328
328
  restoreTableFromBackup(callback?: (err: AWSError, data: DynamoDB.Types.RestoreTableFromBackupOutput) => void): Request<DynamoDB.Types.RestoreTableFromBackupOutput, AWSError>;
329
329
  /**
330
- * Restores the specified table to the specified point in time within EarliestRestorableDateTime and LatestRestorableDateTime. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table. Along with data, the following are also included on the new restored table using point in time recovery: Global secondary indexes (GSIs) Local secondary indexes (LSIs) Provisioned read and write capacity Encryption settings All these settings come from the current settings of the source table at the time of restore. You must manually set up the following on the restored table: Auto scaling policies IAM policies Amazon CloudWatch metrics and alarms Tags Stream settings Time to Live (TTL) settings Point in time recovery settings
330
+ * Restores the specified table to the specified point in time within EarliestRestorableDateTime and LatestRestorableDateTime. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 50 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table. Along with data, the following are also included on the new restored table using point in time recovery: Global secondary indexes (GSIs) Local secondary indexes (LSIs) Provisioned read and write capacity Encryption settings All these settings come from the current settings of the source table at the time of restore. You must manually set up the following on the restored table: Auto scaling policies IAM policies Amazon CloudWatch metrics and alarms Tags Stream settings Time to Live (TTL) settings Point in time recovery settings
331
331
  */
332
332
  restoreTableToPointInTime(params: DynamoDB.Types.RestoreTableToPointInTimeInput, callback?: (err: AWSError, data: DynamoDB.Types.RestoreTableToPointInTimeOutput) => void): Request<DynamoDB.Types.RestoreTableToPointInTimeOutput, AWSError>;
333
333
  /**
334
- * Restores the specified table to the specified point in time within EarliestRestorableDateTime and LatestRestorableDateTime. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table. Along with data, the following are also included on the new restored table using point in time recovery: Global secondary indexes (GSIs) Local secondary indexes (LSIs) Provisioned read and write capacity Encryption settings All these settings come from the current settings of the source table at the time of restore. You must manually set up the following on the restored table: Auto scaling policies IAM policies Amazon CloudWatch metrics and alarms Tags Stream settings Time to Live (TTL) settings Point in time recovery settings
334
+ * Restores the specified table to the specified point in time within EarliestRestorableDateTime and LatestRestorableDateTime. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 50 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table. Along with data, the following are also included on the new restored table using point in time recovery: Global secondary indexes (GSIs) Local secondary indexes (LSIs) Provisioned read and write capacity Encryption settings All these settings come from the current settings of the source table at the time of restore. You must manually set up the following on the restored table: Auto scaling policies IAM policies Amazon CloudWatch metrics and alarms Tags Stream settings Time to Live (TTL) settings Point in time recovery settings
335
335
  */
336
336
  restoreTableToPointInTime(callback?: (err: AWSError, data: DynamoDB.Types.RestoreTableToPointInTimeOutput) => void): Request<DynamoDB.Types.RestoreTableToPointInTimeOutput, AWSError>;
337
337
  /**
@@ -3914,7 +3914,7 @@ declare namespace DynamoDB {
3914
3914
  */
3915
3915
  GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexUpdateList;
3916
3916
  /**
3917
- * Represents the DynamoDB Streams configuration for the table. You receive a ResourceInUseException if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.
3917
+ * Represents the DynamoDB Streams configuration for the table. You receive a ValidationException if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.
3918
3918
  */
3919
3919
  StreamSpecification?: StreamSpecification;
3920
3920
  /**
package/clients/ivs.d.ts CHANGED
@@ -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.
@@ -12,11 +12,11 @@ declare class ManagedBlockchainQuery extends Service {
12
12
  constructor(options?: ManagedBlockchainQuery.Types.ClientConfiguration)
13
13
  config: Config & ManagedBlockchainQuery.Types.ClientConfiguration;
14
14
  /**
15
- * Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
15
+ * Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request. Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
16
16
  */
17
17
  batchGetTokenBalance(params: ManagedBlockchainQuery.Types.BatchGetTokenBalanceInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput) => void): Request<ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput, AWSError>;
18
18
  /**
19
- * Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
19
+ * Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request. Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
20
20
  */
21
21
  batchGetTokenBalance(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput) => void): Request<ManagedBlockchainQuery.Types.BatchGetTokenBalanceOutput, AWSError>;
22
22
  /**
@@ -28,19 +28,19 @@ declare class ManagedBlockchainQuery extends Service {
28
28
  */
29
29
  getAssetContract(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetAssetContractOutput) => void): Request<ManagedBlockchainQuery.Types.GetAssetContractOutput, AWSError>;
30
30
  /**
31
- * Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
31
+ * Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain. Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
32
32
  */
33
33
  getTokenBalance(params: ManagedBlockchainQuery.Types.GetTokenBalanceInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetTokenBalanceOutput) => void): Request<ManagedBlockchainQuery.Types.GetTokenBalanceOutput, AWSError>;
34
34
  /**
35
- * Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain. Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
35
+ * Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain. Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
36
36
  */
37
37
  getTokenBalance(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetTokenBalanceOutput) => void): Request<ManagedBlockchainQuery.Types.GetTokenBalanceOutput, AWSError>;
38
38
  /**
39
- * Get the details of a transaction.
39
+ * Gets the details of a transaction. This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
40
40
  */
41
41
  getTransaction(params: ManagedBlockchainQuery.Types.GetTransactionInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetTransactionOutput) => void): Request<ManagedBlockchainQuery.Types.GetTransactionOutput, AWSError>;
42
42
  /**
43
- * Get the details of a transaction.
43
+ * Gets the details of a transaction. This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
44
44
  */
45
45
  getTransaction(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.GetTransactionOutput) => void): Request<ManagedBlockchainQuery.Types.GetTransactionOutput, AWSError>;
46
46
  /**
@@ -60,11 +60,11 @@ declare class ManagedBlockchainQuery extends Service {
60
60
  */
61
61
  listTokenBalances(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTokenBalancesOutput) => void): Request<ManagedBlockchainQuery.Types.ListTokenBalancesOutput, AWSError>;
62
62
  /**
63
- * An array of TransactionEvent objects. Each object contains details about the transaction event.
63
+ * An array of TransactionEvent objects. Each object contains details about the transaction event. This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
64
64
  */
65
65
  listTransactionEvents(params: ManagedBlockchainQuery.Types.ListTransactionEventsInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionEventsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionEventsOutput, AWSError>;
66
66
  /**
67
- * An array of TransactionEvent objects. Each object contains details about the transaction event.
67
+ * An array of TransactionEvent objects. Each object contains details about the transaction event. This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
68
68
  */
69
69
  listTransactionEvents(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionEventsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionEventsOutput, AWSError>;
70
70
  /**
@@ -150,7 +150,14 @@ declare namespace ManagedBlockchainQuery {
150
150
  time?: Timestamp;
151
151
  }
152
152
  export type ChainAddress = string;
153
- export type ConfirmationStatus = "FINAL"|string;
153
+ export type ConfirmationStatus = "FINAL"|"NONFINAL"|string;
154
+ export interface ConfirmationStatusFilter {
155
+ /**
156
+ * The container to determine whether to list results that have only reached finality . Transactions that have reached finality are always part of the response.
157
+ */
158
+ include: ConfirmationStatusIncludeList;
159
+ }
160
+ export type ConfirmationStatusIncludeList = ConfirmationStatus[];
154
161
  export interface ContractFilter {
155
162
  /**
156
163
  * The blockchain network of the contract.
@@ -264,7 +271,7 @@ declare namespace ManagedBlockchainQuery {
264
271
  */
265
272
  nextToken?: NextToken;
266
273
  /**
267
- * The maximum number of contracts to list.
274
+ * The maximum number of contracts to list. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
268
275
  */
269
276
  maxResults?: ListAssetContractsInputMaxResultsInteger;
270
277
  }
@@ -293,7 +300,7 @@ declare namespace ManagedBlockchainQuery {
293
300
  */
294
301
  nextToken?: NextToken;
295
302
  /**
296
- * The maximum number of token balances to return.
303
+ * The maximum number of token balances to return. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
297
304
  */
298
305
  maxResults?: ListTokenBalancesInputMaxResultsInteger;
299
306
  }
@@ -322,7 +329,7 @@ declare namespace ManagedBlockchainQuery {
322
329
  */
323
330
  nextToken?: NextToken;
324
331
  /**
325
- * The maximum number of transaction events to list. Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
332
+ * The maximum number of transaction events to list. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
326
333
  */
327
334
  maxResults?: ListTransactionEventsInputMaxResultsInteger;
328
335
  }
@@ -349,7 +356,7 @@ declare namespace ManagedBlockchainQuery {
349
356
  fromBlockchainInstant?: BlockchainInstant;
350
357
  toBlockchainInstant?: BlockchainInstant;
351
358
  /**
352
- * Sorts items in an ascending order if the first page starts at fromTime. Sorts items in a descending order if the first page starts at toTime.
359
+ * The order by which the results will be sorted. If ASCENNDING is selected, the results will be ordered by fromTime.
353
360
  */
354
361
  sort?: ListTransactionsSort;
355
362
  /**
@@ -357,9 +364,13 @@ declare namespace ManagedBlockchainQuery {
357
364
  */
358
365
  nextToken?: NextToken;
359
366
  /**
360
- * The maximum number of transactions to list. Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
367
+ * The maximum number of transactions to list. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
361
368
  */
362
369
  maxResults?: ListTransactionsInputMaxResultsInteger;
370
+ /**
371
+ * This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finiality are always part of the response.
372
+ */
373
+ confirmationStatusFilter?: ConfirmationStatusFilter;
363
374
  }
364
375
  export type ListTransactionsInputMaxResultsInteger = number;
365
376
  export interface ListTransactionsOutput {
@@ -402,7 +413,6 @@ declare namespace ManagedBlockchainQuery {
402
413
  export type QueryTokenStandard = "ERC20"|"ERC721"|"ERC1155"|string;
403
414
  export type QueryTransactionEventType = "ERC20_TRANSFER"|"ERC20_MINT"|"ERC20_BURN"|"ERC20_DEPOSIT"|"ERC20_WITHDRAWAL"|"ERC721_TRANSFER"|"ERC1155_TRANSFER"|"BITCOIN_VIN"|"BITCOIN_VOUT"|"INTERNAL_ETH_TRANSFER"|"ETH_TRANSFER"|string;
404
415
  export type QueryTransactionHash = string;
405
- export type QueryTransactionStatus = "FINAL"|"FAILED"|string;
406
416
  export type SortOrder = "ASCENDING"|"DESCENDING"|string;
407
417
  export type String = string;
408
418
  export type Timestamp = Date;
@@ -453,7 +463,7 @@ declare namespace ManagedBlockchainQuery {
453
463
  */
454
464
  contractAddress?: ChainAddress;
455
465
  /**
456
- * The unique identifier of the token. You must specify this container with btc for the native BTC token, and eth for the native ETH token. For all other token types you must specify the tokenId in the 64 character hexadecimal tokenid format.
466
+ * The unique identifier of the token. For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the tokenId in the 64 character hexadecimal tokenid format.
457
467
  */
458
468
  tokenId?: QueryTokenId;
459
469
  }
@@ -486,10 +496,6 @@ declare namespace ManagedBlockchainQuery {
486
496
  * The number of transactions in the block.
487
497
  */
488
498
  numberOfTransactions: Long;
489
- /**
490
- * The status of the transaction. This property is deprecated. You must use the confirmationStatus and the executionStatus properties to determine if the status of the transaction is FINAL or FAILED. Transactions with a status of FINAL will now have the confirmationStatus set to FINAL and the executionStatus set to SUCCEEDED. Transactions with a status of FAILED will now have the confirmationStatus set to FINAL and the executionStatus set to FAILED.
491
- */
492
- status?: QueryTransactionStatus;
493
499
  /**
494
500
  * The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
495
501
  */
@@ -599,6 +605,10 @@ declare namespace ManagedBlockchainQuery {
599
605
  * The time when the transaction occurred.
600
606
  */
601
607
  transactionTimestamp: Timestamp;
608
+ /**
609
+ * Specifies whether to list transactions that have not reached Finality.
610
+ */
611
+ confirmationStatus?: ConfirmationStatus;
602
612
  }
603
613
  export type TransactionOutputList = TransactionOutputItem[];
604
614
  /**