@aws-sdk/client-b2bi 3.490.0 → 3.496.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/B2bi.js +1 -65
- package/dist-cjs/B2biClient.js +1 -43
- package/dist-cjs/commands/CreateCapabilityCommand.js +1 -28
- package/dist-cjs/commands/CreatePartnershipCommand.js +1 -29
- package/dist-cjs/commands/CreateProfileCommand.js +1 -29
- package/dist-cjs/commands/CreateTransformerCommand.js +1 -28
- package/dist-cjs/commands/DeleteCapabilityCommand.js +1 -28
- package/dist-cjs/commands/DeletePartnershipCommand.js +1 -28
- package/dist-cjs/commands/DeleteProfileCommand.js +1 -28
- package/dist-cjs/commands/DeleteTransformerCommand.js +1 -28
- package/dist-cjs/commands/GetCapabilityCommand.js +1 -28
- package/dist-cjs/commands/GetPartnershipCommand.js +1 -29
- package/dist-cjs/commands/GetProfileCommand.js +1 -29
- package/dist-cjs/commands/GetTransformerCommand.js +1 -28
- package/dist-cjs/commands/GetTransformerJobCommand.js +1 -28
- package/dist-cjs/commands/ListCapabilitiesCommand.js +1 -28
- package/dist-cjs/commands/ListPartnershipsCommand.js +1 -28
- package/dist-cjs/commands/ListProfilesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListTransformersCommand.js +1 -28
- package/dist-cjs/commands/StartTransformerJobCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TestMappingCommand.js +1 -28
- package/dist-cjs/commands/TestParsingCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateCapabilityCommand.js +1 -28
- package/dist-cjs/commands/UpdatePartnershipCommand.js +1 -29
- package/dist-cjs/commands/UpdateProfileCommand.js +1 -29
- package/dist-cjs/commands/UpdateTransformerCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -30
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2779 -11
- package/dist-cjs/models/B2biServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -227
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListCapabilitiesPaginator.js +1 -7
- package/dist-cjs/pagination/ListPartnershipsPaginator.js +1 -7
- package/dist-cjs/pagination/ListProfilesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTransformersPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_json1_0.js +1 -1822
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-es/protocols/Aws_json1_0.js +9 -0
- 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 +24 -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 +20 -0
- package/dist-types/commands/TestMappingCommand.d.ts +18 -0
- package/dist-types/commands/TestParsingCommand.d.ts +27 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +17 -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 +40 -40
|
@@ -55,6 +55,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
55
55
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
56
|
* @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
|
|
57
57
|
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
|
|
60
|
+
*
|
|
58
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
62
|
* <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
|
|
60
63
|
*
|
|
@@ -64,6 +67,27 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
64
67
|
* @throws {@link B2biServiceException}
|
|
65
68
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
66
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
|
+
*
|
|
67
91
|
*/
|
|
68
92
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
69
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
|
}
|
|
@@ -55,6 +55,9 @@ declare const TagResourceCommand_base: {
|
|
|
55
55
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
56
56
|
* @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
|
|
57
57
|
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
|
|
60
|
+
*
|
|
58
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
62
|
* <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
|
|
60
63
|
*
|
|
@@ -67,6 +70,23 @@ declare const TagResourceCommand_base: {
|
|
|
67
70
|
* @throws {@link B2biServiceException}
|
|
68
71
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
69
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
|
+
*
|
|
70
90
|
*/
|
|
71
91
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
72
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
|
}
|
|
@@ -26,7 +26,7 @@ declare const TestParsingCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Parses the input EDI (electronic data interchange) file.</p>
|
|
29
|
+
* <p>Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -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
|
}
|
|
@@ -51,6 +51,9 @@ declare const UntagResourceCommand_base: {
|
|
|
51
51
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
|
|
56
|
+
*
|
|
54
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
58
|
* <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
|
|
56
59
|
*
|
|
@@ -60,6 +63,20 @@ declare const UntagResourceCommand_base: {
|
|
|
60
63
|
* @throws {@link B2biServiceException}
|
|
61
64
|
* <p>Base exception class for all service exceptions from B2bi service.</p>
|
|
62
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
|
+
*
|
|
63
80
|
*/
|
|
64
81
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
65
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,10 +1,10 @@
|
|
|
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.496.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-b2bi",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -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.
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.
|
|
44
|
-
"@smithy/middleware-serde": "^2.
|
|
45
|
-
"@smithy/middleware-stack": "^2.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.
|
|
52
|
-
"@smithy/util-base64": "^2.
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.
|
|
54
|
-
"@smithy/util-body-length-node": "^2.1
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
57
|
-
"@smithy/util-endpoints": "^1.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.496.0",
|
|
24
|
+
"@aws-sdk/core": "3.496.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.496.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.
|
|
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",
|