@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,109 @@
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 { UpdatePartnershipRequest, UpdatePartnershipResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdatePartnershipCommand}.
14
+ */
15
+ export interface UpdatePartnershipCommandInput extends UpdatePartnershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdatePartnershipCommand}.
21
+ */
22
+ export interface UpdatePartnershipCommandOutput extends UpdatePartnershipResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates some of the parameters for a partnership between a customer and trading partner. 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, UpdatePartnershipCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, UpdatePartnershipCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // UpdatePartnershipRequest
34
+ * partnershipId: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE",
36
+ * capabilities: [ // PartnershipCapabilities
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * };
40
+ * const command = new UpdatePartnershipCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // UpdatePartnershipResponse
43
+ * // profileId: "STRING_VALUE", // required
44
+ * // partnershipId: "STRING_VALUE", // required
45
+ * // partnershipArn: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE",
47
+ * // email: "STRING_VALUE",
48
+ * // phone: "STRING_VALUE",
49
+ * // capabilities: [ // PartnershipCapabilities
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // tradingPartnerId: "STRING_VALUE",
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // modifiedAt: new Date("TIMESTAMP"),
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdatePartnershipCommandInput - {@link UpdatePartnershipCommandInput}
60
+ * @returns {@link UpdatePartnershipCommandOutput}
61
+ * @see {@link UpdatePartnershipCommandInput} for command's `input` shape.
62
+ * @see {@link UpdatePartnershipCommandOutput} 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 ConflictException} (client fault)
69
+ * <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>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <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>
76
+ *
77
+ * @throws {@link ServiceQuotaExceededException} (client fault)
78
+ * <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>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
85
+ *
86
+ * @throws {@link B2biServiceException}
87
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
88
+ *
89
+ */
90
+ export declare class UpdatePartnershipCommand extends $Command<UpdatePartnershipCommandInput, UpdatePartnershipCommandOutput, B2biClientResolvedConfig> {
91
+ readonly input: UpdatePartnershipCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: UpdatePartnershipCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePartnershipCommandInput, UpdatePartnershipCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -0,0 +1,107 @@
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 { UpdateProfileRequest, UpdateProfileResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateProfileCommand}.
14
+ */
15
+ export interface UpdateProfileCommandInput extends UpdateProfileRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateProfileCommand}.
21
+ */
22
+ export interface UpdateProfileCommandOutput extends UpdateProfileResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the specified parameters for a 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, UpdateProfileCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, UpdateProfileCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // UpdateProfileRequest
34
+ * profileId: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE",
36
+ * email: "STRING_VALUE",
37
+ * phone: "STRING_VALUE",
38
+ * businessName: "STRING_VALUE",
39
+ * };
40
+ * const command = new UpdateProfileCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // UpdateProfileResponse
43
+ * // profileId: "STRING_VALUE", // required
44
+ * // profileArn: "STRING_VALUE", // required
45
+ * // name: "STRING_VALUE", // required
46
+ * // email: "STRING_VALUE",
47
+ * // phone: "STRING_VALUE", // required
48
+ * // businessName: "STRING_VALUE", // required
49
+ * // logging: "ENABLED" || "DISABLED",
50
+ * // logGroupName: "STRING_VALUE",
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // modifiedAt: new Date("TIMESTAMP"),
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateProfileCommandInput - {@link UpdateProfileCommandInput}
58
+ * @returns {@link UpdateProfileCommandOutput}
59
+ * @see {@link UpdateProfileCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateProfileCommandOutput} for command's `response` shape.
61
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <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>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <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>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <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>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
83
+ *
84
+ * @throws {@link B2biServiceException}
85
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
86
+ *
87
+ */
88
+ export declare class UpdateProfileCommand extends $Command<UpdateProfileCommandInput, UpdateProfileCommandOutput, B2biClientResolvedConfig> {
89
+ readonly input: UpdateProfileCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: UpdateProfileCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateProfileCommandInput, UpdateProfileCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -0,0 +1,119 @@
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 { UpdateTransformerRequest, UpdateTransformerResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateTransformerCommand}.
14
+ */
15
+ export interface UpdateTransformerCommandInput extends UpdateTransformerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateTransformerCommand}.
21
+ */
22
+ export interface UpdateTransformerCommandOutput extends UpdateTransformerResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the specified parameters for a 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, UpdateTransformerCommand } from "@aws-sdk/client-b2bi"; // ES Modules import
31
+ * // const { B2biClient, UpdateTransformerCommand } = require("@aws-sdk/client-b2bi"); // CommonJS import
32
+ * const client = new B2biClient(config);
33
+ * const input = { // UpdateTransformerRequest
34
+ * transformerId: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE",
36
+ * fileFormat: "XML" || "JSON",
37
+ * mappingTemplate: "STRING_VALUE",
38
+ * status: "active" || "inactive",
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
+ * sampleDocument: "STRING_VALUE",
46
+ * };
47
+ * const command = new UpdateTransformerCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateTransformerResponse
50
+ * // transformerId: "STRING_VALUE", // required
51
+ * // transformerArn: "STRING_VALUE", // required
52
+ * // name: "STRING_VALUE", // required
53
+ * // fileFormat: "XML" || "JSON", // required
54
+ * // mappingTemplate: "STRING_VALUE", // required
55
+ * // status: "active" || "inactive", // required
56
+ * // ediType: { // EdiType Union: only one key present
57
+ * // x12Details: { // X12Details
58
+ * // 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",
59
+ * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010",
60
+ * // },
61
+ * // },
62
+ * // sampleDocument: "STRING_VALUE",
63
+ * // createdAt: new Date("TIMESTAMP"), // required
64
+ * // modifiedAt: new Date("TIMESTAMP"), // required
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param UpdateTransformerCommandInput - {@link UpdateTransformerCommandInput}
70
+ * @returns {@link UpdateTransformerCommandOutput}
71
+ * @see {@link UpdateTransformerCommandInput} for command's `input` shape.
72
+ * @see {@link UpdateTransformerCommandOutput} for command's `response` shape.
73
+ * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have sufficient access to perform this action.</p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <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>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <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>
86
+ *
87
+ * @throws {@link ServiceQuotaExceededException} (client fault)
88
+ * <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>
89
+ *
90
+ * @throws {@link ThrottlingException} (client fault)
91
+ * <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>Occurs when a B2BI object cannot be validated against a request from another object.</p>
95
+ *
96
+ * @throws {@link B2biServiceException}
97
+ * <p>Base exception class for all service exceptions from B2bi service.</p>
98
+ *
99
+ */
100
+ export declare class UpdateTransformerCommand extends $Command<UpdateTransformerCommandInput, UpdateTransformerCommandOutput, B2biClientResolvedConfig> {
101
+ readonly input: UpdateTransformerCommandInput;
102
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
+ /**
104
+ * @public
105
+ */
106
+ constructor(input: UpdateTransformerCommandInput);
107
+ /**
108
+ * @internal
109
+ */
110
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: B2biClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTransformerCommandInput, UpdateTransformerCommandOutput>;
111
+ /**
112
+ * @internal
113
+ */
114
+ private serialize;
115
+ /**
116
+ * @internal
117
+ */
118
+ private deserialize;
119
+ }
@@ -0,0 +1,27 @@
1
+ export * from "./CreateCapabilityCommand";
2
+ export * from "./CreatePartnershipCommand";
3
+ export * from "./CreateProfileCommand";
4
+ export * from "./CreateTransformerCommand";
5
+ export * from "./DeleteCapabilityCommand";
6
+ export * from "./DeletePartnershipCommand";
7
+ export * from "./DeleteProfileCommand";
8
+ export * from "./DeleteTransformerCommand";
9
+ export * from "./GetCapabilityCommand";
10
+ export * from "./GetPartnershipCommand";
11
+ export * from "./GetProfileCommand";
12
+ export * from "./GetTransformerCommand";
13
+ export * from "./GetTransformerJobCommand";
14
+ export * from "./ListCapabilitiesCommand";
15
+ export * from "./ListPartnershipsCommand";
16
+ export * from "./ListProfilesCommand";
17
+ export * from "./ListTagsForResourceCommand";
18
+ export * from "./ListTransformersCommand";
19
+ export * from "./StartTransformerJobCommand";
20
+ export * from "./TagResourceCommand";
21
+ export * from "./TestMappingCommand";
22
+ export * from "./TestParsingCommand";
23
+ export * from "./UntagResourceCommand";
24
+ export * from "./UpdateCapabilityCommand";
25
+ export * from "./UpdatePartnershipCommand";
26
+ export * from "./UpdateProfileCommand";
27
+ export * from "./UpdateTransformerCommand";
@@ -0,0 +1,22 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export interface EndpointParameters extends __EndpointParameters {
18
+ Region?: string;
19
+ UseDualStack?: boolean;
20
+ UseFIPS?: boolean;
21
+ Endpoint?: string;
22
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface B2biExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * <p>This is the <i>Amazon Web Services B2B Data Interchange API Reference</i>. It provides descriptions, API request parameters, and the XML response for each of the B2BI API actions.</p>
3
+ * <p>B2BI enables automated exchange of EDI (electronic data interchange) based business-critical transactions at cloud
4
+ * scale, with elasticity and pay-as-you-go pricing. Businesses use EDI documents to exchange
5
+ * transactional data with trading partners, such as suppliers and end customers, using
6
+ * standardized formats such as X12.</p>
7
+ * <note>
8
+ * <p>Rather than actually running a command, you can use the
9
+ * <code>--generate-cli-skeleton</code> parameter with any API call to generate and display
10
+ * a parameter template. You can then use the generated template to customize and use as input
11
+ * on a later command. For details, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html#cli-usage-skeleton-generate">Generate and use a parameter skeleton file</a>.</p>
12
+ * </note>
13
+ *
14
+ * @packageDocumentation
15
+ */
16
+ export * from "./B2biClient";
17
+ export * from "./B2bi";
18
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
19
+ export { RuntimeExtension } from "./runtimeExtensions";
20
+ export { B2biExtensionConfiguration } from "./extensionConfiguration";
21
+ export * from "./commands";
22
+ export * from "./pagination";
23
+ export * from "./models";
24
+ import "@aws-sdk/util-endpoints";
25
+ export { B2biServiceException } from "./models/B2biServiceException";
@@ -0,0 +1,13 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
3
+ /**
4
+ * @public
5
+ *
6
+ * Base exception class for all service exceptions from B2bi service.
7
+ */
8
+ export declare class B2biServiceException extends __ServiceException {
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(options: __ServiceExceptionOptions);
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";