@aws-sdk/client-rekognition 3.99.0 → 3.109.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-rekognition
9
+
10
+
11
+
12
+
13
+
14
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-rekognition
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-rekognition
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class RekognitionClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var RekognitionClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -1321,9 +1321,7 @@ export interface CreateCollectionRequest {
1321
1321
  * A set of tags (key-value pairs) that you want to attach to the collection.
1322
1322
  * </p>
1323
1323
  */
1324
- Tags?: {
1325
- [key: string]: string;
1326
- };
1324
+ Tags?: Record<string, string>;
1327
1325
  }
1328
1326
  export declare namespace CreateCollectionRequest {
1329
1327
  /**
@@ -1636,9 +1634,7 @@ export interface CreateProjectVersionRequest {
1636
1634
  * A set of tags (key-value pairs) that you want to attach to the model.
1637
1635
  * </p>
1638
1636
  */
1639
- Tags?: {
1640
- [key: string]: string;
1641
- };
1637
+ Tags?: Record<string, string>;
1642
1638
  /**
1643
1639
  * <p>The identifier for your AWS Key Management Service key (AWS KMS key).
1644
1640
  * You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key,
@@ -1956,9 +1952,7 @@ export interface CreateStreamProcessorRequest {
1956
1952
  * A set of tags (key-value pairs) that you want to attach to the stream processor.
1957
1953
  * </p>
1958
1954
  */
1959
- Tags?: {
1960
- [key: string]: string;
1961
- };
1955
+ Tags?: Record<string, string>;
1962
1956
  /**
1963
1957
  * <p>The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the object detection results and completion status of a video analysis operation.</p>
1964
1958
  * <p>Amazon Rekognition publishes a notification the first time an object of interest or a person is detected in the video stream. For example, if Amazon Rekognition
@@ -5128,9 +5122,7 @@ export interface ListTagsForResourceResponse {
5128
5122
  * A list of key-value tags assigned to the resource.
5129
5123
  * </p>
5130
5124
  */
5131
- Tags?: {
5132
- [key: string]: string;
5133
- };
5125
+ Tags?: Record<string, string>;
5134
5126
  }
5135
5127
  export declare namespace ListTagsForResourceResponse {
5136
5128
  /**
@@ -6013,9 +6005,7 @@ export interface TagResourceRequest {
6013
6005
  * The key-value tags to assign to the resource.
6014
6006
  * </p>
6015
6007
  */
6016
- Tags: {
6017
- [key: string]: string;
6018
- } | undefined;
6008
+ Tags: Record<string, string> | undefined;
6019
6009
  }
6020
6010
  export declare namespace TagResourceRequest {
6021
6011
  /**
@@ -660,9 +660,7 @@ export interface CreateCollectionRequest {
660
660
 
661
661
  CollectionId: string | undefined;
662
662
 
663
- Tags?: {
664
- [key: string]: string;
665
- };
663
+ Tags?: Record<string, string>;
666
664
  }
667
665
  export declare namespace CreateCollectionRequest {
668
666
 
@@ -829,9 +827,7 @@ export interface CreateProjectVersionRequest {
829
827
 
830
828
  TestingData?: TestingData;
831
829
 
832
- Tags?: {
833
- [key: string]: string;
834
- };
830
+ Tags?: Record<string, string>;
835
831
 
836
832
  KmsKeyId?: string;
837
833
  }
@@ -970,9 +966,7 @@ export interface CreateStreamProcessorRequest {
970
966
 
971
967
  RoleArn: string | undefined;
972
968
 
973
- Tags?: {
974
- [key: string]: string;
975
- };
969
+ Tags?: Record<string, string>;
976
970
 
977
971
  NotificationChannel?: StreamProcessorNotificationChannel;
978
972
 
@@ -2524,9 +2518,7 @@ export declare namespace ListTagsForResourceRequest {
2524
2518
  }
2525
2519
  export interface ListTagsForResourceResponse {
2526
2520
 
2527
- Tags?: {
2528
- [key: string]: string;
2529
- };
2521
+ Tags?: Record<string, string>;
2530
2522
  }
2531
2523
  export declare namespace ListTagsForResourceResponse {
2532
2524
 
@@ -2963,9 +2955,7 @@ export interface TagResourceRequest {
2963
2955
 
2964
2956
  ResourceArn: string | undefined;
2965
2957
 
2966
- Tags: {
2967
- [key: string]: string;
2968
- } | undefined;
2958
+ Tags: Record<string, string> | undefined;
2969
2959
  }
2970
2960
  export declare namespace TagResourceRequest {
2971
2961
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognition",
3
3
  "description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
4
- "version": "3.99.0",
4
+ "version": "3.109.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,37 +18,38 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.99.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.99.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
51
- "@aws-sdk/util-waiter": "3.78.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
52
+ "@aws-sdk/util-waiter": "3.109.0",
52
53
  "tslib": "^2.3.1"
53
54
  },
54
55
  "devDependencies": {