@aws-sdk/client-schemas 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 +1 -1
- package/dist-es/waiters/waitForCodeBindingExists.js +1 -1
- package/dist-types/Schemas.d.ts +1 -1
- package/dist-types/ts3.4/Schemas.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForCodeBindingExists.d.ts +9 -3
- package/dist-types/waiters/waitForCodeBindingExists.d.ts +4 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -531,7 +531,7 @@ const checkState = async (client, input) => {
|
|
|
531
531
|
}
|
|
532
532
|
catch (exception) {
|
|
533
533
|
reason = exception;
|
|
534
|
-
if (exception.name
|
|
534
|
+
if (exception.name === "NotFoundException") {
|
|
535
535
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -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 === "NotFoundException") {
|
|
39
39
|
return { state: WaiterState.FAILURE, reason };
|
|
40
40
|
}
|
|
41
41
|
}
|
package/dist-types/Schemas.d.ts
CHANGED
|
@@ -263,7 +263,7 @@ export interface Schemas {
|
|
|
263
263
|
* @param args - command input.
|
|
264
264
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
265
265
|
*/
|
|
266
|
-
waitUntilCodeBindingExists(args: DescribeCodeBindingCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Schemas>, "client">): Promise<WaiterResult
|
|
266
|
+
waitUntilCodeBindingExists(args: DescribeCodeBindingCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Schemas>, "client">): Promise<WaiterResult<DescribeCodeBindingCommandOutput>>;
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
269
|
* <p>Amazon EventBridge Schema Registry</p>
|
|
@@ -581,6 +581,6 @@ export interface Schemas {
|
|
|
581
581
|
WaiterConfiguration<Schemas>,
|
|
582
582
|
Exclude<keyof WaiterConfiguration<Schemas>, "client">
|
|
583
583
|
>
|
|
584
|
-
): Promise<WaiterResult
|
|
584
|
+
): Promise<WaiterResult<DescribeCodeBindingCommandOutput>>;
|
|
585
585
|
}
|
|
586
586
|
export declare class Schemas extends SchemasClient implements Schemas {}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeCodeBindingCommandInput,
|
|
4
|
+
DescribeCodeBindingCommandOutput,
|
|
5
|
+
} from "../commands/DescribeCodeBindingCommand";
|
|
6
|
+
import { SchemasServiceException } from "../models/SchemasServiceException";
|
|
3
7
|
import { SchemasClient } from "../SchemasClient";
|
|
4
8
|
export declare const waitForCodeBindingExists: (
|
|
5
9
|
params: WaiterConfiguration<SchemasClient>,
|
|
6
10
|
input: DescribeCodeBindingCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeCodeBindingCommandOutput | SchemasServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilCodeBindingExists: (
|
|
9
15
|
params: WaiterConfiguration<SchemasClient>,
|
|
10
16
|
input: DescribeCodeBindingCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeCodeBindingCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeCodeBindingCommandInput } from "../commands/DescribeCodeBindingCommand";
|
|
2
|
+
import { type DescribeCodeBindingCommandInput, type DescribeCodeBindingCommandOutput } from "../commands/DescribeCodeBindingCommand";
|
|
3
|
+
import type { SchemasServiceException } from "../models/SchemasServiceException";
|
|
3
4
|
import type { SchemasClient } from "../SchemasClient";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until code binding is generated
|
|
6
7
|
* @deprecated Use waitUntilCodeBindingExists instead. waitForCodeBindingExists does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForCodeBindingExists: (params: WaiterConfiguration<SchemasClient>, input: DescribeCodeBindingCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForCodeBindingExists: (params: WaiterConfiguration<SchemasClient>, input: DescribeCodeBindingCommandInput) => Promise<WaiterResult<DescribeCodeBindingCommandOutput | SchemasServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until code binding is generated
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeCodeBindingCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilCodeBindingExists: (params: WaiterConfiguration<SchemasClient>, input: DescribeCodeBindingCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilCodeBindingExists: (params: WaiterConfiguration<SchemasClient>, input: DescribeCodeBindingCommandInput) => Promise<WaiterResult<DescribeCodeBindingCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-schemas",
|
|
3
3
|
"description": "AWS SDK for JavaScript Schemas 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-schemas",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.6",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.17",
|
|
36
36
|
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.20",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
56
56
|
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.5",
|
|
59
59
|
"@smithy/util-stream": "^4.5.25",
|
|
60
60
|
"@smithy/util-utf8": "^4.2.2",
|
|
61
|
-
"@smithy/util-waiter": "^4.
|
|
61
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|