@aws-sdk/client-sagemaker-a2i-runtime 3.301.0 → 3.303.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-cjs/models/models_0.js +15 -18
- package/dist-es/models/models_0.js +15 -18
- package/dist-types/models/models_0.d.ts +30 -15
- package/dist-types/ts3.4/models/models_0.d.ts +20 -15
- package/package.json +34 -34
|
@@ -58,19 +58,17 @@ class ValidationException extends SageMakerA2IRuntimeServiceException_1.SageMake
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ValidationException = ValidationException;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
SortOrder["DESCENDING"] = "Descending";
|
|
73
|
-
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
61
|
+
exports.HumanLoopStatus = {
|
|
62
|
+
COMPLETED: "Completed",
|
|
63
|
+
FAILED: "Failed",
|
|
64
|
+
IN_PROGRESS: "InProgress",
|
|
65
|
+
STOPPED: "Stopped",
|
|
66
|
+
STOPPING: "Stopping",
|
|
67
|
+
};
|
|
68
|
+
exports.SortOrder = {
|
|
69
|
+
ASCENDING: "Ascending",
|
|
70
|
+
DESCENDING: "Descending",
|
|
71
|
+
};
|
|
74
72
|
class ConflictException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
75
73
|
constructor(opts) {
|
|
76
74
|
super({
|
|
@@ -99,8 +97,7 @@ class ServiceQuotaExceededException extends SageMakerA2IRuntimeServiceException_
|
|
|
99
97
|
}
|
|
100
98
|
}
|
|
101
99
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
})(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
|
|
100
|
+
exports.ContentClassifier = {
|
|
101
|
+
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
102
|
+
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
103
|
+
};
|
|
@@ -51,19 +51,17 @@ export class ValidationException extends __BaseException {
|
|
|
51
51
|
this.Message = opts.Message;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
SortOrder["DESCENDING"] = "Descending";
|
|
66
|
-
})(SortOrder || (SortOrder = {}));
|
|
54
|
+
export const HumanLoopStatus = {
|
|
55
|
+
COMPLETED: "Completed",
|
|
56
|
+
FAILED: "Failed",
|
|
57
|
+
IN_PROGRESS: "InProgress",
|
|
58
|
+
STOPPED: "Stopped",
|
|
59
|
+
STOPPING: "Stopping",
|
|
60
|
+
};
|
|
61
|
+
export const SortOrder = {
|
|
62
|
+
ASCENDING: "Ascending",
|
|
63
|
+
DESCENDING: "Descending",
|
|
64
|
+
};
|
|
67
65
|
export class ConflictException extends __BaseException {
|
|
68
66
|
constructor(opts) {
|
|
69
67
|
super({
|
|
@@ -90,8 +88,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
90
88
|
this.Message = opts.Message;
|
|
91
89
|
}
|
|
92
90
|
}
|
|
93
|
-
export
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
})(ContentClassifier || (ContentClassifier = {}));
|
|
91
|
+
export const ContentClassifier = {
|
|
92
|
+
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
93
|
+
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
94
|
+
};
|
|
@@ -92,14 +92,19 @@ export interface HumanLoopOutput {
|
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* @public
|
|
95
|
+
* @enum
|
|
95
96
|
*/
|
|
96
|
-
export declare
|
|
97
|
-
COMPLETED
|
|
98
|
-
FAILED
|
|
99
|
-
IN_PROGRESS
|
|
100
|
-
STOPPED
|
|
101
|
-
STOPPING
|
|
102
|
-
}
|
|
97
|
+
export declare const HumanLoopStatus: {
|
|
98
|
+
readonly COMPLETED: "Completed";
|
|
99
|
+
readonly FAILED: "Failed";
|
|
100
|
+
readonly IN_PROGRESS: "InProgress";
|
|
101
|
+
readonly STOPPED: "Stopped";
|
|
102
|
+
readonly STOPPING: "Stopping";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type HumanLoopStatus = (typeof HumanLoopStatus)[keyof typeof HumanLoopStatus];
|
|
103
108
|
/**
|
|
104
109
|
* @public
|
|
105
110
|
*/
|
|
@@ -144,11 +149,16 @@ export interface DescribeHumanLoopResponse {
|
|
|
144
149
|
}
|
|
145
150
|
/**
|
|
146
151
|
* @public
|
|
152
|
+
* @enum
|
|
147
153
|
*/
|
|
148
|
-
export declare
|
|
149
|
-
ASCENDING
|
|
150
|
-
DESCENDING
|
|
151
|
-
}
|
|
154
|
+
export declare const SortOrder: {
|
|
155
|
+
readonly ASCENDING: "Ascending";
|
|
156
|
+
readonly DESCENDING: "Descending";
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
152
162
|
/**
|
|
153
163
|
* @public
|
|
154
164
|
*/
|
|
@@ -256,11 +266,16 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
256
266
|
}
|
|
257
267
|
/**
|
|
258
268
|
* @public
|
|
269
|
+
* @enum
|
|
259
270
|
*/
|
|
260
|
-
export declare
|
|
261
|
-
FREE_OF_ADULT_CONTENT
|
|
262
|
-
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION
|
|
263
|
-
}
|
|
271
|
+
export declare const ContentClassifier: {
|
|
272
|
+
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
273
|
+
readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
264
279
|
/**
|
|
265
280
|
* @public
|
|
266
281
|
* <p>Attributes of the data specified by the customer. Use these to describe the data to be labeled.</p>
|
|
@@ -42,13 +42,15 @@ export interface DescribeHumanLoopRequest {
|
|
|
42
42
|
export interface HumanLoopOutput {
|
|
43
43
|
OutputS3Uri: string | undefined;
|
|
44
44
|
}
|
|
45
|
-
export declare
|
|
46
|
-
COMPLETED
|
|
47
|
-
FAILED
|
|
48
|
-
IN_PROGRESS
|
|
49
|
-
STOPPED
|
|
50
|
-
STOPPING
|
|
51
|
-
}
|
|
45
|
+
export declare const HumanLoopStatus: {
|
|
46
|
+
readonly COMPLETED: "Completed";
|
|
47
|
+
readonly FAILED: "Failed";
|
|
48
|
+
readonly IN_PROGRESS: "InProgress";
|
|
49
|
+
readonly STOPPED: "Stopped";
|
|
50
|
+
readonly STOPPING: "Stopping";
|
|
51
|
+
};
|
|
52
|
+
export type HumanLoopStatus =
|
|
53
|
+
(typeof HumanLoopStatus)[keyof typeof HumanLoopStatus];
|
|
52
54
|
export interface DescribeHumanLoopResponse {
|
|
53
55
|
CreationTime: Date | undefined;
|
|
54
56
|
FailureReason?: string;
|
|
@@ -59,10 +61,11 @@ export interface DescribeHumanLoopResponse {
|
|
|
59
61
|
FlowDefinitionArn: string | undefined;
|
|
60
62
|
HumanLoopOutput?: HumanLoopOutput;
|
|
61
63
|
}
|
|
62
|
-
export declare
|
|
63
|
-
ASCENDING
|
|
64
|
-
DESCENDING
|
|
65
|
-
}
|
|
64
|
+
export declare const SortOrder: {
|
|
65
|
+
readonly ASCENDING: "Ascending";
|
|
66
|
+
readonly DESCENDING: "Descending";
|
|
67
|
+
};
|
|
68
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
66
69
|
export interface ListHumanLoopsRequest {
|
|
67
70
|
CreationTimeAfter?: Date;
|
|
68
71
|
CreationTimeBefore?: Date;
|
|
@@ -96,10 +99,12 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
96
99
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
97
100
|
);
|
|
98
101
|
}
|
|
99
|
-
export declare
|
|
100
|
-
FREE_OF_ADULT_CONTENT
|
|
101
|
-
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION
|
|
102
|
-
}
|
|
102
|
+
export declare const ContentClassifier: {
|
|
103
|
+
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
104
|
+
readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
|
|
105
|
+
};
|
|
106
|
+
export type ContentClassifier =
|
|
107
|
+
(typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
103
108
|
export interface HumanLoopDataAttributes {
|
|
104
109
|
ContentClassifiers: (ContentClassifier | string)[] | undefined;
|
|
105
110
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-a2i-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker A2i Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|