@aws-sdk/client-rekognition 3.431.0 → 3.434.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/README.md +24 -0
- package/dist-cjs/Rekognition.js +6 -0
- package/dist-cjs/commands/GetMediaAnalysisJobCommand.js +51 -0
- package/dist-cjs/commands/ListMediaAnalysisJobsCommand.js +51 -0
- package/dist-cjs/commands/StartMediaAnalysisJobCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +35 -1
- package/dist-cjs/pagination/ListMediaAnalysisJobsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +270 -3
- package/dist-es/Rekognition.js +6 -0
- package/dist-es/commands/GetMediaAnalysisJobCommand.js +47 -0
- package/dist-es/commands/ListMediaAnalysisJobsCommand.js +47 -0
- package/dist-es/commands/StartMediaAnalysisJobCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +33 -0
- package/dist-es/pagination/ListMediaAnalysisJobsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +262 -1
- package/dist-types/Rekognition.d.ts +21 -0
- package/dist-types/RekognitionClient.d.ts +5 -2
- package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +134 -0
- package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +139 -0
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +1 -1
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -1
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +1 -2
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
- package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +135 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +336 -406
- package/dist-types/models/models_1.d.ts +457 -1
- package/dist-types/pagination/ListMediaAnalysisJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/Rekognition.d.ts +51 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetMediaAnalysisJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListMediaAnalysisJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +95 -74
- package/dist-types/ts3.4/models/models_1.d.ts +96 -2
- package/dist-types/ts3.4/pagination/ListMediaAnalysisJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +32 -32
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListMediaAnalysisJobsRequest, ListMediaAnalysisJobsResponse } from "../models/models_0";
|
|
5
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListMediaAnalysisJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListMediaAnalysisJobsCommandInput extends ListMediaAnalysisJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListMediaAnalysisJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListMediaAnalysisJobsCommandOutput extends ListMediaAnalysisJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of media analysis jobs. Results are sorted by <code>CreationTimestamp</code> in descending order.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RekognitionClient, ListMediaAnalysisJobsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
31
|
+
* // const { RekognitionClient, ListMediaAnalysisJobsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
32
|
+
* const client = new RekognitionClient(config);
|
|
33
|
+
* const input = { // ListMediaAnalysisJobsRequest
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListMediaAnalysisJobsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListMediaAnalysisJobsResponse
|
|
40
|
+
* // NextToken: "STRING_VALUE",
|
|
41
|
+
* // MediaAnalysisJobs: [ // MediaAnalysisJobDescriptions // required
|
|
42
|
+
* // { // MediaAnalysisJobDescription
|
|
43
|
+
* // JobId: "STRING_VALUE", // required
|
|
44
|
+
* // JobName: "STRING_VALUE",
|
|
45
|
+
* // OperationsConfig: { // MediaAnalysisOperationsConfig
|
|
46
|
+
* // DetectModerationLabels: { // MediaAnalysisDetectModerationLabelsConfig
|
|
47
|
+
* // MinConfidence: Number("float"),
|
|
48
|
+
* // ProjectVersion: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // Status: "CREATED" || "QUEUED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
52
|
+
* // FailureDetails: { // MediaAnalysisJobFailureDetails
|
|
53
|
+
* // Code: "INTERNAL_ERROR" || "INVALID_S3_OBJECT" || "INVALID_MANIFEST" || "INVALID_OUTPUT_CONFIG" || "INVALID_KMS_KEY" || "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "RESOURCE_NOT_READY" || "THROTTLED",
|
|
54
|
+
* // Message: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // CreationTimestamp: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // CompletionTimestamp: new Date("TIMESTAMP"),
|
|
58
|
+
* // Input: { // MediaAnalysisInput
|
|
59
|
+
* // S3Object: { // S3Object
|
|
60
|
+
* // Bucket: "STRING_VALUE",
|
|
61
|
+
* // Name: "STRING_VALUE",
|
|
62
|
+
* // Version: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // OutputConfig: { // MediaAnalysisOutputConfig
|
|
66
|
+
* // S3Bucket: "STRING_VALUE", // required
|
|
67
|
+
* // S3KeyPrefix: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
70
|
+
* // Results: { // MediaAnalysisResults
|
|
71
|
+
* // S3Object: {
|
|
72
|
+
* // Bucket: "STRING_VALUE",
|
|
73
|
+
* // Name: "STRING_VALUE",
|
|
74
|
+
* // Version: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // ManifestSummary: { // MediaAnalysisManifestSummary
|
|
78
|
+
* // S3Object: {
|
|
79
|
+
* // Bucket: "STRING_VALUE",
|
|
80
|
+
* // Name: "STRING_VALUE",
|
|
81
|
+
* // Version: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param ListMediaAnalysisJobsCommandInput - {@link ListMediaAnalysisJobsCommandInput}
|
|
91
|
+
* @returns {@link ListMediaAnalysisJobsCommandOutput}
|
|
92
|
+
* @see {@link ListMediaAnalysisJobsCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link ListMediaAnalysisJobsCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
97
|
+
* <p>You are not authorized to perform the action.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InternalServerError} (server fault)
|
|
100
|
+
* <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link InvalidPaginationTokenException} (client fault)
|
|
103
|
+
* <p>Pagination token in the request is not valid.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
106
|
+
* <p>Input parameter violated a constraint. Validate your parameter before calling the API
|
|
107
|
+
* operation again.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
110
|
+
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
111
|
+
* limit, contact Amazon Rekognition.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (server fault)
|
|
114
|
+
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link RekognitionServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
export declare class ListMediaAnalysisJobsCommand extends $Command<ListMediaAnalysisJobsCommandInput, ListMediaAnalysisJobsCommandOutput, RekognitionClientResolvedConfig> {
|
|
121
|
+
readonly input: ListMediaAnalysisJobsCommandInput;
|
|
122
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
constructor(input: ListMediaAnalysisJobsCommandInput);
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMediaAnalysisJobsCommandInput, ListMediaAnalysisJobsCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
private serialize;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
private deserialize;
|
|
139
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutProjectPolicyRequest, PutProjectPolicyResponse } from "../models/
|
|
4
|
+
import { PutProjectPolicyRequest, PutProjectPolicyResponse } from "../models/models_1";
|
|
5
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { RecognizeCelebritiesRequest, RecognizeCelebritiesResponse } from "../models/
|
|
4
|
+
import { RecognizeCelebritiesRequest, RecognizeCelebritiesResponse } from "../models/models_1";
|
|
5
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { SearchFacesByImageRequest, SearchFacesByImageResponse } from "../models/
|
|
4
|
+
import { SearchFacesByImageRequest, SearchFacesByImageResponse } from "../models/models_1";
|
|
5
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { SearchFacesRequest, SearchFacesResponse } from "../models/
|
|
4
|
+
import { SearchFacesRequest, SearchFacesResponse } from "../models/models_1";
|
|
5
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { SearchUsersByImageRequest } from "../models/
|
|
5
|
-
import { SearchUsersByImageResponse } from "../models/models_1";
|
|
4
|
+
import { SearchUsersByImageRequest, SearchUsersByImageResponse } from "../models/models_1";
|
|
6
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { SearchUsersRequest, SearchUsersResponse } from "../models/
|
|
4
|
+
import { SearchUsersRequest, SearchUsersResponse } from "../models/models_1";
|
|
5
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { StartMediaAnalysisJobRequest, StartMediaAnalysisJobResponse } from "../models/models_1";
|
|
5
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartMediaAnalysisJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartMediaAnalysisJobCommandInput extends StartMediaAnalysisJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartMediaAnalysisJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartMediaAnalysisJobCommandOutput extends StartMediaAnalysisJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Initiates a new media analysis job. Accepts a manifest file in an Amazon S3 bucket. The
|
|
27
|
+
* output is a manifest file and a summary of the manifest stored in the Amazon S3 bucket.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RekognitionClient, StartMediaAnalysisJobCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
32
|
+
* // const { RekognitionClient, StartMediaAnalysisJobCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
33
|
+
* const client = new RekognitionClient(config);
|
|
34
|
+
* const input = { // StartMediaAnalysisJobRequest
|
|
35
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
36
|
+
* JobName: "STRING_VALUE",
|
|
37
|
+
* OperationsConfig: { // MediaAnalysisOperationsConfig
|
|
38
|
+
* DetectModerationLabels: { // MediaAnalysisDetectModerationLabelsConfig
|
|
39
|
+
* MinConfidence: Number("float"),
|
|
40
|
+
* ProjectVersion: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* Input: { // MediaAnalysisInput
|
|
44
|
+
* S3Object: { // S3Object
|
|
45
|
+
* Bucket: "STRING_VALUE",
|
|
46
|
+
* Name: "STRING_VALUE",
|
|
47
|
+
* Version: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* OutputConfig: { // MediaAnalysisOutputConfig
|
|
51
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
52
|
+
* S3KeyPrefix: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* KmsKeyId: "STRING_VALUE",
|
|
55
|
+
* };
|
|
56
|
+
* const command = new StartMediaAnalysisJobCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // StartMediaAnalysisJobResponse
|
|
59
|
+
* // JobId: "STRING_VALUE", // required
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param StartMediaAnalysisJobCommandInput - {@link StartMediaAnalysisJobCommandInput}
|
|
65
|
+
* @returns {@link StartMediaAnalysisJobCommandOutput}
|
|
66
|
+
* @see {@link StartMediaAnalysisJobCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link StartMediaAnalysisJobCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You are not authorized to perform the action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
74
|
+
* <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
|
|
75
|
+
* parameters is different from the previous call to the operation.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerError} (server fault)
|
|
78
|
+
* <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidManifestException} (client fault)
|
|
81
|
+
* <p>Indicates that a provided manifest file is empty or larger than the allowed limit.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
84
|
+
* <p>Input parameter violated a constraint. Validate your parameter before calling the API
|
|
85
|
+
* operation again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InvalidS3ObjectException} (client fault)
|
|
88
|
+
* <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
91
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
92
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
93
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
94
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
95
|
+
* the Amazon Rekognition service limit. </p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
98
|
+
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
99
|
+
* limit, contact Amazon Rekognition.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
102
|
+
* <p>The resource specified in the request cannot be found.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotReadyException} (client fault)
|
|
105
|
+
* <p>The requested resource isn't ready. For example,
|
|
106
|
+
* this exception occurs when you call <code>DetectCustomLabels</code> with a
|
|
107
|
+
* model version that isn't deployed. </p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ThrottlingException} (server fault)
|
|
110
|
+
* <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link RekognitionServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
export declare class StartMediaAnalysisJobCommand extends $Command<StartMediaAnalysisJobCommandInput, StartMediaAnalysisJobCommandOutput, RekognitionClientResolvedConfig> {
|
|
117
|
+
readonly input: StartMediaAnalysisJobCommandInput;
|
|
118
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
constructor(input: StartMediaAnalysisJobCommandInput);
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartMediaAnalysisJobCommandInput, StartMediaAnalysisJobCommandOutput>;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
private serialize;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
private deserialize;
|
|
135
|
+
}
|
|
@@ -36,6 +36,7 @@ export * from "./GetFaceDetectionCommand";
|
|
|
36
36
|
export * from "./GetFaceLivenessSessionResultsCommand";
|
|
37
37
|
export * from "./GetFaceSearchCommand";
|
|
38
38
|
export * from "./GetLabelDetectionCommand";
|
|
39
|
+
export * from "./GetMediaAnalysisJobCommand";
|
|
39
40
|
export * from "./GetPersonTrackingCommand";
|
|
40
41
|
export * from "./GetSegmentDetectionCommand";
|
|
41
42
|
export * from "./GetTextDetectionCommand";
|
|
@@ -44,6 +45,7 @@ export * from "./ListCollectionsCommand";
|
|
|
44
45
|
export * from "./ListDatasetEntriesCommand";
|
|
45
46
|
export * from "./ListDatasetLabelsCommand";
|
|
46
47
|
export * from "./ListFacesCommand";
|
|
48
|
+
export * from "./ListMediaAnalysisJobsCommand";
|
|
47
49
|
export * from "./ListProjectPoliciesCommand";
|
|
48
50
|
export * from "./ListStreamProcessorsCommand";
|
|
49
51
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -59,6 +61,7 @@ export * from "./StartContentModerationCommand";
|
|
|
59
61
|
export * from "./StartFaceDetectionCommand";
|
|
60
62
|
export * from "./StartFaceSearchCommand";
|
|
61
63
|
export * from "./StartLabelDetectionCommand";
|
|
64
|
+
export * from "./StartMediaAnalysisJobCommand";
|
|
62
65
|
export * from "./StartPersonTrackingCommand";
|
|
63
66
|
export * from "./StartProjectVersionCommand";
|
|
64
67
|
export * from "./StartSegmentDetectionCommand";
|