@aws-sdk/client-partnercentral-selling 3.692.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 +357 -0
- package/dist-cjs/PartnerCentralSelling.js +39 -0
- package/dist-cjs/PartnerCentralSellingClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssignOpportunityCommand.js +27 -0
- package/dist-cjs/commands/AssociateOpportunityCommand.js +26 -0
- package/dist-cjs/commands/CreateOpportunityCommand.js +27 -0
- package/dist-cjs/commands/DisassociateOpportunityCommand.js +26 -0
- package/dist-cjs/commands/GetAwsOpportunitySummaryCommand.js +27 -0
- package/dist-cjs/commands/GetEngagementInvitationCommand.js +27 -0
- package/dist-cjs/commands/GetOpportunityCommand.js +27 -0
- package/dist-cjs/commands/ListEngagementInvitationsCommand.js +27 -0
- package/dist-cjs/commands/ListOpportunitiesCommand.js +27 -0
- package/dist-cjs/commands/ListSolutionsCommand.js +26 -0
- package/dist-cjs/commands/RejectEngagementInvitationCommand.js +26 -0
- package/dist-cjs/commands/StartEngagementByAcceptingInvitationTaskCommand.js +26 -0
- package/dist-cjs/commands/StartEngagementFromOpportunityTaskCommand.js +26 -0
- package/dist-cjs/commands/UpdateOpportunityCommand.js +27 -0
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PartnerCentralSellingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1097 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEngagementInvitationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListOpportunitiesPaginator.js +7 -0
- package/dist-cjs/pagination/ListSolutionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +732 -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 +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/PartnerCentralSelling.js +35 -0
- package/dist-es/PartnerCentralSellingClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssignOpportunityCommand.js +23 -0
- package/dist-es/commands/AssociateOpportunityCommand.js +22 -0
- package/dist-es/commands/CreateOpportunityCommand.js +23 -0
- package/dist-es/commands/DisassociateOpportunityCommand.js +22 -0
- package/dist-es/commands/GetAwsOpportunitySummaryCommand.js +23 -0
- package/dist-es/commands/GetEngagementInvitationCommand.js +23 -0
- package/dist-es/commands/GetOpportunityCommand.js +23 -0
- package/dist-es/commands/ListEngagementInvitationsCommand.js +23 -0
- package/dist-es/commands/ListOpportunitiesCommand.js +23 -0
- package/dist-es/commands/ListSolutionsCommand.js +22 -0
- package/dist-es/commands/RejectEngagementInvitationCommand.js +22 -0
- package/dist-es/commands/StartEngagementByAcceptingInvitationTaskCommand.js +22 -0
- package/dist-es/commands/StartEngagementFromOpportunityTaskCommand.js +22 -0
- package/dist-es/commands/UpdateOpportunityCommand.js +23 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PartnerCentralSellingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +1055 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEngagementInvitationsPaginator.js +4 -0
- package/dist-es/pagination/ListOpportunitiesPaginator.js +4 -0
- package/dist-es/pagination/ListSolutionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +701 -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 +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/PartnerCentralSelling.d.ts +147 -0
- package/dist-types/PartnerCentralSellingClient.d.ts +222 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssignOpportunityCommand.d.ts +117 -0
- package/dist-types/commands/AssociateOpportunityCommand.d.ts +145 -0
- package/dist-types/commands/CreateOpportunityCommand.d.ts +244 -0
- package/dist-types/commands/DisassociateOpportunityCommand.d.ts +115 -0
- package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +167 -0
- package/dist-types/commands/GetEngagementInvitationCommand.d.ts +156 -0
- package/dist-types/commands/GetOpportunityCommand.d.ts +227 -0
- package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +134 -0
- package/dist-types/commands/ListOpportunitiesCommand.d.ts +197 -0
- package/dist-types/commands/ListSolutionsCommand.d.ts +123 -0
- package/dist-types/commands/RejectEngagementInvitationCommand.d.ts +104 -0
- package/dist-types/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +127 -0
- package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +130 -0
- package/dist-types/commands/UpdateOpportunityCommand.d.ts +214 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -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 +9 -0
- package/dist-types/index.d.ts +53 -0
- package/dist-types/models/PartnerCentralSellingServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4383 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEngagementInvitationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOpportunitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSolutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +128 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PartnerCentralSelling.d.ts +257 -0
- package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +205 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssignOpportunityCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateOpportunityCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateOpportunityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateOpportunityCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAwsOpportunitySummaryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEngagementInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetOpportunityCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEngagementInvitationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListOpportunitiesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RejectEngagementInvitationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartEngagementFromOpportunityTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateOpportunityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -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 +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/PartnerCentralSellingServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1419 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEngagementInvitationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOpportunitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSolutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +173 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
+
let _credentials = runtimeConfig.credentials;
|
|
8
|
+
return {
|
|
9
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
+
if (index === -1) {
|
|
12
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
httpAuthSchemes() {
|
|
19
|
+
return _httpAuthSchemes;
|
|
20
|
+
},
|
|
21
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
httpAuthSchemeProvider() {
|
|
25
|
+
return _httpAuthSchemeProvider;
|
|
26
|
+
},
|
|
27
|
+
setCredentials(credentials) {
|
|
28
|
+
_credentials = credentials;
|
|
29
|
+
},
|
|
30
|
+
credentials() {
|
|
31
|
+
return _credentials;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
+
return {
|
|
38
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
+
credentials: config.credentials(),
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultPartnerCentralSellingHttpAuthSchemeProvider = exports.defaultPartnerCentralSellingHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
|
+
const defaultPartnerCentralSellingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
|
|
10
|
+
(() => {
|
|
11
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
12
|
+
})(),
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.defaultPartnerCentralSellingHttpAuthSchemeParametersProvider = defaultPartnerCentralSellingHttpAuthSchemeParametersProvider;
|
|
16
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
17
|
+
return {
|
|
18
|
+
schemeId: "aws.auth#sigv4",
|
|
19
|
+
signingProperties: {
|
|
20
|
+
name: "partnercentral-selling",
|
|
21
|
+
region: authParameters.region,
|
|
22
|
+
},
|
|
23
|
+
propertiesExtractor: (config, context) => ({
|
|
24
|
+
signingProperties: {
|
|
25
|
+
config,
|
|
26
|
+
context,
|
|
27
|
+
},
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const defaultPartnerCentralSellingHttpAuthSchemeProvider = (authParameters) => {
|
|
32
|
+
const options = [];
|
|
33
|
+
switch (authParameters.operation) {
|
|
34
|
+
default: {
|
|
35
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return options;
|
|
39
|
+
};
|
|
40
|
+
exports.defaultPartnerCentralSellingHttpAuthSchemeProvider = defaultPartnerCentralSellingHttpAuthSchemeProvider;
|
|
41
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
|
+
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
+
return {
|
|
44
|
+
...config_0,
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssignOpportunityCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class AssignOpportunityCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "AssignOpportunity", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "AssignOpportunityCommand")
|
|
22
|
+
.f(models_0_1.AssignOpportunityRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_json1_0_1.se_AssignOpportunityCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_AssignOpportunityCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.AssignOpportunityCommand = AssignOpportunityCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociateOpportunityCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class AssociateOpportunityCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSPartnerCentralSelling", "AssociateOpportunity", {})
|
|
20
|
+
.n("PartnerCentralSellingClient", "AssociateOpportunityCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_AssociateOpportunityCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_AssociateOpportunityCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.AssociateOpportunityCommand = AssociateOpportunityCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateOpportunityCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class CreateOpportunityCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "CreateOpportunity", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "CreateOpportunityCommand")
|
|
22
|
+
.f(models_0_1.CreateOpportunityRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_json1_0_1.se_CreateOpportunityCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_CreateOpportunityCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.CreateOpportunityCommand = CreateOpportunityCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateOpportunityCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class DisassociateOpportunityCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSPartnerCentralSelling", "DisassociateOpportunity", {})
|
|
20
|
+
.n("PartnerCentralSellingClient", "DisassociateOpportunityCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_DisassociateOpportunityCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_DisassociateOpportunityCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.DisassociateOpportunityCommand = DisassociateOpportunityCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAwsOpportunitySummaryCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class GetAwsOpportunitySummaryCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "GetAwsOpportunitySummary", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "GetAwsOpportunitySummaryCommand")
|
|
22
|
+
.f(void 0, models_0_1.GetAwsOpportunitySummaryResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_json1_0_1.se_GetAwsOpportunitySummaryCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_GetAwsOpportunitySummaryCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.GetAwsOpportunitySummaryCommand = GetAwsOpportunitySummaryCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetEngagementInvitationCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class GetEngagementInvitationCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "GetEngagementInvitation", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "GetEngagementInvitationCommand")
|
|
22
|
+
.f(void 0, models_0_1.GetEngagementInvitationResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_json1_0_1.se_GetEngagementInvitationCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_GetEngagementInvitationCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.GetEngagementInvitationCommand = GetEngagementInvitationCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOpportunityCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class GetOpportunityCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "GetOpportunity", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "GetOpportunityCommand")
|
|
22
|
+
.f(void 0, models_0_1.GetOpportunityResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_json1_0_1.se_GetOpportunityCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_GetOpportunityCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.GetOpportunityCommand = GetOpportunityCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListEngagementInvitationsCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class ListEngagementInvitationsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "ListEngagementInvitations", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "ListEngagementInvitationsCommand")
|
|
22
|
+
.f(void 0, models_0_1.ListEngagementInvitationsResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_json1_0_1.se_ListEngagementInvitationsCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_ListEngagementInvitationsCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.ListEngagementInvitationsCommand = ListEngagementInvitationsCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListOpportunitiesCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class ListOpportunitiesCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "ListOpportunities", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "ListOpportunitiesCommand")
|
|
22
|
+
.f(void 0, models_0_1.ListOpportunitiesResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_json1_0_1.se_ListOpportunitiesCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_ListOpportunitiesCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.ListOpportunitiesCommand = ListOpportunitiesCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListSolutionsCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class ListSolutionsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSPartnerCentralSelling", "ListSolutions", {})
|
|
20
|
+
.n("PartnerCentralSellingClient", "ListSolutionsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_ListSolutionsCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_ListSolutionsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.ListSolutionsCommand = ListSolutionsCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RejectEngagementInvitationCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class RejectEngagementInvitationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSPartnerCentralSelling", "RejectEngagementInvitation", {})
|
|
20
|
+
.n("PartnerCentralSellingClient", "RejectEngagementInvitationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_RejectEngagementInvitationCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_RejectEngagementInvitationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.RejectEngagementInvitationCommand = RejectEngagementInvitationCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartEngagementByAcceptingInvitationTaskCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class StartEngagementByAcceptingInvitationTaskCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSPartnerCentralSelling", "StartEngagementByAcceptingInvitationTask", {})
|
|
20
|
+
.n("PartnerCentralSellingClient", "StartEngagementByAcceptingInvitationTaskCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_StartEngagementByAcceptingInvitationTaskCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_StartEngagementByAcceptingInvitationTaskCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.StartEngagementByAcceptingInvitationTaskCommand = StartEngagementByAcceptingInvitationTaskCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartEngagementFromOpportunityTaskCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class StartEngagementFromOpportunityTaskCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSPartnerCentralSelling", "StartEngagementFromOpportunityTask", {})
|
|
20
|
+
.n("PartnerCentralSellingClient", "StartEngagementFromOpportunityTaskCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_json1_0_1.se_StartEngagementFromOpportunityTaskCommand)
|
|
23
|
+
.de(Aws_json1_0_1.de_StartEngagementFromOpportunityTaskCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.StartEngagementFromOpportunityTaskCommand = StartEngagementFromOpportunityTaskCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateOpportunityCommand = 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 EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
+
class UpdateOpportunityCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSPartnerCentralSelling", "UpdateOpportunity", {})
|
|
21
|
+
.n("PartnerCentralSellingClient", "UpdateOpportunityCommand")
|
|
22
|
+
.f(models_0_1.UpdateOpportunityRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_json1_0_1.se_UpdateOpportunityCommand)
|
|
24
|
+
.de(Aws_json1_0_1.de_UpdateOpportunityCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.UpdateOpportunityCommand = UpdateOpportunityCommand;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AssignOpportunityCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AssociateOpportunityCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateOpportunityCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DisassociateOpportunityCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetAwsOpportunitySummaryCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetEngagementInvitationCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetOpportunityCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListEngagementInvitationsCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListOpportunitiesCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListSolutionsCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./RejectEngagementInvitationCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./StartEngagementByAcceptingInvitationTaskCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./StartEngagementFromOpportunityTaskCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./UpdateOpportunityCommand"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
+
defaultSigningName: "partnercentral-selling",
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
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
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
|
+
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
11
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
13
|
+
endpointParams: endpointParams,
|
|
14
|
+
logger: context.logger,
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -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://partnercentral-selling-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://partnercentral-selling-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://partnercentral-selling.{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://partnercentral-selling.{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,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartnerCentralSellingServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./PartnerCentralSellingClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./PartnerCentralSelling"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
var PartnerCentralSellingServiceException_1 = require("./models/PartnerCentralSellingServiceException");
|
|
11
|
+
Object.defineProperty(exports, "PartnerCentralSellingServiceException", { enumerable: true, get: function () { return PartnerCentralSellingServiceException_1.PartnerCentralSellingServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartnerCentralSellingServiceException = 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 PartnerCentralSellingServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, PartnerCentralSellingServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.PartnerCentralSellingServiceException = PartnerCentralSellingServiceException;
|