@aws-sdk/client-sagemaker-a2i-runtime 3.687.0 → 3.691.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.
@@ -23,7 +23,7 @@ export interface DeleteHumanLoopResponse {
23
23
  export declare class InternalServerException extends __BaseException {
24
24
  readonly name: "InternalServerException";
25
25
  readonly $fault: "server";
26
- Message?: string;
26
+ Message?: string | undefined;
27
27
  /**
28
28
  * @internal
29
29
  */
@@ -37,7 +37,7 @@ export declare class InternalServerException extends __BaseException {
37
37
  export declare class ResourceNotFoundException extends __BaseException {
38
38
  readonly name: "ResourceNotFoundException";
39
39
  readonly $fault: "client";
40
- Message?: string;
40
+ Message?: string | undefined;
41
41
  /**
42
42
  * @internal
43
43
  */
@@ -52,7 +52,7 @@ export declare class ResourceNotFoundException extends __BaseException {
52
52
  export declare class ThrottlingException extends __BaseException {
53
53
  readonly name: "ThrottlingException";
54
54
  readonly $fault: "client";
55
- Message?: string;
55
+ Message?: string | undefined;
56
56
  /**
57
57
  * @internal
58
58
  */
@@ -66,7 +66,7 @@ export declare class ThrottlingException extends __BaseException {
66
66
  export declare class ValidationException extends __BaseException {
67
67
  readonly name: "ValidationException";
68
68
  readonly $fault: "client";
69
- Message?: string;
69
+ Message?: string | undefined;
70
70
  /**
71
71
  * @internal
72
72
  */
@@ -122,7 +122,7 @@ export interface DescribeHumanLoopResponse {
122
122
  * human loop is <code>Failed</code>.</p>
123
123
  * @public
124
124
  */
125
- FailureReason?: string;
125
+ FailureReason?: string | undefined;
126
126
  /**
127
127
  * <p>A failure code that identifies the type of failure.</p>
128
128
  * <p>Possible values: <code>ValidationError</code>, <code>Expired</code>,
@@ -130,7 +130,7 @@ export interface DescribeHumanLoopResponse {
130
130
  * </p>
131
131
  * @public
132
132
  */
133
- FailureCode?: string;
133
+ FailureCode?: string | undefined;
134
134
  /**
135
135
  * <p>The status of the human loop. </p>
136
136
  * @public
@@ -156,7 +156,7 @@ export interface DescribeHumanLoopResponse {
156
156
  * <p>An object that contains information about the output of the human loop.</p>
157
157
  * @public
158
158
  */
159
- HumanLoopOutput?: HumanLoopOutput;
159
+ HumanLoopOutput?: HumanLoopOutput | undefined;
160
160
  }
161
161
  /**
162
162
  * @public
@@ -178,12 +178,12 @@ export interface ListHumanLoopsRequest {
178
178
  * <p>(Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, <code>2020-02-24</code>.</p>
179
179
  * @public
180
180
  */
181
- CreationTimeAfter?: Date;
181
+ CreationTimeAfter?: Date | undefined;
182
182
  /**
183
183
  * <p>(Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For example, <code>2020-02-24</code>.</p>
184
184
  * @public
185
185
  */
186
- CreationTimeBefore?: Date;
186
+ CreationTimeBefore?: Date | undefined;
187
187
  /**
188
188
  * <p>The Amazon Resource Name (ARN) of a flow definition.</p>
189
189
  * @public
@@ -194,19 +194,19 @@ export interface ListHumanLoopsRequest {
194
194
  * <code>Descending</code>.</p>
195
195
  * @public
196
196
  */
197
- SortOrder?: SortOrder;
197
+ SortOrder?: SortOrder | undefined;
198
198
  /**
199
199
  * <p>A token to display the next page of results.</p>
200
200
  * @public
201
201
  */
202
- NextToken?: string;
202
+ NextToken?: string | undefined;
203
203
  /**
204
204
  * <p>The total number of items to return. If the total number of available items is more than
205
205
  * the value specified in <code>MaxResults</code>, then a <code>NextToken</code> is returned in
206
206
  * the output. You can use this token to display the next page of results. </p>
207
207
  * @public
208
208
  */
209
- MaxResults?: number;
209
+ MaxResults?: number | undefined;
210
210
  }
211
211
  /**
212
212
  * <p>Summary information about the human loop.</p>
@@ -217,29 +217,29 @@ export interface HumanLoopSummary {
217
217
  * <p>The name of the human loop.</p>
218
218
  * @public
219
219
  */
220
- HumanLoopName?: string;
220
+ HumanLoopName?: string | undefined;
221
221
  /**
222
222
  * <p>The status of the human loop. </p>
223
223
  * @public
224
224
  */
225
- HumanLoopStatus?: HumanLoopStatus;
225
+ HumanLoopStatus?: HumanLoopStatus | undefined;
226
226
  /**
227
227
  * <p>When Amazon Augmented AI created the human loop.</p>
228
228
  * @public
229
229
  */
230
- CreationTime?: Date;
230
+ CreationTime?: Date | undefined;
231
231
  /**
232
232
  * <p>The reason why the human loop failed. A failure reason is returned when the status of the
233
233
  * human loop is <code>Failed</code>.</p>
234
234
  * @public
235
235
  */
236
- FailureReason?: string;
236
+ FailureReason?: string | undefined;
237
237
  /**
238
238
  * <p>The Amazon Resource Name (ARN) of the flow definition used to configure the human
239
239
  * loop.</p>
240
240
  * @public
241
241
  */
242
- FlowDefinitionArn?: string;
242
+ FlowDefinitionArn?: string | undefined;
243
243
  }
244
244
  /**
245
245
  * @public
@@ -254,7 +254,7 @@ export interface ListHumanLoopsResponse {
254
254
  * <p>A token to display the next page of results.</p>
255
255
  * @public
256
256
  */
257
- NextToken?: string;
257
+ NextToken?: string | undefined;
258
258
  }
259
259
  /**
260
260
  * <p>Your request has the same name as another active human loop but has different input data. You cannot start two
@@ -264,7 +264,7 @@ export interface ListHumanLoopsResponse {
264
264
  export declare class ConflictException extends __BaseException {
265
265
  readonly name: "ConflictException";
266
266
  readonly $fault: "client";
267
- Message?: string;
267
+ Message?: string | undefined;
268
268
  /**
269
269
  * @internal
270
270
  */
@@ -282,7 +282,7 @@ export declare class ConflictException extends __BaseException {
282
282
  export declare class ServiceQuotaExceededException extends __BaseException {
283
283
  readonly name: "ServiceQuotaExceededException";
284
284
  readonly $fault: "client";
285
- Message?: string;
285
+ Message?: string | undefined;
286
286
  /**
287
287
  * @internal
288
288
  */
@@ -348,7 +348,7 @@ export interface StartHumanLoopRequest {
348
348
  * is free of personally identifiable information and/or free of adult content.</p>
349
349
  * @public
350
350
  */
351
- DataAttributes?: HumanLoopDataAttributes;
351
+ DataAttributes?: HumanLoopDataAttributes | undefined;
352
352
  }
353
353
  /**
354
354
  * @public
@@ -358,7 +358,7 @@ export interface StartHumanLoopResponse {
358
358
  * <p>The Amazon Resource Name (ARN) of the human loop.</p>
359
359
  * @public
360
360
  */
361
- HumanLoopArn?: string;
361
+ HumanLoopArn?: string | undefined;
362
362
  }
363
363
  /**
364
364
  * @public
@@ -7,7 +7,7 @@ export interface DeleteHumanLoopResponse {}
7
7
  export declare class InternalServerException extends __BaseException {
8
8
  readonly name: "InternalServerException";
9
9
  readonly $fault: "server";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  constructor(
12
12
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
13
13
  );
@@ -15,7 +15,7 @@ export declare class InternalServerException extends __BaseException {
15
15
  export declare class ResourceNotFoundException extends __BaseException {
16
16
  readonly name: "ResourceNotFoundException";
17
17
  readonly $fault: "client";
18
- Message?: string;
18
+ Message?: string | undefined;
19
19
  constructor(
20
20
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
21
21
  );
@@ -23,7 +23,7 @@ export declare class ResourceNotFoundException extends __BaseException {
23
23
  export declare class ThrottlingException extends __BaseException {
24
24
  readonly name: "ThrottlingException";
25
25
  readonly $fault: "client";
26
- Message?: string;
26
+ Message?: string | undefined;
27
27
  constructor(
28
28
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
29
  );
@@ -31,7 +31,7 @@ export declare class ThrottlingException extends __BaseException {
31
31
  export declare class ValidationException extends __BaseException {
32
32
  readonly name: "ValidationException";
33
33
  readonly $fault: "client";
34
- Message?: string;
34
+ Message?: string | undefined;
35
35
  constructor(
36
36
  opts: __ExceptionOptionType<ValidationException, __BaseException>
37
37
  );
@@ -53,13 +53,13 @@ export type HumanLoopStatus =
53
53
  (typeof HumanLoopStatus)[keyof typeof HumanLoopStatus];
54
54
  export interface DescribeHumanLoopResponse {
55
55
  CreationTime: Date | undefined;
56
- FailureReason?: string;
57
- FailureCode?: string;
56
+ FailureReason?: string | undefined;
57
+ FailureCode?: string | undefined;
58
58
  HumanLoopStatus: HumanLoopStatus | undefined;
59
59
  HumanLoopName: string | undefined;
60
60
  HumanLoopArn: string | undefined;
61
61
  FlowDefinitionArn: string | undefined;
62
- HumanLoopOutput?: HumanLoopOutput;
62
+ HumanLoopOutput?: HumanLoopOutput | undefined;
63
63
  }
64
64
  export declare const SortOrder: {
65
65
  readonly ASCENDING: "Ascending";
@@ -67,34 +67,34 @@ export declare const SortOrder: {
67
67
  };
68
68
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
69
69
  export interface ListHumanLoopsRequest {
70
- CreationTimeAfter?: Date;
71
- CreationTimeBefore?: Date;
70
+ CreationTimeAfter?: Date | undefined;
71
+ CreationTimeBefore?: Date | undefined;
72
72
  FlowDefinitionArn: string | undefined;
73
- SortOrder?: SortOrder;
74
- NextToken?: string;
75
- MaxResults?: number;
73
+ SortOrder?: SortOrder | undefined;
74
+ NextToken?: string | undefined;
75
+ MaxResults?: number | undefined;
76
76
  }
77
77
  export interface HumanLoopSummary {
78
- HumanLoopName?: string;
79
- HumanLoopStatus?: HumanLoopStatus;
80
- CreationTime?: Date;
81
- FailureReason?: string;
82
- FlowDefinitionArn?: string;
78
+ HumanLoopName?: string | undefined;
79
+ HumanLoopStatus?: HumanLoopStatus | undefined;
80
+ CreationTime?: Date | undefined;
81
+ FailureReason?: string | undefined;
82
+ FlowDefinitionArn?: string | undefined;
83
83
  }
84
84
  export interface ListHumanLoopsResponse {
85
85
  HumanLoopSummaries: HumanLoopSummary[] | undefined;
86
- NextToken?: string;
86
+ NextToken?: string | undefined;
87
87
  }
88
88
  export declare class ConflictException extends __BaseException {
89
89
  readonly name: "ConflictException";
90
90
  readonly $fault: "client";
91
- Message?: string;
91
+ Message?: string | undefined;
92
92
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
93
93
  }
94
94
  export declare class ServiceQuotaExceededException extends __BaseException {
95
95
  readonly name: "ServiceQuotaExceededException";
96
96
  readonly $fault: "client";
97
- Message?: string;
97
+ Message?: string | undefined;
98
98
  constructor(
99
99
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
100
100
  );
@@ -115,10 +115,10 @@ export interface StartHumanLoopRequest {
115
115
  HumanLoopName: string | undefined;
116
116
  FlowDefinitionArn: string | undefined;
117
117
  HumanLoopInput: HumanLoopInput | undefined;
118
- DataAttributes?: HumanLoopDataAttributes;
118
+ DataAttributes?: HumanLoopDataAttributes | undefined;
119
119
  }
120
120
  export interface StartHumanLoopResponse {
121
- HumanLoopArn?: string;
121
+ HumanLoopArn?: string | undefined;
122
122
  }
123
123
  export interface StopHumanLoopRequest {
124
124
  HumanLoopName: string | undefined;
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.687.0",
4
+ "version": "3.691.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,19 +20,19 @@
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.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",