aws-sdk 2.962.0 → 2.966.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +1 -1
  3. package/apis/chime-sdk-identity-2021-04-20.examples.json +5 -0
  4. package/apis/chime-sdk-identity-2021-04-20.min.json +644 -0
  5. package/apis/chime-sdk-identity-2021-04-20.paginators.json +19 -0
  6. package/apis/chime-sdk-messaging-2021-05-15.examples.json +5 -0
  7. package/apis/chime-sdk-messaging-2021-05-15.min.json +1413 -0
  8. package/apis/chime-sdk-messaging-2021-05-15.paginators.json +39 -0
  9. package/apis/codebuild-2016-10-06.examples.json +0 -276
  10. package/apis/codebuild-2016-10-06.min.json +51 -26
  11. package/apis/connect-2017-08-08.min.json +364 -101
  12. package/apis/connect-2017-08-08.paginators.json +6 -0
  13. package/apis/lightsail-2016-11-28.min.json +154 -144
  14. package/apis/metadata.json +12 -0
  15. package/apis/nimble-2020-08-01.min.json +13 -0
  16. package/apis/rekognition-2016-06-27.min.json +51 -30
  17. package/apis/snow-device-management-2021-08-04.examples.json +5 -0
  18. package/apis/snow-device-management-2021-08-04.min.json +638 -0
  19. package/apis/snow-device-management-2021-08-04.paginators.json +28 -0
  20. package/apis/wafv2-2019-07-29.min.json +306 -98
  21. package/clients/all.d.ts +3 -0
  22. package/clients/all.js +4 -1
  23. package/clients/athena.d.ts +28 -28
  24. package/clients/chime.d.ts +17 -14
  25. package/clients/chimesdkidentity.d.ts +591 -0
  26. package/clients/chimesdkidentity.js +18 -0
  27. package/clients/chimesdkmessaging.d.ts +1344 -0
  28. package/clients/chimesdkmessaging.js +18 -0
  29. package/clients/codebuild.d.ts +166 -126
  30. package/clients/connect.d.ts +310 -9
  31. package/clients/ebs.d.ts +10 -10
  32. package/clients/ecs.d.ts +18 -18
  33. package/clients/lightsail.d.ts +19 -1
  34. package/clients/nimble.d.ts +31 -15
  35. package/clients/rekognition.d.ts +59 -26
  36. package/clients/route53.d.ts +57 -57
  37. package/clients/snowdevicemanagement.d.ts +767 -0
  38. package/clients/snowdevicemanagement.js +18 -0
  39. package/clients/ssm.d.ts +110 -110
  40. package/clients/synthetics.d.ts +25 -1
  41. package/clients/wafv2.d.ts +325 -6
  42. package/dist/aws-sdk-core-react-native.js +2 -2
  43. package/dist/aws-sdk-react-native.js +122 -11
  44. package/dist/aws-sdk.js +487 -160
  45. package/dist/aws-sdk.min.js +76 -76
  46. package/lib/config_service_placeholders.d.ts +6 -0
  47. package/lib/core.js +1 -1
  48. package/package.json +1 -1
@@ -165,11 +165,11 @@ declare class Rekognition extends Service {
165
165
  */
166
166
  detectProtectiveEquipment(callback?: (err: AWSError, data: Rekognition.Types.DetectProtectiveEquipmentResponse) => void): Request<Rekognition.Types.DetectProtectiveEquipmentResponse, AWSError>;
167
167
  /**
168
- * Detects text in the input image and converts it into machine-readable text. Pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, you must pass it as a reference to an image in an Amazon S3 bucket. For the AWS CLI, passing image bytes is not supported. The image must be either a .png or .jpeg formatted file. The DetectText operation returns text in an array of TextDetection elements, TextDetections. Each TextDetection element provides information about a single word or line of text that was detected in the image. A word is one or more ISO basic latin script characters that are not separated by spaces. DetectText can detect up to 50 words in an image. A line is a string of equally spaced words. A line isn't necessarily a complete sentence. For example, a driver's license number is detected as a line. A line ends when there is no aligned text after it. Also, a line ends when there is a large gap between words, relative to the length of the words. This means, depending on the gap between words, Amazon Rekognition may detect multiple lines in text aligned in the same direction. Periods don't represent the end of a line. If a sentence spans multiple lines, the DetectText operation returns multiple lines. To determine whether a TextDetection element is a line of text or a word, use the TextDetection object Type field. To be detected, text must be within +/- 90 degrees orientation of the horizontal axis. For more information, see DetectText in the Amazon Rekognition Developer Guide.
168
+ * Detects text in the input image and converts it into machine-readable text. Pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, you must pass it as a reference to an image in an Amazon S3 bucket. For the AWS CLI, passing image bytes is not supported. The image must be either a .png or .jpeg formatted file. The DetectText operation returns text in an array of TextDetection elements, TextDetections. Each TextDetection element provides information about a single word or line of text that was detected in the image. A word is one or more ISO basic latin script characters that are not separated by spaces. DetectText can detect up to 100 words in an image. A line is a string of equally spaced words. A line isn't necessarily a complete sentence. For example, a driver's license number is detected as a line. A line ends when there is no aligned text after it. Also, a line ends when there is a large gap between words, relative to the length of the words. This means, depending on the gap between words, Amazon Rekognition may detect multiple lines in text aligned in the same direction. Periods don't represent the end of a line. If a sentence spans multiple lines, the DetectText operation returns multiple lines. To determine whether a TextDetection element is a line of text or a word, use the TextDetection object Type field. To be detected, text must be within +/- 90 degrees orientation of the horizontal axis. For more information, see DetectText in the Amazon Rekognition Developer Guide.
169
169
  */
170
170
  detectText(params: Rekognition.Types.DetectTextRequest, callback?: (err: AWSError, data: Rekognition.Types.DetectTextResponse) => void): Request<Rekognition.Types.DetectTextResponse, AWSError>;
171
171
  /**
172
- * Detects text in the input image and converts it into machine-readable text. Pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, you must pass it as a reference to an image in an Amazon S3 bucket. For the AWS CLI, passing image bytes is not supported. The image must be either a .png or .jpeg formatted file. The DetectText operation returns text in an array of TextDetection elements, TextDetections. Each TextDetection element provides information about a single word or line of text that was detected in the image. A word is one or more ISO basic latin script characters that are not separated by spaces. DetectText can detect up to 50 words in an image. A line is a string of equally spaced words. A line isn't necessarily a complete sentence. For example, a driver's license number is detected as a line. A line ends when there is no aligned text after it. Also, a line ends when there is a large gap between words, relative to the length of the words. This means, depending on the gap between words, Amazon Rekognition may detect multiple lines in text aligned in the same direction. Periods don't represent the end of a line. If a sentence spans multiple lines, the DetectText operation returns multiple lines. To determine whether a TextDetection element is a line of text or a word, use the TextDetection object Type field. To be detected, text must be within +/- 90 degrees orientation of the horizontal axis. For more information, see DetectText in the Amazon Rekognition Developer Guide.
172
+ * Detects text in the input image and converts it into machine-readable text. Pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, you must pass it as a reference to an image in an Amazon S3 bucket. For the AWS CLI, passing image bytes is not supported. The image must be either a .png or .jpeg formatted file. The DetectText operation returns text in an array of TextDetection elements, TextDetections. Each TextDetection element provides information about a single word or line of text that was detected in the image. A word is one or more ISO basic latin script characters that are not separated by spaces. DetectText can detect up to 100 words in an image. A line is a string of equally spaced words. A line isn't necessarily a complete sentence. For example, a driver's license number is detected as a line. A line ends when there is no aligned text after it. Also, a line ends when there is a large gap between words, relative to the length of the words. This means, depending on the gap between words, Amazon Rekognition may detect multiple lines in text aligned in the same direction. Periods don't represent the end of a line. If a sentence spans multiple lines, the DetectText operation returns multiple lines. To determine whether a TextDetection element is a line of text or a word, use the TextDetection object Type field. To be detected, text must be within +/- 90 degrees orientation of the horizontal axis. For more information, see DetectText in the Amazon Rekognition Developer Guide.
173
173
  */
174
174
  detectText(callback?: (err: AWSError, data: Rekognition.Types.DetectTextResponse) => void): Request<Rekognition.Types.DetectTextResponse, AWSError>;
175
175
  /**
@@ -189,11 +189,11 @@ declare class Rekognition extends Service {
189
189
  */
190
190
  getCelebrityRecognition(callback?: (err: AWSError, data: Rekognition.Types.GetCelebrityRecognitionResponse) => void): Request<Rekognition.Types.GetCelebrityRecognitionResponse, AWSError>;
191
191
  /**
192
- * Gets the unsafe content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration. Unsafe content analysis of a video is an asynchronous operation. You start analysis by calling StartContentModeration which returns a job identifier (JobId). When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartContentModeration. To get the results of the unsafe content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Working with Stored Videos in the Amazon Rekognition Devlopers Guide. GetContentModeration returns detected unsafe content labels, and the time they are detected, in an array, ModerationLabels, of ContentModerationDetection objects. By default, the moderated labels are returned sorted by time, in milliseconds from the start of the video. You can also sort them by moderated label by specifying NAME for the SortBy input parameter. Since video analysis can return a large number of results, use the MaxResults parameter to limit the number of labels returned in a single call to GetContentModeration. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetContentModeration and populate the NextToken request parameter with the value of NextToken returned from the previous call to GetContentModeration. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
192
+ * Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs. Amazon Rekognition Video inappropriate or offensive content detection in a stored video is an asynchronous operation. You start analysis by calling StartContentModeration which returns a job identifier (JobId). When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartContentModeration. To get the results of the content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Working with Stored Videos in the Amazon Rekognition Devlopers Guide. GetContentModeration returns detected inappropriate, unwanted, or offensive content moderation labels, and the time they are detected, in an array, ModerationLabels, of ContentModerationDetection objects. By default, the moderated labels are returned sorted by time, in milliseconds from the start of the video. You can also sort them by moderated label by specifying NAME for the SortBy input parameter. Since video analysis can return a large number of results, use the MaxResults parameter to limit the number of labels returned in a single call to GetContentModeration. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetContentModeration and populate the NextToken request parameter with the value of NextToken returned from the previous call to GetContentModeration. For more information, see Content moderation in the Amazon Rekognition Developer Guide.
193
193
  */
194
194
  getContentModeration(params: Rekognition.Types.GetContentModerationRequest, callback?: (err: AWSError, data: Rekognition.Types.GetContentModerationResponse) => void): Request<Rekognition.Types.GetContentModerationResponse, AWSError>;
195
195
  /**
196
- * Gets the unsafe content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration. Unsafe content analysis of a video is an asynchronous operation. You start analysis by calling StartContentModeration which returns a job identifier (JobId). When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartContentModeration. To get the results of the unsafe content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Working with Stored Videos in the Amazon Rekognition Devlopers Guide. GetContentModeration returns detected unsafe content labels, and the time they are detected, in an array, ModerationLabels, of ContentModerationDetection objects. By default, the moderated labels are returned sorted by time, in milliseconds from the start of the video. You can also sort them by moderated label by specifying NAME for the SortBy input parameter. Since video analysis can return a large number of results, use the MaxResults parameter to limit the number of labels returned in a single call to GetContentModeration. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetContentModeration and populate the NextToken request parameter with the value of NextToken returned from the previous call to GetContentModeration. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
196
+ * Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs. Amazon Rekognition Video inappropriate or offensive content detection in a stored video is an asynchronous operation. You start analysis by calling StartContentModeration which returns a job identifier (JobId). When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartContentModeration. To get the results of the content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Working with Stored Videos in the Amazon Rekognition Devlopers Guide. GetContentModeration returns detected inappropriate, unwanted, or offensive content moderation labels, and the time they are detected, in an array, ModerationLabels, of ContentModerationDetection objects. By default, the moderated labels are returned sorted by time, in milliseconds from the start of the video. You can also sort them by moderated label by specifying NAME for the SortBy input parameter. Since video analysis can return a large number of results, use the MaxResults parameter to limit the number of labels returned in a single call to GetContentModeration. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetContentModeration and populate the NextToken request parameter with the value of NextToken returned from the previous call to GetContentModeration. For more information, see Content moderation in the Amazon Rekognition Developer Guide.
197
197
  */
198
198
  getContentModeration(callback?: (err: AWSError, data: Rekognition.Types.GetContentModerationResponse) => void): Request<Rekognition.Types.GetContentModerationResponse, AWSError>;
199
199
  /**
@@ -317,11 +317,11 @@ declare class Rekognition extends Service {
317
317
  */
318
318
  startCelebrityRecognition(callback?: (err: AWSError, data: Rekognition.Types.StartCelebrityRecognitionResponse) => void): Request<Rekognition.Types.StartCelebrityRecognitionResponse, AWSError>;
319
319
  /**
320
- * Starts asynchronous detection of unsafe content in a stored video. Amazon Rekognition Video can moderate content in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartContentModeration returns a job identifier (JobId) which you use to get the results of the analysis. When unsafe content analysis is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel. To get the results of the unsafe content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
320
+ * Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs. Amazon Rekognition Video can moderate content in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartContentModeration returns a job identifier (JobId) which you use to get the results of the analysis. When content analysis is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel. To get the results of the content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Content moderation in the Amazon Rekognition Developer Guide.
321
321
  */
322
322
  startContentModeration(params: Rekognition.Types.StartContentModerationRequest, callback?: (err: AWSError, data: Rekognition.Types.StartContentModerationResponse) => void): Request<Rekognition.Types.StartContentModerationResponse, AWSError>;
323
323
  /**
324
- * Starts asynchronous detection of unsafe content in a stored video. Amazon Rekognition Video can moderate content in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartContentModeration returns a job identifier (JobId) which you use to get the results of the analysis. When unsafe content analysis is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel. To get the results of the unsafe content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
324
+ * Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs. Amazon Rekognition Video can moderate content in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartContentModeration returns a job identifier (JobId) which you use to get the results of the analysis. When content analysis is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel. To get the results of the content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration. For more information, see Content moderation in the Amazon Rekognition Developer Guide.
325
325
  */
326
326
  startContentModeration(callback?: (err: AWSError, data: Rekognition.Types.StartContentModerationResponse) => void): Request<Rekognition.Types.StartContentModerationResponse, AWSError>;
327
327
  /**
@@ -483,6 +483,16 @@ declare namespace Rekognition {
483
483
  */
484
484
  Confidence?: Percent;
485
485
  }
486
+ export interface BlackFrame {
487
+ /**
488
+ * A threshold used to determine the maximum luminance value for a pixel to be considered black. In a full color range video, luminance values range from 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum black pixel value is computed as follows: max_black_pixel_value = minimum_luminance + MaxPixelThreshold *luminance_range. For example, for a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 + 0.1 * (255-0) = 25.5. The default value of MaxPixelThreshold is 0.2, which maps to a max_black_pixel_value of 51 for a full range video. You can lower this threshold to be more strict on black levels.
489
+ */
490
+ MaxPixelThreshold?: MaxPixelThreshold;
491
+ /**
492
+ * The minimum percentage of pixels in a frame that need to have a luminance below the max_black_pixel_value for a frame to be considered a black frame. Luminance is calculated using the BT.709 matrix. The default value is 99, which means at least 99% of all pixels in the frame are black pixels as per the MaxPixelThreshold set. You can reduce this value to allow more noise on the black frame.
493
+ */
494
+ MinCoveragePercentage?: MinCoveragePercentage;
495
+ }
486
496
  export type BodyPart = "FACE"|"HEAD"|"LEFT_HAND"|"RIGHT_HAND"|string;
487
497
  export type BodyParts = ProtectiveEquipmentBodyPart[];
488
498
  export type Boolean = boolean;
@@ -659,11 +669,11 @@ declare namespace Rekognition {
659
669
  export type ContentClassifiers = ContentClassifier[];
660
670
  export interface ContentModerationDetection {
661
671
  /**
662
- * Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
672
+ * Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
663
673
  */
664
674
  Timestamp?: Timestamp;
665
675
  /**
666
- * The unsafe content label detected by in the stored video.
676
+ * The content moderation label detected by in the stored video.
667
677
  */
668
678
  ModerationLabel?: ModerationLabel;
669
679
  }
@@ -725,7 +735,7 @@ declare namespace Rekognition {
725
735
  */
726
736
  VersionName: VersionName;
727
737
  /**
728
- * The Amazon S3 location to store the results of training.
738
+ * The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as long as the caller has s3:PutObject permissions on the S3 bucket.
729
739
  */
730
740
  OutputConfig: OutputConfig;
731
741
  /**
@@ -741,7 +751,7 @@ declare namespace Rekognition {
741
751
  */
742
752
  Tags?: TagMap;
743
753
  /**
744
- * The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). You can supply the Amazon Resource Name (ARN) of your CMK, the ID of your CMK, or an alias for your CMK. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig). If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.
754
+ * The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK). You can supply the Amazon Resource Name (ARN) of your CMK, the ID of your CMK, an alias for your CMK, or an alias ARN. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig). If you choose to use your own CMK, you need the following permissions on the CMK. kms:CreateGrant kms:DescribeKey kms:GenerateDataKey kms:Decrypt If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.
745
755
  */
746
756
  KmsKeyId?: KmsKeyId;
747
757
  }
@@ -1420,7 +1430,7 @@ declare namespace Rekognition {
1420
1430
  }
1421
1431
  export interface GetContentModerationRequest {
1422
1432
  /**
1423
- * The identifier for the unsafe content job. Use JobId to identify the job in a subsequent call to GetContentModeration.
1433
+ * The identifier for the inappropriate, unwanted, or offensive content moderation job. Use JobId to identify the job in a subsequent call to GetContentModeration.
1424
1434
  */
1425
1435
  JobId: JobId;
1426
1436
  /**
@@ -1428,7 +1438,7 @@ declare namespace Rekognition {
1428
1438
  */
1429
1439
  MaxResults?: MaxResults;
1430
1440
  /**
1431
- * If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of unsafe content labels.
1441
+ * If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.
1432
1442
  */
1433
1443
  NextToken?: PaginationToken;
1434
1444
  /**
@@ -1438,7 +1448,7 @@ declare namespace Rekognition {
1438
1448
  }
1439
1449
  export interface GetContentModerationResponse {
1440
1450
  /**
1441
- * The current status of the unsafe content analysis job.
1451
+ * The current status of the content moderation analysis job.
1442
1452
  */
1443
1453
  JobStatus?: VideoJobStatus;
1444
1454
  /**
@@ -1450,15 +1460,15 @@ declare namespace Rekognition {
1450
1460
  */
1451
1461
  VideoMetadata?: VideoMetadata;
1452
1462
  /**
1453
- * The detected unsafe content labels and the time(s) they were detected.
1463
+ * The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.
1454
1464
  */
1455
1465
  ModerationLabels?: ContentModerationDetections;
1456
1466
  /**
1457
- * If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of unsafe content labels.
1467
+ * If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of content moderation labels.
1458
1468
  */
1459
1469
  NextToken?: PaginationToken;
1460
1470
  /**
1461
- * Version number of the moderation detection model that was used to detect unsafe content.
1471
+ * Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.
1462
1472
  */
1463
1473
  ModerationModelVersion?: String;
1464
1474
  }
@@ -1973,7 +1983,9 @@ declare namespace Rekognition {
1973
1983
  }
1974
1984
  export type MaxFaces = number;
1975
1985
  export type MaxFacesToIndex = number;
1986
+ export type MaxPixelThreshold = number;
1976
1987
  export type MaxResults = number;
1988
+ export type MinCoveragePercentage = number;
1977
1989
  export interface ModerationLabel {
1978
1990
  /**
1979
1991
  * Specifies the confidence that Amazon Rekognition has that the label has been correctly identified. If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.
@@ -2406,6 +2418,18 @@ declare namespace Rekognition {
2406
2418
  * If the segment is a shot detection, contains information about the shot detection.
2407
2419
  */
2408
2420
  ShotSegment?: ShotSegment;
2421
+ /**
2422
+ * The frame number of the start of a video segment, using a frame index that starts with 0.
2423
+ */
2424
+ StartFrameNumber?: ULong;
2425
+ /**
2426
+ * The frame number at the end of a video segment, using a frame index that starts with 0.
2427
+ */
2428
+ EndFrameNumber?: ULong;
2429
+ /**
2430
+ * The duration of a video segment, expressed in frames.
2431
+ */
2432
+ DurationFrames?: ULong;
2409
2433
  }
2410
2434
  export type SegmentDetections = SegmentDetection[];
2411
2435
  export type SegmentType = "TECHNICAL_CUE"|"SHOT"|string;
@@ -2451,7 +2475,7 @@ declare namespace Rekognition {
2451
2475
  */
2452
2476
  ClientRequestToken?: ClientRequestToken;
2453
2477
  /**
2454
- * The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity recognition analysis to.
2478
+ * The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
2455
2479
  */
2456
2480
  NotificationChannel?: NotificationChannel;
2457
2481
  /**
@@ -2467,7 +2491,7 @@ declare namespace Rekognition {
2467
2491
  }
2468
2492
  export interface StartContentModerationRequest {
2469
2493
  /**
2470
- * The video in which you want to detect unsafe content. The video must be stored in an Amazon S3 bucket.
2494
+ * The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket.
2471
2495
  */
2472
2496
  Video: Video;
2473
2497
  /**
@@ -2479,7 +2503,7 @@ declare namespace Rekognition {
2479
2503
  */
2480
2504
  ClientRequestToken?: ClientRequestToken;
2481
2505
  /**
2482
- * The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the unsafe content analysis to.
2506
+ * The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
2483
2507
  */
2484
2508
  NotificationChannel?: NotificationChannel;
2485
2509
  /**
@@ -2489,7 +2513,7 @@ declare namespace Rekognition {
2489
2513
  }
2490
2514
  export interface StartContentModerationResponse {
2491
2515
  /**
2492
- * The identifier for the unsafe content analysis job. Use JobId to identify the job in a subsequent call to GetContentModeration.
2516
+ * The identifier for the content analysis job. Use JobId to identify the job in a subsequent call to GetContentModeration.
2493
2517
  */
2494
2518
  JobId?: JobId;
2495
2519
  }
@@ -2503,7 +2527,7 @@ declare namespace Rekognition {
2503
2527
  */
2504
2528
  ClientRequestToken?: ClientRequestToken;
2505
2529
  /**
2506
- * The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation.
2530
+ * The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
2507
2531
  */
2508
2532
  NotificationChannel?: NotificationChannel;
2509
2533
  /**
@@ -2539,7 +2563,7 @@ declare namespace Rekognition {
2539
2563
  */
2540
2564
  CollectionId: CollectionId;
2541
2565
  /**
2542
- * The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search.
2566
+ * The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
2543
2567
  */
2544
2568
  NotificationChannel?: NotificationChannel;
2545
2569
  /**
@@ -2567,7 +2591,7 @@ declare namespace Rekognition {
2567
2591
  */
2568
2592
  MinConfidence?: Percent;
2569
2593
  /**
2570
- * The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to.
2594
+ * The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
2571
2595
  */
2572
2596
  NotificationChannel?: NotificationChannel;
2573
2597
  /**
@@ -2591,7 +2615,7 @@ declare namespace Rekognition {
2591
2615
  */
2592
2616
  ClientRequestToken?: ClientRequestToken;
2593
2617
  /**
2594
- * The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection operation to.
2618
+ * The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
2595
2619
  */
2596
2620
  NotificationChannel?: NotificationChannel;
2597
2621
  /**
@@ -2638,7 +2662,7 @@ declare namespace Rekognition {
2638
2662
  */
2639
2663
  ClientRequestToken?: ClientRequestToken;
2640
2664
  /**
2641
- * The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation.
2665
+ * The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
2642
2666
  */
2643
2667
  NotificationChannel?: NotificationChannel;
2644
2668
  /**
@@ -2679,6 +2703,10 @@ declare namespace Rekognition {
2679
2703
  * Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value. If you don't specify MinSegmentConfidence, GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.
2680
2704
  */
2681
2705
  MinSegmentConfidence?: SegmentConfidence;
2706
+ /**
2707
+ * A filter that allows you to control the black frame detection by specifying the black levels and pixel coverage of black pixels in a frame. Videos can come from multiple sources, formats, and time periods, with different standards and varying noise levels for black frames that need to be accounted for.
2708
+ */
2709
+ BlackFrame?: BlackFrame;
2682
2710
  }
2683
2711
  export interface StartTextDetectionFilters {
2684
2712
  /**
@@ -2805,7 +2833,7 @@ declare namespace Rekognition {
2805
2833
  */
2806
2834
  Confidence?: SegmentConfidence;
2807
2835
  }
2808
- export type TechnicalCueType = "ColorBars"|"EndCredits"|"BlackFrames"|string;
2836
+ export type TechnicalCueType = "ColorBars"|"EndCredits"|"BlackFrames"|"OpeningCredits"|"StudioLogo"|"Slate"|"Content"|string;
2809
2837
  export interface TestingData {
2810
2838
  /**
2811
2839
  * The assets used for testing.
@@ -2932,6 +2960,7 @@ declare namespace Rekognition {
2932
2960
  */
2933
2961
  S3Object?: S3Object;
2934
2962
  }
2963
+ export type VideoColorRange = "FULL"|"LIMITED"|string;
2935
2964
  export type VideoJobStatus = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
2936
2965
  export interface VideoMetadata {
2937
2966
  /**
@@ -2958,6 +2987,10 @@ declare namespace Rekognition {
2958
2987
  * Horizontal pixel dimension of the video.
2959
2988
  */
2960
2989
  FrameWidth?: ULong;
2990
+ /**
2991
+ * A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
2992
+ */
2993
+ ColorRange?: VideoColorRange;
2961
2994
  }
2962
2995
  export type VideoMetadataList = VideoMetadata[];
2963
2996
  /**