@aws-sdk/client-sagemaker-a2i-runtime 3.933.0 → 3.935.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/index.js +16 -15
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +15 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -100
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +39 -0
- package/dist-types/models/errors.d.ts +91 -0
- package/dist-types/models/models_0.d.ts +1 -130
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +20 -0
- package/dist-types/ts3.4/models/errors.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -68
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -173,17 +173,6 @@ let ValidationException$1 = class ValidationException extends SageMakerA2IRuntim
|
|
|
173
173
|
this.Message = opts.Message;
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
|
-
const HumanLoopStatus = {
|
|
177
|
-
COMPLETED: "Completed",
|
|
178
|
-
FAILED: "Failed",
|
|
179
|
-
IN_PROGRESS: "InProgress",
|
|
180
|
-
STOPPED: "Stopped",
|
|
181
|
-
STOPPING: "Stopping",
|
|
182
|
-
};
|
|
183
|
-
const SortOrder = {
|
|
184
|
-
ASCENDING: "Ascending",
|
|
185
|
-
DESCENDING: "Descending",
|
|
186
|
-
};
|
|
187
176
|
let ConflictException$1 = class ConflictException extends SageMakerA2IRuntimeServiceException$1 {
|
|
188
177
|
name = "ConflictException";
|
|
189
178
|
$fault = "client";
|
|
@@ -212,10 +201,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
212
201
|
this.Message = opts.Message;
|
|
213
202
|
}
|
|
214
203
|
};
|
|
215
|
-
const ContentClassifier = {
|
|
216
|
-
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
217
|
-
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
218
|
-
};
|
|
219
204
|
|
|
220
205
|
const _CC = "ContentClassifiers";
|
|
221
206
|
const _CE = "ConflictException";
|
|
@@ -553,6 +538,22 @@ smithyClient.createAggregatedClient(commands, SageMakerA2IRuntime);
|
|
|
553
538
|
|
|
554
539
|
const paginateListHumanLoops = core.createPaginator(SageMakerA2IRuntimeClient, ListHumanLoopsCommand, "NextToken", "NextToken", "MaxResults");
|
|
555
540
|
|
|
541
|
+
const HumanLoopStatus = {
|
|
542
|
+
COMPLETED: "Completed",
|
|
543
|
+
FAILED: "Failed",
|
|
544
|
+
IN_PROGRESS: "InProgress",
|
|
545
|
+
STOPPED: "Stopped",
|
|
546
|
+
STOPPING: "Stopping",
|
|
547
|
+
};
|
|
548
|
+
const SortOrder = {
|
|
549
|
+
ASCENDING: "Ascending",
|
|
550
|
+
DESCENDING: "Descending",
|
|
551
|
+
};
|
|
552
|
+
const ContentClassifier = {
|
|
553
|
+
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
554
|
+
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
555
|
+
};
|
|
556
|
+
|
|
556
557
|
Object.defineProperty(exports, "$Command", {
|
|
557
558
|
enumerable: true,
|
|
558
559
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SageMakerA2IRuntimeClient";
|
|
|
2
2
|
export * from "./SageMakerA2IRuntime";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const HumanLoopStatus = {
|
|
2
|
+
COMPLETED: "Completed",
|
|
3
|
+
FAILED: "Failed",
|
|
4
|
+
IN_PROGRESS: "InProgress",
|
|
5
|
+
STOPPED: "Stopped",
|
|
6
|
+
STOPPING: "Stopping",
|
|
7
|
+
};
|
|
8
|
+
export const SortOrder = {
|
|
9
|
+
ASCENDING: "Ascending",
|
|
10
|
+
DESCENDING: "Descending",
|
|
11
|
+
};
|
|
12
|
+
export const ContentClassifier = {
|
|
13
|
+
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
14
|
+
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
15
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
2
|
+
export class InternalServerException extends __BaseException {
|
|
3
|
+
name = "InternalServerException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "InternalServerException",
|
|
9
|
+
$fault: "server",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
17
|
+
name = "ResourceNotFoundException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ResourceNotFoundException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ThrottlingException extends __BaseException {
|
|
31
|
+
name = "ThrottlingException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ThrottlingException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ValidationException extends __BaseException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ValidationException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ConflictException extends __BaseException {
|
|
59
|
+
name = "ConflictException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ConflictException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
+
name = "ServiceQuotaExceededException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ServiceQuotaExceededException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,100 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class InternalServerException extends __BaseException {
|
|
3
|
-
name = "InternalServerException";
|
|
4
|
-
$fault = "server";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "InternalServerException",
|
|
9
|
-
$fault: "server",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
17
|
-
name = "ResourceNotFoundException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ResourceNotFoundException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ThrottlingException extends __BaseException {
|
|
31
|
-
name = "ThrottlingException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ThrottlingException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class ValidationException extends __BaseException {
|
|
45
|
-
name = "ValidationException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
Message;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ValidationException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
55
|
-
this.Message = opts.Message;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export const HumanLoopStatus = {
|
|
59
|
-
COMPLETED: "Completed",
|
|
60
|
-
FAILED: "Failed",
|
|
61
|
-
IN_PROGRESS: "InProgress",
|
|
62
|
-
STOPPED: "Stopped",
|
|
63
|
-
STOPPING: "Stopping",
|
|
64
|
-
};
|
|
65
|
-
export const SortOrder = {
|
|
66
|
-
ASCENDING: "Ascending",
|
|
67
|
-
DESCENDING: "Descending",
|
|
68
|
-
};
|
|
69
|
-
export class ConflictException extends __BaseException {
|
|
70
|
-
name = "ConflictException";
|
|
71
|
-
$fault = "client";
|
|
72
|
-
Message;
|
|
73
|
-
constructor(opts) {
|
|
74
|
-
super({
|
|
75
|
-
name: "ConflictException",
|
|
76
|
-
$fault: "client",
|
|
77
|
-
...opts,
|
|
78
|
-
});
|
|
79
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
80
|
-
this.Message = opts.Message;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
84
|
-
name = "ServiceQuotaExceededException";
|
|
85
|
-
$fault = "client";
|
|
86
|
-
Message;
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "ServiceQuotaExceededException",
|
|
90
|
-
$fault: "client",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
94
|
-
this.Message = opts.Message;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
export const ContentClassifier = {
|
|
98
|
-
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
99
|
-
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
100
|
-
};
|
|
1
|
+
export {};
|
|
@@ -50,7 +50,7 @@ const _s = "server";
|
|
|
50
50
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
|
|
51
51
|
const n0 = "com.amazonaws.sagemakera2iruntime";
|
|
52
52
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
53
|
-
import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
53
|
+
import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
54
54
|
import { SageMakerA2IRuntimeServiceException as __SageMakerA2IRuntimeServiceException } from "../models/SageMakerA2IRuntimeServiceException";
|
|
55
55
|
export var ConflictException = [
|
|
56
56
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -35,5 +35,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
35
35
|
export type { SageMakerA2IRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
36
36
|
export * from "./commands";
|
|
37
37
|
export * from "./pagination";
|
|
38
|
-
export * from "./models";
|
|
38
|
+
export * from "./models/enums";
|
|
39
|
+
export * from "./models/errors";
|
|
40
|
+
export type * from "./models/models_0";
|
|
39
41
|
export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const HumanLoopStatus: {
|
|
6
|
+
readonly COMPLETED: "Completed";
|
|
7
|
+
readonly FAILED: "Failed";
|
|
8
|
+
readonly IN_PROGRESS: "InProgress";
|
|
9
|
+
readonly STOPPED: "Stopped";
|
|
10
|
+
readonly STOPPING: "Stopping";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type HumanLoopStatus = (typeof HumanLoopStatus)[keyof typeof HumanLoopStatus];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const SortOrder: {
|
|
21
|
+
readonly ASCENDING: "Ascending";
|
|
22
|
+
readonly DESCENDING: "Descending";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const ContentClassifier: {
|
|
33
|
+
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
34
|
+
readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>We couldn't process your request because of an issue with the server. Try again
|
|
5
|
+
* later.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InternalServerException extends __BaseException {
|
|
9
|
+
readonly name: "InternalServerException";
|
|
10
|
+
readonly $fault: "server";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>We couldn't find the requested resource. Check that your resources exists and were created
|
|
19
|
+
* in the same AWS Region as your request, and try your request again. </p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
readonly name: "ResourceNotFoundException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>You exceeded
|
|
33
|
+
* the
|
|
34
|
+
* maximum number of requests.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class ThrottlingException extends __BaseException {
|
|
38
|
+
readonly name: "ThrottlingException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
Message?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p>The
|
|
48
|
+
* request isn't valid. Check the syntax and try again.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export declare class ValidationException extends __BaseException {
|
|
52
|
+
readonly name: "ValidationException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
Message?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>Your request has the same name as another active human loop but has different input data. You cannot start two
|
|
62
|
+
* human loops with the same name and different input data.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class ConflictException extends __BaseException {
|
|
66
|
+
readonly name: "ConflictException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
Message?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
|
|
76
|
+
* maximum number of service resources or operations for your AWS account. For a list of
|
|
77
|
+
* Amazon A2I service quotes, see <a href="https://docs.aws.amazon.com/general/latest/gr/a2i.html">Amazon Augmented AI Service Quotes</a>. Delete some resources or request an increase in your
|
|
78
|
+
* service quota. You can request a quota increase using Service Quotas or the AWS Support
|
|
79
|
+
* Center. To request an increase, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">AWS Service Quotas</a> in the
|
|
80
|
+
* <i>AWS General Reference</i>.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
84
|
+
readonly name: "ServiceQuotaExceededException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
Message?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
91
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
1
|
+
import { ContentClassifier, HumanLoopStatus, SortOrder } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* @public
|
|
5
4
|
*/
|
|
@@ -15,63 +14,6 @@ export interface DeleteHumanLoopRequest {
|
|
|
15
14
|
*/
|
|
16
15
|
export interface DeleteHumanLoopResponse {
|
|
17
16
|
}
|
|
18
|
-
/**
|
|
19
|
-
* <p>We couldn't process your request because of an issue with the server. Try again
|
|
20
|
-
* later.</p>
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export declare class InternalServerException extends __BaseException {
|
|
24
|
-
readonly name: "InternalServerException";
|
|
25
|
-
readonly $fault: "server";
|
|
26
|
-
Message?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* <p>We couldn't find the requested resource. Check that your resources exists and were created
|
|
34
|
-
* in the same AWS Region as your request, and try your request again. </p>
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
38
|
-
readonly name: "ResourceNotFoundException";
|
|
39
|
-
readonly $fault: "client";
|
|
40
|
-
Message?: string | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* <p>You exceeded
|
|
48
|
-
* the
|
|
49
|
-
* maximum number of requests.</p>
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export declare class ThrottlingException extends __BaseException {
|
|
53
|
-
readonly name: "ThrottlingException";
|
|
54
|
-
readonly $fault: "client";
|
|
55
|
-
Message?: string | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* <p>The
|
|
63
|
-
* request isn't valid. Check the syntax and try again.</p>
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
export declare class ValidationException extends __BaseException {
|
|
67
|
-
readonly name: "ValidationException";
|
|
68
|
-
readonly $fault: "client";
|
|
69
|
-
Message?: string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
74
|
-
}
|
|
75
17
|
/**
|
|
76
18
|
* @public
|
|
77
19
|
*/
|
|
@@ -93,21 +35,6 @@ export interface HumanLoopOutput {
|
|
|
93
35
|
*/
|
|
94
36
|
OutputS3Uri: string | undefined;
|
|
95
37
|
}
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
* @enum
|
|
99
|
-
*/
|
|
100
|
-
export declare const HumanLoopStatus: {
|
|
101
|
-
readonly COMPLETED: "Completed";
|
|
102
|
-
readonly FAILED: "Failed";
|
|
103
|
-
readonly IN_PROGRESS: "InProgress";
|
|
104
|
-
readonly STOPPED: "Stopped";
|
|
105
|
-
readonly STOPPING: "Stopping";
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
export type HumanLoopStatus = (typeof HumanLoopStatus)[keyof typeof HumanLoopStatus];
|
|
111
38
|
/**
|
|
112
39
|
* @public
|
|
113
40
|
*/
|
|
@@ -158,18 +85,6 @@ export interface DescribeHumanLoopResponse {
|
|
|
158
85
|
*/
|
|
159
86
|
HumanLoopOutput?: HumanLoopOutput | undefined;
|
|
160
87
|
}
|
|
161
|
-
/**
|
|
162
|
-
* @public
|
|
163
|
-
* @enum
|
|
164
|
-
*/
|
|
165
|
-
export declare const SortOrder: {
|
|
166
|
-
readonly ASCENDING: "Ascending";
|
|
167
|
-
readonly DESCENDING: "Descending";
|
|
168
|
-
};
|
|
169
|
-
/**
|
|
170
|
-
* @public
|
|
171
|
-
*/
|
|
172
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
173
88
|
/**
|
|
174
89
|
* @public
|
|
175
90
|
*/
|
|
@@ -256,50 +171,6 @@ export interface ListHumanLoopsResponse {
|
|
|
256
171
|
*/
|
|
257
172
|
NextToken?: string | undefined;
|
|
258
173
|
}
|
|
259
|
-
/**
|
|
260
|
-
* <p>Your request has the same name as another active human loop but has different input data. You cannot start two
|
|
261
|
-
* human loops with the same name and different input data.</p>
|
|
262
|
-
* @public
|
|
263
|
-
*/
|
|
264
|
-
export declare class ConflictException extends __BaseException {
|
|
265
|
-
readonly name: "ConflictException";
|
|
266
|
-
readonly $fault: "client";
|
|
267
|
-
Message?: string | undefined;
|
|
268
|
-
/**
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
|
|
275
|
-
* maximum number of service resources or operations for your AWS account. For a list of
|
|
276
|
-
* Amazon A2I service quotes, see <a href="https://docs.aws.amazon.com/general/latest/gr/a2i.html">Amazon Augmented AI Service Quotes</a>. Delete some resources or request an increase in your
|
|
277
|
-
* service quota. You can request a quota increase using Service Quotas or the AWS Support
|
|
278
|
-
* Center. To request an increase, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">AWS Service Quotas</a> in the
|
|
279
|
-
* <i>AWS General Reference</i>.</p>
|
|
280
|
-
* @public
|
|
281
|
-
*/
|
|
282
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
283
|
-
readonly name: "ServiceQuotaExceededException";
|
|
284
|
-
readonly $fault: "client";
|
|
285
|
-
Message?: string | undefined;
|
|
286
|
-
/**
|
|
287
|
-
* @internal
|
|
288
|
-
*/
|
|
289
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* @public
|
|
293
|
-
* @enum
|
|
294
|
-
*/
|
|
295
|
-
export declare const ContentClassifier: {
|
|
296
|
-
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
297
|
-
readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
|
|
298
|
-
};
|
|
299
|
-
/**
|
|
300
|
-
* @public
|
|
301
|
-
*/
|
|
302
|
-
export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
303
174
|
/**
|
|
304
175
|
* <p>Attributes of the data specified by the customer. Use these to describe the data to be labeled.</p>
|
|
305
176
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SageMakerA2IRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const HumanLoopStatus: {
|
|
2
|
+
readonly COMPLETED: "Completed";
|
|
3
|
+
readonly FAILED: "Failed";
|
|
4
|
+
readonly IN_PROGRESS: "InProgress";
|
|
5
|
+
readonly STOPPED: "Stopped";
|
|
6
|
+
readonly STOPPING: "Stopping";
|
|
7
|
+
};
|
|
8
|
+
export type HumanLoopStatus =
|
|
9
|
+
(typeof HumanLoopStatus)[keyof typeof HumanLoopStatus];
|
|
10
|
+
export declare const SortOrder: {
|
|
11
|
+
readonly ASCENDING: "Ascending";
|
|
12
|
+
readonly DESCENDING: "Descending";
|
|
13
|
+
};
|
|
14
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
15
|
+
export declare const ContentClassifier: {
|
|
16
|
+
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
17
|
+
readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
|
|
18
|
+
};
|
|
19
|
+
export type ContentClassifier =
|
|
20
|
+
(typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
3
|
+
export declare class InternalServerException extends __BaseException {
|
|
4
|
+
readonly name: "InternalServerException";
|
|
5
|
+
readonly $fault: "server";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
12
|
+
readonly name: "ResourceNotFoundException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class ThrottlingException extends __BaseException {
|
|
20
|
+
readonly name: "ThrottlingException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ValidationException extends __BaseException {
|
|
28
|
+
readonly name: "ValidationException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ConflictException extends __BaseException {
|
|
36
|
+
readonly name: "ConflictException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
42
|
+
readonly name: "ServiceQuotaExceededException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
Message?: string | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -1,56 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
1
|
+
import { ContentClassifier, HumanLoopStatus, SortOrder } from "./enums";
|
|
3
2
|
export interface DeleteHumanLoopRequest {
|
|
4
3
|
HumanLoopName: string | undefined;
|
|
5
4
|
}
|
|
6
5
|
export interface DeleteHumanLoopResponse {}
|
|
7
|
-
export declare class InternalServerException extends __BaseException {
|
|
8
|
-
readonly name: "InternalServerException";
|
|
9
|
-
readonly $fault: "server";
|
|
10
|
-
Message?: string | undefined;
|
|
11
|
-
constructor(
|
|
12
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
16
|
-
readonly name: "ResourceNotFoundException";
|
|
17
|
-
readonly $fault: "client";
|
|
18
|
-
Message?: string | undefined;
|
|
19
|
-
constructor(
|
|
20
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export declare class ThrottlingException extends __BaseException {
|
|
24
|
-
readonly name: "ThrottlingException";
|
|
25
|
-
readonly $fault: "client";
|
|
26
|
-
Message?: string | undefined;
|
|
27
|
-
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
export declare class ValidationException extends __BaseException {
|
|
32
|
-
readonly name: "ValidationException";
|
|
33
|
-
readonly $fault: "client";
|
|
34
|
-
Message?: string | undefined;
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
6
|
export interface DescribeHumanLoopRequest {
|
|
40
7
|
HumanLoopName: string | undefined;
|
|
41
8
|
}
|
|
42
9
|
export interface HumanLoopOutput {
|
|
43
10
|
OutputS3Uri: string | undefined;
|
|
44
11
|
}
|
|
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];
|
|
54
12
|
export interface DescribeHumanLoopResponse {
|
|
55
13
|
CreationTime: Date | undefined;
|
|
56
14
|
FailureReason?: string | undefined;
|
|
@@ -61,11 +19,6 @@ export interface DescribeHumanLoopResponse {
|
|
|
61
19
|
FlowDefinitionArn: string | undefined;
|
|
62
20
|
HumanLoopOutput?: HumanLoopOutput | undefined;
|
|
63
21
|
}
|
|
64
|
-
export declare const SortOrder: {
|
|
65
|
-
readonly ASCENDING: "Ascending";
|
|
66
|
-
readonly DESCENDING: "Descending";
|
|
67
|
-
};
|
|
68
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
69
22
|
export interface ListHumanLoopsRequest {
|
|
70
23
|
CreationTimeAfter?: Date | undefined;
|
|
71
24
|
CreationTimeBefore?: Date | undefined;
|
|
@@ -85,26 +38,6 @@ export interface ListHumanLoopsResponse {
|
|
|
85
38
|
HumanLoopSummaries: HumanLoopSummary[] | undefined;
|
|
86
39
|
NextToken?: string | undefined;
|
|
87
40
|
}
|
|
88
|
-
export declare class ConflictException extends __BaseException {
|
|
89
|
-
readonly name: "ConflictException";
|
|
90
|
-
readonly $fault: "client";
|
|
91
|
-
Message?: string | undefined;
|
|
92
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
93
|
-
}
|
|
94
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
95
|
-
readonly name: "ServiceQuotaExceededException";
|
|
96
|
-
readonly $fault: "client";
|
|
97
|
-
Message?: string | undefined;
|
|
98
|
-
constructor(
|
|
99
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
100
|
-
);
|
|
101
|
-
}
|
|
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];
|
|
108
41
|
export interface HumanLoopDataAttributes {
|
|
109
42
|
ContentClassifiers: ContentClassifier[] | undefined;
|
|
110
43
|
}
|
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.935.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-sagemaker-a2i-runtime",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|