@aws-sdk/client-sagemaker 3.1162.0 → 3.1163.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 +3 -3
- package/dist-es/waiters/waitForImageDeleted.js +1 -1
- package/dist-es/waiters/waitForImageVersionDeleted.js +1 -1
- package/dist-types/SageMaker.d.ts +3 -2
- package/dist-types/ts3.4/SageMaker.d.ts +3 -2
- package/dist-types/ts3.4/waiters/waitForImageDeleted.d.ts +2 -1
- package/dist-types/ts3.4/waiters/waitForImageVersionDeleted.d.ts +2 -1
- package/dist-types/waiters/waitForImageDeleted.d.ts +2 -1
- package/dist-types/waiters/waitForImageVersionDeleted.d.ts +2 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1162.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -15661,7 +15661,7 @@ const checkState$9 = async (client, input) => {
|
|
|
15661
15661
|
}
|
|
15662
15662
|
catch (exception) {
|
|
15663
15663
|
reason = exception;
|
|
15664
|
-
if (exception.name === "
|
|
15664
|
+
if (exception.name === "ResourceNotFound") {
|
|
15665
15665
|
return { state: WaiterState.SUCCESS, reason };
|
|
15666
15666
|
}
|
|
15667
15667
|
if (exception.name === "ValidationException") {
|
|
@@ -15781,7 +15781,7 @@ const checkState$6 = async (client, input) => {
|
|
|
15781
15781
|
}
|
|
15782
15782
|
catch (exception) {
|
|
15783
15783
|
reason = exception;
|
|
15784
|
-
if (exception.name === "
|
|
15784
|
+
if (exception.name === "ResourceNotFound") {
|
|
15785
15785
|
return { state: WaiterState.SUCCESS, reason };
|
|
15786
15786
|
}
|
|
15787
15787
|
if (exception.name === "ValidationException") {
|
|
@@ -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 === "ResourceNotFound") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
if (exception.name === "ValidationException") {
|
|
@@ -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 === "ResourceNotFound") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
if (exception.name === "ValidationException") {
|
|
@@ -409,6 +409,7 @@ import { type UpdateTrialComponentCommandInput, type UpdateTrialComponentCommand
|
|
|
409
409
|
import { type UpdateUserProfileCommandInput, type UpdateUserProfileCommandOutput } from "./commands/UpdateUserProfileCommand";
|
|
410
410
|
import { type UpdateWorkforceCommandInput, type UpdateWorkforceCommandOutput } from "./commands/UpdateWorkforceCommand";
|
|
411
411
|
import { type UpdateWorkteamCommandInput, type UpdateWorkteamCommandOutput } from "./commands/UpdateWorkteamCommand";
|
|
412
|
+
import type { ResourceNotFound } from "./models/errors";
|
|
412
413
|
import type { SageMakerServiceException } from "./models/SageMakerServiceException";
|
|
413
414
|
import { SageMakerClient } from "./SageMakerClient";
|
|
414
415
|
/**
|
|
@@ -3616,7 +3617,7 @@ export interface SageMaker {
|
|
|
3616
3617
|
* @param args - command input.
|
|
3617
3618
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3618
3619
|
*/
|
|
3619
|
-
waitUntilImageDeleted(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<
|
|
3620
|
+
waitUntilImageDeleted(args: DescribeImageCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<ResourceNotFound>>;
|
|
3620
3621
|
/**
|
|
3621
3622
|
* @see {@link DescribeImageCommand}
|
|
3622
3623
|
* @param args - command input.
|
|
@@ -3634,7 +3635,7 @@ export interface SageMaker {
|
|
|
3634
3635
|
* @param args - command input.
|
|
3635
3636
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
3636
3637
|
*/
|
|
3637
|
-
waitUntilImageVersionDeleted(args: DescribeImageVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<
|
|
3638
|
+
waitUntilImageVersionDeleted(args: DescribeImageVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<SageMaker>, "client">): Promise<WaiterResult<ResourceNotFound>>;
|
|
3638
3639
|
/**
|
|
3639
3640
|
* @see {@link DescribeNotebookInstanceCommand}
|
|
3640
3641
|
* @param args - command input.
|
|
@@ -1531,6 +1531,7 @@ import {
|
|
|
1531
1531
|
UpdateWorkteamCommandInput,
|
|
1532
1532
|
UpdateWorkteamCommandOutput,
|
|
1533
1533
|
} from "./commands/UpdateWorkteamCommand";
|
|
1534
|
+
import { ResourceNotFound } from "./models/errors";
|
|
1534
1535
|
import { SageMakerServiceException } from "./models/SageMakerServiceException";
|
|
1535
1536
|
import { SageMakerClient } from "./SageMakerClient";
|
|
1536
1537
|
export interface SageMakerRequestOptions extends __HttpHandlerOptions {
|
|
@@ -7586,7 +7587,7 @@ export interface SageMaker {
|
|
|
7586
7587
|
WaiterConfiguration<SageMaker>,
|
|
7587
7588
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7588
7589
|
>,
|
|
7589
|
-
): Promise<WaiterResult<
|
|
7590
|
+
): Promise<WaiterResult<ResourceNotFound>>;
|
|
7590
7591
|
waitUntilImageUpdated(
|
|
7591
7592
|
args: DescribeImageCommandInput,
|
|
7592
7593
|
waiterConfig:
|
|
@@ -7613,7 +7614,7 @@ export interface SageMaker {
|
|
|
7613
7614
|
WaiterConfiguration<SageMaker>,
|
|
7614
7615
|
Exclude<keyof WaiterConfiguration<SageMaker>, "client">
|
|
7615
7616
|
>,
|
|
7616
|
-
): Promise<WaiterResult<
|
|
7617
|
+
): Promise<WaiterResult<ResourceNotFound>>;
|
|
7617
7618
|
waitUntilNotebookInstanceDeleted(
|
|
7618
7619
|
args: DescribeNotebookInstanceCommandInput,
|
|
7619
7620
|
waiterConfig:
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
DescribeImageCommandInput,
|
|
4
4
|
DescribeImageCommandOutput,
|
|
5
5
|
} from "../commands/DescribeImageCommand";
|
|
6
|
+
import { ResourceNotFound } from "../models/errors";
|
|
6
7
|
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
7
8
|
import { SageMakerClient } from "../SageMakerClient";
|
|
8
9
|
export declare const waitForImageDeleted: (
|
|
@@ -12,4 +13,4 @@ export declare const waitForImageDeleted: (
|
|
|
12
13
|
export declare const waitUntilImageDeleted: (
|
|
13
14
|
params: WaiterConfiguration<SageMakerClient>,
|
|
14
15
|
input: DescribeImageCommandInput,
|
|
15
|
-
) => Promise<WaiterResult<
|
|
16
|
+
) => Promise<WaiterResult<ResourceNotFound>>;
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
DescribeImageVersionCommandInput,
|
|
4
4
|
DescribeImageVersionCommandOutput,
|
|
5
5
|
} from "../commands/DescribeImageVersionCommand";
|
|
6
|
+
import { ResourceNotFound } from "../models/errors";
|
|
6
7
|
import { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
7
8
|
import { SageMakerClient } from "../SageMakerClient";
|
|
8
9
|
export declare const waitForImageVersionDeleted: (
|
|
@@ -12,4 +13,4 @@ export declare const waitForImageVersionDeleted: (
|
|
|
12
13
|
export declare const waitUntilImageVersionDeleted: (
|
|
13
14
|
params: WaiterConfiguration<SageMakerClient>,
|
|
14
15
|
input: DescribeImageVersionCommandInput,
|
|
15
|
-
) => Promise<WaiterResult<
|
|
16
|
+
) => Promise<WaiterResult<ResourceNotFound>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import { type DescribeImageCommandInput, type DescribeImageCommandOutput } from "../commands/DescribeImageCommand";
|
|
3
|
+
import type { ResourceNotFound } from "../models/errors";
|
|
3
4
|
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
4
5
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
@@ -12,4 +13,4 @@ export declare const waitForImageDeleted: (params: WaiterConfiguration<SageMaker
|
|
|
12
13
|
* @param params - Waiter configuration options.
|
|
13
14
|
* @param input - The input to DescribeImageCommand for polling.
|
|
14
15
|
*/
|
|
15
|
-
export declare const waitUntilImageDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<
|
|
16
|
+
export declare const waitUntilImageDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageCommandInput) => Promise<WaiterResult<ResourceNotFound>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import { type DescribeImageVersionCommandInput, type DescribeImageVersionCommandOutput } from "../commands/DescribeImageVersionCommand";
|
|
3
|
+
import type { ResourceNotFound } from "../models/errors";
|
|
3
4
|
import type { SageMakerServiceException } from "../models/SageMakerServiceException";
|
|
4
5
|
import type { SageMakerClient } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
@@ -12,4 +13,4 @@ export declare const waitForImageVersionDeleted: (params: WaiterConfiguration<Sa
|
|
|
12
13
|
* @param params - Waiter configuration options.
|
|
13
14
|
* @param input - The input to DescribeImageVersionCommand for polling.
|
|
14
15
|
*/
|
|
15
|
-
export declare const waitUntilImageVersionDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult<
|
|
16
|
+
export declare const waitUntilImageVersionDeleted: (params: WaiterConfiguration<SageMakerClient>, input: DescribeImageVersionCommandInput) => Promise<WaiterResult<ResourceNotFound>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker",
|
|
6
6
|
"license": "Apache-2.0",
|