@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
|
@@ -83,32 +83,32 @@ declare const StartTransformerJobCommand_base: {
|
|
|
83
83
|
* @throws {@link B2biServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example Sample StartTransformerJob call
|
|
88
88
|
* ```javascript
|
|
89
89
|
* //
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
91
|
+
* clientToken: "foo",
|
|
92
|
+
* inputFile: {
|
|
93
|
+
* bucketName: "test-bucket",
|
|
94
|
+
* key: "input/inputFile.txt"
|
|
95
95
|
* },
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* outputLocation: {
|
|
97
|
+
* bucketName: "test-bucket",
|
|
98
|
+
* key: "output/"
|
|
99
99
|
* },
|
|
100
|
-
*
|
|
100
|
+
* transformerId: "tr-974c129999f84d8c9"
|
|
101
101
|
* };
|
|
102
102
|
* const command = new StartTransformerJobCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* transformerJobId: "tj-vpYxfV7yQOqjMSYllEslLw"
|
|
107
107
|
* }
|
|
108
108
|
* *\/
|
|
109
|
-
* // example id: example-1
|
|
110
109
|
* ```
|
|
111
110
|
*
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export declare class StartTransformerJobCommand extends StartTransformerJobCommand_base {
|
|
114
114
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,24 +71,27 @@ declare const TagResourceCommand_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 TagResource call
|
|
76
76
|
* ```javascript
|
|
77
77
|
* //
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
80
|
-
*
|
|
79
|
+
* ResourceARN: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
80
|
+
* Tags: [
|
|
81
81
|
* {
|
|
82
|
-
*
|
|
83
|
-
*
|
|
82
|
+
* Key: "sampleKey",
|
|
83
|
+
* Value: "SampleValue"
|
|
84
84
|
* }
|
|
85
85
|
* ]
|
|
86
86
|
* };
|
|
87
87
|
* const command = new TagResourceCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -92,38 +92,38 @@ declare const TestConversionCommand_base: {
|
|
|
92
92
|
* @throws {@link B2biServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
94
94
|
*
|
|
95
|
-
*
|
|
95
|
+
*
|
|
96
96
|
* @example Sample TestConversion call
|
|
97
97
|
* ```javascript
|
|
98
98
|
* //
|
|
99
99
|
* const input = {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
100
|
+
* source: {
|
|
101
|
+
* fileFormat: "JSON",
|
|
102
|
+
* inputFile: {
|
|
103
|
+
* fileContent: "Sample file content"
|
|
104
104
|
* }
|
|
105
105
|
* },
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
106
|
+
* target: {
|
|
107
|
+
* fileFormat: "X12",
|
|
108
|
+
* formatDetails: {
|
|
109
|
+
* x12: {
|
|
110
|
+
* transactionSet: "X12_110",
|
|
111
|
+
* version: "VERSION_4010"
|
|
112
112
|
* }
|
|
113
113
|
* }
|
|
114
114
|
* }
|
|
115
115
|
* };
|
|
116
116
|
* const command = new TestConversionCommand(input);
|
|
117
117
|
* const response = await client.send(command);
|
|
118
|
-
* /* response
|
|
118
|
+
* /* response is
|
|
119
119
|
* {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
120
|
+
* convertedFileContent: "Sample converted file content",
|
|
121
|
+
* validationMessages: []
|
|
122
122
|
* }
|
|
123
123
|
* *\/
|
|
124
|
-
* // example id: example-1
|
|
125
124
|
* ```
|
|
126
125
|
*
|
|
126
|
+
* @public
|
|
127
127
|
*/
|
|
128
128
|
export declare class TestConversionCommand extends TestConversionCommand_base {
|
|
129
129
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,25 +71,25 @@ declare const TestMappingCommand_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 TestMapping call
|
|
76
76
|
* ```javascript
|
|
77
77
|
* //
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
79
|
+
* fileFormat: "JSON",
|
|
80
|
+
* inputFileContent: "Sample file content",
|
|
81
|
+
* mappingTemplate: "$"
|
|
82
82
|
* };
|
|
83
83
|
* const command = new TestMappingCommand(input);
|
|
84
84
|
* const response = await client.send(command);
|
|
85
|
-
* /* response
|
|
85
|
+
* /* response is
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
87
|
+
* mappedFileContent: "Sample file content"
|
|
88
88
|
* }
|
|
89
89
|
* *\/
|
|
90
|
-
* // example id: example-1
|
|
91
90
|
* ```
|
|
92
91
|
*
|
|
92
|
+
* @public
|
|
93
93
|
*/
|
|
94
94
|
export declare class TestMappingCommand extends TestMappingCommand_base {
|
|
95
95
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,33 +79,33 @@ declare const TestParsingCommand_base: {
|
|
|
79
79
|
* @throws {@link B2biServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example Sample TestParsing call
|
|
84
84
|
* ```javascript
|
|
85
85
|
* //
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
87
|
+
* ediType: {
|
|
88
|
+
* x12Details: {
|
|
89
|
+
* transactionSet: "X12_110",
|
|
90
|
+
* version: "VERSION_4010"
|
|
91
91
|
* }
|
|
92
92
|
* },
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
93
|
+
* fileFormat: "JSON",
|
|
94
|
+
* inputFile: {
|
|
95
|
+
* bucketName: "test-bucket",
|
|
96
|
+
* key: "sampleFile.txt"
|
|
97
97
|
* }
|
|
98
98
|
* };
|
|
99
99
|
* const command = new TestParsingCommand(input);
|
|
100
100
|
* const response = await client.send(command);
|
|
101
|
-
* /* response
|
|
101
|
+
* /* response is
|
|
102
102
|
* {
|
|
103
|
-
*
|
|
103
|
+
* parsedFileContent: "Sample parsed file content"
|
|
104
104
|
* }
|
|
105
105
|
* *\/
|
|
106
|
-
* // example id: example-1
|
|
107
106
|
* ```
|
|
108
107
|
*
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
export declare class TestParsingCommand extends TestParsingCommand_base {
|
|
111
111
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -64,21 +64,24 @@ declare const UntagResourceCommand_base: {
|
|
|
64
64
|
* @throws {@link B2biServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
66
66
|
*
|
|
67
|
-
*
|
|
67
|
+
*
|
|
68
68
|
* @example Sample UntagResource call
|
|
69
69
|
* ```javascript
|
|
70
70
|
* //
|
|
71
71
|
* const input = {
|
|
72
|
-
*
|
|
73
|
-
*
|
|
72
|
+
* ResourceARN: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
73
|
+
* TagKeys: [
|
|
74
74
|
* "sampleKey"
|
|
75
75
|
* ]
|
|
76
76
|
* };
|
|
77
77
|
* const command = new UntagResourceCommand(input);
|
|
78
|
-
* await client.send(command);
|
|
79
|
-
*
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* /* response is
|
|
80
|
+
* { /* metadata only *\/ }
|
|
81
|
+
* *\/
|
|
80
82
|
* ```
|
|
81
83
|
*
|
|
84
|
+
* @public
|
|
82
85
|
*/
|
|
83
86
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
84
87
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -134,79 +134,79 @@ declare const UpdateCapabilityCommand_base: {
|
|
|
134
134
|
* @throws {@link B2biServiceException}
|
|
135
135
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
136
136
|
*
|
|
137
|
-
*
|
|
137
|
+
*
|
|
138
138
|
* @example Sample UpdateCapability call
|
|
139
139
|
* ```javascript
|
|
140
140
|
* //
|
|
141
141
|
* const input = {
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* "
|
|
148
|
-
* "version": "VERSION_4010",
|
|
149
|
-
* "transactionSet": "X12_110"
|
|
150
|
-
* }
|
|
142
|
+
* capabilityId: "ca-963a8121e4fc4e348",
|
|
143
|
+
* configuration: {
|
|
144
|
+
* edi: {
|
|
145
|
+
* inputLocation: {
|
|
146
|
+
* bucketName: "test-bucket",
|
|
147
|
+
* key: "input/"
|
|
151
148
|
* },
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
* },
|
|
156
|
-
* "outputLocation": {
|
|
157
|
-
* "key": "output/",
|
|
158
|
-
* "bucketName": "test-bucket"
|
|
149
|
+
* outputLocation: {
|
|
150
|
+
* bucketName: "test-bucket",
|
|
151
|
+
* key: "output/"
|
|
159
152
|
* },
|
|
160
|
-
*
|
|
153
|
+
* transformerId: "tr-9a893cf536df4658b",
|
|
154
|
+
* type: {
|
|
155
|
+
* x12Details: {
|
|
156
|
+
* transactionSet: "X12_110",
|
|
157
|
+
* version: "VERSION_4010"
|
|
158
|
+
* }
|
|
159
|
+
* }
|
|
161
160
|
* }
|
|
162
161
|
* },
|
|
163
|
-
*
|
|
162
|
+
* instructionsDocuments: [
|
|
164
163
|
* {
|
|
165
|
-
*
|
|
166
|
-
*
|
|
164
|
+
* bucketName: "test-bucket",
|
|
165
|
+
* key: "instructiondoc.txt"
|
|
167
166
|
* }
|
|
168
|
-
* ]
|
|
167
|
+
* ],
|
|
168
|
+
* name: "b2biexample"
|
|
169
169
|
* };
|
|
170
170
|
* const command = new UpdateCapabilityCommand(input);
|
|
171
171
|
* const response = await client.send(command);
|
|
172
|
-
* /* response
|
|
172
|
+
* /* response is
|
|
173
173
|
* {
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* "x12Details": {
|
|
182
|
-
* "version": "VERSION_4010",
|
|
183
|
-
* "transactionSet": "X12_110"
|
|
184
|
-
* }
|
|
185
|
-
* },
|
|
186
|
-
* "inputLocation": {
|
|
187
|
-
* "key": "input/",
|
|
188
|
-
* "bucketName": "test-bucket"
|
|
174
|
+
* capabilityArn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348",
|
|
175
|
+
* capabilityId: "ca-963a8121e4fc4e348",
|
|
176
|
+
* configuration: {
|
|
177
|
+
* edi: {
|
|
178
|
+
* inputLocation: {
|
|
179
|
+
* bucketName: "test-bucket",
|
|
180
|
+
* key: "input/"
|
|
189
181
|
* },
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
182
|
+
* outputLocation: {
|
|
183
|
+
* bucketName: "test-bucket",
|
|
184
|
+
* key: "output/"
|
|
193
185
|
* },
|
|
194
|
-
*
|
|
186
|
+
* transformerId: "tr-9a893cf536df4658b",
|
|
187
|
+
* type: {
|
|
188
|
+
* x12Details: {
|
|
189
|
+
* transactionSet: "X12_110",
|
|
190
|
+
* version: "VERSION_4010"
|
|
191
|
+
* }
|
|
192
|
+
* }
|
|
195
193
|
* }
|
|
196
194
|
* },
|
|
197
|
-
*
|
|
198
|
-
*
|
|
195
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
196
|
+
* instructionsDocuments: [
|
|
199
197
|
* {
|
|
200
|
-
*
|
|
201
|
-
*
|
|
198
|
+
* bucketName: "test-bucket",
|
|
199
|
+
* key: "instructiondoc.txt"
|
|
202
200
|
* }
|
|
203
201
|
* ],
|
|
204
|
-
*
|
|
202
|
+
* modifiedAt: "2023-11-01T21:51:05.504Z",
|
|
203
|
+
* name: "b2biexample",
|
|
204
|
+
* type: "edi"
|
|
205
205
|
* }
|
|
206
206
|
* *\/
|
|
207
|
-
* // example id: example-1
|
|
208
207
|
* ```
|
|
209
208
|
*
|
|
209
|
+
* @public
|
|
210
210
|
*/
|
|
211
211
|
export declare class UpdateCapabilityCommand extends UpdateCapabilityCommand_base {
|
|
212
212
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -147,38 +147,38 @@ declare const UpdatePartnershipCommand_base: {
|
|
|
147
147
|
* @throws {@link B2biServiceException}
|
|
148
148
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
149
149
|
*
|
|
150
|
-
*
|
|
150
|
+
*
|
|
151
151
|
* @example Sample UpdatePartnership call
|
|
152
152
|
* ```javascript
|
|
153
153
|
* //
|
|
154
154
|
* const input = {
|
|
155
|
-
*
|
|
156
|
-
* "capabilities": [
|
|
155
|
+
* capabilities: [
|
|
157
156
|
* "ca-963a8121e4fc4e348"
|
|
158
157
|
* ],
|
|
159
|
-
*
|
|
158
|
+
* name: "b2bipartner",
|
|
159
|
+
* partnershipId: "ps-219fa02f5b4242af8"
|
|
160
160
|
* };
|
|
161
161
|
* const command = new UpdatePartnershipCommand(input);
|
|
162
162
|
* const response = await client.send(command);
|
|
163
|
-
* /* response
|
|
163
|
+
* /* response is
|
|
164
164
|
* {
|
|
165
|
-
*
|
|
166
|
-
* "capabilities": [
|
|
165
|
+
* capabilities: [
|
|
167
166
|
* "ca-963a8121e4fc4e348"
|
|
168
167
|
* ],
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
168
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
169
|
+
* email: "john@example.com",
|
|
170
|
+
* modifiedAt: "2023-11-01T21:51:05.504Z",
|
|
171
|
+
* name: "b2bipartner",
|
|
172
|
+
* partnershipArn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9",
|
|
173
|
+
* partnershipId: "ps-219fa02f5b4242af8",
|
|
174
|
+
* phone: "5555555555",
|
|
175
|
+
* profileId: "p-60fbc37c87f04fce9",
|
|
176
|
+
* tradingPartnerId: "tp-2a17ca447f6f4a8a8"
|
|
177
177
|
* }
|
|
178
178
|
* *\/
|
|
179
|
-
* // example id: example-1
|
|
180
179
|
* ```
|
|
181
180
|
*
|
|
181
|
+
* @public
|
|
182
182
|
*/
|
|
183
183
|
export declare class UpdatePartnershipCommand extends UpdatePartnershipCommand_base {
|
|
184
184
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,36 +89,36 @@ declare const UpdateProfileCommand_base: {
|
|
|
89
89
|
* @throws {@link B2biServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
91
91
|
*
|
|
92
|
-
*
|
|
92
|
+
*
|
|
93
93
|
* @example Sample UpdateProfile call
|
|
94
94
|
* ```javascript
|
|
95
95
|
* //
|
|
96
96
|
* const input = {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
97
|
+
* businessName: "John's Shipping",
|
|
98
|
+
* email: "john@example.com",
|
|
99
|
+
* name: "Shipping Profile",
|
|
100
|
+
* phone: "5555555555",
|
|
101
|
+
* profileId: "p-60fbc37c87f04fce9"
|
|
102
102
|
* };
|
|
103
103
|
* const command = new UpdateProfileCommand(input);
|
|
104
104
|
* const response = await client.send(command);
|
|
105
|
-
* /* response
|
|
105
|
+
* /* response is
|
|
106
106
|
* {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
107
|
+
* businessName: "John's Trucking",
|
|
108
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
109
|
+
* email: "john@example.com",
|
|
110
|
+
* logGroupName: "b2bi/p-60fbc37c87f04fce9-Logs",
|
|
111
|
+
* logging: "ENABLED",
|
|
112
|
+
* modifiedAt: "2023-11-02T21:51:05.504Z",
|
|
113
|
+
* name: "Shipping Profile",
|
|
114
|
+
* phone: "5555555555",
|
|
115
|
+
* profileArn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9",
|
|
116
|
+
* profileId: "p-60fbc37c87f04fce9"
|
|
117
117
|
* }
|
|
118
118
|
* *\/
|
|
119
|
-
* // example id: example-1
|
|
120
119
|
* ```
|
|
121
120
|
*
|
|
121
|
+
* @public
|
|
122
122
|
*/
|
|
123
123
|
export declare class UpdateProfileCommand extends UpdateProfileCommand_base {
|
|
124
124
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -163,72 +163,72 @@ declare const UpdateTransformerCommand_base: {
|
|
|
163
163
|
* @throws {@link B2biServiceException}
|
|
164
164
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
165
165
|
*
|
|
166
|
-
*
|
|
166
|
+
*
|
|
167
167
|
* @example Sample UpdateTransformer call
|
|
168
168
|
* ```javascript
|
|
169
169
|
* //
|
|
170
170
|
* const input = {
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
* "transactionSet": "X12_110"
|
|
171
|
+
* inputConversion: {
|
|
172
|
+
* formatOptions: {
|
|
173
|
+
* x12: {
|
|
174
|
+
* transactionSet: "X12_110",
|
|
175
|
+
* version: "VERSION_4010"
|
|
177
176
|
* }
|
|
178
177
|
* },
|
|
179
|
-
*
|
|
178
|
+
* fromFormat: "X12"
|
|
180
179
|
* },
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
180
|
+
* mapping: {
|
|
181
|
+
* template: "{}",
|
|
182
|
+
* templateLanguage: "JSONATA"
|
|
184
183
|
* },
|
|
185
|
-
* "
|
|
186
|
-
*
|
|
187
|
-
* "
|
|
184
|
+
* name: "transformX12",
|
|
185
|
+
* sampleDocuments: {
|
|
186
|
+
* bucketName: "test-bucket",
|
|
187
|
+
* keys: [
|
|
188
188
|
* {
|
|
189
|
-
*
|
|
189
|
+
* input: "sampleDoc.txt"
|
|
190
190
|
* }
|
|
191
191
|
* ]
|
|
192
192
|
* },
|
|
193
|
-
*
|
|
194
|
-
*
|
|
193
|
+
* status: "inactive",
|
|
194
|
+
* transformerId: "tr-974c129999f84d8c9"
|
|
195
195
|
* };
|
|
196
196
|
* const command = new UpdateTransformerCommand(input);
|
|
197
197
|
* const response = await client.send(command);
|
|
198
|
-
* /* response
|
|
198
|
+
* /* response is
|
|
199
199
|
* {
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
* "transactionSet": "X12_110"
|
|
200
|
+
* createdAt: "2023-11-01T21:51:05.504Z",
|
|
201
|
+
* inputConversion: {
|
|
202
|
+
* formatOptions: {
|
|
203
|
+
* x12: {
|
|
204
|
+
* transactionSet: "X12_110",
|
|
205
|
+
* version: "VERSION_4010"
|
|
207
206
|
* }
|
|
208
207
|
* },
|
|
209
|
-
*
|
|
208
|
+
* fromFormat: "X12"
|
|
210
209
|
* },
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
210
|
+
* mapping: {
|
|
211
|
+
* template: "{}",
|
|
212
|
+
* templateLanguage: "JSONATA"
|
|
214
213
|
* },
|
|
215
|
-
*
|
|
216
|
-
* "
|
|
217
|
-
*
|
|
218
|
-
* "
|
|
214
|
+
* modifiedAt: "2023-11-02T22:31:05.504Z",
|
|
215
|
+
* name: "transformX12",
|
|
216
|
+
* sampleDocuments: {
|
|
217
|
+
* bucketName: "test-bucket",
|
|
218
|
+
* keys: [
|
|
219
219
|
* {
|
|
220
|
-
*
|
|
220
|
+
* input: "sampleDoc.txt"
|
|
221
221
|
* }
|
|
222
222
|
* ]
|
|
223
223
|
* },
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
224
|
+
* status: "inactive",
|
|
225
|
+
* transformerArn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9",
|
|
226
|
+
* transformerId: "tr-974c129999f84d8c9"
|
|
227
227
|
* }
|
|
228
228
|
* *\/
|
|
229
|
-
* // example id: example-1
|
|
230
229
|
* ```
|
|
231
230
|
*
|
|
231
|
+
* @public
|
|
232
232
|
*/
|
|
233
233
|
export declare class UpdateTransformerCommand extends UpdateTransformerCommand_base {
|
|
234
234
|
/** @internal type navigation helper, not in runtime. */
|