@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.
- package/LICENSE +201 -0
- package/README.md +431 -0
- package/dist-cjs/B2bi.js +65 -0
- package/dist-cjs/B2biClient.js +43 -0
- package/dist-cjs/commands/CreateCapabilityCommand.js +51 -0
- package/dist-cjs/commands/CreatePartnershipCommand.js +52 -0
- package/dist-cjs/commands/CreateProfileCommand.js +52 -0
- package/dist-cjs/commands/CreateTransformerCommand.js +51 -0
- package/dist-cjs/commands/DeleteCapabilityCommand.js +51 -0
- package/dist-cjs/commands/DeletePartnershipCommand.js +51 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +51 -0
- package/dist-cjs/commands/DeleteTransformerCommand.js +51 -0
- package/dist-cjs/commands/GetCapabilityCommand.js +51 -0
- package/dist-cjs/commands/GetPartnershipCommand.js +52 -0
- package/dist-cjs/commands/GetProfileCommand.js +52 -0
- package/dist-cjs/commands/GetTransformerCommand.js +51 -0
- package/dist-cjs/commands/GetTransformerJobCommand.js +51 -0
- package/dist-cjs/commands/ListCapabilitiesCommand.js +51 -0
- package/dist-cjs/commands/ListPartnershipsCommand.js +51 -0
- package/dist-cjs/commands/ListProfilesCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/ListTransformersCommand.js +51 -0
- package/dist-cjs/commands/StartTransformerJobCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/TestMappingCommand.js +51 -0
- package/dist-cjs/commands/TestParsingCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateCapabilityCommand.js +51 -0
- package/dist-cjs/commands/UpdatePartnershipCommand.js +52 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +52 -0
- package/dist-cjs/commands/UpdateTransformerCommand.js +51 -0
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/B2biServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +227 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCapabilitiesPaginator.js +29 -0
- package/dist-cjs/pagination/ListPartnershipsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTransformersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1822 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/B2bi.js +61 -0
- package/dist-es/B2biClient.js +39 -0
- package/dist-es/commands/CreateCapabilityCommand.js +47 -0
- package/dist-es/commands/CreatePartnershipCommand.js +48 -0
- package/dist-es/commands/CreateProfileCommand.js +48 -0
- package/dist-es/commands/CreateTransformerCommand.js +47 -0
- package/dist-es/commands/DeleteCapabilityCommand.js +47 -0
- package/dist-es/commands/DeletePartnershipCommand.js +47 -0
- package/dist-es/commands/DeleteProfileCommand.js +47 -0
- package/dist-es/commands/DeleteTransformerCommand.js +47 -0
- package/dist-es/commands/GetCapabilityCommand.js +47 -0
- package/dist-es/commands/GetPartnershipCommand.js +48 -0
- package/dist-es/commands/GetProfileCommand.js +48 -0
- package/dist-es/commands/GetTransformerCommand.js +47 -0
- package/dist-es/commands/GetTransformerJobCommand.js +47 -0
- package/dist-es/commands/ListCapabilitiesCommand.js +47 -0
- package/dist-es/commands/ListPartnershipsCommand.js +47 -0
- package/dist-es/commands/ListProfilesCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/ListTransformersCommand.js +47 -0
- package/dist-es/commands/StartTransformerJobCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/TestMappingCommand.js +47 -0
- package/dist-es/commands/TestParsingCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateCapabilityCommand.js +47 -0
- package/dist-es/commands/UpdatePartnershipCommand.js +48 -0
- package/dist-es/commands/UpdateProfileCommand.js +48 -0
- package/dist-es/commands/UpdateTransformerCommand.js +47 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/B2biServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +208 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCapabilitiesPaginator.js +25 -0
- package/dist-es/pagination/ListPartnershipsPaginator.js +25 -0
- package/dist-es/pagination/ListProfilesPaginator.js +25 -0
- package/dist-es/pagination/ListTransformersPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +1764 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/B2bi.d.ts +209 -0
- package/dist-types/B2biClient.d.ts +206 -0
- package/dist-types/commands/CreateCapabilityCommand.d.ts +156 -0
- package/dist-types/commands/CreatePartnershipCommand.d.ts +117 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +113 -0
- package/dist-types/commands/CreateTransformerCommand.d.ts +123 -0
- package/dist-types/commands/DeleteCapabilityCommand.d.ts +89 -0
- package/dist-types/commands/DeletePartnershipCommand.d.ts +89 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +89 -0
- package/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
- package/dist-types/commands/GetCapabilityCommand.d.ts +118 -0
- package/dist-types/commands/GetPartnershipCommand.d.ts +99 -0
- package/dist-types/commands/GetProfileCommand.d.ts +97 -0
- package/dist-types/commands/GetTransformerCommand.d.ts +102 -0
- package/dist-types/commands/GetTransformerJobCommand.d.ts +96 -0
- package/dist-types/commands/ListCapabilitiesCommand.d.ts +83 -0
- package/dist-types/commands/ListPartnershipsCommand.d.ts +103 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
- package/dist-types/commands/ListTransformersCommand.d.ts +92 -0
- package/dist-types/commands/StartTransformerJobCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/TestMappingCommand.d.ts +90 -0
- package/dist-types/commands/TestParsingCommand.d.ts +98 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +151 -0
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +109 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +107 -0
- package/dist-types/commands/UpdateTransformerCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/B2biServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1859 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListCapabilitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPartnershipsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTransformersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/B2bi.d.ts +464 -0
- package/dist-types/ts3.4/B2biClient.d.ts +280 -0
- package/dist-types/ts3.4/commands/CreateCapabilityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePartnershipCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTransformerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteCapabilityCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeletePartnershipCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPartnershipCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetTransformerJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCapabilitiesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPartnershipsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTransformersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartTransformerJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/TestMappingCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/TestParsingCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateCapabilityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePartnershipCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTransformerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/B2biServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +537 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListCapabilitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPartnershipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTransformersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "B2biClient";
|
|
29
|
+
const commandName = "UntagResourceCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "B2BI",
|
|
38
|
+
operation: "UntagResource",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_0_1.se_UntagResourceCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_0_1.de_UntagResourceCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCapabilityCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class UpdateCapabilityCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCapabilityCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "B2biClient";
|
|
29
|
+
const commandName = "UpdateCapabilityCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "B2BI",
|
|
38
|
+
operation: "UpdateCapability",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_0_1.se_UpdateCapabilityCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_0_1.de_UpdateCapabilityCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateCapabilityCommand = UpdateCapabilityCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePartnershipCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class UpdatePartnershipCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePartnershipCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "B2biClient";
|
|
30
|
+
const commandName = "UpdatePartnershipCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.UpdatePartnershipResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "B2BI",
|
|
39
|
+
operation: "UpdatePartnership",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_json1_0_1.se_UpdatePartnershipCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_json1_0_1.de_UpdatePartnershipCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.UpdatePartnershipCommand = UpdatePartnershipCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateProfileCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class UpdateProfileCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateProfileCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "B2biClient";
|
|
30
|
+
const commandName = "UpdateProfileCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.UpdateProfileRequestFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.UpdateProfileResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "B2BI",
|
|
39
|
+
operation: "UpdateProfile",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_json1_0_1.se_UpdateProfileCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_json1_0_1.de_UpdateProfileCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.UpdateProfileCommand = UpdateProfileCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateTransformerCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class UpdateTransformerCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTransformerCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "B2biClient";
|
|
29
|
+
const commandName = "UpdateTransformerCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "B2BI",
|
|
38
|
+
operation: "UpdateTransformer",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_0_1.se_UpdateTransformerCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_0_1.de_UpdateTransformerCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateTransformerCommand = UpdateTransformerCommand;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateCapabilityCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreatePartnershipCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateProfileCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateTransformerCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteCapabilityCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeletePartnershipCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteTransformerCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetCapabilityCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetPartnershipCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetProfileCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetTransformerCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetTransformerJobCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListCapabilitiesCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListPartnershipsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListProfilesCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListTransformersCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./StartTransformerJobCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./TestMappingCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./TestParsingCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./UpdateCapabilityCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./UpdatePartnershipCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./UpdateProfileCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./UpdateTransformerCommand"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
+
defaultSigningName: "b2bi",
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://b2bi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://b2bi-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://b2bi.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://b2bi.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.B2biServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./B2biClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./B2bi"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
require("@aws-sdk/util-endpoints");
|
|
11
|
+
var B2biServiceException_1 = require("./models/B2biServiceException");
|
|
12
|
+
Object.defineProperty(exports, "B2biServiceException", { enumerable: true, get: function () { return B2biServiceException_1.B2biServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.B2biServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class B2biServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, B2biServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.B2biServiceException = B2biServiceException;
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateProfileResponseFilterSensitiveLog = exports.UpdateProfileRequestFilterSensitiveLog = exports.GetProfileResponseFilterSensitiveLog = exports.CreateProfileResponseFilterSensitiveLog = exports.CreateProfileRequestFilterSensitiveLog = exports.UpdatePartnershipResponseFilterSensitiveLog = exports.GetPartnershipResponseFilterSensitiveLog = exports.CreatePartnershipResponseFilterSensitiveLog = exports.CreatePartnershipRequestFilterSensitiveLog = exports.TransformerStatus = exports.FileFormat = exports.Logging = exports.TransformerJobStatus = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.CapabilityType = exports.CapabilityConfiguration = exports.EdiType = exports.X12Version = exports.X12TransactionSet = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const B2biServiceException_1 = require("./B2biServiceException");
|
|
6
|
+
class AccessDeniedException extends B2biServiceException_1.B2biServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
class ConflictException extends B2biServiceException_1.B2biServiceException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "ConflictException";
|
|
27
|
+
this.$fault = "client";
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.ConflictException = ConflictException;
|
|
32
|
+
exports.X12TransactionSet = {
|
|
33
|
+
X12_110: "X12_110",
|
|
34
|
+
X12_180: "X12_180",
|
|
35
|
+
X12_204: "X12_204",
|
|
36
|
+
X12_210: "X12_210",
|
|
37
|
+
X12_214: "X12_214",
|
|
38
|
+
X12_215: "X12_215",
|
|
39
|
+
X12_310: "X12_310",
|
|
40
|
+
X12_315: "X12_315",
|
|
41
|
+
X12_322: "X12_322",
|
|
42
|
+
X12_404: "X12_404",
|
|
43
|
+
X12_410: "X12_410",
|
|
44
|
+
X12_820: "X12_820",
|
|
45
|
+
X12_824: "X12_824",
|
|
46
|
+
X12_830: "X12_830",
|
|
47
|
+
X12_846: "X12_846",
|
|
48
|
+
X12_850: "X12_850",
|
|
49
|
+
X12_852: "X12_852",
|
|
50
|
+
X12_855: "X12_855",
|
|
51
|
+
X12_856: "X12_856",
|
|
52
|
+
X12_860: "X12_860",
|
|
53
|
+
X12_861: "X12_861",
|
|
54
|
+
X12_864: "X12_864",
|
|
55
|
+
X12_940: "X12_940",
|
|
56
|
+
X12_990: "X12_990",
|
|
57
|
+
X12_997: "X12_997",
|
|
58
|
+
};
|
|
59
|
+
exports.X12Version = {
|
|
60
|
+
VERSION_4010: "VERSION_4010",
|
|
61
|
+
VERSION_4030: "VERSION_4030",
|
|
62
|
+
VERSION_5010: "VERSION_5010",
|
|
63
|
+
};
|
|
64
|
+
var EdiType;
|
|
65
|
+
(function (EdiType) {
|
|
66
|
+
EdiType.visit = (value, visitor) => {
|
|
67
|
+
if (value.x12Details !== undefined)
|
|
68
|
+
return visitor.x12Details(value.x12Details);
|
|
69
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
70
|
+
};
|
|
71
|
+
})(EdiType = exports.EdiType || (exports.EdiType = {}));
|
|
72
|
+
var CapabilityConfiguration;
|
|
73
|
+
(function (CapabilityConfiguration) {
|
|
74
|
+
CapabilityConfiguration.visit = (value, visitor) => {
|
|
75
|
+
if (value.edi !== undefined)
|
|
76
|
+
return visitor.edi(value.edi);
|
|
77
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
78
|
+
};
|
|
79
|
+
})(CapabilityConfiguration = exports.CapabilityConfiguration || (exports.CapabilityConfiguration = {}));
|
|
80
|
+
exports.CapabilityType = {
|
|
81
|
+
EDI: "edi",
|
|
82
|
+
};
|
|
83
|
+
class InternalServerException extends B2biServiceException_1.B2biServiceException {
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "InternalServerException",
|
|
87
|
+
$fault: "server",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
this.name = "InternalServerException";
|
|
91
|
+
this.$fault = "server";
|
|
92
|
+
this.$retryable = {};
|
|
93
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
94
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.InternalServerException = InternalServerException;
|
|
98
|
+
class ResourceNotFoundException extends B2biServiceException_1.B2biServiceException {
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ResourceNotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
this.name = "ResourceNotFoundException";
|
|
106
|
+
this.$fault = "client";
|
|
107
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
111
|
+
class ServiceQuotaExceededException extends B2biServiceException_1.B2biServiceException {
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ServiceQuotaExceededException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
this.name = "ServiceQuotaExceededException";
|
|
119
|
+
this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
121
|
+
this.resourceId = opts.resourceId;
|
|
122
|
+
this.resourceType = opts.resourceType;
|
|
123
|
+
this.serviceCode = opts.serviceCode;
|
|
124
|
+
this.quotaCode = opts.quotaCode;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
128
|
+
class ThrottlingException extends B2biServiceException_1.B2biServiceException {
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "ThrottlingException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
this.name = "ThrottlingException";
|
|
136
|
+
this.$fault = "client";
|
|
137
|
+
this.$retryable = {};
|
|
138
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
139
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.ThrottlingException = ThrottlingException;
|
|
143
|
+
class ValidationException extends B2biServiceException_1.B2biServiceException {
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "ValidationException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
this.name = "ValidationException";
|
|
151
|
+
this.$fault = "client";
|
|
152
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
153
|
+
this.Message = opts.Message;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.ValidationException = ValidationException;
|
|
157
|
+
exports.TransformerJobStatus = {
|
|
158
|
+
FAILED: "failed",
|
|
159
|
+
RUNNING: "running",
|
|
160
|
+
SUCCEEDED: "succeeded",
|
|
161
|
+
};
|
|
162
|
+
exports.Logging = {
|
|
163
|
+
DISABLED: "DISABLED",
|
|
164
|
+
ENABLED: "ENABLED",
|
|
165
|
+
};
|
|
166
|
+
exports.FileFormat = {
|
|
167
|
+
JSON: "JSON",
|
|
168
|
+
XML: "XML",
|
|
169
|
+
};
|
|
170
|
+
exports.TransformerStatus = {
|
|
171
|
+
ACTIVE: "active",
|
|
172
|
+
INACTIVE: "inactive",
|
|
173
|
+
};
|
|
174
|
+
const CreatePartnershipRequestFilterSensitiveLog = (obj) => ({
|
|
175
|
+
...obj,
|
|
176
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
177
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
178
|
+
});
|
|
179
|
+
exports.CreatePartnershipRequestFilterSensitiveLog = CreatePartnershipRequestFilterSensitiveLog;
|
|
180
|
+
const CreatePartnershipResponseFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
183
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
184
|
+
});
|
|
185
|
+
exports.CreatePartnershipResponseFilterSensitiveLog = CreatePartnershipResponseFilterSensitiveLog;
|
|
186
|
+
const GetPartnershipResponseFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
189
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
190
|
+
});
|
|
191
|
+
exports.GetPartnershipResponseFilterSensitiveLog = GetPartnershipResponseFilterSensitiveLog;
|
|
192
|
+
const UpdatePartnershipResponseFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
195
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
196
|
+
});
|
|
197
|
+
exports.UpdatePartnershipResponseFilterSensitiveLog = UpdatePartnershipResponseFilterSensitiveLog;
|
|
198
|
+
const CreateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
201
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
202
|
+
});
|
|
203
|
+
exports.CreateProfileRequestFilterSensitiveLog = CreateProfileRequestFilterSensitiveLog;
|
|
204
|
+
const CreateProfileResponseFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
207
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
208
|
+
});
|
|
209
|
+
exports.CreateProfileResponseFilterSensitiveLog = CreateProfileResponseFilterSensitiveLog;
|
|
210
|
+
const GetProfileResponseFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
213
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
214
|
+
});
|
|
215
|
+
exports.GetProfileResponseFilterSensitiveLog = GetProfileResponseFilterSensitiveLog;
|
|
216
|
+
const UpdateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
219
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
220
|
+
});
|
|
221
|
+
exports.UpdateProfileRequestFilterSensitiveLog = UpdateProfileRequestFilterSensitiveLog;
|
|
222
|
+
const UpdateProfileResponseFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
225
|
+
...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
|
|
226
|
+
});
|
|
227
|
+
exports.UpdateProfileResponseFilterSensitiveLog = UpdateProfileResponseFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCapabilities = void 0;
|
|
4
|
+
const B2biClient_1 = require("../B2biClient");
|
|
5
|
+
const ListCapabilitiesCommand_1 = require("../commands/ListCapabilitiesCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListCapabilitiesCommand_1.ListCapabilitiesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListCapabilities(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof B2biClient_1.B2biClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListCapabilities = paginateListCapabilities;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPartnerships = void 0;
|
|
4
|
+
const B2biClient_1 = require("../B2biClient");
|
|
5
|
+
const ListPartnershipsCommand_1 = require("../commands/ListPartnershipsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListPartnershipsCommand_1.ListPartnershipsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListPartnerships(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof B2biClient_1.B2biClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected B2bi | B2biClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListPartnerships = paginateListPartnerships;
|