@aws-sdk/client-b2bi 3.974.0 → 3.978.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 +45 -36
- package/dist-es/B2bi.js +15 -1
- package/dist-types/B2bi.d.ts +36 -1
- package/dist-types/ts3.4/B2bi.d.ts +44 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1513,42 +1513,6 @@ class UpdateTransformerCommand extends smithyClient.Command
|
|
|
1513
1513
|
.build() {
|
|
1514
1514
|
}
|
|
1515
1515
|
|
|
1516
|
-
const commands = {
|
|
1517
|
-
CreateCapabilityCommand,
|
|
1518
|
-
CreatePartnershipCommand,
|
|
1519
|
-
CreateProfileCommand,
|
|
1520
|
-
CreateStarterMappingTemplateCommand,
|
|
1521
|
-
CreateTransformerCommand,
|
|
1522
|
-
DeleteCapabilityCommand,
|
|
1523
|
-
DeletePartnershipCommand,
|
|
1524
|
-
DeleteProfileCommand,
|
|
1525
|
-
DeleteTransformerCommand,
|
|
1526
|
-
GenerateMappingCommand,
|
|
1527
|
-
GetCapabilityCommand,
|
|
1528
|
-
GetPartnershipCommand,
|
|
1529
|
-
GetProfileCommand,
|
|
1530
|
-
GetTransformerCommand,
|
|
1531
|
-
GetTransformerJobCommand,
|
|
1532
|
-
ListCapabilitiesCommand,
|
|
1533
|
-
ListPartnershipsCommand,
|
|
1534
|
-
ListProfilesCommand,
|
|
1535
|
-
ListTagsForResourceCommand,
|
|
1536
|
-
ListTransformersCommand,
|
|
1537
|
-
StartTransformerJobCommand,
|
|
1538
|
-
TagResourceCommand,
|
|
1539
|
-
TestConversionCommand,
|
|
1540
|
-
TestMappingCommand,
|
|
1541
|
-
TestParsingCommand,
|
|
1542
|
-
UntagResourceCommand,
|
|
1543
|
-
UpdateCapabilityCommand,
|
|
1544
|
-
UpdatePartnershipCommand,
|
|
1545
|
-
UpdateProfileCommand,
|
|
1546
|
-
UpdateTransformerCommand,
|
|
1547
|
-
};
|
|
1548
|
-
class B2bi extends B2biClient {
|
|
1549
|
-
}
|
|
1550
|
-
smithyClient.createAggregatedClient(commands, B2bi);
|
|
1551
|
-
|
|
1552
1516
|
const paginateListCapabilities = core.createPaginator(B2biClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
1553
1517
|
|
|
1554
1518
|
const paginateListPartnerships = core.createPaginator(B2biClient, ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1596,6 +1560,51 @@ const waitUntilTransformerJobSucceeded = async (params, input) => {
|
|
|
1596
1560
|
return utilWaiter.checkExceptions(result);
|
|
1597
1561
|
};
|
|
1598
1562
|
|
|
1563
|
+
const commands = {
|
|
1564
|
+
CreateCapabilityCommand,
|
|
1565
|
+
CreatePartnershipCommand,
|
|
1566
|
+
CreateProfileCommand,
|
|
1567
|
+
CreateStarterMappingTemplateCommand,
|
|
1568
|
+
CreateTransformerCommand,
|
|
1569
|
+
DeleteCapabilityCommand,
|
|
1570
|
+
DeletePartnershipCommand,
|
|
1571
|
+
DeleteProfileCommand,
|
|
1572
|
+
DeleteTransformerCommand,
|
|
1573
|
+
GenerateMappingCommand,
|
|
1574
|
+
GetCapabilityCommand,
|
|
1575
|
+
GetPartnershipCommand,
|
|
1576
|
+
GetProfileCommand,
|
|
1577
|
+
GetTransformerCommand,
|
|
1578
|
+
GetTransformerJobCommand,
|
|
1579
|
+
ListCapabilitiesCommand,
|
|
1580
|
+
ListPartnershipsCommand,
|
|
1581
|
+
ListProfilesCommand,
|
|
1582
|
+
ListTagsForResourceCommand,
|
|
1583
|
+
ListTransformersCommand,
|
|
1584
|
+
StartTransformerJobCommand,
|
|
1585
|
+
TagResourceCommand,
|
|
1586
|
+
TestConversionCommand,
|
|
1587
|
+
TestMappingCommand,
|
|
1588
|
+
TestParsingCommand,
|
|
1589
|
+
UntagResourceCommand,
|
|
1590
|
+
UpdateCapabilityCommand,
|
|
1591
|
+
UpdatePartnershipCommand,
|
|
1592
|
+
UpdateProfileCommand,
|
|
1593
|
+
UpdateTransformerCommand,
|
|
1594
|
+
};
|
|
1595
|
+
const paginators = {
|
|
1596
|
+
paginateListCapabilities,
|
|
1597
|
+
paginateListPartnerships,
|
|
1598
|
+
paginateListProfiles,
|
|
1599
|
+
paginateListTransformers,
|
|
1600
|
+
};
|
|
1601
|
+
const waiters = {
|
|
1602
|
+
waitUntilTransformerJobSucceeded,
|
|
1603
|
+
};
|
|
1604
|
+
class B2bi extends B2biClient {
|
|
1605
|
+
}
|
|
1606
|
+
smithyClient.createAggregatedClient(commands, B2bi, { paginators, waiters });
|
|
1607
|
+
|
|
1599
1608
|
const X12SplitBy = {
|
|
1600
1609
|
NONE: "NONE",
|
|
1601
1610
|
TRANSACTION: "TRANSACTION",
|
package/dist-es/B2bi.js
CHANGED
|
@@ -30,6 +30,11 @@ import { UpdateCapabilityCommand, } from "./commands/UpdateCapabilityCommand";
|
|
|
30
30
|
import { UpdatePartnershipCommand, } from "./commands/UpdatePartnershipCommand";
|
|
31
31
|
import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
|
|
32
32
|
import { UpdateTransformerCommand, } from "./commands/UpdateTransformerCommand";
|
|
33
|
+
import { paginateListCapabilities } from "./pagination/ListCapabilitiesPaginator";
|
|
34
|
+
import { paginateListPartnerships } from "./pagination/ListPartnershipsPaginator";
|
|
35
|
+
import { paginateListProfiles } from "./pagination/ListProfilesPaginator";
|
|
36
|
+
import { paginateListTransformers } from "./pagination/ListTransformersPaginator";
|
|
37
|
+
import { waitUntilTransformerJobSucceeded } from "./waiters/waitForTransformerJobSucceeded";
|
|
33
38
|
const commands = {
|
|
34
39
|
CreateCapabilityCommand,
|
|
35
40
|
CreatePartnershipCommand,
|
|
@@ -62,6 +67,15 @@ const commands = {
|
|
|
62
67
|
UpdateProfileCommand,
|
|
63
68
|
UpdateTransformerCommand,
|
|
64
69
|
};
|
|
70
|
+
const paginators = {
|
|
71
|
+
paginateListCapabilities,
|
|
72
|
+
paginateListPartnerships,
|
|
73
|
+
paginateListProfiles,
|
|
74
|
+
paginateListTransformers,
|
|
75
|
+
};
|
|
76
|
+
const waiters = {
|
|
77
|
+
waitUntilTransformerJobSucceeded,
|
|
78
|
+
};
|
|
65
79
|
export class B2bi extends B2biClient {
|
|
66
80
|
}
|
|
67
|
-
createAggregatedClient(commands, B2bi);
|
|
81
|
+
createAggregatedClient(commands, B2bi, { paginators, waiters });
|
package/dist-types/B2bi.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { B2biClient } from "./B2biClient";
|
|
3
4
|
import { CreateCapabilityCommandInput, CreateCapabilityCommandOutput } from "./commands/CreateCapabilityCommand";
|
|
4
5
|
import { CreatePartnershipCommandInput, CreatePartnershipCommandOutput } from "./commands/CreatePartnershipCommand";
|
|
@@ -215,6 +216,40 @@ export interface B2bi {
|
|
|
215
216
|
updateTransformer(args: UpdateTransformerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTransformerCommandOutput>;
|
|
216
217
|
updateTransformer(args: UpdateTransformerCommandInput, cb: (err: any, data?: UpdateTransformerCommandOutput) => void): void;
|
|
217
218
|
updateTransformer(args: UpdateTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTransformerCommandOutput) => void): void;
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link ListCapabilitiesCommand}
|
|
221
|
+
* @param args - command input.
|
|
222
|
+
* @param paginationConfig - optional pagination config.
|
|
223
|
+
* @returns AsyncIterable of {@link ListCapabilitiesCommandOutput}.
|
|
224
|
+
*/
|
|
225
|
+
paginateListCapabilities(args?: ListCapabilitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCapabilitiesCommandOutput>;
|
|
226
|
+
/**
|
|
227
|
+
* @see {@link ListPartnershipsCommand}
|
|
228
|
+
* @param args - command input.
|
|
229
|
+
* @param paginationConfig - optional pagination config.
|
|
230
|
+
* @returns AsyncIterable of {@link ListPartnershipsCommandOutput}.
|
|
231
|
+
*/
|
|
232
|
+
paginateListPartnerships(args?: ListPartnershipsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPartnershipsCommandOutput>;
|
|
233
|
+
/**
|
|
234
|
+
* @see {@link ListProfilesCommand}
|
|
235
|
+
* @param args - command input.
|
|
236
|
+
* @param paginationConfig - optional pagination config.
|
|
237
|
+
* @returns AsyncIterable of {@link ListProfilesCommandOutput}.
|
|
238
|
+
*/
|
|
239
|
+
paginateListProfiles(args?: ListProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProfilesCommandOutput>;
|
|
240
|
+
/**
|
|
241
|
+
* @see {@link ListTransformersCommand}
|
|
242
|
+
* @param args - command input.
|
|
243
|
+
* @param paginationConfig - optional pagination config.
|
|
244
|
+
* @returns AsyncIterable of {@link ListTransformersCommandOutput}.
|
|
245
|
+
*/
|
|
246
|
+
paginateListTransformers(args?: ListTransformersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTransformersCommandOutput>;
|
|
247
|
+
/**
|
|
248
|
+
* @see {@link GetTransformerJobCommand}
|
|
249
|
+
* @param args - command input.
|
|
250
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
251
|
+
*/
|
|
252
|
+
waitUntilTransformerJobSucceeded(args: GetTransformerJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<B2bi>, "client">): Promise<WaiterResult>;
|
|
218
253
|
}
|
|
219
254
|
/**
|
|
220
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>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import { B2biClient } from "./B2biClient";
|
|
3
9
|
import {
|
|
4
10
|
CreateCapabilityCommandInput,
|
|
@@ -515,5 +521,42 @@ export interface B2bi {
|
|
|
515
521
|
options: __HttpHandlerOptions,
|
|
516
522
|
cb: (err: any, data?: UpdateTransformerCommandOutput) => void
|
|
517
523
|
): void;
|
|
524
|
+
paginateListCapabilities(
|
|
525
|
+
args?: ListCapabilitiesCommandInput,
|
|
526
|
+
paginationConfig?: Pick<
|
|
527
|
+
PaginationConfiguration,
|
|
528
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
529
|
+
>
|
|
530
|
+
): Paginator<ListCapabilitiesCommandOutput>;
|
|
531
|
+
paginateListPartnerships(
|
|
532
|
+
args?: ListPartnershipsCommandInput,
|
|
533
|
+
paginationConfig?: Pick<
|
|
534
|
+
PaginationConfiguration,
|
|
535
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
536
|
+
>
|
|
537
|
+
): Paginator<ListPartnershipsCommandOutput>;
|
|
538
|
+
paginateListProfiles(
|
|
539
|
+
args?: ListProfilesCommandInput,
|
|
540
|
+
paginationConfig?: Pick<
|
|
541
|
+
PaginationConfiguration,
|
|
542
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
543
|
+
>
|
|
544
|
+
): Paginator<ListProfilesCommandOutput>;
|
|
545
|
+
paginateListTransformers(
|
|
546
|
+
args?: ListTransformersCommandInput,
|
|
547
|
+
paginationConfig?: Pick<
|
|
548
|
+
PaginationConfiguration,
|
|
549
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
550
|
+
>
|
|
551
|
+
): Paginator<ListTransformersCommandOutput>;
|
|
552
|
+
waitUntilTransformerJobSucceeded(
|
|
553
|
+
args: GetTransformerJobCommandInput,
|
|
554
|
+
waiterConfig:
|
|
555
|
+
| number
|
|
556
|
+
| Pick<
|
|
557
|
+
WaiterConfiguration<B2bi>,
|
|
558
|
+
Exclude<keyof WaiterConfiguration<B2bi>, "client">
|
|
559
|
+
>
|
|
560
|
+
): Promise<WaiterResult>;
|
|
518
561
|
}
|
|
519
562
|
export declare class B2bi extends B2biClient implements B2bi {}
|
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.
|
|
4
|
+
"version": "3.978.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,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|