@aws-sdk/client-rekognition 3.609.0 → 3.613.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/dist-types/commands/CreateDatasetCommand.d.ts +3 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +3 -0
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +12 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +4 -4
|
@@ -68,6 +68,9 @@ declare const CreateDatasetCommand_base: {
|
|
|
68
68
|
* },
|
|
69
69
|
* DatasetType: "TRAIN" || "TEST", // required
|
|
70
70
|
* ProjectArn: "STRING_VALUE", // required
|
|
71
|
+
* Tags: { // TagMap
|
|
72
|
+
* "<keys>": "STRING_VALUE",
|
|
73
|
+
* },
|
|
71
74
|
* };
|
|
72
75
|
* const command = new CreateDatasetCommand(input);
|
|
73
76
|
* const response = await client.send(command);
|
|
@@ -43,6 +43,9 @@ declare const CreateProjectCommand_base: {
|
|
|
43
43
|
* ProjectName: "STRING_VALUE", // required
|
|
44
44
|
* Feature: "CONTENT_MODERATION" || "CUSTOM_LABELS",
|
|
45
45
|
* AutoUpdate: "ENABLED" || "DISABLED",
|
|
46
|
+
* Tags: { // TagMap
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
46
49
|
* };
|
|
47
50
|
* const command = new CreateProjectCommand(input);
|
|
48
51
|
* const response = await client.send(command);
|
|
@@ -93,6 +93,8 @@ declare const GetLabelDetectionCommand_base: {
|
|
|
93
93
|
* next set of results. To get the next page of results, call <code>GetlabelDetection</code> and
|
|
94
94
|
* populate the <code>NextToken</code> request parameter with the token value returned from the
|
|
95
95
|
* previous call to <code>GetLabelDetection</code>.</p>
|
|
96
|
+
* <p>If you are retrieving results while using the Amazon Simple Notification Service, note that you will receive an
|
|
97
|
+
* "ERROR" notification if the job encounters an issue.</p>
|
|
96
98
|
* @example
|
|
97
99
|
* Use a bare-bones client and the command you need to make an API call.
|
|
98
100
|
* ```javascript
|
|
@@ -2001,6 +2001,11 @@ export interface CreateDatasetRequest {
|
|
|
2001
2001
|
* @public
|
|
2002
2002
|
*/
|
|
2003
2003
|
ProjectArn: string | undefined;
|
|
2004
|
+
/**
|
|
2005
|
+
* <p>A set of tags (key-value pairs) that you want to attach to the dataset.</p>
|
|
2006
|
+
* @public
|
|
2007
|
+
*/
|
|
2008
|
+
Tags?: Record<string, string>;
|
|
2004
2009
|
}
|
|
2005
2010
|
/**
|
|
2006
2011
|
* @public
|
|
@@ -2141,6 +2146,11 @@ export interface CreateProjectRequest {
|
|
|
2141
2146
|
* @public
|
|
2142
2147
|
*/
|
|
2143
2148
|
AutoUpdate?: ProjectAutoUpdate;
|
|
2149
|
+
/**
|
|
2150
|
+
* <p>A set of tags (key-value pairs) that you want to attach to the project.</p>
|
|
2151
|
+
* @public
|
|
2152
|
+
*/
|
|
2153
|
+
Tags?: Record<string, string>;
|
|
2144
2154
|
}
|
|
2145
2155
|
/**
|
|
2146
2156
|
* @public
|
|
@@ -4348,8 +4358,8 @@ export interface HumanLoopActivationOutput {
|
|
|
4348
4358
|
*/
|
|
4349
4359
|
export interface DetectModerationLabelsResponse {
|
|
4350
4360
|
/**
|
|
4351
|
-
* <p>Array of detected Moderation labels
|
|
4352
|
-
* video, they were detected.</p>
|
|
4361
|
+
* <p>Array of detected Moderation labels. For video operations, this includes the time,
|
|
4362
|
+
* in milliseconds from the start of the video, they were detected.</p>
|
|
4353
4363
|
* @public
|
|
4354
4364
|
*/
|
|
4355
4365
|
ModerationLabels?: ModerationLabel[];
|
|
@@ -572,6 +572,7 @@ export interface CreateDatasetRequest {
|
|
|
572
572
|
DatasetSource?: DatasetSource;
|
|
573
573
|
DatasetType: DatasetType | undefined;
|
|
574
574
|
ProjectArn: string | undefined;
|
|
575
|
+
Tags?: Record<string, string>;
|
|
575
576
|
}
|
|
576
577
|
export interface CreateDatasetResponse {
|
|
577
578
|
DatasetArn?: string;
|
|
@@ -608,6 +609,7 @@ export interface CreateProjectRequest {
|
|
|
608
609
|
ProjectName: string | undefined;
|
|
609
610
|
Feature?: CustomizationFeature;
|
|
610
611
|
AutoUpdate?: ProjectAutoUpdate;
|
|
612
|
+
Tags?: Record<string, string>;
|
|
611
613
|
}
|
|
612
614
|
export interface CreateProjectResponse {
|
|
613
615
|
ProjectArn?: string;
|
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.
|
|
4
|
+
"version": "3.613.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rekognition",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.613.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.613.0",
|
|
25
25
|
"@aws-sdk/core": "3.609.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.613.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.609.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.609.0",
|