@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,97 @@
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 { StartTransformerJobRequest, StartTransformerJobResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartTransformerJobCommand}.
14
+ */
15
+ export interface StartTransformerJobCommandInput extends StartTransformerJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartTransformerJobCommand}.
21
+ */
22
+ export interface StartTransformerJobCommandOutput extends StartTransformerJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services B2BI Data Interchange.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, StartTransformerJobCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, StartTransformerJobCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // StartTransformerJobRequest
34
+ * inputFile: { // S3Location
35
+ * bucketName: "STRING_VALUE",
36
+ * key: "STRING_VALUE",
37
+ * },
38
+ * outputLocation: {
39
+ * bucketName: "STRING_VALUE",
40
+ * key: "STRING_VALUE",
41
+ * },
42
+ * transformerId: "STRING_VALUE", // required
43
+ * clientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new StartTransformerJobCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartTransformerJobResponse
48
+ * // transformerJobId: "STRING_VALUE", // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param StartTransformerJobCommandInput - {@link StartTransformerJobCommandInput}
54
+ * @returns {@link StartTransformerJobCommandOutput}
55
+ * @see {@link StartTransformerJobCommandInput} for command's `input` shape.
56
+ * @see {@link StartTransformerJobCommandOutput} for command's `response` shape.
57
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <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>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
73
+ *
74
+ * @throws {@link B2biServiceException}
75
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
76
+ *
77
+ */
78
+ export declare class StartTransformerJobCommand extends $Command<StartTransformerJobCommandInput, StartTransformerJobCommandOutput, B2biClientResolvedConfig> {
79
+ readonly input: StartTransformerJobCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: StartTransformerJobCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTransformerJobCommandInput, StartTransformerJobCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,87 @@
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 { TagResourceRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <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>
27
+ * <p>There is no response returned from this call.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { B2biClient, TagResourceCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
32
+ * // const { B2biClient, TagResourceCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
33
+ * const client = new B2biClient(config);
34
+ * const input = { // TagResourceRequest
35
+ * ResourceARN: "STRING_VALUE", // required
36
+ * Tags: [ // TagList // required
37
+ * { // Tag
38
+ * Key: "STRING_VALUE", // required
39
+ * Value: "STRING_VALUE", // required
40
+ * },
41
+ * ],
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} 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 ThrottlingException} (client fault)
59
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
63
+ *
64
+ * @throws {@link B2biServiceException}
65
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
66
+ *
67
+ */
68
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, B2biClientResolvedConfig> {
69
+ readonly input: TagResourceCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: TagResourceCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -0,0 +1,90 @@
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 { TestMappingRequest, TestMappingResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TestMappingCommand}.
14
+ */
15
+ export interface TestMappingCommandInput extends TestMappingRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TestMappingCommand}.
21
+ */
22
+ export interface TestMappingCommandOutput extends TestMappingResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Maps the input file according to the provided template file.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, TestMappingCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, TestMappingCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // TestMappingRequest
34
+ * inputFileContent: "STRING_VALUE", // required
35
+ * mappingTemplate: "STRING_VALUE", // required
36
+ * fileFormat: "XML" || "JSON", // required
37
+ * };
38
+ * const command = new TestMappingCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // TestMappingResponse
41
+ * // mappedFileContent: "STRING_VALUE", // required
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param TestMappingCommandInput - {@link TestMappingCommandInput}
47
+ * @returns {@link TestMappingCommandOutput}
48
+ * @see {@link TestMappingCommandInput} for command's `input` shape.
49
+ * @see {@link TestMappingCommandOutput} for command's `response` shape.
50
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <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
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
66
+ *
67
+ * @throws {@link B2biServiceException}
68
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
69
+ *
70
+ */
71
+ export declare class TestMappingCommand extends $Command<TestMappingCommandInput, TestMappingCommandOutput, B2biClientResolvedConfig> {
72
+ readonly input: TestMappingCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: TestMappingCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TestMappingCommandInput, TestMappingCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -0,0 +1,98 @@
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 { TestParsingRequest, TestParsingResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TestParsingCommand}.
14
+ */
15
+ export interface TestParsingCommandInput extends TestParsingRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TestParsingCommand}.
21
+ */
22
+ export interface TestParsingCommandOutput extends TestParsingResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Parses the input EDI (electronic data interchange) file.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, TestParsingCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, TestParsingCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // TestParsingRequest
34
+ * inputFile: { // S3Location
35
+ * bucketName: "STRING_VALUE",
36
+ * key: "STRING_VALUE",
37
+ * },
38
+ * fileFormat: "XML" || "JSON", // required
39
+ * ediType: { // EdiType Union: only one key present
40
+ * x12Details: { // X12Details
41
+ * 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",
42
+ * version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010",
43
+ * },
44
+ * },
45
+ * };
46
+ * const command = new TestParsingCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // TestParsingResponse
49
+ * // parsedFileContent: "STRING_VALUE", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param TestParsingCommandInput - {@link TestParsingCommandInput}
55
+ * @returns {@link TestParsingCommandOutput}
56
+ * @see {@link TestParsingCommandInput} for command's `input` shape.
57
+ * @see {@link TestParsingCommandOutput} for command's `response` shape.
58
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <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>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
74
+ *
75
+ * @throws {@link B2biServiceException}
76
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
77
+ *
78
+ */
79
+ export declare class TestParsingCommand extends $Command<TestParsingCommandInput, TestParsingCommandOutput, B2biClientResolvedConfig> {
80
+ readonly input: TestParsingCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: TestParsingCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TestParsingCommandInput, TestParsingCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -0,0 +1,80 @@
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 { UntagResourceRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Detaches a key-value pair from the specified resource, as identified by its Amazon Resource Name (ARN). Resources are capability, partnership, profile, transformers and other entities.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { B2biClient, UntagResourceCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, UntagResourceCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // UntagResourceRequest
34
+ * ResourceARN: "STRING_VALUE", // required
35
+ * TagKeys: [ // TagKeyList // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
39
+ * const command = new UntagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
46
+ * @returns {@link UntagResourceCommandOutput}
47
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
50
+ *
51
+ * @throws {@link ResourceNotFoundException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link ValidationException} (client fault)
55
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
56
+ *
57
+ * @throws {@link B2biServiceException}
58
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
59
+ *
60
+ */
61
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, B2biClientResolvedConfig> {
62
+ readonly input: UntagResourceCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: UntagResourceCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -0,0 +1,151 @@
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 { UpdateCapabilityRequest, UpdateCapabilityResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateCapabilityCommand}.
14
+ */
15
+ export interface UpdateCapabilityCommandInput extends UpdateCapabilityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCapabilityCommand}.
21
+ */
22
+ export interface UpdateCapabilityCommandOutput extends UpdateCapabilityResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates some of the parameters for a capability, based on the specified parameters.
27
+ * Capabilities contain the information necessary to process incoming EDI (electronic data interchange) documents.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { B2biClient, UpdateCapabilityCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
32
+ * // const { B2biClient, UpdateCapabilityCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
33
+ * const client = new B2biClient(config);
34
+ * const input = { // UpdateCapabilityRequest
35
+ * capabilityId: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE",
37
+ * configuration: { // CapabilityConfiguration Union: only one key present
38
+ * edi: { // EdiConfiguration
39
+ * type: { // EdiType Union: only one key present
40
+ * x12Details: { // X12Details
41
+ * 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",
42
+ * version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010",
43
+ * },
44
+ * },
45
+ * inputLocation: { // S3Location
46
+ * bucketName: "STRING_VALUE",
47
+ * key: "STRING_VALUE",
48
+ * },
49
+ * outputLocation: {
50
+ * bucketName: "STRING_VALUE",
51
+ * key: "STRING_VALUE",
52
+ * },
53
+ * transformerId: "STRING_VALUE", // required
54
+ * },
55
+ * },
56
+ * instructionsDocuments: [ // InstructionsDocuments
57
+ * {
58
+ * bucketName: "STRING_VALUE",
59
+ * key: "STRING_VALUE",
60
+ * },
61
+ * ],
62
+ * };
63
+ * const command = new UpdateCapabilityCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // UpdateCapabilityResponse
66
+ * // capabilityId: "STRING_VALUE", // required
67
+ * // capabilityArn: "STRING_VALUE", // required
68
+ * // name: "STRING_VALUE", // required
69
+ * // type: "edi", // required
70
+ * // configuration: { // CapabilityConfiguration Union: only one key present
71
+ * // edi: { // EdiConfiguration
72
+ * // type: { // EdiType Union: only one key present
73
+ * // x12Details: { // X12Details
74
+ * // 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",
75
+ * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010",
76
+ * // },
77
+ * // },
78
+ * // inputLocation: { // S3Location
79
+ * // bucketName: "STRING_VALUE",
80
+ * // key: "STRING_VALUE",
81
+ * // },
82
+ * // outputLocation: {
83
+ * // bucketName: "STRING_VALUE",
84
+ * // key: "STRING_VALUE",
85
+ * // },
86
+ * // transformerId: "STRING_VALUE", // required
87
+ * // },
88
+ * // },
89
+ * // instructionsDocuments: [ // InstructionsDocuments
90
+ * // {
91
+ * // bucketName: "STRING_VALUE",
92
+ * // key: "STRING_VALUE",
93
+ * // },
94
+ * // ],
95
+ * // createdAt: new Date("TIMESTAMP"), // required
96
+ * // modifiedAt: new Date("TIMESTAMP"),
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param UpdateCapabilityCommandInput - {@link UpdateCapabilityCommandInput}
102
+ * @returns {@link UpdateCapabilityCommandOutput}
103
+ * @see {@link UpdateCapabilityCommandInput} for command's `input` shape.
104
+ * @see {@link UpdateCapabilityCommandOutput} for command's `response` shape.
105
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
106
+ *
107
+ * @throws {@link AccessDeniedException} (client fault)
108
+ * <p>You do not have sufficient access to perform this action.</p>
109
+ *
110
+ * @throws {@link ConflictException} (client fault)
111
+ * <p>A conflict exception is thrown when you attempt to delete a resource (such as a profile or a capability) that is being used by other resources.</p>
112
+ *
113
+ * @throws {@link InternalServerException} (server fault)
114
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
115
+ *
116
+ * @throws {@link ResourceNotFoundException} (client fault)
117
+ * <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>
118
+ *
119
+ * @throws {@link ServiceQuotaExceededException} (client fault)
120
+ * <p>Occurs when the calling command attempts to exceed one of the service quotas, for example trying to create a capability when you already have the maximum number of capabilities allowed.</p>
121
+ *
122
+ * @throws {@link ThrottlingException} (client fault)
123
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
124
+ *
125
+ * @throws {@link ValidationException} (client fault)
126
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
127
+ *
128
+ * @throws {@link B2biServiceException}
129
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
130
+ *
131
+ */
132
+ export declare class UpdateCapabilityCommand extends $Command<UpdateCapabilityCommandInput, UpdateCapabilityCommandOutput, B2biClientResolvedConfig> {
133
+ readonly input: UpdateCapabilityCommandInput;
134
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
135
+ /**
136
+ * @public
137
+ */
138
+ constructor(input: UpdateCapabilityCommandInput);
139
+ /**
140
+ * @internal
141
+ */
142
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCapabilityCommandInput, UpdateCapabilityCommandOutput>;
143
+ /**
144
+ * @internal
145
+ */
146
+ private serialize;
147
+ /**
148
+ * @internal
149
+ */
150
+ private deserialize;
151
+ }