@aws-sdk/client-sagemaker 3.1037.0 → 3.1038.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 +13 -13
- package/dist-es/waiters/waitForEndpointDeleted.js +2 -2
- package/dist-es/waiters/waitForEndpointInService.js +2 -2
- package/dist-es/waiters/waitForImageCreated.js +2 -2
- package/dist-es/waiters/waitForImageDeleted.js +3 -3
- package/dist-es/waiters/waitForImageUpdated.js +2 -2
- package/dist-es/waiters/waitForImageVersionCreated.js +1 -1
- package/dist-es/waiters/waitForImageVersionDeleted.js +2 -2
- package/dist-es/waiters/waitForNotebookInstanceDeleted.js +1 -1
- package/dist-es/waiters/waitForProcessingJobCompletedOrStopped.js +1 -1
- package/dist-es/waiters/waitForTrainingJobCompletedOrStopped.js +1 -1
- package/dist-es/waiters/waitForTransformJobCompletedOrStopped.js +1 -1
- package/dist-types/SageMaker.d.ts +14 -13
- package/dist-types/models/models_1.d.ts +2 -2
- package/dist-types/ts3.4/SageMaker.d.ts +14 -13
- package/dist-types/ts3.4/waiters/waitForEndpointDeleted.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForEndpointInService.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForImageCreated.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForImageDeleted.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForImageUpdated.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForImageVersionCreated.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForImageVersionDeleted.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForNotebookInstanceDeleted.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForNotebookInstanceInService.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForNotebookInstanceStopped.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForProcessingJobCompletedOrStopped.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForTrainingJobCompletedOrStopped.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForTransformJobCompletedOrStopped.d.ts +9 -3
- package/dist-types/waiters/waitForEndpointDeleted.d.ts +4 -3
- package/dist-types/waiters/waitForEndpointInService.d.ts +4 -3
- package/dist-types/waiters/waitForImageCreated.d.ts +4 -3
- package/dist-types/waiters/waitForImageDeleted.d.ts +4 -3
- package/dist-types/waiters/waitForImageUpdated.d.ts +4 -3
- package/dist-types/waiters/waitForImageVersionCreated.d.ts +4 -3
- package/dist-types/waiters/waitForImageVersionDeleted.d.ts +4 -3
- package/dist-types/waiters/waitForNotebookInstanceDeleted.d.ts +4 -3
- package/dist-types/waiters/waitForNotebookInstanceInService.d.ts +4 -3
- package/dist-types/waiters/waitForNotebookInstanceStopped.d.ts +4 -3
- package/dist-types/waiters/waitForProcessingJobCompletedOrStopped.d.ts +4 -3
- package/dist-types/waiters/waitForTrainingJobCompletedOrStopped.d.ts +4 -3
- package/dist-types/waiters/waitForTransformJobCompletedOrStopped.d.ts +4 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -5061,7 +5061,7 @@ const checkState$c = async (client, input) => {
|
|
|
5061
5061
|
}
|
|
5062
5062
|
catch (exception) {
|
|
5063
5063
|
reason = exception;
|
|
5064
|
-
if (exception.name
|
|
5064
|
+
if (exception.name === "ValidationException") {
|
|
5065
5065
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
5066
5066
|
}
|
|
5067
5067
|
}
|
|
@@ -5103,7 +5103,7 @@ const checkState$b = async (client, input) => {
|
|
|
5103
5103
|
}
|
|
5104
5104
|
catch (exception) {
|
|
5105
5105
|
reason = exception;
|
|
5106
|
-
if (exception.name
|
|
5106
|
+
if (exception.name === "ValidationException") {
|
|
5107
5107
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5108
5108
|
}
|
|
5109
5109
|
}
|
|
@@ -5145,7 +5145,7 @@ const checkState$a = async (client, input) => {
|
|
|
5145
5145
|
}
|
|
5146
5146
|
catch (exception) {
|
|
5147
5147
|
reason = exception;
|
|
5148
|
-
if (exception.name
|
|
5148
|
+
if (exception.name === "ValidationException") {
|
|
5149
5149
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5150
5150
|
}
|
|
5151
5151
|
}
|
|
@@ -5178,10 +5178,10 @@ const checkState$9 = async (client, input) => {
|
|
|
5178
5178
|
}
|
|
5179
5179
|
catch (exception) {
|
|
5180
5180
|
reason = exception;
|
|
5181
|
-
if (exception.name
|
|
5181
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
5182
5182
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
5183
5183
|
}
|
|
5184
|
-
if (exception.name
|
|
5184
|
+
if (exception.name === "ValidationException") {
|
|
5185
5185
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5186
5186
|
}
|
|
5187
5187
|
}
|
|
@@ -5223,7 +5223,7 @@ const checkState$8 = async (client, input) => {
|
|
|
5223
5223
|
}
|
|
5224
5224
|
catch (exception) {
|
|
5225
5225
|
reason = exception;
|
|
5226
|
-
if (exception.name
|
|
5226
|
+
if (exception.name === "ValidationException") {
|
|
5227
5227
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5228
5228
|
}
|
|
5229
5229
|
}
|
|
@@ -5265,7 +5265,7 @@ const checkState$7 = async (client, input) => {
|
|
|
5265
5265
|
}
|
|
5266
5266
|
catch (exception) {
|
|
5267
5267
|
reason = exception;
|
|
5268
|
-
if (exception.name
|
|
5268
|
+
if (exception.name === "ValidationException") {
|
|
5269
5269
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5270
5270
|
}
|
|
5271
5271
|
}
|
|
@@ -5298,10 +5298,10 @@ const checkState$6 = async (client, input) => {
|
|
|
5298
5298
|
}
|
|
5299
5299
|
catch (exception) {
|
|
5300
5300
|
reason = exception;
|
|
5301
|
-
if (exception.name
|
|
5301
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
5302
5302
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
5303
5303
|
}
|
|
5304
|
-
if (exception.name
|
|
5304
|
+
if (exception.name === "ValidationException") {
|
|
5305
5305
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5306
5306
|
}
|
|
5307
5307
|
}
|
|
@@ -5334,7 +5334,7 @@ const checkState$5 = async (client, input) => {
|
|
|
5334
5334
|
}
|
|
5335
5335
|
catch (exception) {
|
|
5336
5336
|
reason = exception;
|
|
5337
|
-
if (exception.name
|
|
5337
|
+
if (exception.name === "ValidationException") {
|
|
5338
5338
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
5339
5339
|
}
|
|
5340
5340
|
}
|
|
@@ -5463,7 +5463,7 @@ const checkState$2 = async (client, input) => {
|
|
|
5463
5463
|
}
|
|
5464
5464
|
catch (exception) {
|
|
5465
5465
|
reason = exception;
|
|
5466
|
-
if (exception.name
|
|
5466
|
+
if (exception.name === "ValidationException") {
|
|
5467
5467
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5468
5468
|
}
|
|
5469
5469
|
}
|
|
@@ -5514,7 +5514,7 @@ const checkState$1 = async (client, input) => {
|
|
|
5514
5514
|
}
|
|
5515
5515
|
catch (exception) {
|
|
5516
5516
|
reason = exception;
|
|
5517
|
-
if (exception.name
|
|
5517
|
+
if (exception.name === "ValidationException") {
|
|
5518
5518
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5519
5519
|
}
|
|
5520
5520
|
}
|
|
@@ -5565,7 +5565,7 @@ const checkState = async (client, input) => {
|
|
|
5565
5565
|
}
|
|
5566
5566
|
catch (exception) {
|
|
5567
5567
|
reason = exception;
|
|
5568
|
-
if (exception.name
|
|
5568
|
+
if (exception.name === "ValidationException") {
|
|
5569
5569
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
5570
5570
|
}
|
|
5571
5571
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeEndpointCommand } from "../commands/DescribeEndpointCommand";
|
|
2
|
+
import { DescribeEndpointCommand, } from "../commands/DescribeEndpointCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ValidationException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeEndpointCommand } from "../commands/DescribeEndpointCommand";
|
|
2
|
+
import { DescribeEndpointCommand, } from "../commands/DescribeEndpointCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -26,7 +26,7 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
-
if (exception.name
|
|
29
|
+
if (exception.name === "ValidationException") {
|
|
30
30
|
return { state: WaiterState.FAILURE, reason };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
2
|
+
import { DescribeImageCommand, } from "../commands/DescribeImageCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -26,7 +26,7 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
-
if (exception.name
|
|
29
|
+
if (exception.name === "ValidationException") {
|
|
30
30
|
return { state: WaiterState.FAILURE, reason };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
2
|
+
import { DescribeImageCommand, } from "../commands/DescribeImageCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -17,10 +17,10 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
|
-
if (exception.name
|
|
23
|
+
if (exception.name === "ValidationException") {
|
|
24
24
|
return { state: WaiterState.FAILURE, reason };
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
2
|
+
import { DescribeImageCommand, } from "../commands/DescribeImageCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -26,7 +26,7 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
-
if (exception.name
|
|
29
|
+
if (exception.name === "ValidationException") {
|
|
30
30
|
return { state: WaiterState.FAILURE, reason };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -26,7 +26,7 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
-
if (exception.name
|
|
29
|
+
if (exception.name === "ValidationException") {
|
|
30
30
|
return { state: WaiterState.FAILURE, reason };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -17,10 +17,10 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
|
-
if (exception.name
|
|
23
|
+
if (exception.name === "ValidationException") {
|
|
24
24
|
return { state: WaiterState.FAILURE, reason };
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ValidationException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -35,7 +35,7 @@ const checkState = async (client, input) => {
|
|
|
35
35
|
}
|
|
36
36
|
catch (exception) {
|
|
37
37
|
reason = exception;
|
|
38
|
-
if (exception.name
|
|
38
|
+
if (exception.name === "ValidationException") {
|
|
39
39
|
return { state: WaiterState.FAILURE, reason };
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -35,7 +35,7 @@ const checkState = async (client, input) => {
|
|
|
35
35
|
}
|
|
36
36
|
catch (exception) {
|
|
37
37
|
reason = exception;
|
|
38
|
-
if (exception.name
|
|
38
|
+
if (exception.name === "ValidationException") {
|
|
39
39
|
return { state: WaiterState.FAILURE, reason };
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -35,7 +35,7 @@ const checkState = async (client, input) => {
|
|
|
35
35
|
}
|
|
36
36
|
catch (exception) {
|
|
37
37
|
reason = exception;
|
|
38
|
-
if (exception.name
|
|
38
|
+
if (exception.name === "ValidationException") {
|
|
39
39
|
return { state: WaiterState.FAILURE, reason };
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -396,6 +396,7 @@ import { type UpdateTrialComponentCommandInput, type UpdateTrialComponentCommand
|
|
|
396
396
|
import { type UpdateUserProfileCommandInput, type UpdateUserProfileCommandOutput } from "./commands/UpdateUserProfileCommand";
|
|
397
397
|
import { type UpdateWorkforceCommandInput, type UpdateWorkforceCommandOutput } from "./commands/UpdateWorkforceCommand";
|
|
398
398
|
import { type UpdateWorkteamCommandInput, type UpdateWorkteamCommandOutput } from "./commands/UpdateWorkteamCommand";
|
|
399
|
+
import type { SageMakerServiceException } from "./models/SageMakerServiceException";
|
|
399
400
|
import { SageMakerClient } from "./SageMakerClient";
|
|
400
401
|
export interface SageMaker {
|
|
401
402
|
/**
|
|
@@ -3478,79 +3479,79 @@ export interface SageMaker {
|
|
|
3478
3479
|
* @param args - command input.
|
|
3479
3480
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3480
3481
|
*/
|
|
3481
|
-
waitUntilEndpointDeleted(args: DescribeEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3482
|
+
waitUntilEndpointDeleted(args: DescribeEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<SageMakerServiceException>>;
|
|
3482
3483
|
/**
|
|
3483
3484
|
* @see {@link DescribeEndpointCommand}
|
|
3484
3485
|
* @param args - command input.
|
|
3485
3486
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3486
3487
|
*/
|
|
3487
|
-
waitUntilEndpointInService(args: DescribeEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3488
|
+
waitUntilEndpointInService(args: DescribeEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeEndpointCommandOutput>>;
|
|
3488
3489
|
/**
|
|
3489
3490
|
* @see {@link DescribeImageCommand}
|
|
3490
3491
|
* @param args - command input.
|
|
3491
3492
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3492
3493
|
*/
|
|
3493
|
-
waitUntilImageCreated(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3494
|
+
waitUntilImageCreated(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
3494
3495
|
/**
|
|
3495
3496
|
* @see {@link DescribeImageCommand}
|
|
3496
3497
|
* @param args - command input.
|
|
3497
3498
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3498
3499
|
*/
|
|
3499
|
-
waitUntilImageDeleted(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3500
|
+
waitUntilImageDeleted(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<SageMakerServiceException>>;
|
|
3500
3501
|
/**
|
|
3501
3502
|
* @see {@link DescribeImageCommand}
|
|
3502
3503
|
* @param args - command input.
|
|
3503
3504
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3504
3505
|
*/
|
|
3505
|
-
waitUntilImageUpdated(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3506
|
+
waitUntilImageUpdated(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
3506
3507
|
/**
|
|
3507
3508
|
* @see {@link DescribeImageVersionCommand}
|
|
3508
3509
|
* @param args - command input.
|
|
3509
3510
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3510
3511
|
*/
|
|
3511
|
-
waitUntilImageVersionCreated(args: DescribeImageVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3512
|
+
waitUntilImageVersionCreated(args: DescribeImageVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeImageVersionCommandOutput>>;
|
|
3512
3513
|
/**
|
|
3513
3514
|
* @see {@link DescribeImageVersionCommand}
|
|
3514
3515
|
* @param args - command input.
|
|
3515
3516
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3516
3517
|
*/
|
|
3517
|
-
waitUntilImageVersionDeleted(args: DescribeImageVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3518
|
+
waitUntilImageVersionDeleted(args: DescribeImageVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<SageMakerServiceException>>;
|
|
3518
3519
|
/**
|
|
3519
3520
|
* @see {@link DescribeNotebookInstanceCommand}
|
|
3520
3521
|
* @param args - command input.
|
|
3521
3522
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3522
3523
|
*/
|
|
3523
|
-
waitUntilNotebookInstanceDeleted(args: DescribeNotebookInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3524
|
+
waitUntilNotebookInstanceDeleted(args: DescribeNotebookInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<SageMakerServiceException>>;
|
|
3524
3525
|
/**
|
|
3525
3526
|
* @see {@link DescribeNotebookInstanceCommand}
|
|
3526
3527
|
* @param args - command input.
|
|
3527
3528
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3528
3529
|
*/
|
|
3529
|
-
waitUntilNotebookInstanceInService(args: DescribeNotebookInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3530
|
+
waitUntilNotebookInstanceInService(args: DescribeNotebookInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
3530
3531
|
/**
|
|
3531
3532
|
* @see {@link DescribeNotebookInstanceCommand}
|
|
3532
3533
|
* @param args - command input.
|
|
3533
3534
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3534
3535
|
*/
|
|
3535
|
-
waitUntilNotebookInstanceStopped(args: DescribeNotebookInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3536
|
+
waitUntilNotebookInstanceStopped(args: DescribeNotebookInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
3536
3537
|
/**
|
|
3537
3538
|
* @see {@link DescribeProcessingJobCommand}
|
|
3538
3539
|
* @param args - command input.
|
|
3539
3540
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3540
3541
|
*/
|
|
3541
|
-
waitUntilProcessingJobCompletedOrStopped(args: DescribeProcessingJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3542
|
+
waitUntilProcessingJobCompletedOrStopped(args: DescribeProcessingJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeProcessingJobCommandOutput>>;
|
|
3542
3543
|
/**
|
|
3543
3544
|
* @see {@link DescribeTrainingJobCommand}
|
|
3544
3545
|
* @param args - command input.
|
|
3545
3546
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3546
3547
|
*/
|
|
3547
|
-
waitUntilTrainingJobCompletedOrStopped(args: DescribeTrainingJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3548
|
+
waitUntilTrainingJobCompletedOrStopped(args: DescribeTrainingJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeTrainingJobCommandOutput>>;
|
|
3548
3549
|
/**
|
|
3549
3550
|
* @see {@link DescribeTransformJobCommand}
|
|
3550
3551
|
* @param args - command input.
|
|
3551
3552
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3552
3553
|
*/
|
|
3553
|
-
waitUntilTransformJobCompletedOrStopped(args: DescribeTransformJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult
|
|
3554
|
+
waitUntilTransformJobCompletedOrStopped(args: DescribeTransformJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<DescribeTransformJobCommandOutput>>;
|
|
3554
3555
|
}
|
|
3555
3556
|
/**
|
|
3556
3557
|
* <p>Provides APIs for creating and managing SageMaker resources. </p> <p>Other Resources:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/whatis.html#first-time-user">SageMaker Developer Guide</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/augmented-ai/2019-11-07/APIReference/Welcome.html">Amazon Augmented AI Runtime API Reference</a> </p> </li> </ul>
|
|
@@ -2767,12 +2767,12 @@ export interface ExplainerConfig {
|
|
|
2767
2767
|
*/
|
|
2768
2768
|
export interface MetricsConfig {
|
|
2769
2769
|
/**
|
|
2770
|
-
* <p>Specifies whether to enable enhanced metrics for the endpoint. Enhanced metrics provide utilization data at instance and container granularity. Container granularity is supported for Inference Components. The default is <code>False</code>.</p>
|
|
2770
|
+
* <p>Specifies whether to enable enhanced metrics for the endpoint. Enhanced metrics provide utilization and invocation data at instance and container granularity. Container granularity is supported for Inference Components. The default is <code>False</code>.</p>
|
|
2771
2771
|
* @public
|
|
2772
2772
|
*/
|
|
2773
2773
|
EnableEnhancedMetrics?: boolean | undefined;
|
|
2774
2774
|
/**
|
|
2775
|
-
* <p>The
|
|
2775
|
+
* <p>The interval, in seconds, at which metrics are published to Amazon CloudWatch. Defaults to <code>60</code>. Valid values: <code>10</code>, <code>30</code>, <code>60</code>, <code>120</code>, <code>180</code>, <code>240</code>, <code>300</code>. When <code>EnableEnhancedMetrics</code> is set to <code>False</code>, this interval applies to utilization metrics only; invocation metrics continue to be published at the default 60-second interval. When <code>EnableEnhancedMetrics</code> is set to <code>True</code>, this interval applies to both utilization and invocation metrics.</p>
|
|
2776
2776
|
* @public
|
|
2777
2777
|
*/
|
|
2778
2778
|
MetricPublishFrequencyInSeconds?: MetricPublishFrequencyInSeconds | undefined;
|
|
@@ -1589,6 +1589,7 @@ import {
|
|
|
1589
1589
|
UpdateWorkteamCommandInput,
|
|
1590
1590
|
UpdateWorkteamCommandOutput,
|
|
1591
1591
|
} from "./commands/UpdateWorkteamCommand";
|
|
1592
|
+
import { SageMakerServiceException } from "./models/SageMakerServiceException";
|
|
1592
1593
|
import { SageMakerClient } from "./SageMakerClient";
|
|
1593
1594
|
export interface SageMaker {
|
|
1594
1595
|
addAssociation(
|
|
@@ -7602,7 +7603,7 @@ export interface SageMaker {
|
|
|
7602
7603
|
WaiterConfiguration<SageMaker>,
|
|
7603
7604
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7604
7605
|
>
|
|
7605
|
-
): Promise<WaiterResult
|
|
7606
|
+
): Promise<WaiterResult<SageMakerServiceException>>;
|
|
7606
7607
|
waitUntilEndpointInService(
|
|
7607
7608
|
args: DescribeEndpointCommandInput,
|
|
7608
7609
|
waiterConfig:
|
|
@@ -7611,7 +7612,7 @@ export interface SageMaker {
|
|
|
7611
7612
|
WaiterConfiguration<SageMaker>,
|
|
7612
7613
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7613
7614
|
>
|
|
7614
|
-
): Promise<WaiterResult
|
|
7615
|
+
): Promise<WaiterResult<DescribeEndpointCommandOutput>>;
|
|
7615
7616
|
waitUntilImageCreated(
|
|
7616
7617
|
args: DescribeImageCommandInput,
|
|
7617
7618
|
waiterConfig:
|
|
@@ -7620,7 +7621,7 @@ export interface SageMaker {
|
|
|
7620
7621
|
WaiterConfiguration<SageMaker>,
|
|
7621
7622
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7622
7623
|
>
|
|
7623
|
-
): Promise<WaiterResult
|
|
7624
|
+
): Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
7624
7625
|
waitUntilImageDeleted(
|
|
7625
7626
|
args: DescribeImageCommandInput,
|
|
7626
7627
|
waiterConfig:
|
|
@@ -7629,7 +7630,7 @@ export interface SageMaker {
|
|
|
7629
7630
|
WaiterConfiguration<SageMaker>,
|
|
7630
7631
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7631
7632
|
>
|
|
7632
|
-
): Promise<WaiterResult
|
|
7633
|
+
): Promise<WaiterResult<SageMakerServiceException>>;
|
|
7633
7634
|
waitUntilImageUpdated(
|
|
7634
7635
|
args: DescribeImageCommandInput,
|
|
7635
7636
|
waiterConfig:
|
|
@@ -7638,7 +7639,7 @@ export interface SageMaker {
|
|
|
7638
7639
|
WaiterConfiguration<SageMaker>,
|
|
7639
7640
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7640
7641
|
>
|
|
7641
|
-
): Promise<WaiterResult
|
|
7642
|
+
): Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
7642
7643
|
waitUntilImageVersionCreated(
|
|
7643
7644
|
args: DescribeImageVersionCommandInput,
|
|
7644
7645
|
waiterConfig:
|
|
@@ -7647,7 +7648,7 @@ export interface SageMaker {
|
|
|
7647
7648
|
WaiterConfiguration<SageMaker>,
|
|
7648
7649
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7649
7650
|
>
|
|
7650
|
-
): Promise<WaiterResult
|
|
7651
|
+
): Promise<WaiterResult<DescribeImageVersionCommandOutput>>;
|
|
7651
7652
|
waitUntilImageVersionDeleted(
|
|
7652
7653
|
args: DescribeImageVersionCommandInput,
|
|
7653
7654
|
waiterConfig:
|
|
@@ -7656,7 +7657,7 @@ export interface SageMaker {
|
|
|
7656
7657
|
WaiterConfiguration<SageMaker>,
|
|
7657
7658
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7658
7659
|
>
|
|
7659
|
-
): Promise<WaiterResult
|
|
7660
|
+
): Promise<WaiterResult<SageMakerServiceException>>;
|
|
7660
7661
|
waitUntilNotebookInstanceDeleted(
|
|
7661
7662
|
args: DescribeNotebookInstanceCommandInput,
|
|
7662
7663
|
waiterConfig:
|
|
@@ -7665,7 +7666,7 @@ export interface SageMaker {
|
|
|
7665
7666
|
WaiterConfiguration<SageMaker>,
|
|
7666
7667
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7667
7668
|
>
|
|
7668
|
-
): Promise<WaiterResult
|
|
7669
|
+
): Promise<WaiterResult<SageMakerServiceException>>;
|
|
7669
7670
|
waitUntilNotebookInstanceInService(
|
|
7670
7671
|
args: DescribeNotebookInstanceCommandInput,
|
|
7671
7672
|
waiterConfig:
|
|
@@ -7674,7 +7675,7 @@ export interface SageMaker {
|
|
|
7674
7675
|
WaiterConfiguration<SageMaker>,
|
|
7675
7676
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7676
7677
|
>
|
|
7677
|
-
): Promise<WaiterResult
|
|
7678
|
+
): Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
7678
7679
|
waitUntilNotebookInstanceStopped(
|
|
7679
7680
|
args: DescribeNotebookInstanceCommandInput,
|
|
7680
7681
|
waiterConfig:
|
|
@@ -7683,7 +7684,7 @@ export interface SageMaker {
|
|
|
7683
7684
|
WaiterConfiguration<SageMaker>,
|
|
7684
7685
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7685
7686
|
>
|
|
7686
|
-
): Promise<WaiterResult
|
|
7687
|
+
): Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
7687
7688
|
waitUntilProcessingJobCompletedOrStopped(
|
|
7688
7689
|
args: DescribeProcessingJobCommandInput,
|
|
7689
7690
|
waiterConfig:
|
|
@@ -7692,7 +7693,7 @@ export interface SageMaker {
|
|
|
7692
7693
|
WaiterConfiguration<SageMaker>,
|
|
7693
7694
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7694
7695
|
>
|
|
7695
|
-
): Promise<WaiterResult
|
|
7696
|
+
): Promise<WaiterResult<DescribeProcessingJobCommandOutput>>;
|
|
7696
7697
|
waitUntilTrainingJobCompletedOrStopped(
|
|
7697
7698
|
args: DescribeTrainingJobCommandInput,
|
|
7698
7699
|
waiterConfig:
|
|
@@ -7701,7 +7702,7 @@ export interface SageMaker {
|
|
|
7701
7702
|
WaiterConfiguration<SageMaker>,
|
|
7702
7703
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7703
7704
|
>
|
|
7704
|
-
): Promise<WaiterResult
|
|
7705
|
+
): Promise<WaiterResult<DescribeTrainingJobCommandOutput>>;
|
|
7705
7706
|
waitUntilTransformJobCompletedOrStopped(
|
|
7706
7707
|
args: DescribeTransformJobCommandInput,
|
|
7707
7708
|
waiterConfig:
|
|
@@ -7710,6 +7711,6 @@ export interface SageMaker {
|
|
|
7710
7711
|
WaiterConfiguration<SageMaker>,
|
|
7711
7712
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7712
7713
|
>
|
|
7713
|
-
): Promise<WaiterResult
|
|
7714
|
+
): Promise<WaiterResult<DescribeTransformJobCommandOutput>>;
|
|
7714
7715
|
}
|
|
7715
7716
|
export declare class SageMaker extends SageMakerClient implements SageMaker {}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeEndpointCommandInput,
|
|
4
|
+
DescribeEndpointCommandOutput,
|
|
5
|
+
} from "../commands/DescribeEndpointCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForEndpointDeleted: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeEndpointCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeEndpointCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilEndpointDeleted: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeEndpointCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeEndpointCommandInput,
|
|
4
|
+
DescribeEndpointCommandOutput,
|
|
5
|
+
} from "../commands/DescribeEndpointCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForEndpointInService: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeEndpointCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeEndpointCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilEndpointInService: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeEndpointCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeEndpointCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeImageCommandInput,
|
|
4
|
+
DescribeImageCommandOutput,
|
|
5
|
+
} from "../commands/DescribeImageCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForImageCreated: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeImageCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeImageCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilImageCreated: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeImageCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeImageCommandInput,
|
|
4
|
+
DescribeImageCommandOutput,
|
|
5
|
+
} from "../commands/DescribeImageCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForImageDeleted: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeImageCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeImageCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilImageDeleted: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeImageCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeImageCommandInput,
|
|
4
|
+
DescribeImageCommandOutput,
|
|
5
|
+
} from "../commands/DescribeImageCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForImageUpdated: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeImageCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeImageCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilImageUpdated: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeImageCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeImageVersionCommandInput,
|
|
4
|
+
DescribeImageVersionCommandOutput,
|
|
5
|
+
} from "../commands/DescribeImageVersionCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForImageVersionCreated: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeImageVersionCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeImageVersionCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilImageVersionCreated: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeImageVersionCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeImageVersionCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeImageVersionCommandInput,
|
|
4
|
+
DescribeImageVersionCommandOutput,
|
|
5
|
+
} from "../commands/DescribeImageVersionCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForImageVersionDeleted: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeImageVersionCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeImageVersionCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilImageVersionDeleted: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeImageVersionCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeNotebookInstanceCommandInput,
|
|
4
|
+
DescribeNotebookInstanceCommandOutput,
|
|
5
|
+
} from "../commands/DescribeNotebookInstanceCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForNotebookInstanceDeleted: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeNotebookInstanceCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeNotebookInstanceCommandOutput | SageMakerServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilNotebookInstanceDeleted: (
|
|
9
17
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
18
|
input: DescribeNotebookInstanceCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeNotebookInstanceCommandInput,
|
|
4
|
+
DescribeNotebookInstanceCommandOutput,
|
|
5
|
+
} from "../commands/DescribeNotebookInstanceCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForNotebookInstanceInService: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeNotebookInstanceCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeNotebookInstanceCommandOutput | SageMakerServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilNotebookInstanceInService: (
|
|
9
17
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
18
|
input: DescribeNotebookInstanceCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeNotebookInstanceCommandInput,
|
|
4
|
+
DescribeNotebookInstanceCommandOutput,
|
|
5
|
+
} from "../commands/DescribeNotebookInstanceCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForNotebookInstanceStopped: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeNotebookInstanceCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeNotebookInstanceCommandOutput | SageMakerServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilNotebookInstanceStopped: (
|
|
9
17
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
18
|
input: DescribeNotebookInstanceCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeProcessingJobCommandInput,
|
|
4
|
+
DescribeProcessingJobCommandOutput,
|
|
5
|
+
} from "../commands/DescribeProcessingJobCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForProcessingJobCompletedOrStopped: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeProcessingJobCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeProcessingJobCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilProcessingJobCompletedOrStopped: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeProcessingJobCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeProcessingJobCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeTrainingJobCommandInput,
|
|
4
|
+
DescribeTrainingJobCommandOutput,
|
|
5
|
+
} from "../commands/DescribeTrainingJobCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForTrainingJobCompletedOrStopped: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeTrainingJobCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeTrainingJobCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilTrainingJobCompletedOrStopped: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeTrainingJobCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeTrainingJobCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeTransformJobCommandInput,
|
|
4
|
+
DescribeTransformJobCommandOutput,
|
|
5
|
+
} from "../commands/DescribeTransformJobCommand";
|
|
6
|
+
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
7
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
8
|
export declare const waitForTransformJobCompletedOrStopped: (
|
|
5
9
|
params: WaiterConfiguration<SageMakerClient>,
|
|
6
10
|
input: DescribeTransformJobCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeTransformJobCommandOutput | SageMakerServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilTransformJobCompletedOrStopped: (
|
|
9
15
|
params: WaiterConfiguration<SageMakerClient>,
|
|
10
16
|
input: DescribeTransformJobCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeTransformJobCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeEndpointCommandInput } from "../commands/DescribeEndpointCommand";
|
|
2
|
+
import { type DescribeEndpointCommandInput, type DescribeEndpointCommandOutput } from "../commands/DescribeEndpointCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilEndpointDeleted instead. waitForEndpointDeleted does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForEndpointDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForEndpointDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult<DescribeEndpointCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeEndpointCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilEndpointDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilEndpointDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeEndpointCommandInput } from "../commands/DescribeEndpointCommand";
|
|
2
|
+
import { type DescribeEndpointCommandInput, type DescribeEndpointCommandOutput } from "../commands/DescribeEndpointCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilEndpointInService instead. waitForEndpointInService does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForEndpointInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForEndpointInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult<DescribeEndpointCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeEndpointCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilEndpointInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilEndpointInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeEndpointCommandInput) => Promise<WaiterResult<DescribeEndpointCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeImageCommandInput } from "../commands/DescribeImageCommand";
|
|
2
|
+
import { type DescribeImageCommandInput, type DescribeImageCommandOutput } from "../commands/DescribeImageCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilImageCreated instead. waitForImageCreated does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForImageCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForImageCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<DescribeImageCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeImageCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilImageCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilImageCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeImageCommandInput } from "../commands/DescribeImageCommand";
|
|
2
|
+
import { type DescribeImageCommandInput, type DescribeImageCommandOutput } from "../commands/DescribeImageCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilImageDeleted instead. waitForImageDeleted does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForImageDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForImageDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<DescribeImageCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeImageCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilImageDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilImageDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeImageCommandInput } from "../commands/DescribeImageCommand";
|
|
2
|
+
import { type DescribeImageCommandInput, type DescribeImageCommandOutput } from "../commands/DescribeImageCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilImageUpdated instead. waitForImageUpdated does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForImageUpdated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForImageUpdated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<DescribeImageCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeImageCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilImageUpdated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilImageUpdated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<DescribeImageCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeImageVersionCommandInput } from "../commands/DescribeImageVersionCommand";
|
|
2
|
+
import { type DescribeImageVersionCommandInput, type DescribeImageVersionCommandOutput } from "../commands/DescribeImageVersionCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilImageVersionCreated instead. waitForImageVersionCreated does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForImageVersionCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForImageVersionCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult<DescribeImageVersionCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeImageVersionCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilImageVersionCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilImageVersionCreated: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult<DescribeImageVersionCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeImageVersionCommandInput } from "../commands/DescribeImageVersionCommand";
|
|
2
|
+
import { type DescribeImageVersionCommandInput, type DescribeImageVersionCommandOutput } from "../commands/DescribeImageVersionCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilImageVersionDeleted instead. waitForImageVersionDeleted does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForImageVersionDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForImageVersionDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult<DescribeImageVersionCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeImageVersionCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilImageVersionDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilImageVersionDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeNotebookInstanceCommandInput } from "../commands/DescribeNotebookInstanceCommand";
|
|
2
|
+
import { type DescribeNotebookInstanceCommandInput, type DescribeNotebookInstanceCommandOutput } from "../commands/DescribeNotebookInstanceCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilNotebookInstanceDeleted instead. waitForNotebookInstanceDeleted does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForNotebookInstanceDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForNotebookInstanceDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeNotebookInstanceCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilNotebookInstanceDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilNotebookInstanceDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult<SageMakerServiceException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeNotebookInstanceCommandInput } from "../commands/DescribeNotebookInstanceCommand";
|
|
2
|
+
import { type DescribeNotebookInstanceCommandInput, type DescribeNotebookInstanceCommandOutput } from "../commands/DescribeNotebookInstanceCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilNotebookInstanceInService instead. waitForNotebookInstanceInService does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForNotebookInstanceInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForNotebookInstanceInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeNotebookInstanceCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilNotebookInstanceInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilNotebookInstanceInService: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeNotebookInstanceCommandInput } from "../commands/DescribeNotebookInstanceCommand";
|
|
2
|
+
import { type DescribeNotebookInstanceCommandInput, type DescribeNotebookInstanceCommandOutput } from "../commands/DescribeNotebookInstanceCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilNotebookInstanceStopped instead. waitForNotebookInstanceStopped does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForNotebookInstanceStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForNotebookInstanceStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeNotebookInstanceCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilNotebookInstanceStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilNotebookInstanceStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeNotebookInstanceCommandInput) => Promise<WaiterResult<DescribeNotebookInstanceCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeProcessingJobCommandInput } from "../commands/DescribeProcessingJobCommand";
|
|
2
|
+
import { type DescribeProcessingJobCommandInput, type DescribeProcessingJobCommandOutput } from "../commands/DescribeProcessingJobCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilProcessingJobCompletedOrStopped instead. waitForProcessingJobCompletedOrStopped does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForProcessingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeProcessingJobCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForProcessingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeProcessingJobCommandInput) => Promise<WaiterResult<DescribeProcessingJobCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeProcessingJobCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilProcessingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeProcessingJobCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilProcessingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeProcessingJobCommandInput) => Promise<WaiterResult<DescribeProcessingJobCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeTrainingJobCommandInput } from "../commands/DescribeTrainingJobCommand";
|
|
2
|
+
import { type DescribeTrainingJobCommandInput, type DescribeTrainingJobCommandOutput } from "../commands/DescribeTrainingJobCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilTrainingJobCompletedOrStopped instead. waitForTrainingJobCompletedOrStopped does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForTrainingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTrainingJobCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForTrainingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTrainingJobCommandInput) => Promise<WaiterResult<DescribeTrainingJobCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeTrainingJobCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilTrainingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTrainingJobCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilTrainingJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTrainingJobCommandInput) => Promise<WaiterResult<DescribeTrainingJobCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeTransformJobCommandInput } from "../commands/DescribeTransformJobCommand";
|
|
2
|
+
import { type DescribeTransformJobCommandInput, type DescribeTransformJobCommandOutput } from "../commands/DescribeTransformJobCommand";
|
|
3
|
+
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
3
4
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilTransformJobCompletedOrStopped instead. waitForTransformJobCompletedOrStopped does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForTransformJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTransformJobCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForTransformJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTransformJobCommandInput) => Promise<WaiterResult<DescribeTransformJobCommandOutput | SageMakerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeTransformJobCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilTransformJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTransformJobCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilTransformJobCompletedOrStopped: (params: WaiterConfiguration<SageMakerClient>, input: DescribeTransformJobCommandInput) => Promise<WaiterResult<DescribeTransformJobCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1038.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
+
"@aws-sdk/core": "^3.974.6",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
37
37
|
"@aws-sdk/types": "^3.973.8",
|
|
38
38
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
41
41
|
"@smithy/config-resolver": "^4.4.17",
|
|
42
42
|
"@smithy/core": "^3.23.17",
|
|
43
43
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
47
47
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
48
|
-
"@smithy/middleware-retry": "^4.5.
|
|
48
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
49
49
|
"@smithy/middleware-serde": "^4.2.20",
|
|
50
50
|
"@smithy/middleware-stack": "^4.2.14",
|
|
51
51
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
62
62
|
"@smithy/util-endpoints": "^3.4.2",
|
|
63
63
|
"@smithy/util-middleware": "^4.2.14",
|
|
64
|
-
"@smithy/util-retry": "^4.3.
|
|
64
|
+
"@smithy/util-retry": "^4.3.5",
|
|
65
65
|
"@smithy/util-utf8": "^4.2.2",
|
|
66
|
-
"@smithy/util-waiter": "^4.
|
|
66
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|