@aws-sdk/client-b2bi 3.476.0 → 3.478.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/pagination/ListCapabilitiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPartnershipsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTransformersPaginator.js +2 -24
- package/dist-es/pagination/ListCapabilitiesPaginator.js +2 -23
- package/dist-es/pagination/ListPartnershipsPaginator.js +2 -23
- package/dist-es/pagination/ListProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListTransformersPaginator.js +2 -23
- package/dist-types/commands/CreateCapabilityCommand.d.ts +0 -78
- package/dist-types/commands/CreatePartnershipCommand.d.ts +0 -39
- package/dist-types/commands/CreateProfileCommand.d.ts +0 -35
- package/dist-types/commands/CreateTransformerCommand.d.ts +0 -45
- package/dist-types/commands/DeleteCapabilityCommand.d.ts +0 -11
- package/dist-types/commands/DeletePartnershipCommand.d.ts +0 -11
- package/dist-types/commands/DeleteProfileCommand.d.ts +0 -11
- package/dist-types/commands/DeleteTransformerCommand.d.ts +0 -11
- package/dist-types/commands/GetCapabilityCommand.d.ts +0 -46
- package/dist-types/commands/GetPartnershipCommand.d.ts +0 -27
- package/dist-types/commands/GetProfileCommand.d.ts +0 -24
- package/dist-types/commands/GetTransformerCommand.d.ts +0 -30
- package/dist-types/commands/GetTransformerJobCommand.d.ts +0 -24
- package/dist-types/commands/ListCapabilitiesCommand.d.ts +0 -26
- package/dist-types/commands/ListPartnershipsCommand.d.ts +0 -31
- package/dist-types/commands/ListProfilesCommand.d.ts +0 -27
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +0 -21
- package/dist-types/commands/ListTransformersCommand.d.ts +0 -35
- package/dist-types/commands/StartTransformerJobCommand.d.ts +0 -25
- package/dist-types/commands/TagResourceCommand.d.ts +0 -17
- package/dist-types/commands/TestMappingCommand.d.ts +0 -18
- package/dist-types/commands/TestParsingCommand.d.ts +0 -26
- package/dist-types/commands/UntagResourceCommand.d.ts +0 -14
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +0 -72
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +0 -31
- package/dist-types/commands/UpdateProfileCommand.d.ts +0 -29
- package/dist-types/commands/UpdateTransformerCommand.d.ts +0 -41
- package/dist-types/pagination/ListCapabilitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPartnershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTransformersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListCapabilitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPartnershipsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTransformersPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCapabilities = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const B2biClient_1 = require("../B2biClient");
|
|
5
6
|
const ListCapabilitiesCommand_1 = require("../commands/ListCapabilitiesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCapabilitiesCommand_1.ListCapabilitiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCapabilities(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof B2biClient_1.B2biClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCapabilities = paginateListCapabilities;
|
|
7
|
+
exports.paginateListCapabilities = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListCapabilitiesCommand_1.ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPartnerships = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const B2biClient_1 = require("../B2biClient");
|
|
5
6
|
const ListPartnershipsCommand_1 = require("../commands/ListPartnershipsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPartnershipsCommand_1.ListPartnershipsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPartnerships(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof B2biClient_1.B2biClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPartnerships = paginateListPartnerships;
|
|
7
|
+
exports.paginateListPartnerships = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListPartnershipsCommand_1.ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const B2biClient_1 = require("../B2biClient");
|
|
5
6
|
const ListProfilesCommand_1 = require("../commands/ListProfilesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListProfilesCommand_1.ListProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProfiles(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof B2biClient_1.B2biClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListProfiles = paginateListProfiles;
|
|
7
|
+
exports.paginateListProfiles = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListProfilesCommand_1.ListProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTransformers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const B2biClient_1 = require("../B2biClient");
|
|
5
6
|
const ListTransformersCommand_1 = require("../commands/ListTransformersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTransformersCommand_1.ListTransformersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTransformers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof B2biClient_1.B2biClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTransformers = paginateListTransformers;
|
|
7
|
+
exports.paginateListTransformers = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListTransformersCommand_1.ListTransformersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { B2biClient } from "../B2biClient";
|
|
2
3
|
import { ListCapabilitiesCommand, } from "../commands/ListCapabilitiesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCapabilitiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCapabilities(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof B2biClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCapabilities = createPaginator(B2biClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { B2biClient } from "../B2biClient";
|
|
2
3
|
import { ListPartnershipsCommand, } from "../commands/ListPartnershipsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPartnershipsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPartnerships(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof B2biClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPartnerships = createPaginator(B2biClient, ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { B2biClient } from "../B2biClient";
|
|
2
3
|
import { ListProfilesCommand, } from "../commands/ListProfilesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProfiles(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof B2biClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProfiles = createPaginator(B2biClient, ListProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { B2biClient } from "../B2biClient";
|
|
2
3
|
import { ListTransformersCommand, } from "../commands/ListTransformersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTransformersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTransformers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof B2biClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTransformers = createPaginator(B2biClient, ListTransformersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -133,84 +133,6 @@ export interface CreateCapabilityCommandOutput extends CreateCapabilityResponse,
|
|
|
133
133
|
* @throws {@link B2biServiceException}
|
|
134
134
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
135
135
|
*
|
|
136
|
-
* @example Sample CreateCapability call
|
|
137
|
-
* ```javascript
|
|
138
|
-
* //
|
|
139
|
-
* const input = {
|
|
140
|
-
* "name": "b2biexample",
|
|
141
|
-
* "type": "edi",
|
|
142
|
-
* "clientToken": "foo",
|
|
143
|
-
* "configuration": {
|
|
144
|
-
* "edi": {
|
|
145
|
-
* "type": {
|
|
146
|
-
* "x12Details": {
|
|
147
|
-
* "version": "VERSION_4010",
|
|
148
|
-
* "transactionSet": "X12_110"
|
|
149
|
-
* }
|
|
150
|
-
* },
|
|
151
|
-
* "inputLocation": {
|
|
152
|
-
* "key": "input/",
|
|
153
|
-
* "bucketName": "test-bucket"
|
|
154
|
-
* },
|
|
155
|
-
* "outputLocation": {
|
|
156
|
-
* "key": "output/",
|
|
157
|
-
* "bucketName": "test-bucket"
|
|
158
|
-
* },
|
|
159
|
-
* "transformerId": "tr-9a893cf536df4658b"
|
|
160
|
-
* }
|
|
161
|
-
* },
|
|
162
|
-
* "instructionsDocuments": [
|
|
163
|
-
* {
|
|
164
|
-
* "key": "instructiondoc.txt",
|
|
165
|
-
* "bucketName": "test-bucket"
|
|
166
|
-
* }
|
|
167
|
-
* ],
|
|
168
|
-
* "tags": [
|
|
169
|
-
* {
|
|
170
|
-
* "Key": "capabilityKey1",
|
|
171
|
-
* "Value": "capabilityValue1"
|
|
172
|
-
* }
|
|
173
|
-
* ]
|
|
174
|
-
* };
|
|
175
|
-
* const command = new CreateCapabilityCommand(input);
|
|
176
|
-
* const response = await client.send(command);
|
|
177
|
-
* /* response ==
|
|
178
|
-
* {
|
|
179
|
-
* "name": "b2biexample",
|
|
180
|
-
* "type": "edi",
|
|
181
|
-
* "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
182
|
-
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
183
|
-
* "configuration": {
|
|
184
|
-
* "edi": {
|
|
185
|
-
* "type": {
|
|
186
|
-
* "x12Details": {
|
|
187
|
-
* "version": "VERSION_4010",
|
|
188
|
-
* "transactionSet": "X12_110"
|
|
189
|
-
* }
|
|
190
|
-
* },
|
|
191
|
-
* "inputLocation": {
|
|
192
|
-
* "key": "input/",
|
|
193
|
-
* "bucketName": "test-bucket"
|
|
194
|
-
* },
|
|
195
|
-
* "outputLocation": {
|
|
196
|
-
* "key": "output/",
|
|
197
|
-
* "bucketName": "test-bucket"
|
|
198
|
-
* },
|
|
199
|
-
* "transformerId": "tr-9a893cf536df4658b"
|
|
200
|
-
* }
|
|
201
|
-
* },
|
|
202
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
203
|
-
* "instructionsDocuments": [
|
|
204
|
-
* {
|
|
205
|
-
* "key": "instructiondoc.txt",
|
|
206
|
-
* "bucketName": "test-bucket"
|
|
207
|
-
* }
|
|
208
|
-
* ]
|
|
209
|
-
* }
|
|
210
|
-
* *\/
|
|
211
|
-
* // example id: example-1
|
|
212
|
-
* ```
|
|
213
|
-
*
|
|
214
136
|
*/
|
|
215
137
|
export declare class CreateCapabilityCommand extends $Command<CreateCapabilityCommandInput, CreateCapabilityCommandOutput, B2biClientResolvedConfig> {
|
|
216
138
|
readonly input: CreateCapabilityCommandInput;
|
|
@@ -95,45 +95,6 @@ export interface CreatePartnershipCommandOutput extends CreatePartnershipRespons
|
|
|
95
95
|
* @throws {@link B2biServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
97
97
|
*
|
|
98
|
-
* @example Sample CreatePartnership call
|
|
99
|
-
* ```javascript
|
|
100
|
-
* //
|
|
101
|
-
* const input = {
|
|
102
|
-
* "name": "b2bipartner",
|
|
103
|
-
* "capabilities": [
|
|
104
|
-
* "ca-963a8121e4fc4e348"
|
|
105
|
-
* ],
|
|
106
|
-
* "clientToken": "foo",
|
|
107
|
-
* "email": "john@example.com",
|
|
108
|
-
* "phone": "5555555555",
|
|
109
|
-
* "profileId": "p-60fbc37c87f04fce9",
|
|
110
|
-
* "tags": [
|
|
111
|
-
* {
|
|
112
|
-
* "Key": "sampleKey1",
|
|
113
|
-
* "Value": "sampleValue1"
|
|
114
|
-
* }
|
|
115
|
-
* ]
|
|
116
|
-
* };
|
|
117
|
-
* const command = new CreatePartnershipCommand(input);
|
|
118
|
-
* const response = await client.send(command);
|
|
119
|
-
* /* response ==
|
|
120
|
-
* {
|
|
121
|
-
* "name": "b2bipartner",
|
|
122
|
-
* "capabilities": [
|
|
123
|
-
* "ca-963a8121e4fc4e348"
|
|
124
|
-
* ],
|
|
125
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
126
|
-
* "email": "john@example.com",
|
|
127
|
-
* "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
|
|
128
|
-
* "partnershipId": "ps-219fa02f5b4242af8",
|
|
129
|
-
* "phone": "5555555555",
|
|
130
|
-
* "profileId": "p-60fbc37c87f04fce9",
|
|
131
|
-
* "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
|
|
132
|
-
* }
|
|
133
|
-
* *\/
|
|
134
|
-
* // example id: example-1
|
|
135
|
-
* ```
|
|
136
|
-
*
|
|
137
98
|
*/
|
|
138
99
|
export declare class CreatePartnershipCommand extends $Command<CreatePartnershipCommandInput, CreatePartnershipCommandOutput, B2biClientResolvedConfig> {
|
|
139
100
|
readonly input: CreatePartnershipCommandInput;
|
|
@@ -91,41 +91,6 @@ export interface CreateProfileCommandOutput extends CreateProfileResponse, __Met
|
|
|
91
91
|
* @throws {@link B2biServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
93
93
|
*
|
|
94
|
-
* @example Sample CreateProfile call
|
|
95
|
-
* ```javascript
|
|
96
|
-
* //
|
|
97
|
-
* const input = {
|
|
98
|
-
* "name": "Shipping Profile",
|
|
99
|
-
* "businessName": "John's Shipping",
|
|
100
|
-
* "clientToken": "foo",
|
|
101
|
-
* "email": "john@example.com",
|
|
102
|
-
* "logging": "ENABLED",
|
|
103
|
-
* "phone": "5555555555",
|
|
104
|
-
* "tags": [
|
|
105
|
-
* {
|
|
106
|
-
* "Key": "sampleKey",
|
|
107
|
-
* "Value": "sampleValue"
|
|
108
|
-
* }
|
|
109
|
-
* ]
|
|
110
|
-
* };
|
|
111
|
-
* const command = new CreateProfileCommand(input);
|
|
112
|
-
* const response = await client.send(command);
|
|
113
|
-
* /* response ==
|
|
114
|
-
* {
|
|
115
|
-
* "name": "Shipping Profile",
|
|
116
|
-
* "businessName": "John's Trucking",
|
|
117
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
118
|
-
* "email": "john@example.com",
|
|
119
|
-
* "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
120
|
-
* "logging": "ENABLED",
|
|
121
|
-
* "phone": "5555555555",
|
|
122
|
-
* "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
123
|
-
* "profileId": "p-60fbc37c87f04fce9"
|
|
124
|
-
* }
|
|
125
|
-
* *\/
|
|
126
|
-
* // example id: example-1
|
|
127
|
-
* ```
|
|
128
|
-
*
|
|
129
94
|
*/
|
|
130
95
|
export declare class CreateProfileCommand extends $Command<CreateProfileCommandInput, CreateProfileCommandOutput, B2biClientResolvedConfig> {
|
|
131
96
|
readonly input: CreateProfileCommandInput;
|
|
@@ -102,51 +102,6 @@ export interface CreateTransformerCommandOutput extends CreateTransformerRespons
|
|
|
102
102
|
* @throws {@link B2biServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
104
104
|
*
|
|
105
|
-
* @example Sample CreateTransformer call
|
|
106
|
-
* ```javascript
|
|
107
|
-
* //
|
|
108
|
-
* const input = {
|
|
109
|
-
* "name": "transformJSON",
|
|
110
|
-
* "clientToken": "foo",
|
|
111
|
-
* "ediType": {
|
|
112
|
-
* "x12Details": {
|
|
113
|
-
* "version": "VERSION_4010",
|
|
114
|
-
* "transactionSet": "X12_110"
|
|
115
|
-
* }
|
|
116
|
-
* },
|
|
117
|
-
* "fileFormat": "JSON",
|
|
118
|
-
* "mappingTemplate": "{}",
|
|
119
|
-
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
120
|
-
* "tags": [
|
|
121
|
-
* {
|
|
122
|
-
* "Key": "sampleKey",
|
|
123
|
-
* "Value": "sampleValue"
|
|
124
|
-
* }
|
|
125
|
-
* ]
|
|
126
|
-
* };
|
|
127
|
-
* const command = new CreateTransformerCommand(input);
|
|
128
|
-
* const response = await client.send(command);
|
|
129
|
-
* /* response ==
|
|
130
|
-
* {
|
|
131
|
-
* "name": "transformJSON",
|
|
132
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
133
|
-
* "ediType": {
|
|
134
|
-
* "x12Details": {
|
|
135
|
-
* "version": "VERSION_4010",
|
|
136
|
-
* "transactionSet": "X12_110"
|
|
137
|
-
* }
|
|
138
|
-
* },
|
|
139
|
-
* "fileFormat": "JSON",
|
|
140
|
-
* "mappingTemplate": "$",
|
|
141
|
-
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
142
|
-
* "status": "inactive",
|
|
143
|
-
* "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
|
|
144
|
-
* "transformerId": "tr-974c129999f84d8c9"
|
|
145
|
-
* }
|
|
146
|
-
* *\/
|
|
147
|
-
* // example id: example-1
|
|
148
|
-
* ```
|
|
149
|
-
*
|
|
150
105
|
*/
|
|
151
106
|
export declare class CreateTransformerCommand extends $Command<CreateTransformerCommandInput, CreateTransformerCommandOutput, B2biClientResolvedConfig> {
|
|
152
107
|
readonly input: CreateTransformerCommandInput;
|
|
@@ -66,17 +66,6 @@ export interface DeleteCapabilityCommandOutput extends __MetadataBearer {
|
|
|
66
66
|
* @throws {@link B2biServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
68
68
|
*
|
|
69
|
-
* @example Sample DeleteCapabilty call
|
|
70
|
-
* ```javascript
|
|
71
|
-
* //
|
|
72
|
-
* const input = {
|
|
73
|
-
* "capabilityId": "ca-963a8121e4fc4e348"
|
|
74
|
-
* };
|
|
75
|
-
* const command = new DeleteCapabilityCommand(input);
|
|
76
|
-
* await client.send(command);
|
|
77
|
-
* // example id: example-1
|
|
78
|
-
* ```
|
|
79
|
-
*
|
|
80
69
|
*/
|
|
81
70
|
export declare class DeleteCapabilityCommand extends $Command<DeleteCapabilityCommandInput, DeleteCapabilityCommandOutput, B2biClientResolvedConfig> {
|
|
82
71
|
readonly input: DeleteCapabilityCommandInput;
|
|
@@ -67,17 +67,6 @@ export interface DeletePartnershipCommandOutput extends __MetadataBearer {
|
|
|
67
67
|
* @throws {@link B2biServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
69
69
|
*
|
|
70
|
-
* @example Sample DeletePartnership call
|
|
71
|
-
* ```javascript
|
|
72
|
-
* //
|
|
73
|
-
* const input = {
|
|
74
|
-
* "partnershipId": "ps-219fa02f5b4242af8"
|
|
75
|
-
* };
|
|
76
|
-
* const command = new DeletePartnershipCommand(input);
|
|
77
|
-
* await client.send(command);
|
|
78
|
-
* // example id: example-1
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
70
|
*/
|
|
82
71
|
export declare class DeletePartnershipCommand extends $Command<DeletePartnershipCommandInput, DeletePartnershipCommandOutput, B2biClientResolvedConfig> {
|
|
83
72
|
readonly input: DeletePartnershipCommandInput;
|
|
@@ -67,17 +67,6 @@ export interface DeleteProfileCommandOutput extends __MetadataBearer {
|
|
|
67
67
|
* @throws {@link B2biServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
69
69
|
*
|
|
70
|
-
* @example Sample DeleteProfile call
|
|
71
|
-
* ```javascript
|
|
72
|
-
* //
|
|
73
|
-
* const input = {
|
|
74
|
-
* "profileId": "p-60fbc37c87f04fce9"
|
|
75
|
-
* };
|
|
76
|
-
* const command = new DeleteProfileCommand(input);
|
|
77
|
-
* await client.send(command);
|
|
78
|
-
* // example id: example-1
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
70
|
*/
|
|
82
71
|
export declare class DeleteProfileCommand extends $Command<DeleteProfileCommandInput, DeleteProfileCommandOutput, B2biClientResolvedConfig> {
|
|
83
72
|
readonly input: DeleteProfileCommandInput;
|
|
@@ -68,17 +68,6 @@ export interface DeleteTransformerCommandOutput extends __MetadataBearer {
|
|
|
68
68
|
* @throws {@link B2biServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
70
70
|
*
|
|
71
|
-
* @example Sample DeleteTransformer call
|
|
72
|
-
* ```javascript
|
|
73
|
-
* //
|
|
74
|
-
* const input = {
|
|
75
|
-
* "transformerId": "tr-974c129999f84d8c9"
|
|
76
|
-
* };
|
|
77
|
-
* const command = new DeleteTransformerCommand(input);
|
|
78
|
-
* await client.send(command);
|
|
79
|
-
* // example id: example-1
|
|
80
|
-
* ```
|
|
81
|
-
*
|
|
82
71
|
*/
|
|
83
72
|
export declare class DeleteTransformerCommand extends $Command<DeleteTransformerCommandInput, DeleteTransformerCommandOutput, B2biClientResolvedConfig> {
|
|
84
73
|
readonly input: DeleteTransformerCommandInput;
|
|
@@ -95,52 +95,6 @@ export interface GetCapabilityCommandOutput extends GetCapabilityResponse, __Met
|
|
|
95
95
|
* @throws {@link B2biServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
97
97
|
*
|
|
98
|
-
* @example Sample GetCapabilty call
|
|
99
|
-
* ```javascript
|
|
100
|
-
* //
|
|
101
|
-
* const input = {
|
|
102
|
-
* "capabilityId": "ca-963a8121e4fc4e348"
|
|
103
|
-
* };
|
|
104
|
-
* const command = new GetCapabilityCommand(input);
|
|
105
|
-
* const response = await client.send(command);
|
|
106
|
-
* /* response ==
|
|
107
|
-
* {
|
|
108
|
-
* "name": "b2biexample",
|
|
109
|
-
* "type": "edi",
|
|
110
|
-
* "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
111
|
-
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
112
|
-
* "configuration": {
|
|
113
|
-
* "edi": {
|
|
114
|
-
* "type": {
|
|
115
|
-
* "x12Details": {
|
|
116
|
-
* "version": "VERSION_4010",
|
|
117
|
-
* "transactionSet": "X12_110"
|
|
118
|
-
* }
|
|
119
|
-
* },
|
|
120
|
-
* "inputLocation": {
|
|
121
|
-
* "key": "input/",
|
|
122
|
-
* "bucketName": "test-bucket"
|
|
123
|
-
* },
|
|
124
|
-
* "outputLocation": {
|
|
125
|
-
* "key": "output/",
|
|
126
|
-
* "bucketName": "test-bucket"
|
|
127
|
-
* },
|
|
128
|
-
* "transformerId": "tr-9a893cf536df4658b"
|
|
129
|
-
* }
|
|
130
|
-
* },
|
|
131
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
132
|
-
* "instructionsDocuments": [
|
|
133
|
-
* {
|
|
134
|
-
* "key": "instructiondoc.txt",
|
|
135
|
-
* "bucketName": "test-bucket"
|
|
136
|
-
* }
|
|
137
|
-
* ],
|
|
138
|
-
* "modifiedAt": "2023-11-02T21:51:05.504Z"
|
|
139
|
-
* }
|
|
140
|
-
* *\/
|
|
141
|
-
* // example id: example-1
|
|
142
|
-
* ```
|
|
143
|
-
*
|
|
144
98
|
*/
|
|
145
99
|
export declare class GetCapabilityCommand extends $Command<GetCapabilityCommandInput, GetCapabilityCommandOutput, B2biClientResolvedConfig> {
|
|
146
100
|
readonly input: GetCapabilityCommandInput;
|
|
@@ -77,33 +77,6 @@ export interface GetPartnershipCommandOutput extends GetPartnershipResponse, __M
|
|
|
77
77
|
* @throws {@link B2biServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
79
79
|
*
|
|
80
|
-
* @example Sample GetPartnership call
|
|
81
|
-
* ```javascript
|
|
82
|
-
* //
|
|
83
|
-
* const input = {
|
|
84
|
-
* "partnershipId": "ps-219fa02f5b4242af8"
|
|
85
|
-
* };
|
|
86
|
-
* const command = new GetPartnershipCommand(input);
|
|
87
|
-
* const response = await client.send(command);
|
|
88
|
-
* /* response ==
|
|
89
|
-
* {
|
|
90
|
-
* "name": "b2bipartner",
|
|
91
|
-
* "capabilities": [
|
|
92
|
-
* "ca-963a8121e4fc4e348"
|
|
93
|
-
* ],
|
|
94
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
95
|
-
* "email": "john@example.com",
|
|
96
|
-
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
97
|
-
* "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-219fa02f5b4242af8",
|
|
98
|
-
* "partnershipId": "ps-219fa02f5b4242af8",
|
|
99
|
-
* "phone": "5555555555",
|
|
100
|
-
* "profileId": "p-60fbc37c87f04fce9",
|
|
101
|
-
* "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
|
|
102
|
-
* }
|
|
103
|
-
* *\/
|
|
104
|
-
* // example id: example-1
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
80
|
*/
|
|
108
81
|
export declare class GetPartnershipCommand extends $Command<GetPartnershipCommandInput, GetPartnershipCommandOutput, B2biClientResolvedConfig> {
|
|
109
82
|
readonly input: GetPartnershipCommandInput;
|
|
@@ -75,30 +75,6 @@ export interface GetProfileCommandOutput extends GetProfileResponse, __MetadataB
|
|
|
75
75
|
* @throws {@link B2biServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
77
77
|
*
|
|
78
|
-
* @example Sample GetProfile call
|
|
79
|
-
* ```javascript
|
|
80
|
-
* //
|
|
81
|
-
* const input = {
|
|
82
|
-
* "profileId": "p-60fbc37c87f04fce9"
|
|
83
|
-
* };
|
|
84
|
-
* const command = new GetProfileCommand(input);
|
|
85
|
-
* const response = await client.send(command);
|
|
86
|
-
* /* response ==
|
|
87
|
-
* {
|
|
88
|
-
* "name": "Shipping Profile",
|
|
89
|
-
* "businessName": "John's Trucking",
|
|
90
|
-
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
91
|
-
* "email": "john@example.com",
|
|
92
|
-
* "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
93
|
-
* "logging": "ENABLED",
|
|
94
|
-
* "phone": "5555555555",
|
|
95
|
-
* "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
96
|
-
* "profileId": "p-60fbc37c87f04fce9"
|
|
97
|
-
* }
|
|
98
|
-
* *\/
|
|
99
|
-
* // example id: example-1
|
|
100
|
-
* ```
|
|
101
|
-
*
|
|
102
78
|
*/
|
|
103
79
|
export declare class GetProfileCommand extends $Command<GetProfileCommandInput, GetProfileCommandOutput, B2biClientResolvedConfig> {
|
|
104
80
|
readonly input: GetProfileCommandInput;
|