@aws-sdk/client-b2bi 3.774.0 → 3.777.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/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/B2biClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CreateCapabilityCommand.d.ts +52 -52
- package/dist-types/commands/CreatePartnershipCommand.d.ts +21 -21
- package/dist-types/commands/CreateProfileCommand.d.ts +21 -21
- package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +12 -12
- package/dist-types/commands/CreateTransformerCommand.d.ts +39 -39
- package/dist-types/commands/DeleteCapabilityCommand.d.ts +7 -4
- package/dist-types/commands/DeletePartnershipCommand.d.ts +7 -4
- package/dist-types/commands/DeleteProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteTransformerCommand.d.ts +7 -4
- package/dist-types/commands/GenerateMappingCommand.d.ts +8 -8
- package/dist-types/commands/GetCapabilityCommand.d.ts +28 -28
- package/dist-types/commands/GetPartnershipCommand.d.ts +14 -14
- package/dist-types/commands/GetProfileCommand.d.ts +13 -13
- package/dist-types/commands/GetTransformerCommand.d.ts +22 -22
- package/dist-types/commands/GetTransformerJobCommand.d.ts +10 -10
- package/dist-types/commands/ListCapabilitiesCommand.d.ts +12 -12
- package/dist-types/commands/ListPartnershipsCommand.d.ts +15 -15
- package/dist-types/commands/ListProfilesCommand.d.ts +13 -13
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
- package/dist-types/commands/ListTransformersCommand.d.ts +19 -19
- package/dist-types/commands/StartTransformerJobCommand.d.ts +12 -12
- package/dist-types/commands/TagResourceCommand.d.ts +10 -7
- package/dist-types/commands/TestConversionCommand.d.ts +15 -15
- package/dist-types/commands/TestMappingCommand.d.ts +7 -7
- package/dist-types/commands/TestParsingCommand.d.ts +12 -12
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +48 -48
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +16 -16
- package/dist-types/commands/UpdateProfileCommand.d.ts +18 -18
- package/dist-types/commands/UpdateTransformerCommand.d.ts +38 -38
- package/package.json +33 -33
|
@@ -40,8 +40,6 @@ const defaultB2biHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultB2biHttpAuthSchemeProvider = defaultB2biHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -115,12 +115,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
115
115
|
|
|
116
116
|
// src/endpoint/EndpointParameters.ts
|
|
117
117
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
118
|
-
return {
|
|
119
|
-
...options,
|
|
118
|
+
return Object.assign(options, {
|
|
120
119
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
121
120
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
122
121
|
defaultSigningName: "b2bi"
|
|
123
|
-
};
|
|
122
|
+
});
|
|
124
123
|
}, "resolveClientEndpointParameters");
|
|
125
124
|
var commonParams = {
|
|
126
125
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -177,22 +176,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
177
176
|
}, "resolveHttpAuthRuntimeConfig");
|
|
178
177
|
|
|
179
178
|
// src/runtimeExtensions.ts
|
|
180
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
181
179
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
182
|
-
const extensionConfiguration =
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
180
|
+
const extensionConfiguration = Object.assign(
|
|
181
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
182
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
183
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
184
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
185
|
+
);
|
|
188
186
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
189
|
-
return
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
187
|
+
return Object.assign(
|
|
188
|
+
runtimeConfig,
|
|
189
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
190
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
191
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
192
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
193
|
+
);
|
|
196
194
|
}, "resolveRuntimeExtensions");
|
|
197
195
|
|
|
198
196
|
// src/B2biClient.ts
|
|
@@ -206,6 +204,8 @@ var B2biClient = class extends import_smithy_client.Client {
|
|
|
206
204
|
config;
|
|
207
205
|
constructor(...[configuration]) {
|
|
208
206
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
207
|
+
super(_config_0);
|
|
208
|
+
this.initConfig = _config_0;
|
|
209
209
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
210
210
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
211
211
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -214,7 +214,6 @@ var B2biClient = class extends import_smithy_client.Client {
|
|
|
214
214
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
215
215
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
216
216
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
217
|
-
super(_config_8);
|
|
218
217
|
this.config = _config_8;
|
|
219
218
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
220
219
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
package/dist-es/B2biClient.js
CHANGED
|
@@ -17,6 +17,8 @@ export class B2biClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class B2biClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultB2biHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "b2bi",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -139,85 +139,85 @@ declare const CreateCapabilityCommand_base: {
|
|
|
139
139
|
* @throws {@link B2biServiceException}
|
|
140
140
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
141
141
|
*
|
|
142
|
-
*
|
|
142
|
+
*
|
|
143
143
|
* @example Sample CreateCapability call
|
|
144
144
|
* ```javascript
|
|
145
145
|
* //
|
|
146
146
|
* const input = {
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* "x12Details": {
|
|
154
|
-
* "version": "VERSION_4010",
|
|
155
|
-
* "transactionSet": "X12_110"
|
|
156
|
-
* }
|
|
157
|
-
* },
|
|
158
|
-
* "inputLocation": {
|
|
159
|
-
* "key": "input/",
|
|
160
|
-
* "bucketName": "test-bucket"
|
|
147
|
+
* clientToken: "foo",
|
|
148
|
+
* configuration: {
|
|
149
|
+
* edi: {
|
|
150
|
+
* inputLocation: {
|
|
151
|
+
* bucketName: "test-bucket",
|
|
152
|
+
* key: "input/"
|
|
161
153
|
* },
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
154
|
+
* outputLocation: {
|
|
155
|
+
* bucketName: "test-bucket",
|
|
156
|
+
* key: "output/"
|
|
165
157
|
* },
|
|
166
|
-
*
|
|
158
|
+
* transformerId: "tr-9a893cf536df4658b",
|
|
159
|
+
* type: {
|
|
160
|
+
* x12Details: {
|
|
161
|
+
* transactionSet: "X12_110",
|
|
162
|
+
* version: "VERSION_4010"
|
|
163
|
+
* }
|
|
164
|
+
* }
|
|
167
165
|
* }
|
|
168
166
|
* },
|
|
169
|
-
*
|
|
167
|
+
* instructionsDocuments: [
|
|
170
168
|
* {
|
|
171
|
-
*
|
|
172
|
-
*
|
|
169
|
+
* bucketName: "test-bucket",
|
|
170
|
+
* key: "instructiondoc.txt"
|
|
173
171
|
* }
|
|
174
172
|
* ],
|
|
175
|
-
* "
|
|
173
|
+
* name: "b2biexample",
|
|
174
|
+
* tags: [
|
|
176
175
|
* {
|
|
177
|
-
*
|
|
178
|
-
*
|
|
176
|
+
* Key: "capabilityKey1",
|
|
177
|
+
* Value: "capabilityValue1"
|
|
179
178
|
* }
|
|
180
|
-
* ]
|
|
179
|
+
* ],
|
|
180
|
+
* type: "edi"
|
|
181
181
|
* };
|
|
182
182
|
* const command = new CreateCapabilityCommand(input);
|
|
183
183
|
* const response = await client.send(command);
|
|
184
|
-
* /* response
|
|
184
|
+
* /* response is
|
|
185
185
|
* {
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
* "x12Details": {
|
|
194
|
-
* "version": "VERSION_4010",
|
|
195
|
-
* "transactionSet": "X12_110"
|
|
196
|
-
* }
|
|
197
|
-
* },
|
|
198
|
-
* "inputLocation": {
|
|
199
|
-
* "key": "input/",
|
|
200
|
-
* "bucketName": "test-bucket"
|
|
186
|
+
* capabilityArn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
187
|
+
* capabilityId: "ca-963a8121e4fc4e348",
|
|
188
|
+
* configuration: {
|
|
189
|
+
* edi: {
|
|
190
|
+
* inputLocation: {
|
|
191
|
+
* bucketName: "test-bucket",
|
|
192
|
+
* key: "input/"
|
|
201
193
|
* },
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
194
|
+
* outputLocation: {
|
|
195
|
+
* bucketName: "test-bucket",
|
|
196
|
+
* key: "output/"
|
|
205
197
|
* },
|
|
206
|
-
*
|
|
198
|
+
* transformerId: "tr-9a893cf536df4658b",
|
|
199
|
+
* type: {
|
|
200
|
+
* x12Details: {
|
|
201
|
+
* transactionSet: "X12_110",
|
|
202
|
+
* version: "VERSION_4010"
|
|
203
|
+
* }
|
|
204
|
+
* }
|
|
207
205
|
* }
|
|
208
206
|
* },
|
|
209
|
-
*
|
|
210
|
-
*
|
|
207
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
208
|
+
* instructionsDocuments: [
|
|
211
209
|
* {
|
|
212
|
-
*
|
|
213
|
-
*
|
|
210
|
+
* bucketName: "test-bucket",
|
|
211
|
+
* key: "instructiondoc.txt"
|
|
214
212
|
* }
|
|
215
|
-
* ]
|
|
213
|
+
* ],
|
|
214
|
+
* name: "b2biexample",
|
|
215
|
+
* type: "edi"
|
|
216
216
|
* }
|
|
217
217
|
* *\/
|
|
218
|
-
* // example id: example-1
|
|
219
218
|
* ```
|
|
220
219
|
*
|
|
220
|
+
* @public
|
|
221
221
|
*/
|
|
222
222
|
export declare class CreateCapabilityCommand extends CreateCapabilityCommand_base {
|
|
223
223
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -155,46 +155,46 @@ declare const CreatePartnershipCommand_base: {
|
|
|
155
155
|
* @throws {@link B2biServiceException}
|
|
156
156
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
157
157
|
*
|
|
158
|
-
*
|
|
158
|
+
*
|
|
159
159
|
* @example Sample CreatePartnership call
|
|
160
160
|
* ```javascript
|
|
161
161
|
* //
|
|
162
162
|
* const input = {
|
|
163
|
-
*
|
|
164
|
-
* "capabilities": [
|
|
163
|
+
* capabilities: [
|
|
165
164
|
* "ca-963a8121e4fc4e348"
|
|
166
165
|
* ],
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* "
|
|
166
|
+
* clientToken: "foo",
|
|
167
|
+
* email: "john@example.com",
|
|
168
|
+
* name: "b2bipartner",
|
|
169
|
+
* phone: "5555555555",
|
|
170
|
+
* profileId: "p-60fbc37c87f04fce9",
|
|
171
|
+
* tags: [
|
|
172
172
|
* {
|
|
173
|
-
*
|
|
174
|
-
*
|
|
173
|
+
* Key: "sampleKey1",
|
|
174
|
+
* Value: "sampleValue1"
|
|
175
175
|
* }
|
|
176
176
|
* ]
|
|
177
177
|
* };
|
|
178
178
|
* const command = new CreatePartnershipCommand(input);
|
|
179
179
|
* const response = await client.send(command);
|
|
180
|
-
* /* response
|
|
180
|
+
* /* response is
|
|
181
181
|
* {
|
|
182
|
-
*
|
|
183
|
-
* "capabilities": [
|
|
182
|
+
* capabilities: [
|
|
184
183
|
* "ca-963a8121e4fc4e348"
|
|
185
184
|
* ],
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
185
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
186
|
+
* email: "john@example.com",
|
|
187
|
+
* name: "b2bipartner",
|
|
188
|
+
* partnershipArn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
|
|
189
|
+
* partnershipId: "ps-219fa02f5b4242af8",
|
|
190
|
+
* phone: "5555555555",
|
|
191
|
+
* profileId: "p-60fbc37c87f04fce9",
|
|
192
|
+
* tradingPartnerId: "tp-2a17ca447f6f4a8a8"
|
|
193
193
|
* }
|
|
194
194
|
* *\/
|
|
195
|
-
* // example id: example-1
|
|
196
195
|
* ```
|
|
197
196
|
*
|
|
197
|
+
* @public
|
|
198
198
|
*/
|
|
199
199
|
export declare class CreatePartnershipCommand extends CreatePartnershipCommand_base {
|
|
200
200
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -95,42 +95,42 @@ declare const CreateProfileCommand_base: {
|
|
|
95
95
|
* @throws {@link B2biServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
97
97
|
*
|
|
98
|
-
*
|
|
98
|
+
*
|
|
99
99
|
* @example Sample CreateProfile call
|
|
100
100
|
* ```javascript
|
|
101
101
|
* //
|
|
102
102
|
* const input = {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
103
|
+
* businessName: "John's Shipping",
|
|
104
|
+
* clientToken: "foo",
|
|
105
|
+
* email: "john@example.com",
|
|
106
|
+
* logging: "ENABLED",
|
|
107
|
+
* name: "Shipping Profile",
|
|
108
|
+
* phone: "5555555555",
|
|
109
|
+
* tags: [
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
111
|
+
* Key: "sampleKey",
|
|
112
|
+
* Value: "sampleValue"
|
|
113
113
|
* }
|
|
114
114
|
* ]
|
|
115
115
|
* };
|
|
116
116
|
* const command = new CreateProfileCommand(input);
|
|
117
117
|
* const response = await client.send(command);
|
|
118
|
-
* /* response
|
|
118
|
+
* /* response is
|
|
119
119
|
* {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
120
|
+
* businessName: "John's Trucking",
|
|
121
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
122
|
+
* email: "john@example.com",
|
|
123
|
+
* logGroupName: "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
124
|
+
* logging: "ENABLED",
|
|
125
|
+
* name: "Shipping Profile",
|
|
126
|
+
* phone: "5555555555",
|
|
127
|
+
* profileArn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
128
|
+
* profileId: "p-60fbc37c87f04fce9"
|
|
129
129
|
* }
|
|
130
130
|
* *\/
|
|
131
|
-
* // example id: example-1
|
|
132
131
|
* ```
|
|
133
132
|
*
|
|
133
|
+
* @public
|
|
134
134
|
*/
|
|
135
135
|
export declare class CreateProfileCommand extends CreateProfileCommand_base {
|
|
136
136
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,33 +82,33 @@ declare const CreateStarterMappingTemplateCommand_base: {
|
|
|
82
82
|
* @throws {@link B2biServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example Sample CreateStarterMappingTemplate call
|
|
87
87
|
* ```javascript
|
|
88
88
|
* //
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
90
|
+
* mappingType: "JSONATA",
|
|
91
|
+
* outputSampleLocation: {
|
|
92
|
+
* bucketName: "output-sample-bucket",
|
|
93
|
+
* key: "output-sample-key"
|
|
94
94
|
* },
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
95
|
+
* templateDetails: {
|
|
96
|
+
* x12: {
|
|
97
|
+
* transactionSet: "X12_110",
|
|
98
|
+
* version: "VERSION_4010"
|
|
99
99
|
* }
|
|
100
100
|
* }
|
|
101
101
|
* };
|
|
102
102
|
* const command = new CreateStarterMappingTemplateCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* mappingTemplate: "Example Mapping Template"
|
|
107
107
|
* }
|
|
108
108
|
* *\/
|
|
109
|
-
* // example id: example-1
|
|
110
109
|
* ```
|
|
111
110
|
*
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export declare class CreateStarterMappingTemplateCommand extends CreateStarterMappingTemplateCommand_base {
|
|
114
114
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -198,76 +198,76 @@ declare const CreateTransformerCommand_base: {
|
|
|
198
198
|
* @throws {@link B2biServiceException}
|
|
199
199
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
200
200
|
*
|
|
201
|
-
*
|
|
201
|
+
*
|
|
202
202
|
* @example Sample CreateTransformer call
|
|
203
203
|
* ```javascript
|
|
204
204
|
* //
|
|
205
205
|
* const input = {
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* "transactionSet": "X12_110"
|
|
206
|
+
* clientToken: "foo",
|
|
207
|
+
* inputConversion: {
|
|
208
|
+
* formatOptions: {
|
|
209
|
+
* x12: {
|
|
210
|
+
* transactionSet: "X12_110",
|
|
211
|
+
* version: "VERSION_4010"
|
|
213
212
|
* }
|
|
214
213
|
* },
|
|
215
|
-
*
|
|
214
|
+
* fromFormat: "X12"
|
|
216
215
|
* },
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
216
|
+
* mapping: {
|
|
217
|
+
* template: "{}",
|
|
218
|
+
* templateLanguage: "JSONATA"
|
|
220
219
|
* },
|
|
221
|
-
* "
|
|
222
|
-
*
|
|
223
|
-
* "
|
|
220
|
+
* name: "transformX12",
|
|
221
|
+
* sampleDocuments: {
|
|
222
|
+
* bucketName: "test-bucket",
|
|
223
|
+
* keys: [
|
|
224
224
|
* {
|
|
225
|
-
*
|
|
225
|
+
* input: "sampleDoc.txt"
|
|
226
226
|
* }
|
|
227
227
|
* ]
|
|
228
228
|
* },
|
|
229
|
-
*
|
|
229
|
+
* tags: [
|
|
230
230
|
* {
|
|
231
|
-
*
|
|
232
|
-
*
|
|
231
|
+
* Key: "sampleKey",
|
|
232
|
+
* Value: "sampleValue"
|
|
233
233
|
* }
|
|
234
234
|
* ]
|
|
235
235
|
* };
|
|
236
236
|
* const command = new CreateTransformerCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
-
* /* response
|
|
238
|
+
* /* response is
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* "transactionSet": "X12_110"
|
|
240
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
241
|
+
* inputConversion: {
|
|
242
|
+
* formatOptions: {
|
|
243
|
+
* x12: {
|
|
244
|
+
* transactionSet: "X12_110",
|
|
245
|
+
* version: "VERSION_4010"
|
|
247
246
|
* }
|
|
248
247
|
* },
|
|
249
|
-
*
|
|
248
|
+
* fromFormat: "X12"
|
|
250
249
|
* },
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
250
|
+
* mapping: {
|
|
251
|
+
* template: "{}",
|
|
252
|
+
* templateLanguage: "JSONATA"
|
|
254
253
|
* },
|
|
255
|
-
* "
|
|
256
|
-
*
|
|
257
|
-
* "
|
|
254
|
+
* name: "transformX12",
|
|
255
|
+
* sampleDocuments: {
|
|
256
|
+
* bucketName: "test-bucket",
|
|
257
|
+
* keys: [
|
|
258
258
|
* {
|
|
259
|
-
*
|
|
259
|
+
* input: "sampleDoc.txt"
|
|
260
260
|
* }
|
|
261
261
|
* ]
|
|
262
262
|
* },
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
263
|
+
* status: "inactive",
|
|
264
|
+
* transformerArn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
|
|
265
|
+
* transformerId: "tr-974c129999f84d8c9"
|
|
266
266
|
* }
|
|
267
267
|
* *\/
|
|
268
|
-
* // example id: example-1
|
|
269
268
|
* ```
|
|
270
269
|
*
|
|
270
|
+
* @public
|
|
271
271
|
*/
|
|
272
272
|
export declare class CreateTransformerCommand extends CreateTransformerCommand_base {
|
|
273
273
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,18 +70,21 @@ declare const DeleteCapabilityCommand_base: {
|
|
|
70
70
|
* @throws {@link B2biServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
72
72
|
*
|
|
73
|
-
*
|
|
73
|
+
*
|
|
74
74
|
* @example Sample DeleteCapabilty call
|
|
75
75
|
* ```javascript
|
|
76
76
|
* //
|
|
77
77
|
* const input = {
|
|
78
|
-
*
|
|
78
|
+
* capabilityId: "ca-963a8121e4fc4e348"
|
|
79
79
|
* };
|
|
80
80
|
* const command = new DeleteCapabilityCommand(input);
|
|
81
|
-
* await client.send(command);
|
|
82
|
-
*
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* /* response is
|
|
83
|
+
* { /* metadata only *\/ }
|
|
84
|
+
* *\/
|
|
83
85
|
* ```
|
|
84
86
|
*
|
|
87
|
+
* @public
|
|
85
88
|
*/
|
|
86
89
|
export declare class DeleteCapabilityCommand extends DeleteCapabilityCommand_base {
|
|
87
90
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,18 +71,21 @@ declare const DeletePartnershipCommand_base: {
|
|
|
71
71
|
* @throws {@link B2biServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* @example Sample DeletePartnership call
|
|
76
76
|
* ```javascript
|
|
77
77
|
* //
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
79
|
+
* partnershipId: "ps-219fa02f5b4242af8"
|
|
80
80
|
* };
|
|
81
81
|
* const command = new DeletePartnershipCommand(input);
|
|
82
|
-
* await client.send(command);
|
|
83
|
-
*
|
|
82
|
+
* const response = await client.send(command);
|
|
83
|
+
* /* response is
|
|
84
|
+
* { /* metadata only *\/ }
|
|
85
|
+
* *\/
|
|
84
86
|
* ```
|
|
85
87
|
*
|
|
88
|
+
* @public
|
|
86
89
|
*/
|
|
87
90
|
export declare class DeletePartnershipCommand extends DeletePartnershipCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|