@aws-sdk/client-b2bi 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.
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetTransformerJobCommand } from "../commands/GetTransformerJobCommand";
2
+ import { GetTransformerJobCommand, } from "../commands/GetTransformerJobCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -249,7 +249,7 @@ export interface B2bi {
249
249
  * @param args - command input.
250
250
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
251
251
  */
252
- waitUntilTransformerJobSucceeded(args: GetTransformerJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<B2bi>, "client">): Promise<WaiterResult>;
252
+ waitUntilTransformerJobSucceeded(args: GetTransformerJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<B2bi>, "client">): Promise<WaiterResult<GetTransformerJobCommandOutput>>;
253
253
  }
254
254
  /**
255
255
  * <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p> <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.</p> <note> <p>Rather than actually running a command, you can use the <code>--generate-cli-skeleton</code> parameter with any API call to generate and display a parameter template. You can then use the generated template to customize and use as input on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p> </note>
@@ -557,6 +557,6 @@ export interface B2bi {
557
557
  WaiterConfiguration<B2bi>,
558
558
  Exclude<keyof WaiterConfiguration<B2bi>, "client">
559
559
  >
560
- ): Promise<WaiterResult>;
560
+ ): Promise<WaiterResult<GetTransformerJobCommandOutput>>;
561
561
  }
562
562
  export declare class B2bi extends B2biClient implements B2bi {}
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
2
  import { B2biClient } from "../B2biClient";
3
- import { GetTransformerJobCommandInput } from "../commands/GetTransformerJobCommand";
3
+ import {
4
+ GetTransformerJobCommandInput,
5
+ GetTransformerJobCommandOutput,
6
+ } from "../commands/GetTransformerJobCommand";
7
+ import { B2biServiceException } from "../models/B2biServiceException";
4
8
  export declare const waitForTransformerJobSucceeded: (
5
9
  params: WaiterConfiguration<B2biClient>,
6
10
  input: GetTransformerJobCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetTransformerJobCommandOutput | B2biServiceException>
13
+ >;
8
14
  export declare const waitUntilTransformerJobSucceeded: (
9
15
  params: WaiterConfiguration<B2biClient>,
10
16
  input: GetTransformerJobCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetTransformerJobCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
2
  import type { B2biClient } from "../B2biClient";
3
- import { type GetTransformerJobCommandInput } from "../commands/GetTransformerJobCommand";
3
+ import { type GetTransformerJobCommandInput, type GetTransformerJobCommandOutput } from "../commands/GetTransformerJobCommand";
4
+ import type { B2biServiceException } from "../models/B2biServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilTransformerJobSucceeded instead. waitForTransformerJobSucceeded does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForTransformerJobSucceeded: (params: WaiterConfiguration<B2biClient>, input: GetTransformerJobCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForTransformerJobSucceeded: (params: WaiterConfiguration<B2biClient>, input: GetTransformerJobCommandInput) => Promise<WaiterResult<GetTransformerJobCommandOutput | B2biServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetTransformerJobCommand for polling.
13
14
  */
14
- export declare const waitUntilTransformerJobSucceeded: (params: WaiterConfiguration<B2biClient>, input: GetTransformerJobCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilTransformerJobSucceeded: (params: WaiterConfiguration<B2biClient>, input: GetTransformerJobCommandInput) => Promise<WaiterResult<GetTransformerJobCommandOutput>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-b2bi",
3
3
  "description": "AWS SDK for JavaScript B2bi Client for Node.js, Browser and React Native",
4
- "version": "3.1037.0",
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-b2bi",
@@ -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.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
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.35",
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.21",
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.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,9 +55,9 @@
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.4",
58
+ "@smithy/util-retry": "^4.3.5",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.16",
60
+ "@smithy/util-waiter": "^4.3.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {