@aws-sdk/client-b2bi 3.489.0 → 3.495.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 (50) hide show
  1. package/dist-cjs/B2bi.js +1 -65
  2. package/dist-cjs/B2biClient.js +1 -43
  3. package/dist-cjs/commands/CreateCapabilityCommand.js +1 -28
  4. package/dist-cjs/commands/CreatePartnershipCommand.js +1 -29
  5. package/dist-cjs/commands/CreateProfileCommand.js +1 -29
  6. package/dist-cjs/commands/CreateTransformerCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteCapabilityCommand.js +1 -28
  8. package/dist-cjs/commands/DeletePartnershipCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteProfileCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteTransformerCommand.js +1 -28
  11. package/dist-cjs/commands/GetCapabilityCommand.js +1 -28
  12. package/dist-cjs/commands/GetPartnershipCommand.js +1 -29
  13. package/dist-cjs/commands/GetProfileCommand.js +1 -29
  14. package/dist-cjs/commands/GetTransformerCommand.js +1 -28
  15. package/dist-cjs/commands/GetTransformerJobCommand.js +1 -28
  16. package/dist-cjs/commands/ListCapabilitiesCommand.js +1 -28
  17. package/dist-cjs/commands/ListPartnershipsCommand.js +1 -28
  18. package/dist-cjs/commands/ListProfilesCommand.js +1 -28
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  20. package/dist-cjs/commands/ListTransformersCommand.js +1 -28
  21. package/dist-cjs/commands/StartTransformerJobCommand.js +1 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/TestMappingCommand.js +1 -28
  24. package/dist-cjs/commands/TestParsingCommand.js +1 -28
  25. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateCapabilityCommand.js +1 -28
  27. package/dist-cjs/commands/UpdatePartnershipCommand.js +1 -29
  28. package/dist-cjs/commands/UpdateProfileCommand.js +1 -29
  29. package/dist-cjs/commands/UpdateTransformerCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +2777 -11
  34. package/dist-cjs/models/B2biServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -227
  37. package/dist-cjs/pagination/Interfaces.js +1 -2
  38. package/dist-cjs/pagination/ListCapabilitiesPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListPartnershipsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListProfilesPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListTransformersPaginator.js +1 -7
  42. package/dist-cjs/pagination/index.js +1 -8
  43. package/dist-cjs/protocols/Aws_json1_0.js +1 -1822
  44. package/dist-cjs/runtimeExtensions.js +1 -22
  45. package/dist-es/protocols/Aws_json1_0.js +9 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -0
  48. package/dist-types/commands/TestParsingCommand.d.ts +1 -1
  49. package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
  50. package/package.json +40 -40
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const asPartial = (t) => t;
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = {
10
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
- };
14
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
- return {
16
- ...runtimeConfig,
17
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
- };
21
- };
22
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
1
+ module.exports = require("./index.js");
@@ -878,6 +878,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
878
878
  };
879
879
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
880
880
  switch (errorCode) {
881
+ case "InternalServerException":
882
+ case "com.amazonaws.b2bi#InternalServerException":
883
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
881
884
  case "ResourceNotFoundException":
882
885
  case "com.amazonaws.b2bi#ResourceNotFoundException":
883
886
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -980,6 +983,9 @@ const de_TagResourceCommandError = async (output, context) => {
980
983
  };
981
984
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
982
985
  switch (errorCode) {
986
+ case "InternalServerException":
987
+ case "com.amazonaws.b2bi#InternalServerException":
988
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
983
989
  case "ResourceNotFoundException":
984
990
  case "com.amazonaws.b2bi#ResourceNotFoundException":
985
991
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1103,6 +1109,9 @@ const de_UntagResourceCommandError = async (output, context) => {
1103
1109
  };
1104
1110
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1105
1111
  switch (errorCode) {
1112
+ case "InternalServerException":
1113
+ case "com.amazonaws.b2bi#InternalServerException":
1114
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1106
1115
  case "ResourceNotFoundException":
1107
1116
  case "com.amazonaws.b2bi#ResourceNotFoundException":
1108
1117
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -55,6 +55,9 @@ declare const ListTagsForResourceCommand_base: {
55
55
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
56
56
  * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
57
57
  *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
60
+ *
58
61
  * @throws {@link ResourceNotFoundException} (client fault)
59
62
  * <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
63
  *
@@ -55,6 +55,9 @@ declare const TagResourceCommand_base: {
55
55
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
56
56
  * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
57
57
  *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
60
+ *
58
61
  * @throws {@link ResourceNotFoundException} (client fault)
59
62
  * <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
63
  *
@@ -26,7 +26,7 @@ declare const TestParsingCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * <p>Parses the input EDI (electronic data interchange) file.</p>
29
+ * <p>Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -51,6 +51,9 @@ declare const UntagResourceCommand_base: {
51
51
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
52
52
  * @see {@link B2biClientResolvedConfig | config} for B2biClient's `config` shape.
53
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
+ *
54
57
  * @throws {@link ResourceNotFoundException} (client fault)
55
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>
56
59
  *
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-b2bi",
3
3
  "description": "AWS SDK for JavaScript B2bi Client for Node.js, Browser and React Native",
4
- "version": "3.489.0",
4
+ "version": "3.495.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-b2bi",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,48 +20,48 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.489.0",
24
- "@aws-sdk/core": "3.485.0",
25
- "@aws-sdk/credential-provider-node": "3.489.0",
26
- "@aws-sdk/middleware-host-header": "3.489.0",
27
- "@aws-sdk/middleware-logger": "3.489.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.489.0",
29
- "@aws-sdk/middleware-signing": "3.489.0",
30
- "@aws-sdk/middleware-user-agent": "3.489.0",
31
- "@aws-sdk/region-config-resolver": "3.489.0",
32
- "@aws-sdk/types": "3.489.0",
33
- "@aws-sdk/util-endpoints": "3.489.0",
34
- "@aws-sdk/util-user-agent-browser": "3.489.0",
35
- "@aws-sdk/util-user-agent-node": "3.489.0",
36
- "@smithy/config-resolver": "^2.0.23",
37
- "@smithy/core": "^1.2.2",
38
- "@smithy/fetch-http-handler": "^2.3.2",
39
- "@smithy/hash-node": "^2.0.18",
40
- "@smithy/invalid-dependency": "^2.0.16",
41
- "@smithy/middleware-content-length": "^2.0.18",
42
- "@smithy/middleware-endpoint": "^2.3.0",
43
- "@smithy/middleware-retry": "^2.0.26",
44
- "@smithy/middleware-serde": "^2.0.16",
45
- "@smithy/middleware-stack": "^2.0.10",
46
- "@smithy/node-config-provider": "^2.1.9",
47
- "@smithy/node-http-handler": "^2.2.2",
48
- "@smithy/protocol-http": "^3.0.12",
49
- "@smithy/smithy-client": "^2.2.1",
50
- "@smithy/types": "^2.8.0",
51
- "@smithy/url-parser": "^2.0.16",
52
- "@smithy/util-base64": "^2.0.1",
53
- "@smithy/util-body-length-browser": "^2.0.1",
54
- "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.24",
56
- "@smithy/util-defaults-mode-node": "^2.0.32",
57
- "@smithy/util-endpoints": "^1.0.8",
58
- "@smithy/util-retry": "^2.0.9",
59
- "@smithy/util-utf8": "^2.0.2",
23
+ "@aws-sdk/client-sts": "3.495.0",
24
+ "@aws-sdk/core": "3.495.0",
25
+ "@aws-sdk/credential-provider-node": "3.495.0",
26
+ "@aws-sdk/middleware-host-header": "3.495.0",
27
+ "@aws-sdk/middleware-logger": "3.495.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.495.0",
29
+ "@aws-sdk/middleware-signing": "3.495.0",
30
+ "@aws-sdk/middleware-user-agent": "3.495.0",
31
+ "@aws-sdk/region-config-resolver": "3.495.0",
32
+ "@aws-sdk/types": "3.495.0",
33
+ "@aws-sdk/util-endpoints": "3.495.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.495.0",
35
+ "@aws-sdk/util-user-agent-node": "3.495.0",
36
+ "@smithy/config-resolver": "^2.1.0",
37
+ "@smithy/core": "^1.3.0",
38
+ "@smithy/fetch-http-handler": "^2.4.0",
39
+ "@smithy/hash-node": "^2.1.0",
40
+ "@smithy/invalid-dependency": "^2.1.0",
41
+ "@smithy/middleware-content-length": "^2.1.0",
42
+ "@smithy/middleware-endpoint": "^2.4.0",
43
+ "@smithy/middleware-retry": "^2.1.0",
44
+ "@smithy/middleware-serde": "^2.1.0",
45
+ "@smithy/middleware-stack": "^2.1.0",
46
+ "@smithy/node-config-provider": "^2.2.0",
47
+ "@smithy/node-http-handler": "^2.3.0",
48
+ "@smithy/protocol-http": "^3.1.0",
49
+ "@smithy/smithy-client": "^2.3.0",
50
+ "@smithy/types": "^2.9.0",
51
+ "@smithy/url-parser": "^2.1.0",
52
+ "@smithy/util-base64": "^2.1.0",
53
+ "@smithy/util-body-length-browser": "^2.1.0",
54
+ "@smithy/util-body-length-node": "^2.2.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.1.0",
56
+ "@smithy/util-defaults-mode-node": "^2.1.0",
57
+ "@smithy/util-endpoints": "^1.1.0",
58
+ "@smithy/util-retry": "^2.1.0",
59
+ "@smithy/util-utf8": "^2.1.0",
60
60
  "tslib": "^2.5.0",
61
61
  "uuid": "^8.3.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@smithy/service-client-documentation-generator": "^2.0.0",
64
+ "@smithy/service-client-documentation-generator": "^2.1.0",
65
65
  "@tsconfig/node14": "1.0.3",
66
66
  "@types/node": "^14.14.31",
67
67
  "@types/uuid": "^8.3.0",