@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.
@@ -58,19 +58,17 @@ class ValidationException extends SageMakerA2IRuntimeServiceException_1.SageMake
58
58
  }
59
59
  }
60
60
  exports.ValidationException = ValidationException;
61
- var HumanLoopStatus;
62
- (function (HumanLoopStatus) {
63
- HumanLoopStatus["COMPLETED"] = "Completed";
64
- HumanLoopStatus["FAILED"] = "Failed";
65
- HumanLoopStatus["IN_PROGRESS"] = "InProgress";
66
- HumanLoopStatus["STOPPED"] = "Stopped";
67
- HumanLoopStatus["STOPPING"] = "Stopping";
68
- })(HumanLoopStatus = exports.HumanLoopStatus || (exports.HumanLoopStatus = {}));
69
- var SortOrder;
70
- (function (SortOrder) {
71
- SortOrder["ASCENDING"] = "Ascending";
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
- var ContentClassifier;
103
- (function (ContentClassifier) {
104
- ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
105
- ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
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 var HumanLoopStatus;
55
- (function (HumanLoopStatus) {
56
- HumanLoopStatus["COMPLETED"] = "Completed";
57
- HumanLoopStatus["FAILED"] = "Failed";
58
- HumanLoopStatus["IN_PROGRESS"] = "InProgress";
59
- HumanLoopStatus["STOPPED"] = "Stopped";
60
- HumanLoopStatus["STOPPING"] = "Stopping";
61
- })(HumanLoopStatus || (HumanLoopStatus = {}));
62
- export var SortOrder;
63
- (function (SortOrder) {
64
- SortOrder["ASCENDING"] = "Ascending";
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 var ContentClassifier;
94
- (function (ContentClassifier) {
95
- ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
96
- ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
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 enum HumanLoopStatus {
97
- COMPLETED = "Completed",
98
- FAILED = "Failed",
99
- IN_PROGRESS = "InProgress",
100
- STOPPED = "Stopped",
101
- STOPPING = "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 enum SortOrder {
149
- ASCENDING = "Ascending",
150
- DESCENDING = "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 enum ContentClassifier {
261
- FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
262
- FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation"
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 enum HumanLoopStatus {
46
- COMPLETED = "Completed",
47
- FAILED = "Failed",
48
- IN_PROGRESS = "InProgress",
49
- STOPPED = "Stopped",
50
- STOPPING = "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 enum SortOrder {
63
- ASCENDING = "Ascending",
64
- DESCENDING = "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 enum ContentClassifier {
100
- FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
101
- FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation",
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.301.0",
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
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.295.0",
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",