@aws-sdk/client-b2bi 3.839.0 → 3.840.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/README.md +1 -11
- package/dist-cjs/index.js +85 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForTransformerJobSucceeded.js +40 -0
- package/dist-types/B2bi.d.ts +1 -11
- package/dist-types/B2biClient.d.ts +1 -11
- package/dist-types/commands/CreatePartnershipCommand.d.ts +39 -2
- package/dist-types/commands/CreateProfileCommand.d.ts +1 -2
- package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +1 -7
- package/dist-types/commands/CreateTransformerCommand.d.ts +15 -33
- package/dist-types/commands/DeletePartnershipCommand.d.ts +1 -2
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTransformerCommand.d.ts +1 -2
- package/dist-types/commands/GenerateMappingCommand.d.ts +1 -5
- package/dist-types/commands/GetPartnershipCommand.d.ts +20 -2
- package/dist-types/commands/GetProfileCommand.d.ts +1 -2
- package/dist-types/commands/GetTransformerCommand.d.ts +8 -2
- package/dist-types/commands/GetTransformerJobCommand.d.ts +1 -1
- package/dist-types/commands/ListPartnershipsCommand.d.ts +20 -2
- package/dist-types/commands/ListProfilesCommand.d.ts +1 -2
- package/dist-types/commands/ListTransformersCommand.d.ts +8 -2
- package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/commands/TestParsingCommand.d.ts +78 -0
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +39 -2
- package/dist-types/commands/UpdateProfileCommand.d.ts +1 -2
- package/dist-types/commands/UpdateTransformerCommand.d.ts +15 -2
- package/dist-types/index.d.ts +2 -11
- package/dist-types/models/models_0.d.ts +266 -135
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +74 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForTransformerJobSucceeded.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForTransformerJobSucceeded.d.ts +14 -0
- package/package.json +13 -12
|
@@ -27,8 +27,7 @@ declare const ListProfilesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the profiles associated with your Amazon Web Services account for your current or specified region. A profile is the mechanism used to create the concept of
|
|
31
|
-
* a private network.</p>
|
|
30
|
+
* <p>Lists the profiles associated with your Amazon Web Services account for your current or specified region. A profile is the mechanism used to create the concept of a private network.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const ListTransformersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the available transformers. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively,
|
|
31
|
-
* a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
|
|
30
|
+
* <p>Lists the available transformers. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -66,6 +65,13 @@ declare const ListTransformersCommand_base: {
|
|
|
66
65
|
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
67
66
|
* // },
|
|
68
67
|
* // },
|
|
68
|
+
* // advancedOptions: { // AdvancedOptions
|
|
69
|
+
* // x12: { // X12AdvancedOptions
|
|
70
|
+
* // splitOptions: { // X12SplitOptions
|
|
71
|
+
* // splitBy: "NONE" || "TRANSACTION", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
69
75
|
* // },
|
|
70
76
|
* // mapping: { // Mapping
|
|
71
77
|
* // templateLanguage: "XSLT" || "JSONATA", // required
|
|
@@ -27,9 +27,7 @@ declare const StartTransformerJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services B2B Data Interchange.</p>
|
|
31
|
-
* <p>If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just
|
|
32
|
-
* create and configure a transformer, and then run the <code>StartTransformerJob</code> API to process your files.</p>
|
|
30
|
+
* <p>Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services B2B Data Interchange.</p> <p>If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just create and configure a transformer, and then run the <code>StartTransformerJob</code> API to process your files.</p> <note> <p>The system stores transformer jobs for 30 days. During that period, you can run <a href="https://docs.aws.amazon.com/b2bi/latest/APIReference/API_GetTransformerJob.html">GetTransformerJob</a> and supply its <code>transformerId</code> and <code>transformerJobId</code> to return details of the job.</p> </note>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities.</p>
|
|
31
|
-
* <p>There is no response returned from this call.</p>
|
|
30
|
+
* <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities.</p> <p>There is no response returned from this call.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -46,11 +46,21 @@ declare const TestParsingCommand_base: {
|
|
|
46
46
|
* version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
47
47
|
* },
|
|
48
48
|
* },
|
|
49
|
+
* advancedOptions: { // AdvancedOptions
|
|
50
|
+
* x12: { // X12AdvancedOptions
|
|
51
|
+
* splitOptions: { // X12SplitOptions
|
|
52
|
+
* splitBy: "NONE" || "TRANSACTION", // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
49
56
|
* };
|
|
50
57
|
* const command = new TestParsingCommand(input);
|
|
51
58
|
* const response = await client.send(command);
|
|
52
59
|
* // { // TestParsingResponse
|
|
53
60
|
* // parsedFileContent: "STRING_VALUE", // required
|
|
61
|
+
* // parsedSplitFileContents: [ // ParsedSplitFileContentsList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
54
64
|
* // };
|
|
55
65
|
*
|
|
56
66
|
* ```
|
|
@@ -105,6 +115,74 @@ declare const TestParsingCommand_base: {
|
|
|
105
115
|
* *\/
|
|
106
116
|
* ```
|
|
107
117
|
*
|
|
118
|
+
* @example Sample TestParsing call without EDI Splitting
|
|
119
|
+
* ```javascript
|
|
120
|
+
* //
|
|
121
|
+
* const input = {
|
|
122
|
+
* advancedOptions: {
|
|
123
|
+
* x12: {
|
|
124
|
+
* splitOptions: {
|
|
125
|
+
* splitBy: "NONE"
|
|
126
|
+
* }
|
|
127
|
+
* }
|
|
128
|
+
* },
|
|
129
|
+
* ediType: {
|
|
130
|
+
* x12Details: {
|
|
131
|
+
* transactionSet: "X12_110",
|
|
132
|
+
* version: "VERSION_4010"
|
|
133
|
+
* }
|
|
134
|
+
* },
|
|
135
|
+
* fileFormat: "JSON",
|
|
136
|
+
* inputFile: {
|
|
137
|
+
* bucketName: "test-bucket",
|
|
138
|
+
* key: "sampleFile.txt"
|
|
139
|
+
* }
|
|
140
|
+
* };
|
|
141
|
+
* const command = new TestParsingCommand(input);
|
|
142
|
+
* const response = await client.send(command);
|
|
143
|
+
* /* response is
|
|
144
|
+
* {
|
|
145
|
+
* parsedFileContent: "Sample parsed file content"
|
|
146
|
+
* }
|
|
147
|
+
* *\/
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
150
|
+
* @example Sample TestParsing call with EDI Splitting by Transaction
|
|
151
|
+
* ```javascript
|
|
152
|
+
* //
|
|
153
|
+
* const input = {
|
|
154
|
+
* advancedOptions: {
|
|
155
|
+
* x12: {
|
|
156
|
+
* splitOptions: {
|
|
157
|
+
* splitBy: "TRANSACTION"
|
|
158
|
+
* }
|
|
159
|
+
* }
|
|
160
|
+
* },
|
|
161
|
+
* ediType: {
|
|
162
|
+
* x12Details: {
|
|
163
|
+
* transactionSet: "X12_110",
|
|
164
|
+
* version: "VERSION_4010"
|
|
165
|
+
* }
|
|
166
|
+
* },
|
|
167
|
+
* fileFormat: "JSON",
|
|
168
|
+
* inputFile: {
|
|
169
|
+
* bucketName: "test-bucket",
|
|
170
|
+
* key: "sampleFile.txt"
|
|
171
|
+
* }
|
|
172
|
+
* };
|
|
173
|
+
* const command = new TestParsingCommand(input);
|
|
174
|
+
* const response = await client.send(command);
|
|
175
|
+
* /* response is
|
|
176
|
+
* {
|
|
177
|
+
* parsedFileContent: "",
|
|
178
|
+
* parsedSplitFileContents: [
|
|
179
|
+
* "sample split parsed file content",
|
|
180
|
+
* "sample split parsed file content"
|
|
181
|
+
* ]
|
|
182
|
+
* }
|
|
183
|
+
* *\/
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
108
186
|
* @public
|
|
109
187
|
*/
|
|
110
188
|
export declare class TestParsingCommand extends TestParsingCommand_base {
|
|
@@ -27,8 +27,7 @@ declare const UpdateCapabilityCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates some of the parameters for a capability, based on the specified parameters.
|
|
31
|
-
* A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.</p>
|
|
30
|
+
* <p>Updates some of the parameters for a capability, based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const UpdatePartnershipCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates some of the parameters for a partnership between a customer and trading partner. A partnership represents the connection between you and your trading partner. It ties
|
|
31
|
-
* together a profile and one or more trading capabilities.</p>
|
|
30
|
+
* <p>Updates some of the parameters for a partnership between a customer and trading partner. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -65,6 +64,25 @@ declare const UpdatePartnershipCommand_base: {
|
|
|
65
64
|
* segmentTerminator: "STRING_VALUE",
|
|
66
65
|
* },
|
|
67
66
|
* validateEdi: true || false,
|
|
67
|
+
* controlNumbers: { // X12ControlNumbers
|
|
68
|
+
* startingInterchangeControlNumber: Number("int"),
|
|
69
|
+
* startingFunctionalGroupControlNumber: Number("int"),
|
|
70
|
+
* startingTransactionSetControlNumber: Number("int"),
|
|
71
|
+
* },
|
|
72
|
+
* gs05TimeFormat: "HHMM" || "HHMMSS" || "HHMMSSDD",
|
|
73
|
+
* },
|
|
74
|
+
* wrapOptions: { // WrapOptions
|
|
75
|
+
* wrapBy: "SEGMENT" || "ONE_LINE" || "LINE_LENGTH", // required
|
|
76
|
+
* lineTerminator: "CRLF" || "LF" || "CR",
|
|
77
|
+
* lineLength: Number("int"),
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* inboundEdi: { // InboundEdiOptions
|
|
82
|
+
* x12: { // X12InboundEdiOptions
|
|
83
|
+
* acknowledgmentOptions: { // X12AcknowledgmentOptions
|
|
84
|
+
* functionalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS" || "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP", // required
|
|
85
|
+
* technicalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS", // required
|
|
68
86
|
* },
|
|
69
87
|
* },
|
|
70
88
|
* },
|
|
@@ -106,6 +124,25 @@ declare const UpdatePartnershipCommand_base: {
|
|
|
106
124
|
* // segmentTerminator: "STRING_VALUE",
|
|
107
125
|
* // },
|
|
108
126
|
* // validateEdi: true || false,
|
|
127
|
+
* // controlNumbers: { // X12ControlNumbers
|
|
128
|
+
* // startingInterchangeControlNumber: Number("int"),
|
|
129
|
+
* // startingFunctionalGroupControlNumber: Number("int"),
|
|
130
|
+
* // startingTransactionSetControlNumber: Number("int"),
|
|
131
|
+
* // },
|
|
132
|
+
* // gs05TimeFormat: "HHMM" || "HHMMSS" || "HHMMSSDD",
|
|
133
|
+
* // },
|
|
134
|
+
* // wrapOptions: { // WrapOptions
|
|
135
|
+
* // wrapBy: "SEGMENT" || "ONE_LINE" || "LINE_LENGTH", // required
|
|
136
|
+
* // lineTerminator: "CRLF" || "LF" || "CR",
|
|
137
|
+
* // lineLength: Number("int"),
|
|
138
|
+
* // },
|
|
139
|
+
* // },
|
|
140
|
+
* // },
|
|
141
|
+
* // inboundEdi: { // InboundEdiOptions
|
|
142
|
+
* // x12: { // X12InboundEdiOptions
|
|
143
|
+
* // acknowledgmentOptions: { // X12AcknowledgmentOptions
|
|
144
|
+
* // functionalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS" || "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP", // required
|
|
145
|
+
* // technicalAcknowledgment: "DO_NOT_GENERATE" || "GENERATE_ALL_SEGMENTS", // required
|
|
109
146
|
* // },
|
|
110
147
|
* // },
|
|
111
148
|
* // },
|
|
@@ -27,8 +27,7 @@ declare const UpdateProfileCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of
|
|
31
|
-
* a private network.</p>
|
|
30
|
+
* <p>Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const UpdateTransformerCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates the specified parameters for a transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively,
|
|
31
|
-
* a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
|
|
30
|
+
* <p>Updates the specified parameters for a transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -56,6 +55,13 @@ declare const UpdateTransformerCommand_base: {
|
|
|
56
55
|
* version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
57
56
|
* },
|
|
58
57
|
* },
|
|
58
|
+
* advancedOptions: { // AdvancedOptions
|
|
59
|
+
* x12: { // X12AdvancedOptions
|
|
60
|
+
* splitOptions: { // X12SplitOptions
|
|
61
|
+
* splitBy: "NONE" || "TRANSACTION", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
59
65
|
* },
|
|
60
66
|
* mapping: { // Mapping
|
|
61
67
|
* templateLanguage: "XSLT" || "JSONATA", // required
|
|
@@ -106,6 +112,13 @@ declare const UpdateTransformerCommand_base: {
|
|
|
106
112
|
* // version: "VERSION_4010" || "VERSION_4030" || "VERSION_4050" || "VERSION_4060" || "VERSION_5010" || "VERSION_5010_HIPAA",
|
|
107
113
|
* // },
|
|
108
114
|
* // },
|
|
115
|
+
* // advancedOptions: { // AdvancedOptions
|
|
116
|
+
* // x12: { // X12AdvancedOptions
|
|
117
|
+
* // splitOptions: { // X12SplitOptions
|
|
118
|
+
* // splitBy: "NONE" || "TRANSACTION", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
109
122
|
* // },
|
|
110
123
|
* // mapping: { // Mapping
|
|
111
124
|
* // templateLanguage: "XSLT" || "JSONATA", // required
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p>
|
|
3
|
-
* <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud
|
|
4
|
-
* scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange
|
|
5
|
-
* transactional data with trading partners, such as suppliers and end customers, using
|
|
6
|
-
* standardized formats such as X12.</p>
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>Rather than actually running a command, you can use the
|
|
9
|
-
* <code>--generate-cli-skeleton</code> parameter with any API call to generate and display
|
|
10
|
-
* a parameter template. You can then use the generated template to customize and use as input
|
|
11
|
-
* on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p>
|
|
12
|
-
* </note>
|
|
2
|
+
* <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p> <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange transactional data with trading partners, such as suppliers and end customers, using standardized formats such as X12.</p> <note> <p>Rather than actually running a command, you can use the <code>--generate-cli-skeleton</code> parameter with any API call to generate and display a parameter template. You can then use the generated template to customize and use as input on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p> </note>
|
|
13
3
|
*
|
|
14
4
|
* @packageDocumentation
|
|
15
5
|
*/
|
|
@@ -20,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
20
10
|
export type { B2biExtensionConfiguration } from "./extensionConfiguration";
|
|
21
11
|
export * from "./commands";
|
|
22
12
|
export * from "./pagination";
|
|
13
|
+
export * from "./waiters";
|
|
23
14
|
export * from "./models";
|
|
24
15
|
export { B2biServiceException } from "./models/B2biServiceException";
|