@aws-sdk/client-b2bi 3.459.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.
Files changed (203) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +431 -0
  3. package/dist-cjs/B2bi.js +65 -0
  4. package/dist-cjs/B2biClient.js +43 -0
  5. package/dist-cjs/commands/CreateCapabilityCommand.js +51 -0
  6. package/dist-cjs/commands/CreatePartnershipCommand.js +52 -0
  7. package/dist-cjs/commands/CreateProfileCommand.js +52 -0
  8. package/dist-cjs/commands/CreateTransformerCommand.js +51 -0
  9. package/dist-cjs/commands/DeleteCapabilityCommand.js +51 -0
  10. package/dist-cjs/commands/DeletePartnershipCommand.js +51 -0
  11. package/dist-cjs/commands/DeleteProfileCommand.js +51 -0
  12. package/dist-cjs/commands/DeleteTransformerCommand.js +51 -0
  13. package/dist-cjs/commands/GetCapabilityCommand.js +51 -0
  14. package/dist-cjs/commands/GetPartnershipCommand.js +52 -0
  15. package/dist-cjs/commands/GetProfileCommand.js +52 -0
  16. package/dist-cjs/commands/GetTransformerCommand.js +51 -0
  17. package/dist-cjs/commands/GetTransformerJobCommand.js +51 -0
  18. package/dist-cjs/commands/ListCapabilitiesCommand.js +51 -0
  19. package/dist-cjs/commands/ListPartnershipsCommand.js +51 -0
  20. package/dist-cjs/commands/ListProfilesCommand.js +51 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  22. package/dist-cjs/commands/ListTransformersCommand.js +51 -0
  23. package/dist-cjs/commands/StartTransformerJobCommand.js +51 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  25. package/dist-cjs/commands/TestMappingCommand.js +51 -0
  26. package/dist-cjs/commands/TestParsingCommand.js +51 -0
  27. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  28. package/dist-cjs/commands/UpdateCapabilityCommand.js +51 -0
  29. package/dist-cjs/commands/UpdatePartnershipCommand.js +52 -0
  30. package/dist-cjs/commands/UpdateProfileCommand.js +52 -0
  31. package/dist-cjs/commands/UpdateTransformerCommand.js +51 -0
  32. package/dist-cjs/commands/index.js +30 -0
  33. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  34. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  35. package/dist-cjs/endpoint/ruleset.js +7 -0
  36. package/dist-cjs/extensionConfiguration.js +2 -0
  37. package/dist-cjs/index.js +12 -0
  38. package/dist-cjs/models/B2biServiceException.js +12 -0
  39. package/dist-cjs/models/index.js +4 -0
  40. package/dist-cjs/models/models_0.js +227 -0
  41. package/dist-cjs/pagination/Interfaces.js +2 -0
  42. package/dist-cjs/pagination/ListCapabilitiesPaginator.js +29 -0
  43. package/dist-cjs/pagination/ListPartnershipsPaginator.js +29 -0
  44. package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
  45. package/dist-cjs/pagination/ListTransformersPaginator.js +29 -0
  46. package/dist-cjs/pagination/index.js +8 -0
  47. package/dist-cjs/protocols/Aws_json1_0.js +1822 -0
  48. package/dist-cjs/runtimeConfig.browser.js +39 -0
  49. package/dist-cjs/runtimeConfig.js +50 -0
  50. package/dist-cjs/runtimeConfig.native.js +15 -0
  51. package/dist-cjs/runtimeConfig.shared.js +24 -0
  52. package/dist-cjs/runtimeExtensions.js +22 -0
  53. package/dist-es/B2bi.js +61 -0
  54. package/dist-es/B2biClient.js +39 -0
  55. package/dist-es/commands/CreateCapabilityCommand.js +47 -0
  56. package/dist-es/commands/CreatePartnershipCommand.js +48 -0
  57. package/dist-es/commands/CreateProfileCommand.js +48 -0
  58. package/dist-es/commands/CreateTransformerCommand.js +47 -0
  59. package/dist-es/commands/DeleteCapabilityCommand.js +47 -0
  60. package/dist-es/commands/DeletePartnershipCommand.js +47 -0
  61. package/dist-es/commands/DeleteProfileCommand.js +47 -0
  62. package/dist-es/commands/DeleteTransformerCommand.js +47 -0
  63. package/dist-es/commands/GetCapabilityCommand.js +47 -0
  64. package/dist-es/commands/GetPartnershipCommand.js +48 -0
  65. package/dist-es/commands/GetProfileCommand.js +48 -0
  66. package/dist-es/commands/GetTransformerCommand.js +47 -0
  67. package/dist-es/commands/GetTransformerJobCommand.js +47 -0
  68. package/dist-es/commands/ListCapabilitiesCommand.js +47 -0
  69. package/dist-es/commands/ListPartnershipsCommand.js +47 -0
  70. package/dist-es/commands/ListProfilesCommand.js +47 -0
  71. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  72. package/dist-es/commands/ListTransformersCommand.js +47 -0
  73. package/dist-es/commands/StartTransformerJobCommand.js +47 -0
  74. package/dist-es/commands/TagResourceCommand.js +47 -0
  75. package/dist-es/commands/TestMappingCommand.js +47 -0
  76. package/dist-es/commands/TestParsingCommand.js +47 -0
  77. package/dist-es/commands/UntagResourceCommand.js +47 -0
  78. package/dist-es/commands/UpdateCapabilityCommand.js +47 -0
  79. package/dist-es/commands/UpdatePartnershipCommand.js +48 -0
  80. package/dist-es/commands/UpdateProfileCommand.js +48 -0
  81. package/dist-es/commands/UpdateTransformerCommand.js +47 -0
  82. package/dist-es/commands/index.js +27 -0
  83. package/dist-es/endpoint/EndpointParameters.js +8 -0
  84. package/dist-es/endpoint/endpointResolver.js +8 -0
  85. package/dist-es/endpoint/ruleset.js +4 -0
  86. package/dist-es/extensionConfiguration.js +1 -0
  87. package/dist-es/index.js +7 -0
  88. package/dist-es/models/B2biServiceException.js +8 -0
  89. package/dist-es/models/index.js +1 -0
  90. package/dist-es/models/models_0.js +208 -0
  91. package/dist-es/pagination/Interfaces.js +1 -0
  92. package/dist-es/pagination/ListCapabilitiesPaginator.js +25 -0
  93. package/dist-es/pagination/ListPartnershipsPaginator.js +25 -0
  94. package/dist-es/pagination/ListProfilesPaginator.js +25 -0
  95. package/dist-es/pagination/ListTransformersPaginator.js +25 -0
  96. package/dist-es/pagination/index.js +5 -0
  97. package/dist-es/protocols/Aws_json1_0.js +1764 -0
  98. package/dist-es/runtimeConfig.browser.js +34 -0
  99. package/dist-es/runtimeConfig.js +45 -0
  100. package/dist-es/runtimeConfig.native.js +11 -0
  101. package/dist-es/runtimeConfig.shared.js +20 -0
  102. package/dist-es/runtimeExtensions.js +18 -0
  103. package/dist-types/B2bi.d.ts +209 -0
  104. package/dist-types/B2biClient.d.ts +206 -0
  105. package/dist-types/commands/CreateCapabilityCommand.d.ts +156 -0
  106. package/dist-types/commands/CreatePartnershipCommand.d.ts +117 -0
  107. package/dist-types/commands/CreateProfileCommand.d.ts +113 -0
  108. package/dist-types/commands/CreateTransformerCommand.d.ts +123 -0
  109. package/dist-types/commands/DeleteCapabilityCommand.d.ts +89 -0
  110. package/dist-types/commands/DeletePartnershipCommand.d.ts +89 -0
  111. package/dist-types/commands/DeleteProfileCommand.d.ts +89 -0
  112. package/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
  113. package/dist-types/commands/GetCapabilityCommand.d.ts +118 -0
  114. package/dist-types/commands/GetPartnershipCommand.d.ts +99 -0
  115. package/dist-types/commands/GetProfileCommand.d.ts +97 -0
  116. package/dist-types/commands/GetTransformerCommand.d.ts +102 -0
  117. package/dist-types/commands/GetTransformerJobCommand.d.ts +96 -0
  118. package/dist-types/commands/ListCapabilitiesCommand.d.ts +83 -0
  119. package/dist-types/commands/ListPartnershipsCommand.d.ts +103 -0
  120. package/dist-types/commands/ListProfilesCommand.d.ts +85 -0
  121. package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
  122. package/dist-types/commands/ListTransformersCommand.d.ts +92 -0
  123. package/dist-types/commands/StartTransformerJobCommand.d.ts +97 -0
  124. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  125. package/dist-types/commands/TestMappingCommand.d.ts +90 -0
  126. package/dist-types/commands/TestParsingCommand.d.ts +98 -0
  127. package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
  128. package/dist-types/commands/UpdateCapabilityCommand.d.ts +151 -0
  129. package/dist-types/commands/UpdatePartnershipCommand.d.ts +109 -0
  130. package/dist-types/commands/UpdateProfileCommand.d.ts +107 -0
  131. package/dist-types/commands/UpdateTransformerCommand.d.ts +119 -0
  132. package/dist-types/commands/index.d.ts +27 -0
  133. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  134. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  135. package/dist-types/endpoint/ruleset.d.ts +2 -0
  136. package/dist-types/extensionConfiguration.d.ts +8 -0
  137. package/dist-types/index.d.ts +25 -0
  138. package/dist-types/models/B2biServiceException.d.ts +13 -0
  139. package/dist-types/models/index.d.ts +1 -0
  140. package/dist-types/models/models_0.d.ts +1859 -0
  141. package/dist-types/pagination/Interfaces.d.ts +8 -0
  142. package/dist-types/pagination/ListCapabilitiesPaginator.d.ts +7 -0
  143. package/dist-types/pagination/ListPartnershipsPaginator.d.ts +7 -0
  144. package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
  145. package/dist-types/pagination/ListTransformersPaginator.d.ts +7 -0
  146. package/dist-types/pagination/index.d.ts +5 -0
  147. package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
  148. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  149. package/dist-types/runtimeConfig.d.ts +46 -0
  150. package/dist-types/runtimeConfig.native.d.ts +45 -0
  151. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  152. package/dist-types/runtimeExtensions.d.ts +17 -0
  153. package/dist-types/ts3.4/B2bi.d.ts +464 -0
  154. package/dist-types/ts3.4/B2biClient.d.ts +280 -0
  155. package/dist-types/ts3.4/commands/CreateCapabilityCommand.d.ts +38 -0
  156. package/dist-types/ts3.4/commands/CreatePartnershipCommand.d.ts +39 -0
  157. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
  158. package/dist-types/ts3.4/commands/CreateTransformerCommand.d.ts +39 -0
  159. package/dist-types/ts3.4/commands/DeleteCapabilityCommand.d.ts +33 -0
  160. package/dist-types/ts3.4/commands/DeletePartnershipCommand.d.ts +34 -0
  161. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
  162. package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +34 -0
  163. package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +38 -0
  164. package/dist-types/ts3.4/commands/GetPartnershipCommand.d.ts +38 -0
  165. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
  166. package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +38 -0
  167. package/dist-types/ts3.4/commands/GetTransformerJobCommand.d.ts +39 -0
  168. package/dist-types/ts3.4/commands/ListCapabilitiesCommand.d.ts +38 -0
  169. package/dist-types/ts3.4/commands/ListPartnershipsCommand.d.ts +38 -0
  170. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
  171. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  172. package/dist-types/ts3.4/commands/ListTransformersCommand.d.ts +38 -0
  173. package/dist-types/ts3.4/commands/StartTransformerJobCommand.d.ts +39 -0
  174. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
  175. package/dist-types/ts3.4/commands/TestMappingCommand.d.ts +35 -0
  176. package/dist-types/ts3.4/commands/TestParsingCommand.d.ts +35 -0
  177. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
  178. package/dist-types/ts3.4/commands/UpdateCapabilityCommand.d.ts +38 -0
  179. package/dist-types/ts3.4/commands/UpdatePartnershipCommand.d.ts +39 -0
  180. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +38 -0
  181. package/dist-types/ts3.4/commands/UpdateTransformerCommand.d.ts +39 -0
  182. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  183. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  184. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  185. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  186. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  187. package/dist-types/ts3.4/index.d.ts +10 -0
  188. package/dist-types/ts3.4/models/B2biServiceException.d.ts +8 -0
  189. package/dist-types/ts3.4/models/index.d.ts +1 -0
  190. package/dist-types/ts3.4/models/models_0.d.ts +537 -0
  191. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  192. package/dist-types/ts3.4/pagination/ListCapabilitiesPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/ListPartnershipsPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/ListTransformersPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  197. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
  198. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  199. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  200. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  201. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  202. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  203. package/package.json +104 -0
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { GetTransformerRequest, GetTransformerResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTransformerCommand}.
14
+ */
15
+ export interface GetTransformerCommandInput extends GetTransformerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTransformerCommand}.
21
+ */
22
+ export interface GetTransformerCommandOutput extends GetTransformerResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the details for the transformer specified by the transformer ID. Transformers describe how to process the incoming EDI (electronic data interchange) documents, and extract the necessary information.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, GetTransformerCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, GetTransformerCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // GetTransformerRequest
34
+ * transformerId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetTransformerCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetTransformerResponse
39
+ * // transformerId: "STRING_VALUE", // required
40
+ * // transformerArn: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // fileFormat: "XML" || "JSON", // required
43
+ * // mappingTemplate: "STRING_VALUE", // required
44
+ * // status: "active" || "inactive", // required
45
+ * // ediType: { // EdiType Union: only one key present
46
+ * // x12Details: { // X12Details
47
+ * // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_214" || "X12_215" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_820" || "X12_824" || "X12_830" || "X12_846" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_940" || "X12_990" || "X12_997",
48
+ * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010",
49
+ * // },
50
+ * // },
51
+ * // sampleDocument: "STRING_VALUE",
52
+ * // createdAt: new Date("TIMESTAMP"), // required
53
+ * // modifiedAt: new Date("TIMESTAMP"),
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetTransformerCommandInput - {@link GetTransformerCommandInput}
59
+ * @returns {@link GetTransformerCommandOutput}
60
+ * @see {@link GetTransformerCommandInput} for command's `input` shape.
61
+ * @see {@link GetTransformerCommandOutput} for command's `response` shape.
62
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient access to perform this action.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <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>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
78
+ *
79
+ * @throws {@link B2biServiceException}
80
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
81
+ *
82
+ */
83
+ export declare class GetTransformerCommand extends $Command<GetTransformerCommandInput, GetTransformerCommandOutput, B2biClientResolvedConfig> {
84
+ readonly input: GetTransformerCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: GetTransformerCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTransformerCommandInput, GetTransformerCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { GetTransformerJobRequest, GetTransformerJobResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTransformerJobCommand}.
14
+ */
15
+ export interface GetTransformerJobCommandInput extends GetTransformerJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTransformerJobCommand}.
21
+ */
22
+ export interface GetTransformerJobCommandOutput extends GetTransformerJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns the details of the transformer run, based on the Transformer job ID.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, GetTransformerJobCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, GetTransformerJobCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // GetTransformerJobRequest
34
+ * transformerJobId: "STRING_VALUE", // required
35
+ * transformerId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetTransformerJobCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetTransformerJobResponse
40
+ * // status: "running" || "succeeded" || "failed", // required
41
+ * // outputFiles: [ // S3LocationList
42
+ * // { // S3Location
43
+ * // bucketName: "STRING_VALUE",
44
+ * // key: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // message: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetTransformerJobCommandInput - {@link GetTransformerJobCommandInput}
53
+ * @returns {@link GetTransformerJobCommandOutput}
54
+ * @see {@link GetTransformerJobCommandInput} for command's `input` shape.
55
+ * @see {@link GetTransformerJobCommandOutput} for command's `response` shape.
56
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You do not have sufficient access to perform this action.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <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>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
72
+ *
73
+ * @throws {@link B2biServiceException}
74
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
75
+ *
76
+ */
77
+ export declare class GetTransformerJobCommand extends $Command<GetTransformerJobCommandInput, GetTransformerJobCommandOutput, B2biClientResolvedConfig> {
78
+ readonly input: GetTransformerJobCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: GetTransformerJobCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTransformerJobCommandInput, GetTransformerJobCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -0,0 +1,83 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { ListCapabilitiesRequest, ListCapabilitiesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCapabilitiesCommand}.
14
+ */
15
+ export interface ListCapabilitiesCommandInput extends ListCapabilitiesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCapabilitiesCommand}.
21
+ */
22
+ export interface ListCapabilitiesCommandOutput extends ListCapabilitiesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the capabilities associated with your Amazon Web Services account for your current or specified region. Capabilities contain the information necessary to process incoming EDI (electronic data interchange) documents.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, ListCapabilitiesCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, ListCapabilitiesCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // ListCapabilitiesRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListCapabilitiesCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListCapabilitiesResponse
40
+ * // capabilities: [ // CapabilityList // required
41
+ * // { // CapabilitySummary
42
+ * // capabilityId: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // type: "edi", // required
45
+ * // createdAt: new Date("TIMESTAMP"), // required
46
+ * // modifiedAt: new Date("TIMESTAMP"),
47
+ * // },
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListCapabilitiesCommandInput - {@link ListCapabilitiesCommandInput}
55
+ * @returns {@link ListCapabilitiesCommandOutput}
56
+ * @see {@link ListCapabilitiesCommandInput} for command's `input` shape.
57
+ * @see {@link ListCapabilitiesCommandOutput} for command's `response` shape.
58
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
59
+ *
60
+ * @throws {@link B2biServiceException}
61
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
62
+ *
63
+ */
64
+ export declare class ListCapabilitiesCommand extends $Command<ListCapabilitiesCommandInput, ListCapabilitiesCommandOutput, B2biClientResolvedConfig> {
65
+ readonly input: ListCapabilitiesCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: ListCapabilitiesCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCapabilitiesCommandInput, ListCapabilitiesCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }
@@ -0,0 +1,103 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { ListPartnershipsRequest, ListPartnershipsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPartnershipsCommand}.
14
+ */
15
+ export interface ListPartnershipsCommandInput extends ListPartnershipsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPartnershipsCommand}.
21
+ */
22
+ export interface ListPartnershipsCommandOutput extends ListPartnershipsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the partnerships associated with your Amazon Web Services account for your current or specified region. Partnerships link trading partners with your profile and a specific transformer, so that the EDI (electronic data interchange) documents that they upload to Amazon S3 can be processed according to their specifications.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, ListPartnershipsCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, ListPartnershipsCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // ListPartnershipsRequest
34
+ * profileId: "STRING_VALUE",
35
+ * nextToken: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * };
38
+ * const command = new ListPartnershipsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListPartnershipsResponse
41
+ * // partnerships: [ // PartnershipList // required
42
+ * // { // PartnershipSummary
43
+ * // profileId: "STRING_VALUE", // required
44
+ * // partnershipId: "STRING_VALUE", // required
45
+ * // name: "STRING_VALUE",
46
+ * // capabilities: [ // PartnershipCapabilities
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // tradingPartnerId: "STRING_VALUE",
50
+ * // createdAt: new Date("TIMESTAMP"), // required
51
+ * // modifiedAt: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListPartnershipsCommandInput - {@link ListPartnershipsCommandInput}
60
+ * @returns {@link ListPartnershipsCommandOutput}
61
+ * @see {@link ListPartnershipsCommandInput} for command's `input` shape.
62
+ * @see {@link ListPartnershipsCommandOutput} for command's `response` shape.
63
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <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>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
79
+ *
80
+ * @throws {@link B2biServiceException}
81
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
82
+ *
83
+ */
84
+ export declare class ListPartnershipsCommand extends $Command<ListPartnershipsCommandInput, ListPartnershipsCommandOutput, B2biClientResolvedConfig> {
85
+ readonly input: ListPartnershipsCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: ListPartnershipsCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPartnershipsCommandInput, ListPartnershipsCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -0,0 +1,85 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { ListProfilesRequest, ListProfilesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListProfilesCommand}.
14
+ */
15
+ export interface ListProfilesCommandInput extends ListProfilesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListProfilesCommand}.
21
+ */
22
+ export interface ListProfilesCommandOutput extends ListProfilesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the profiles associated with your Amazon Web Services account for your current or specified region. Profiles contain basic information about you and your business.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, ListProfilesCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, ListProfilesCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // ListProfilesRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListProfilesCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListProfilesResponse
40
+ * // profiles: [ // ProfileList // required
41
+ * // { // ProfileSummary
42
+ * // profileId: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // businessName: "STRING_VALUE", // required
45
+ * // logging: "ENABLED" || "DISABLED",
46
+ * // logGroupName: "STRING_VALUE",
47
+ * // createdAt: new Date("TIMESTAMP"), // required
48
+ * // modifiedAt: new Date("TIMESTAMP"),
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListProfilesCommandInput - {@link ListProfilesCommandInput}
57
+ * @returns {@link ListProfilesCommandOutput}
58
+ * @see {@link ListProfilesCommandInput} for command's `input` shape.
59
+ * @see {@link ListProfilesCommandOutput} for command's `response` shape.
60
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
61
+ *
62
+ * @throws {@link B2biServiceException}
63
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
64
+ *
65
+ */
66
+ export declare class ListProfilesCommand extends $Command<ListProfilesCommandInput, ListProfilesCommandOutput, B2biClientResolvedConfig> {
67
+ readonly input: ListProfilesCommandInput;
68
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
72
+ constructor(input: ListProfilesCommandInput);
73
+ /**
74
+ * @internal
75
+ */
76
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProfilesCommandInput, ListProfilesCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
80
+ private serialize;
81
+ /**
82
+ * @internal
83
+ */
84
+ private deserialize;
85
+ }
@@ -0,0 +1,84 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a capability, partnership, profile, or transformer.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, ListTagsForResourceCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, ListTagsForResourceCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // ListTagsForResourceRequest
34
+ * ResourceARN: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ListTagsForResourceCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListTagsForResourceResponse
39
+ * // Tags: [ // TagList
40
+ * // { // Tag
41
+ * // Key: "STRING_VALUE", // required
42
+ * // Value: "STRING_VALUE", // required
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
50
+ * @returns {@link ListTagsForResourceCommandOutput}
51
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
52
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <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>
57
+ *
58
+ * @throws {@link ValidationException} (client fault)
59
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
60
+ *
61
+ * @throws {@link B2biServiceException}
62
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
63
+ *
64
+ */
65
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, B2biClientResolvedConfig> {
66
+ readonly input: ListTagsForResourceCommandInput;
67
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
71
+ constructor(input: ListTagsForResourceCommandInput);
72
+ /**
73
+ * @internal
74
+ */
75
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
79
+ private serialize;
80
+ /**
81
+ * @internal
82
+ */
83
+ private deserialize;
84
+ }
@@ -0,0 +1,92 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { B2biClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../B2biClient";
5
+ import { ListTransformersRequest, ListTransformersResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTransformersCommand}.
14
+ */
15
+ export interface ListTransformersCommandInput extends ListTransformersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTransformersCommand}.
21
+ */
22
+ export interface ListTransformersCommandOutput extends ListTransformersResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the available transformers. Transformers describe how to process the incoming EDI (electronic data interchange) documents, and extract the necessary information.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, ListTransformersCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, ListTransformersCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // ListTransformersRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListTransformersCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListTransformersResponse
40
+ * // transformers: [ // TransformerList // required
41
+ * // { // TransformerSummary
42
+ * // transformerId: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // fileFormat: "XML" || "JSON", // required
45
+ * // mappingTemplate: "STRING_VALUE", // required
46
+ * // status: "active" || "inactive", // required
47
+ * // ediType: { // EdiType Union: only one key present
48
+ * // x12Details: { // X12Details
49
+ * // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_214" || "X12_215" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_820" || "X12_824" || "X12_830" || "X12_846" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_940" || "X12_990" || "X12_997",
50
+ * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010",
51
+ * // },
52
+ * // },
53
+ * // sampleDocument: "STRING_VALUE",
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // modifiedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListTransformersCommandInput - {@link ListTransformersCommandInput}
64
+ * @returns {@link ListTransformersCommandOutput}
65
+ * @see {@link ListTransformersCommandInput} for command's `input` shape.
66
+ * @see {@link ListTransformersCommandOutput} for command's `response` shape.
67
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
68
+ *
69
+ * @throws {@link B2biServiceException}
70
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
71
+ *
72
+ */
73
+ export declare class ListTransformersCommand extends $Command<ListTransformersCommandInput, ListTransformersCommandOutput, B2biClientResolvedConfig> {
74
+ readonly input: ListTransformersCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: ListTransformersCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTransformersCommandInput, ListTransformersCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }