@aws-sdk/client-b2bi 3.495.0 → 3.499.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 +32 -29
- package/dist-types/commands/CreateCapabilityCommand.d.ts +78 -0
- package/dist-types/commands/CreatePartnershipCommand.d.ts +39 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +35 -0
- package/dist-types/commands/CreateTransformerCommand.d.ts +45 -0
- package/dist-types/commands/DeleteCapabilityCommand.d.ts +11 -0
- package/dist-types/commands/DeletePartnershipCommand.d.ts +11 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +11 -0
- package/dist-types/commands/DeleteTransformerCommand.d.ts +11 -0
- package/dist-types/commands/GetCapabilityCommand.d.ts +46 -0
- package/dist-types/commands/GetPartnershipCommand.d.ts +27 -0
- package/dist-types/commands/GetProfileCommand.d.ts +24 -0
- package/dist-types/commands/GetTransformerCommand.d.ts +30 -0
- package/dist-types/commands/GetTransformerJobCommand.d.ts +24 -0
- package/dist-types/commands/ListCapabilitiesCommand.d.ts +26 -0
- package/dist-types/commands/ListPartnershipsCommand.d.ts +31 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +27 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +21 -0
- package/dist-types/commands/ListTransformersCommand.d.ts +35 -0
- package/dist-types/commands/StartTransformerJobCommand.d.ts +25 -0
- package/dist-types/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/commands/TestMappingCommand.d.ts +18 -0
- package/dist-types/commands/TestParsingCommand.d.ts +26 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +14 -0
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +72 -0
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +31 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +29 -0
- package/dist-types/commands/UpdateTransformerCommand.d.ts +41 -0
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -2714,65 +2714,68 @@ var paginateListTransformers = (0, import_core5.createPaginator)(B2biClient, Lis
|
|
|
2714
2714
|
// src/index.ts
|
|
2715
2715
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2716
2716
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2717
|
+
|
|
2717
2718
|
0 && (module.exports = {
|
|
2718
|
-
AccessDeniedException,
|
|
2719
|
-
B2bi,
|
|
2720
|
-
B2biClient,
|
|
2721
2719
|
B2biServiceException,
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2720
|
+
__Client,
|
|
2721
|
+
B2biClient,
|
|
2722
|
+
B2bi,
|
|
2723
|
+
$Command,
|
|
2725
2724
|
CreateCapabilityCommand,
|
|
2726
2725
|
CreatePartnershipCommand,
|
|
2727
|
-
CreatePartnershipRequestFilterSensitiveLog,
|
|
2728
|
-
CreatePartnershipResponseFilterSensitiveLog,
|
|
2729
2726
|
CreateProfileCommand,
|
|
2730
|
-
CreateProfileRequestFilterSensitiveLog,
|
|
2731
|
-
CreateProfileResponseFilterSensitiveLog,
|
|
2732
2727
|
CreateTransformerCommand,
|
|
2733
2728
|
DeleteCapabilityCommand,
|
|
2734
2729
|
DeletePartnershipCommand,
|
|
2735
2730
|
DeleteProfileCommand,
|
|
2736
2731
|
DeleteTransformerCommand,
|
|
2737
|
-
EdiType,
|
|
2738
|
-
FileFormat,
|
|
2739
2732
|
GetCapabilityCommand,
|
|
2740
2733
|
GetPartnershipCommand,
|
|
2741
|
-
GetPartnershipResponseFilterSensitiveLog,
|
|
2742
2734
|
GetProfileCommand,
|
|
2743
|
-
GetProfileResponseFilterSensitiveLog,
|
|
2744
2735
|
GetTransformerCommand,
|
|
2745
2736
|
GetTransformerJobCommand,
|
|
2746
|
-
InternalServerException,
|
|
2747
2737
|
ListCapabilitiesCommand,
|
|
2748
2738
|
ListPartnershipsCommand,
|
|
2749
2739
|
ListProfilesCommand,
|
|
2750
2740
|
ListTagsForResourceCommand,
|
|
2751
2741
|
ListTransformersCommand,
|
|
2752
|
-
Logging,
|
|
2753
|
-
ResourceNotFoundException,
|
|
2754
|
-
ServiceQuotaExceededException,
|
|
2755
2742
|
StartTransformerJobCommand,
|
|
2756
2743
|
TagResourceCommand,
|
|
2757
2744
|
TestMappingCommand,
|
|
2758
2745
|
TestParsingCommand,
|
|
2759
|
-
ThrottlingException,
|
|
2760
|
-
TransformerJobStatus,
|
|
2761
|
-
TransformerStatus,
|
|
2762
2746
|
UntagResourceCommand,
|
|
2763
2747
|
UpdateCapabilityCommand,
|
|
2764
2748
|
UpdatePartnershipCommand,
|
|
2765
|
-
UpdatePartnershipResponseFilterSensitiveLog,
|
|
2766
2749
|
UpdateProfileCommand,
|
|
2767
|
-
UpdateProfileRequestFilterSensitiveLog,
|
|
2768
|
-
UpdateProfileResponseFilterSensitiveLog,
|
|
2769
2750
|
UpdateTransformerCommand,
|
|
2770
|
-
ValidationException,
|
|
2771
|
-
X12TransactionSet,
|
|
2772
|
-
X12Version,
|
|
2773
|
-
__Client,
|
|
2774
2751
|
paginateListCapabilities,
|
|
2775
2752
|
paginateListPartnerships,
|
|
2776
2753
|
paginateListProfiles,
|
|
2777
|
-
paginateListTransformers
|
|
2754
|
+
paginateListTransformers,
|
|
2755
|
+
AccessDeniedException,
|
|
2756
|
+
ConflictException,
|
|
2757
|
+
X12TransactionSet,
|
|
2758
|
+
X12Version,
|
|
2759
|
+
EdiType,
|
|
2760
|
+
CapabilityConfiguration,
|
|
2761
|
+
CapabilityType,
|
|
2762
|
+
InternalServerException,
|
|
2763
|
+
ResourceNotFoundException,
|
|
2764
|
+
ServiceQuotaExceededException,
|
|
2765
|
+
ThrottlingException,
|
|
2766
|
+
ValidationException,
|
|
2767
|
+
TransformerJobStatus,
|
|
2768
|
+
Logging,
|
|
2769
|
+
FileFormat,
|
|
2770
|
+
TransformerStatus,
|
|
2771
|
+
CreatePartnershipRequestFilterSensitiveLog,
|
|
2772
|
+
CreatePartnershipResponseFilterSensitiveLog,
|
|
2773
|
+
GetPartnershipResponseFilterSensitiveLog,
|
|
2774
|
+
UpdatePartnershipResponseFilterSensitiveLog,
|
|
2775
|
+
CreateProfileRequestFilterSensitiveLog,
|
|
2776
|
+
CreateProfileResponseFilterSensitiveLog,
|
|
2777
|
+
GetProfileResponseFilterSensitiveLog,
|
|
2778
|
+
UpdateProfileRequestFilterSensitiveLog,
|
|
2779
|
+
UpdateProfileResponseFilterSensitiveLog
|
|
2778
2780
|
});
|
|
2781
|
+
|
|
@@ -136,6 +136,84 @@ declare const CreateCapabilityCommand_base: {
|
|
|
136
136
|
* @throws {@link B2biServiceException}
|
|
137
137
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
138
138
|
*
|
|
139
|
+
* @example Sample CreateCapability call
|
|
140
|
+
* ```javascript
|
|
141
|
+
* //
|
|
142
|
+
* const input = {
|
|
143
|
+
* "name": "b2biexample",
|
|
144
|
+
* "type": "edi",
|
|
145
|
+
* "clientToken": "foo",
|
|
146
|
+
* "configuration": {
|
|
147
|
+
* "edi": {
|
|
148
|
+
* "type": {
|
|
149
|
+
* "x12Details": {
|
|
150
|
+
* "version": "VERSION_4010",
|
|
151
|
+
* "transactionSet": "X12_110"
|
|
152
|
+
* }
|
|
153
|
+
* },
|
|
154
|
+
* "inputLocation": {
|
|
155
|
+
* "key": "input/",
|
|
156
|
+
* "bucketName": "test-bucket"
|
|
157
|
+
* },
|
|
158
|
+
* "outputLocation": {
|
|
159
|
+
* "key": "output/",
|
|
160
|
+
* "bucketName": "test-bucket"
|
|
161
|
+
* },
|
|
162
|
+
* "transformerId": "tr-9a893cf536df4658b"
|
|
163
|
+
* }
|
|
164
|
+
* },
|
|
165
|
+
* "instructionsDocuments": [
|
|
166
|
+
* {
|
|
167
|
+
* "key": "instructiondoc.txt",
|
|
168
|
+
* "bucketName": "test-bucket"
|
|
169
|
+
* }
|
|
170
|
+
* ],
|
|
171
|
+
* "tags": [
|
|
172
|
+
* {
|
|
173
|
+
* "Key": "capabilityKey1",
|
|
174
|
+
* "Value": "capabilityValue1"
|
|
175
|
+
* }
|
|
176
|
+
* ]
|
|
177
|
+
* };
|
|
178
|
+
* const command = new CreateCapabilityCommand(input);
|
|
179
|
+
* const response = await client.send(command);
|
|
180
|
+
* /* response ==
|
|
181
|
+
* {
|
|
182
|
+
* "name": "b2biexample",
|
|
183
|
+
* "type": "edi",
|
|
184
|
+
* "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
185
|
+
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
186
|
+
* "configuration": {
|
|
187
|
+
* "edi": {
|
|
188
|
+
* "type": {
|
|
189
|
+
* "x12Details": {
|
|
190
|
+
* "version": "VERSION_4010",
|
|
191
|
+
* "transactionSet": "X12_110"
|
|
192
|
+
* }
|
|
193
|
+
* },
|
|
194
|
+
* "inputLocation": {
|
|
195
|
+
* "key": "input/",
|
|
196
|
+
* "bucketName": "test-bucket"
|
|
197
|
+
* },
|
|
198
|
+
* "outputLocation": {
|
|
199
|
+
* "key": "output/",
|
|
200
|
+
* "bucketName": "test-bucket"
|
|
201
|
+
* },
|
|
202
|
+
* "transformerId": "tr-9a893cf536df4658b"
|
|
203
|
+
* }
|
|
204
|
+
* },
|
|
205
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
206
|
+
* "instructionsDocuments": [
|
|
207
|
+
* {
|
|
208
|
+
* "key": "instructiondoc.txt",
|
|
209
|
+
* "bucketName": "test-bucket"
|
|
210
|
+
* }
|
|
211
|
+
* ]
|
|
212
|
+
* }
|
|
213
|
+
* *\/
|
|
214
|
+
* // example id: example-1
|
|
215
|
+
* ```
|
|
216
|
+
*
|
|
139
217
|
*/
|
|
140
218
|
export declare class CreateCapabilityCommand extends CreateCapabilityCommand_base {
|
|
141
219
|
}
|
|
@@ -98,6 +98,45 @@ declare const CreatePartnershipCommand_base: {
|
|
|
98
98
|
* @throws {@link B2biServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
100
100
|
*
|
|
101
|
+
* @example Sample CreatePartnership call
|
|
102
|
+
* ```javascript
|
|
103
|
+
* //
|
|
104
|
+
* const input = {
|
|
105
|
+
* "name": "b2bipartner",
|
|
106
|
+
* "capabilities": [
|
|
107
|
+
* "ca-963a8121e4fc4e348"
|
|
108
|
+
* ],
|
|
109
|
+
* "clientToken": "foo",
|
|
110
|
+
* "email": "john@example.com",
|
|
111
|
+
* "phone": "5555555555",
|
|
112
|
+
* "profileId": "p-60fbc37c87f04fce9",
|
|
113
|
+
* "tags": [
|
|
114
|
+
* {
|
|
115
|
+
* "Key": "sampleKey1",
|
|
116
|
+
* "Value": "sampleValue1"
|
|
117
|
+
* }
|
|
118
|
+
* ]
|
|
119
|
+
* };
|
|
120
|
+
* const command = new CreatePartnershipCommand(input);
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* /* response ==
|
|
123
|
+
* {
|
|
124
|
+
* "name": "b2bipartner",
|
|
125
|
+
* "capabilities": [
|
|
126
|
+
* "ca-963a8121e4fc4e348"
|
|
127
|
+
* ],
|
|
128
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
129
|
+
* "email": "john@example.com",
|
|
130
|
+
* "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
|
|
131
|
+
* "partnershipId": "ps-219fa02f5b4242af8",
|
|
132
|
+
* "phone": "5555555555",
|
|
133
|
+
* "profileId": "p-60fbc37c87f04fce9",
|
|
134
|
+
* "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
|
|
135
|
+
* }
|
|
136
|
+
* *\/
|
|
137
|
+
* // example id: example-1
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
101
140
|
*/
|
|
102
141
|
export declare class CreatePartnershipCommand extends CreatePartnershipCommand_base {
|
|
103
142
|
}
|
|
@@ -94,6 +94,41 @@ declare const CreateProfileCommand_base: {
|
|
|
94
94
|
* @throws {@link B2biServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
96
96
|
*
|
|
97
|
+
* @example Sample CreateProfile call
|
|
98
|
+
* ```javascript
|
|
99
|
+
* //
|
|
100
|
+
* const input = {
|
|
101
|
+
* "name": "Shipping Profile",
|
|
102
|
+
* "businessName": "John's Shipping",
|
|
103
|
+
* "clientToken": "foo",
|
|
104
|
+
* "email": "john@example.com",
|
|
105
|
+
* "logging": "ENABLED",
|
|
106
|
+
* "phone": "5555555555",
|
|
107
|
+
* "tags": [
|
|
108
|
+
* {
|
|
109
|
+
* "Key": "sampleKey",
|
|
110
|
+
* "Value": "sampleValue"
|
|
111
|
+
* }
|
|
112
|
+
* ]
|
|
113
|
+
* };
|
|
114
|
+
* const command = new CreateProfileCommand(input);
|
|
115
|
+
* const response = await client.send(command);
|
|
116
|
+
* /* response ==
|
|
117
|
+
* {
|
|
118
|
+
* "name": "Shipping Profile",
|
|
119
|
+
* "businessName": "John's Trucking",
|
|
120
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
121
|
+
* "email": "john@example.com",
|
|
122
|
+
* "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
123
|
+
* "logging": "ENABLED",
|
|
124
|
+
* "phone": "5555555555",
|
|
125
|
+
* "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
126
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
127
|
+
* }
|
|
128
|
+
* *\/
|
|
129
|
+
* // example id: example-1
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
97
132
|
*/
|
|
98
133
|
export declare class CreateProfileCommand extends CreateProfileCommand_base {
|
|
99
134
|
}
|
|
@@ -105,6 +105,51 @@ declare const CreateTransformerCommand_base: {
|
|
|
105
105
|
* @throws {@link B2biServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
107
107
|
*
|
|
108
|
+
* @example Sample CreateTransformer call
|
|
109
|
+
* ```javascript
|
|
110
|
+
* //
|
|
111
|
+
* const input = {
|
|
112
|
+
* "name": "transformJSON",
|
|
113
|
+
* "clientToken": "foo",
|
|
114
|
+
* "ediType": {
|
|
115
|
+
* "x12Details": {
|
|
116
|
+
* "version": "VERSION_4010",
|
|
117
|
+
* "transactionSet": "X12_110"
|
|
118
|
+
* }
|
|
119
|
+
* },
|
|
120
|
+
* "fileFormat": "JSON",
|
|
121
|
+
* "mappingTemplate": "{}",
|
|
122
|
+
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
123
|
+
* "tags": [
|
|
124
|
+
* {
|
|
125
|
+
* "Key": "sampleKey",
|
|
126
|
+
* "Value": "sampleValue"
|
|
127
|
+
* }
|
|
128
|
+
* ]
|
|
129
|
+
* };
|
|
130
|
+
* const command = new CreateTransformerCommand(input);
|
|
131
|
+
* const response = await client.send(command);
|
|
132
|
+
* /* response ==
|
|
133
|
+
* {
|
|
134
|
+
* "name": "transformJSON",
|
|
135
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
136
|
+
* "ediType": {
|
|
137
|
+
* "x12Details": {
|
|
138
|
+
* "version": "VERSION_4010",
|
|
139
|
+
* "transactionSet": "X12_110"
|
|
140
|
+
* }
|
|
141
|
+
* },
|
|
142
|
+
* "fileFormat": "JSON",
|
|
143
|
+
* "mappingTemplate": "$",
|
|
144
|
+
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
145
|
+
* "status": "inactive",
|
|
146
|
+
* "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
|
|
147
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
148
|
+
* }
|
|
149
|
+
* *\/
|
|
150
|
+
* // example id: example-1
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
108
153
|
*/
|
|
109
154
|
export declare class CreateTransformerCommand extends CreateTransformerCommand_base {
|
|
110
155
|
}
|
|
@@ -69,6 +69,17 @@ declare const DeleteCapabilityCommand_base: {
|
|
|
69
69
|
* @throws {@link B2biServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
71
71
|
*
|
|
72
|
+
* @example Sample DeleteCapabilty call
|
|
73
|
+
* ```javascript
|
|
74
|
+
* //
|
|
75
|
+
* const input = {
|
|
76
|
+
* "capabilityId": "ca-963a8121e4fc4e348"
|
|
77
|
+
* };
|
|
78
|
+
* const command = new DeleteCapabilityCommand(input);
|
|
79
|
+
* await client.send(command);
|
|
80
|
+
* // example id: example-1
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
72
83
|
*/
|
|
73
84
|
export declare class DeleteCapabilityCommand extends DeleteCapabilityCommand_base {
|
|
74
85
|
}
|
|
@@ -70,6 +70,17 @@ declare const DeletePartnershipCommand_base: {
|
|
|
70
70
|
* @throws {@link B2biServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @example Sample DeletePartnership call
|
|
74
|
+
* ```javascript
|
|
75
|
+
* //
|
|
76
|
+
* const input = {
|
|
77
|
+
* "partnershipId": "ps-219fa02f5b4242af8"
|
|
78
|
+
* };
|
|
79
|
+
* const command = new DeletePartnershipCommand(input);
|
|
80
|
+
* await client.send(command);
|
|
81
|
+
* // example id: example-1
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
73
84
|
*/
|
|
74
85
|
export declare class DeletePartnershipCommand extends DeletePartnershipCommand_base {
|
|
75
86
|
}
|
|
@@ -70,6 +70,17 @@ declare const DeleteProfileCommand_base: {
|
|
|
70
70
|
* @throws {@link B2biServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @example Sample DeleteProfile call
|
|
74
|
+
* ```javascript
|
|
75
|
+
* //
|
|
76
|
+
* const input = {
|
|
77
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
78
|
+
* };
|
|
79
|
+
* const command = new DeleteProfileCommand(input);
|
|
80
|
+
* await client.send(command);
|
|
81
|
+
* // example id: example-1
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
73
84
|
*/
|
|
74
85
|
export declare class DeleteProfileCommand extends DeleteProfileCommand_base {
|
|
75
86
|
}
|
|
@@ -71,6 +71,17 @@ declare const DeleteTransformerCommand_base: {
|
|
|
71
71
|
* @throws {@link B2biServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
73
73
|
*
|
|
74
|
+
* @example Sample DeleteTransformer call
|
|
75
|
+
* ```javascript
|
|
76
|
+
* //
|
|
77
|
+
* const input = {
|
|
78
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
79
|
+
* };
|
|
80
|
+
* const command = new DeleteTransformerCommand(input);
|
|
81
|
+
* await client.send(command);
|
|
82
|
+
* // example id: example-1
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
74
85
|
*/
|
|
75
86
|
export declare class DeleteTransformerCommand extends DeleteTransformerCommand_base {
|
|
76
87
|
}
|
|
@@ -98,6 +98,52 @@ declare const GetCapabilityCommand_base: {
|
|
|
98
98
|
* @throws {@link B2biServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
100
100
|
*
|
|
101
|
+
* @example Sample GetCapabilty call
|
|
102
|
+
* ```javascript
|
|
103
|
+
* //
|
|
104
|
+
* const input = {
|
|
105
|
+
* "capabilityId": "ca-963a8121e4fc4e348"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new GetCapabilityCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response ==
|
|
110
|
+
* {
|
|
111
|
+
* "name": "b2biexample",
|
|
112
|
+
* "type": "edi",
|
|
113
|
+
* "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
114
|
+
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
115
|
+
* "configuration": {
|
|
116
|
+
* "edi": {
|
|
117
|
+
* "type": {
|
|
118
|
+
* "x12Details": {
|
|
119
|
+
* "version": "VERSION_4010",
|
|
120
|
+
* "transactionSet": "X12_110"
|
|
121
|
+
* }
|
|
122
|
+
* },
|
|
123
|
+
* "inputLocation": {
|
|
124
|
+
* "key": "input/",
|
|
125
|
+
* "bucketName": "test-bucket"
|
|
126
|
+
* },
|
|
127
|
+
* "outputLocation": {
|
|
128
|
+
* "key": "output/",
|
|
129
|
+
* "bucketName": "test-bucket"
|
|
130
|
+
* },
|
|
131
|
+
* "transformerId": "tr-9a893cf536df4658b"
|
|
132
|
+
* }
|
|
133
|
+
* },
|
|
134
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
135
|
+
* "instructionsDocuments": [
|
|
136
|
+
* {
|
|
137
|
+
* "key": "instructiondoc.txt",
|
|
138
|
+
* "bucketName": "test-bucket"
|
|
139
|
+
* }
|
|
140
|
+
* ],
|
|
141
|
+
* "modifiedAt": "2023-11-02T21:51:05.504Z"
|
|
142
|
+
* }
|
|
143
|
+
* *\/
|
|
144
|
+
* // example id: example-1
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
101
147
|
*/
|
|
102
148
|
export declare class GetCapabilityCommand extends GetCapabilityCommand_base {
|
|
103
149
|
}
|
|
@@ -80,6 +80,33 @@ declare const GetPartnershipCommand_base: {
|
|
|
80
80
|
* @throws {@link B2biServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
82
82
|
*
|
|
83
|
+
* @example Sample GetPartnership call
|
|
84
|
+
* ```javascript
|
|
85
|
+
* //
|
|
86
|
+
* const input = {
|
|
87
|
+
* "partnershipId": "ps-219fa02f5b4242af8"
|
|
88
|
+
* };
|
|
89
|
+
* const command = new GetPartnershipCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response ==
|
|
92
|
+
* {
|
|
93
|
+
* "name": "b2bipartner",
|
|
94
|
+
* "capabilities": [
|
|
95
|
+
* "ca-963a8121e4fc4e348"
|
|
96
|
+
* ],
|
|
97
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
98
|
+
* "email": "john@example.com",
|
|
99
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
100
|
+
* "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-219fa02f5b4242af8",
|
|
101
|
+
* "partnershipId": "ps-219fa02f5b4242af8",
|
|
102
|
+
* "phone": "5555555555",
|
|
103
|
+
* "profileId": "p-60fbc37c87f04fce9",
|
|
104
|
+
* "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
|
|
105
|
+
* }
|
|
106
|
+
* *\/
|
|
107
|
+
* // example id: example-1
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
83
110
|
*/
|
|
84
111
|
export declare class GetPartnershipCommand extends GetPartnershipCommand_base {
|
|
85
112
|
}
|
|
@@ -78,6 +78,30 @@ declare const GetProfileCommand_base: {
|
|
|
78
78
|
* @throws {@link B2biServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @example Sample GetProfile call
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
86
|
+
* };
|
|
87
|
+
* const command = new GetProfileCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response ==
|
|
90
|
+
* {
|
|
91
|
+
* "name": "Shipping Profile",
|
|
92
|
+
* "businessName": "John's Trucking",
|
|
93
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
94
|
+
* "email": "john@example.com",
|
|
95
|
+
* "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
96
|
+
* "logging": "ENABLED",
|
|
97
|
+
* "phone": "5555555555",
|
|
98
|
+
* "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
99
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
100
|
+
* }
|
|
101
|
+
* *\/
|
|
102
|
+
* // example id: example-1
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
81
105
|
*/
|
|
82
106
|
export declare class GetProfileCommand extends GetProfileCommand_base {
|
|
83
107
|
}
|
|
@@ -84,6 +84,36 @@ declare const GetTransformerCommand_base: {
|
|
|
84
84
|
* @throws {@link B2biServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
86
86
|
*
|
|
87
|
+
* @example Sample GetTransformer call
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
92
|
+
* };
|
|
93
|
+
* const command = new GetTransformerCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response ==
|
|
96
|
+
* {
|
|
97
|
+
* "name": "transformJSON",
|
|
98
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
99
|
+
* "ediType": {
|
|
100
|
+
* "x12Details": {
|
|
101
|
+
* "version": "VERSION_4010",
|
|
102
|
+
* "transactionSet": "X12_110"
|
|
103
|
+
* }
|
|
104
|
+
* },
|
|
105
|
+
* "fileFormat": "JSON",
|
|
106
|
+
* "mappingTemplate": "$",
|
|
107
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
108
|
+
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
109
|
+
* "status": "inactive",
|
|
110
|
+
* "transformerArn": "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
|
|
111
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
112
|
+
* }
|
|
113
|
+
* *\/
|
|
114
|
+
* // example id: example-1
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
87
117
|
*/
|
|
88
118
|
export declare class GetTransformerCommand extends GetTransformerCommand_base {
|
|
89
119
|
}
|
|
@@ -76,6 +76,30 @@ declare const GetTransformerJobCommand_base: {
|
|
|
76
76
|
* @throws {@link B2biServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @example Sample GetTransformerJob call
|
|
80
|
+
* ```javascript
|
|
81
|
+
* //
|
|
82
|
+
* const input = {
|
|
83
|
+
* "transformerId": "tr-974c129999f84d8c9",
|
|
84
|
+
* "transformerJobId": "tj-vpYxfV7yQOqjMSYllEslLw"
|
|
85
|
+
* };
|
|
86
|
+
* const command = new GetTransformerJobCommand(input);
|
|
87
|
+
* const response = await client.send(command);
|
|
88
|
+
* /* response ==
|
|
89
|
+
* {
|
|
90
|
+
* "message": "Transformed, writing output",
|
|
91
|
+
* "outputFiles": [
|
|
92
|
+
* {
|
|
93
|
+
* "key": "output/sample-214.edi.2023-11-01T10:44:03.353Z.json",
|
|
94
|
+
* "bucketName": "gt-edi-test"
|
|
95
|
+
* }
|
|
96
|
+
* ],
|
|
97
|
+
* "status": "succeeded"
|
|
98
|
+
* }
|
|
99
|
+
* *\/
|
|
100
|
+
* // example id: example-1
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
79
103
|
*/
|
|
80
104
|
export declare class GetTransformerJobCommand extends GetTransformerJobCommand_base {
|
|
81
105
|
}
|
|
@@ -63,6 +63,32 @@ declare const ListCapabilitiesCommand_base: {
|
|
|
63
63
|
* @throws {@link B2biServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
65
65
|
*
|
|
66
|
+
* @example Sample ListCapabilities call
|
|
67
|
+
* ```javascript
|
|
68
|
+
* //
|
|
69
|
+
* const input = {
|
|
70
|
+
* "maxResults": 50,
|
|
71
|
+
* "nextToken": "foo"
|
|
72
|
+
* };
|
|
73
|
+
* const command = new ListCapabilitiesCommand(input);
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* /* response ==
|
|
76
|
+
* {
|
|
77
|
+
* "capabilities": [
|
|
78
|
+
* {
|
|
79
|
+
* "name": "b2biexample",
|
|
80
|
+
* "type": "edi",
|
|
81
|
+
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
82
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
83
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z"
|
|
84
|
+
* }
|
|
85
|
+
* ],
|
|
86
|
+
* "nextToken": "foo"
|
|
87
|
+
* }
|
|
88
|
+
* *\/
|
|
89
|
+
* // example id: example-1
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
66
92
|
*/
|
|
67
93
|
export declare class ListCapabilitiesCommand extends ListCapabilitiesCommand_base {
|
|
68
94
|
}
|
|
@@ -84,6 +84,37 @@ declare const ListPartnershipsCommand_base: {
|
|
|
84
84
|
* @throws {@link B2biServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
86
86
|
*
|
|
87
|
+
* @example Sample ListPartnerships call
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* "maxResults": 50,
|
|
92
|
+
* "nextToken": "foo",
|
|
93
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
94
|
+
* };
|
|
95
|
+
* const command = new ListPartnershipsCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response ==
|
|
98
|
+
* {
|
|
99
|
+
* "nextToken": "string",
|
|
100
|
+
* "partnerships": [
|
|
101
|
+
* {
|
|
102
|
+
* "name": "b2bipartner",
|
|
103
|
+
* "capabilities": [
|
|
104
|
+
* "ca-963a8121e4fc4e348"
|
|
105
|
+
* ],
|
|
106
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
107
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
108
|
+
* "partnershipId": "ps-219fa02f5b4242af8",
|
|
109
|
+
* "profileId": "p-60fbc37c87f04fce9",
|
|
110
|
+
* "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
|
|
111
|
+
* }
|
|
112
|
+
* ]
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* // example id: example-1
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
87
118
|
*/
|
|
88
119
|
export declare class ListPartnershipsCommand extends ListPartnershipsCommand_base {
|
|
89
120
|
}
|
|
@@ -66,6 +66,33 @@ declare const ListProfilesCommand_base: {
|
|
|
66
66
|
* @throws {@link B2biServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
68
68
|
*
|
|
69
|
+
* @example Sample ListProfiles call
|
|
70
|
+
* ```javascript
|
|
71
|
+
* //
|
|
72
|
+
* const input = {
|
|
73
|
+
* "maxResults": 50,
|
|
74
|
+
* "nextToken": "foo"
|
|
75
|
+
* };
|
|
76
|
+
* const command = new ListProfilesCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response ==
|
|
79
|
+
* {
|
|
80
|
+
* "nextToken": "foo",
|
|
81
|
+
* "profiles": [
|
|
82
|
+
* {
|
|
83
|
+
* "name": "Shipping Profile",
|
|
84
|
+
* "businessName": "John's Trucking",
|
|
85
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
86
|
+
* "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
87
|
+
* "logging": "ENABLED",
|
|
88
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
89
|
+
* }
|
|
90
|
+
* ]
|
|
91
|
+
* }
|
|
92
|
+
* *\/
|
|
93
|
+
* // example id: example-1
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
69
96
|
*/
|
|
70
97
|
export declare class ListProfilesCommand extends ListProfilesCommand_base {
|
|
71
98
|
}
|
|
@@ -67,6 +67,27 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
67
67
|
* @throws {@link B2biServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
69
69
|
*
|
|
70
|
+
* @example Sample ListTagsForResources call
|
|
71
|
+
* ```javascript
|
|
72
|
+
* //
|
|
73
|
+
* const input = {
|
|
74
|
+
* "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9"
|
|
75
|
+
* };
|
|
76
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response ==
|
|
79
|
+
* {
|
|
80
|
+
* "Tags": [
|
|
81
|
+
* {
|
|
82
|
+
* "Key": "sampleKey",
|
|
83
|
+
* "Value": "SampleValue"
|
|
84
|
+
* }
|
|
85
|
+
* ]
|
|
86
|
+
* }
|
|
87
|
+
* *\/
|
|
88
|
+
* // example id: example-1
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
70
91
|
*/
|
|
71
92
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
72
93
|
}
|
|
@@ -74,6 +74,41 @@ declare const ListTransformersCommand_base: {
|
|
|
74
74
|
* @throws {@link B2biServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
76
76
|
*
|
|
77
|
+
* @example Sample ListTransformers call
|
|
78
|
+
* ```javascript
|
|
79
|
+
* //
|
|
80
|
+
* const input = {
|
|
81
|
+
* "maxResults": 50,
|
|
82
|
+
* "nextToken": "foo"
|
|
83
|
+
* };
|
|
84
|
+
* const command = new ListTransformersCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response ==
|
|
87
|
+
* {
|
|
88
|
+
* "nextToken": "foo",
|
|
89
|
+
* "transformers": [
|
|
90
|
+
* {
|
|
91
|
+
* "name": "transformJSON",
|
|
92
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
93
|
+
* "ediType": {
|
|
94
|
+
* "x12Details": {
|
|
95
|
+
* "version": "VERSION_4010",
|
|
96
|
+
* "transactionSet": "X12_110"
|
|
97
|
+
* }
|
|
98
|
+
* },
|
|
99
|
+
* "fileFormat": "JSON",
|
|
100
|
+
* "mappingTemplate": "$",
|
|
101
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
102
|
+
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
103
|
+
* "status": "inactive",
|
|
104
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
105
|
+
* }
|
|
106
|
+
* ]
|
|
107
|
+
* }
|
|
108
|
+
* *\/
|
|
109
|
+
* // example id: example-1
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
77
112
|
*/
|
|
78
113
|
export declare class ListTransformersCommand extends ListTransformersCommand_base {
|
|
79
114
|
}
|
|
@@ -79,6 +79,31 @@ declare const StartTransformerJobCommand_base: {
|
|
|
79
79
|
* @throws {@link B2biServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
81
81
|
*
|
|
82
|
+
* @example Sample StartTransformerJob call
|
|
83
|
+
* ```javascript
|
|
84
|
+
* //
|
|
85
|
+
* const input = {
|
|
86
|
+
* "clientToken": "foo",
|
|
87
|
+
* "inputFile": {
|
|
88
|
+
* "key": "input/inputFile.txt",
|
|
89
|
+
* "bucketName": "test-bucket"
|
|
90
|
+
* },
|
|
91
|
+
* "outputLocation": {
|
|
92
|
+
* "key": "output/",
|
|
93
|
+
* "bucketName": "test-bucket"
|
|
94
|
+
* },
|
|
95
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
96
|
+
* };
|
|
97
|
+
* const command = new StartTransformerJobCommand(input);
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response ==
|
|
100
|
+
* {
|
|
101
|
+
* "transformerJobId": "tj-vpYxfV7yQOqjMSYllEslLw"
|
|
102
|
+
* }
|
|
103
|
+
* *\/
|
|
104
|
+
* // example id: example-1
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
82
107
|
*/
|
|
83
108
|
export declare class StartTransformerJobCommand extends StartTransformerJobCommand_base {
|
|
84
109
|
}
|
|
@@ -70,6 +70,23 @@ declare const TagResourceCommand_base: {
|
|
|
70
70
|
* @throws {@link B2biServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @example Sample TagResource call
|
|
74
|
+
* ```javascript
|
|
75
|
+
* //
|
|
76
|
+
* const input = {
|
|
77
|
+
* "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
78
|
+
* "Tags": [
|
|
79
|
+
* {
|
|
80
|
+
* "Key": "sampleKey",
|
|
81
|
+
* "Value": "SampleValue"
|
|
82
|
+
* }
|
|
83
|
+
* ]
|
|
84
|
+
* };
|
|
85
|
+
* const command = new TagResourceCommand(input);
|
|
86
|
+
* await client.send(command);
|
|
87
|
+
* // example id: example-1
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
73
90
|
*/
|
|
74
91
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
75
92
|
}
|
|
@@ -70,6 +70,24 @@ declare const TestMappingCommand_base: {
|
|
|
70
70
|
* @throws {@link B2biServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @example Sample TestMapping call
|
|
74
|
+
* ```javascript
|
|
75
|
+
* //
|
|
76
|
+
* const input = {
|
|
77
|
+
* "fileFormat": "JSON",
|
|
78
|
+
* "inputFileContent": "Sample file content",
|
|
79
|
+
* "mappingTemplate": "$"
|
|
80
|
+
* };
|
|
81
|
+
* const command = new TestMappingCommand(input);
|
|
82
|
+
* const response = await client.send(command);
|
|
83
|
+
* /* response ==
|
|
84
|
+
* {
|
|
85
|
+
* "mappedFileContent": "Sample file content"
|
|
86
|
+
* }
|
|
87
|
+
* *\/
|
|
88
|
+
* // example id: example-1
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
73
91
|
*/
|
|
74
92
|
export declare class TestMappingCommand extends TestMappingCommand_base {
|
|
75
93
|
}
|
|
@@ -78,6 +78,32 @@ declare const TestParsingCommand_base: {
|
|
|
78
78
|
* @throws {@link B2biServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @example Sample TestParsing call
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* "ediType": {
|
|
86
|
+
* "x12Details": {
|
|
87
|
+
* "version": "VERSION_4010",
|
|
88
|
+
* "transactionSet": "X12_110"
|
|
89
|
+
* }
|
|
90
|
+
* },
|
|
91
|
+
* "fileFormat": "JSON",
|
|
92
|
+
* "inputFile": {
|
|
93
|
+
* "key": "sampleFile.txt",
|
|
94
|
+
* "bucketName": "test-bucket"
|
|
95
|
+
* }
|
|
96
|
+
* };
|
|
97
|
+
* const command = new TestParsingCommand(input);
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response ==
|
|
100
|
+
* {
|
|
101
|
+
* "parsedFileContent": "Sample parsed file content"
|
|
102
|
+
* }
|
|
103
|
+
* *\/
|
|
104
|
+
* // example id: example-1
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
81
107
|
*/
|
|
82
108
|
export declare class TestParsingCommand extends TestParsingCommand_base {
|
|
83
109
|
}
|
|
@@ -63,6 +63,20 @@ declare const UntagResourceCommand_base: {
|
|
|
63
63
|
* @throws {@link B2biServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
65
65
|
*
|
|
66
|
+
* @example Sample UntagResource call
|
|
67
|
+
* ```javascript
|
|
68
|
+
* //
|
|
69
|
+
* const input = {
|
|
70
|
+
* "ResourceARN": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
71
|
+
* "TagKeys": [
|
|
72
|
+
* "sampleKey"
|
|
73
|
+
* ]
|
|
74
|
+
* };
|
|
75
|
+
* const command = new UntagResourceCommand(input);
|
|
76
|
+
* await client.send(command);
|
|
77
|
+
* // example id: example-1
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
66
80
|
*/
|
|
67
81
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
68
82
|
}
|
|
@@ -131,6 +131,78 @@ declare const UpdateCapabilityCommand_base: {
|
|
|
131
131
|
* @throws {@link B2biServiceException}
|
|
132
132
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
133
133
|
*
|
|
134
|
+
* @example Sample UpdateCapability call
|
|
135
|
+
* ```javascript
|
|
136
|
+
* //
|
|
137
|
+
* const input = {
|
|
138
|
+
* "name": "b2biexample",
|
|
139
|
+
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
140
|
+
* "configuration": {
|
|
141
|
+
* "edi": {
|
|
142
|
+
* "type": {
|
|
143
|
+
* "x12Details": {
|
|
144
|
+
* "version": "VERSION_4010",
|
|
145
|
+
* "transactionSet": "X12_110"
|
|
146
|
+
* }
|
|
147
|
+
* },
|
|
148
|
+
* "inputLocation": {
|
|
149
|
+
* "key": "input/",
|
|
150
|
+
* "bucketName": "test-bucket"
|
|
151
|
+
* },
|
|
152
|
+
* "outputLocation": {
|
|
153
|
+
* "key": "output/",
|
|
154
|
+
* "bucketName": "test-bucket"
|
|
155
|
+
* },
|
|
156
|
+
* "transformerId": "tr-9a893cf536df4658b"
|
|
157
|
+
* }
|
|
158
|
+
* },
|
|
159
|
+
* "instructionsDocuments": [
|
|
160
|
+
* {
|
|
161
|
+
* "key": "instructiondoc.txt",
|
|
162
|
+
* "bucketName": "test-bucket"
|
|
163
|
+
* }
|
|
164
|
+
* ]
|
|
165
|
+
* };
|
|
166
|
+
* const command = new UpdateCapabilityCommand(input);
|
|
167
|
+
* const response = await client.send(command);
|
|
168
|
+
* /* response ==
|
|
169
|
+
* {
|
|
170
|
+
* "name": "b2biexample",
|
|
171
|
+
* "type": "edi",
|
|
172
|
+
* "capabilityArn": "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
173
|
+
* "capabilityId": "ca-963a8121e4fc4e348",
|
|
174
|
+
* "configuration": {
|
|
175
|
+
* "edi": {
|
|
176
|
+
* "type": {
|
|
177
|
+
* "x12Details": {
|
|
178
|
+
* "version": "VERSION_4010",
|
|
179
|
+
* "transactionSet": "X12_110"
|
|
180
|
+
* }
|
|
181
|
+
* },
|
|
182
|
+
* "inputLocation": {
|
|
183
|
+
* "key": "input/",
|
|
184
|
+
* "bucketName": "test-bucket"
|
|
185
|
+
* },
|
|
186
|
+
* "outputLocation": {
|
|
187
|
+
* "key": "output/",
|
|
188
|
+
* "bucketName": "test-bucket"
|
|
189
|
+
* },
|
|
190
|
+
* "transformerId": "tr-9a893cf536df4658b"
|
|
191
|
+
* }
|
|
192
|
+
* },
|
|
193
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
194
|
+
* "instructionsDocuments": [
|
|
195
|
+
* {
|
|
196
|
+
* "key": "instructiondoc.txt",
|
|
197
|
+
* "bucketName": "test-bucket"
|
|
198
|
+
* }
|
|
199
|
+
* ],
|
|
200
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z"
|
|
201
|
+
* }
|
|
202
|
+
* *\/
|
|
203
|
+
* // example id: example-1
|
|
204
|
+
* ```
|
|
205
|
+
*
|
|
134
206
|
*/
|
|
135
207
|
export declare class UpdateCapabilityCommand extends UpdateCapabilityCommand_base {
|
|
136
208
|
}
|
|
@@ -90,6 +90,37 @@ declare const UpdatePartnershipCommand_base: {
|
|
|
90
90
|
* @throws {@link B2biServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
92
92
|
*
|
|
93
|
+
* @example Sample UpdatePartnership call
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = {
|
|
97
|
+
* "name": "b2bipartner",
|
|
98
|
+
* "capabilities": [
|
|
99
|
+
* "ca-963a8121e4fc4e348"
|
|
100
|
+
* ],
|
|
101
|
+
* "partnershipId": "ps-219fa02f5b4242af8"
|
|
102
|
+
* };
|
|
103
|
+
* const command = new UpdatePartnershipCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response ==
|
|
106
|
+
* {
|
|
107
|
+
* "name": "b2bipartner",
|
|
108
|
+
* "capabilities": [
|
|
109
|
+
* "ca-963a8121e4fc4e348"
|
|
110
|
+
* ],
|
|
111
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
112
|
+
* "email": "john@example.com",
|
|
113
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
114
|
+
* "partnershipArn": "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
|
|
115
|
+
* "partnershipId": "ps-219fa02f5b4242af8",
|
|
116
|
+
* "phone": "5555555555",
|
|
117
|
+
* "profileId": "p-60fbc37c87f04fce9",
|
|
118
|
+
* "tradingPartnerId": "tp-2a17ca447f6f4a8a8"
|
|
119
|
+
* }
|
|
120
|
+
* *\/
|
|
121
|
+
* // example id: example-1
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
93
124
|
*/
|
|
94
125
|
export declare class UpdatePartnershipCommand extends UpdatePartnershipCommand_base {
|
|
95
126
|
}
|
|
@@ -88,6 +88,35 @@ declare const UpdateProfileCommand_base: {
|
|
|
88
88
|
* @throws {@link B2biServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
90
90
|
*
|
|
91
|
+
* @example Sample UpdateProfile call
|
|
92
|
+
* ```javascript
|
|
93
|
+
* //
|
|
94
|
+
* const input = {
|
|
95
|
+
* "name": "Shipping Profile",
|
|
96
|
+
* "businessName": "John's Shipping",
|
|
97
|
+
* "email": "john@example.com",
|
|
98
|
+
* "phone": "5555555555",
|
|
99
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
100
|
+
* };
|
|
101
|
+
* const command = new UpdateProfileCommand(input);
|
|
102
|
+
* const response = await client.send(command);
|
|
103
|
+
* /* response ==
|
|
104
|
+
* {
|
|
105
|
+
* "name": "Shipping Profile",
|
|
106
|
+
* "businessName": "John's Trucking",
|
|
107
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
108
|
+
* "email": "john@example.com",
|
|
109
|
+
* "logGroupName": "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
110
|
+
* "logging": "ENABLED",
|
|
111
|
+
* "modifiedAt": "2023-11-02T21:51:05.504Z",
|
|
112
|
+
* "phone": "5555555555",
|
|
113
|
+
* "profileArn": "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
114
|
+
* "profileId": "p-60fbc37c87f04fce9"
|
|
115
|
+
* }
|
|
116
|
+
* *\/
|
|
117
|
+
* // example id: example-1
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
91
120
|
*/
|
|
92
121
|
export declare class UpdateProfileCommand extends UpdateProfileCommand_base {
|
|
93
122
|
}
|
|
@@ -101,6 +101,47 @@ declare const UpdateTransformerCommand_base: {
|
|
|
101
101
|
* @throws {@link B2biServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
103
103
|
*
|
|
104
|
+
* @example Sample UpdateTransformer call
|
|
105
|
+
* ```javascript
|
|
106
|
+
* //
|
|
107
|
+
* const input = {
|
|
108
|
+
* "name": "transformJSON",
|
|
109
|
+
* "ediType": {
|
|
110
|
+
* "x12Details": {
|
|
111
|
+
* "version": "VERSION_4010",
|
|
112
|
+
* "transactionSet": "X12_110"
|
|
113
|
+
* }
|
|
114
|
+
* },
|
|
115
|
+
* "fileFormat": "JSON",
|
|
116
|
+
* "mappingTemplate": "{}",
|
|
117
|
+
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
118
|
+
* "status": "inactive",
|
|
119
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
120
|
+
* };
|
|
121
|
+
* const command = new UpdateTransformerCommand(input);
|
|
122
|
+
* const response = await client.send(command);
|
|
123
|
+
* /* response ==
|
|
124
|
+
* {
|
|
125
|
+
* "name": "transformJSON",
|
|
126
|
+
* "createdAt": "2023-11-01T21:51:05.504Z",
|
|
127
|
+
* "ediType": {
|
|
128
|
+
* "x12Details": {
|
|
129
|
+
* "version": "VERSION_4010",
|
|
130
|
+
* "transactionSet": "X12_110"
|
|
131
|
+
* }
|
|
132
|
+
* },
|
|
133
|
+
* "fileFormat": "JSON",
|
|
134
|
+
* "mappingTemplate": "$",
|
|
135
|
+
* "modifiedAt": "2023-11-01T21:51:05.504Z",
|
|
136
|
+
* "sampleDocument": "s3://test-bucket/sampleDoc.txt",
|
|
137
|
+
* "status": "inactive",
|
|
138
|
+
* "transformerArn": "arn:aws:b2bi:us-west-2:607686414464:transformer/tr-974c129999f84d8c9",
|
|
139
|
+
* "transformerId": "tr-974c129999f84d8c9"
|
|
140
|
+
* }
|
|
141
|
+
* *\/
|
|
142
|
+
* // example id: example-1
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
104
145
|
*/
|
|
105
146
|
export declare class UpdateTransformerCommand extends UpdateTransformerCommand_base {
|
|
106
147
|
}
|
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.499.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-b2bi",
|
|
@@ -20,48 +20,48 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.1.
|
|
37
|
-
"@smithy/core": "^1.3.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
39
|
-
"@smithy/hash-node": "^2.1.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
43
|
-
"@smithy/middleware-retry": "^2.1.
|
|
44
|
-
"@smithy/middleware-serde": "^2.1.
|
|
45
|
-
"@smithy/middleware-stack": "^2.1.
|
|
46
|
-
"@smithy/node-config-provider": "^2.2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.3.
|
|
48
|
-
"@smithy/protocol-http": "^3.1.
|
|
49
|
-
"@smithy/smithy-client": "^2.3.
|
|
50
|
-
"@smithy/types": "^2.9.
|
|
51
|
-
"@smithy/url-parser": "^2.1.
|
|
52
|
-
"@smithy/util-base64": "^2.1.
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.1.
|
|
54
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.1.
|
|
57
|
-
"@smithy/util-endpoints": "^1.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
59
|
-
"@smithy/util-utf8": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.499.0",
|
|
24
|
+
"@aws-sdk/core": "3.496.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.499.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.496.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.496.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.496.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.496.0",
|
|
32
|
+
"@aws-sdk/types": "3.496.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.496.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.496.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.496.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.1",
|
|
37
|
+
"@smithy/core": "^1.3.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
|
39
|
+
"@smithy/hash-node": "^2.1.1",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.1",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.1",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.1",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.1",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.1",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.1",
|
|
50
|
+
"@smithy/types": "^2.9.1",
|
|
51
|
+
"@smithy/url-parser": "^2.1.1",
|
|
52
|
+
"@smithy/util-base64": "^2.1.1",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.1",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.1",
|
|
58
|
+
"@smithy/util-retry": "^2.1.1",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0",
|
|
61
61
|
"uuid": "^8.3.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@smithy/service-client-documentation-generator": "^2.1.
|
|
64
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
65
65
|
"@tsconfig/node14": "1.0.3",
|
|
66
66
|
"@types/node": "^14.14.31",
|
|
67
67
|
"@types/uuid": "^8.3.0",
|