@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,89 @@
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 { DeletePartnershipRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeletePartnershipCommand}.
14
+ */
15
+ export interface DeletePartnershipCommandInput extends DeletePartnershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeletePartnershipCommand}.
21
+ */
22
+ export interface DeletePartnershipCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the specified partnership. 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, DeletePartnershipCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, DeletePartnershipCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // DeletePartnershipRequest
34
+ * partnershipId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeletePartnershipCommand(input);
37
+ * const response = await client.send(command);
38
+ * // {};
39
+ *
40
+ * ```
41
+ *
42
+ * @param DeletePartnershipCommandInput - {@link DeletePartnershipCommandInput}
43
+ * @returns {@link DeletePartnershipCommandOutput}
44
+ * @see {@link DeletePartnershipCommandInput} for command's `input` shape.
45
+ * @see {@link DeletePartnershipCommandOutput} for command's `response` shape.
46
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
47
+ *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You do not have sufficient access to perform this action.</p>
50
+ *
51
+ * @throws {@link ConflictException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link InternalServerException} (server fault)
55
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
65
+ *
66
+ * @throws {@link B2biServiceException}
67
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
68
+ *
69
+ */
70
+ export declare class DeletePartnershipCommand extends $Command<DeletePartnershipCommandInput, DeletePartnershipCommandOutput, B2biClientResolvedConfig> {
71
+ readonly input: DeletePartnershipCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: DeletePartnershipCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePartnershipCommandInput, DeletePartnershipCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,89 @@
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 { DeleteProfileRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteProfileCommand}.
14
+ */
15
+ export interface DeleteProfileCommandInput extends DeleteProfileRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteProfileCommand}.
21
+ */
22
+ export interface DeleteProfileCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the specified profile. 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, DeleteProfileCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, DeleteProfileCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // DeleteProfileRequest
34
+ * profileId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteProfileCommand(input);
37
+ * const response = await client.send(command);
38
+ * // {};
39
+ *
40
+ * ```
41
+ *
42
+ * @param DeleteProfileCommandInput - {@link DeleteProfileCommandInput}
43
+ * @returns {@link DeleteProfileCommandOutput}
44
+ * @see {@link DeleteProfileCommandInput} for command's `input` shape.
45
+ * @see {@link DeleteProfileCommandOutput} for command's `response` shape.
46
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
47
+ *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You do not have sufficient access to perform this action.</p>
50
+ *
51
+ * @throws {@link ConflictException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link InternalServerException} (server fault)
55
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
65
+ *
66
+ * @throws {@link B2biServiceException}
67
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
68
+ *
69
+ */
70
+ export declare class DeleteProfileCommand extends $Command<DeleteProfileCommandInput, DeleteProfileCommandOutput, B2biClientResolvedConfig> {
71
+ readonly input: DeleteProfileCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: DeleteProfileCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProfileCommandInput, DeleteProfileCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,89 @@
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 { DeleteTransformerRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteTransformerCommand}.
14
+ */
15
+ export interface DeleteTransformerCommandInput extends DeleteTransformerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTransformerCommand}.
21
+ */
22
+ export interface DeleteTransformerCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the specified transformer. 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, DeleteTransformerCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, DeleteTransformerCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // DeleteTransformerRequest
34
+ * transformerId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteTransformerCommand(input);
37
+ * const response = await client.send(command);
38
+ * // {};
39
+ *
40
+ * ```
41
+ *
42
+ * @param DeleteTransformerCommandInput - {@link DeleteTransformerCommandInput}
43
+ * @returns {@link DeleteTransformerCommandOutput}
44
+ * @see {@link DeleteTransformerCommandInput} for command's `input` shape.
45
+ * @see {@link DeleteTransformerCommandOutput} for command's `response` shape.
46
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
47
+ *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You do not have sufficient access to perform this action.</p>
50
+ *
51
+ * @throws {@link ConflictException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link InternalServerException} (server fault)
55
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
65
+ *
66
+ * @throws {@link B2biServiceException}
67
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
68
+ *
69
+ */
70
+ export declare class DeleteTransformerCommand extends $Command<DeleteTransformerCommandInput, DeleteTransformerCommandOutput, B2biClientResolvedConfig> {
71
+ readonly input: DeleteTransformerCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: DeleteTransformerCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTransformerCommandInput, DeleteTransformerCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,118 @@
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 { GetCapabilityRequest, GetCapabilityResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCapabilityCommand}.
14
+ */
15
+ export interface GetCapabilityCommandInput extends GetCapabilityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCapabilityCommand}.
21
+ */
22
+ export interface GetCapabilityCommandOutput extends GetCapabilityResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the details for the specified capability. 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, GetCapabilityCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, GetCapabilityCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // GetCapabilityRequest
34
+ * capabilityId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetCapabilityCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetCapabilityResponse
39
+ * // capabilityId: "STRING_VALUE", // required
40
+ * // capabilityArn: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // type: "edi", // required
43
+ * // configuration: { // CapabilityConfiguration Union: only one key present
44
+ * // edi: { // EdiConfiguration
45
+ * // type: { // 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
+ * // inputLocation: { // S3Location
52
+ * // bucketName: "STRING_VALUE",
53
+ * // key: "STRING_VALUE",
54
+ * // },
55
+ * // outputLocation: {
56
+ * // bucketName: "STRING_VALUE",
57
+ * // key: "STRING_VALUE",
58
+ * // },
59
+ * // transformerId: "STRING_VALUE", // required
60
+ * // },
61
+ * // },
62
+ * // instructionsDocuments: [ // InstructionsDocuments
63
+ * // {
64
+ * // bucketName: "STRING_VALUE",
65
+ * // key: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // createdAt: new Date("TIMESTAMP"), // required
69
+ * // modifiedAt: new Date("TIMESTAMP"),
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param GetCapabilityCommandInput - {@link GetCapabilityCommandInput}
75
+ * @returns {@link GetCapabilityCommandOutput}
76
+ * @see {@link GetCapabilityCommandInput} for command's `input` shape.
77
+ * @see {@link GetCapabilityCommandOutput} for command's `response` shape.
78
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You do not have sufficient access to perform this action.</p>
82
+ *
83
+ * @throws {@link InternalServerException} (server fault)
84
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <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>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
94
+ *
95
+ * @throws {@link B2biServiceException}
96
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
97
+ *
98
+ */
99
+ export declare class GetCapabilityCommand extends $Command<GetCapabilityCommandInput, GetCapabilityCommandOutput, B2biClientResolvedConfig> {
100
+ readonly input: GetCapabilityCommandInput;
101
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
+ /**
103
+ * @public
104
+ */
105
+ constructor(input: GetCapabilityCommandInput);
106
+ /**
107
+ * @internal
108
+ */
109
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCapabilityCommandInput, GetCapabilityCommandOutput>;
110
+ /**
111
+ * @internal
112
+ */
113
+ private serialize;
114
+ /**
115
+ * @internal
116
+ */
117
+ private deserialize;
118
+ }
@@ -0,0 +1,99 @@
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 { GetPartnershipRequest, GetPartnershipResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPartnershipCommand}.
14
+ */
15
+ export interface GetPartnershipCommandInput extends GetPartnershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPartnershipCommand}.
21
+ */
22
+ export interface GetPartnershipCommandOutput extends GetPartnershipResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the details for a partnership, based on the partner and profile IDs specified. 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, GetPartnershipCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, GetPartnershipCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // GetPartnershipRequest
34
+ * partnershipId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetPartnershipCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetPartnershipResponse
39
+ * // profileId: "STRING_VALUE", // required
40
+ * // partnershipId: "STRING_VALUE", // required
41
+ * // partnershipArn: "STRING_VALUE", // required
42
+ * // name: "STRING_VALUE",
43
+ * // email: "STRING_VALUE",
44
+ * // phone: "STRING_VALUE",
45
+ * // capabilities: [ // PartnershipCapabilities
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // tradingPartnerId: "STRING_VALUE",
49
+ * // createdAt: new Date("TIMESTAMP"), // required
50
+ * // modifiedAt: new Date("TIMESTAMP"),
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param GetPartnershipCommandInput - {@link GetPartnershipCommandInput}
56
+ * @returns {@link GetPartnershipCommandOutput}
57
+ * @see {@link GetPartnershipCommandInput} for command's `input` shape.
58
+ * @see {@link GetPartnershipCommandOutput} for command's `response` shape.
59
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
75
+ *
76
+ * @throws {@link B2biServiceException}
77
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
78
+ *
79
+ */
80
+ export declare class GetPartnershipCommand extends $Command<GetPartnershipCommandInput, GetPartnershipCommandOutput, B2biClientResolvedConfig> {
81
+ readonly input: GetPartnershipCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: GetPartnershipCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPartnershipCommandInput, GetPartnershipCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -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 { GetProfileRequest, GetProfileResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetProfileCommand}.
14
+ */
15
+ export interface GetProfileCommandInput extends GetProfileRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetProfileCommand}.
21
+ */
22
+ export interface GetProfileCommandOutput extends GetProfileResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the details for the profile specified by the profile ID. 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, GetProfileCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, GetProfileCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // GetProfileRequest
34
+ * profileId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetProfileCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetProfileResponse
39
+ * // profileId: "STRING_VALUE", // required
40
+ * // profileArn: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // email: "STRING_VALUE",
43
+ * // phone: "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
+ * ```
52
+ *
53
+ * @param GetProfileCommandInput - {@link GetProfileCommandInput}
54
+ * @returns {@link GetProfileCommandOutput}
55
+ * @see {@link GetProfileCommandInput} for command's `input` shape.
56
+ * @see {@link GetProfileCommandOutput} 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 GetProfileCommand extends $Command<GetProfileCommandInput, GetProfileCommandOutput, B2biClientResolvedConfig> {
79
+ readonly input: GetProfileCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: GetProfileCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProfileCommandInput, GetProfileCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }