@aws-sdk/client-partnercentral-selling 3.699.0 → 3.709.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/README.md +206 -45
- package/dist-cjs/PartnerCentralSelling.js +42 -0
- package/dist-cjs/commands/AcceptEngagementInvitationCommand.js +26 -0
- package/dist-cjs/commands/CreateEngagementCommand.js +27 -0
- package/dist-cjs/commands/CreateEngagementInvitationCommand.js +27 -0
- package/dist-cjs/commands/CreateResourceSnapshotCommand.js +26 -0
- package/dist-cjs/commands/CreateResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/DeleteResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/GetEngagementCommand.js +27 -0
- package/dist-cjs/commands/GetResourceSnapshotCommand.js +27 -0
- package/dist-cjs/commands/GetResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/GetSellingSystemSettingsCommand.js +26 -0
- package/dist-cjs/commands/ListEngagementByAcceptingInvitationTasksCommand.js +26 -0
- package/dist-cjs/commands/ListEngagementFromOpportunityTasksCommand.js +26 -0
- package/dist-cjs/commands/ListEngagementInvitationsCommand.js +1 -1
- package/dist-cjs/commands/ListEngagementMembersCommand.js +27 -0
- package/dist-cjs/commands/ListEngagementResourceAssociationsCommand.js +27 -0
- package/dist-cjs/commands/ListEngagementsCommand.js +27 -0
- package/dist-cjs/commands/ListResourceSnapshotJobsCommand.js +26 -0
- package/dist-cjs/commands/ListResourceSnapshotsCommand.js +27 -0
- package/dist-cjs/commands/PutSellingSystemSettingsCommand.js +26 -0
- package/dist-cjs/commands/StartResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/StopResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/SubmitOpportunityCommand.js +26 -0
- package/dist-cjs/commands/index.js +21 -0
- package/dist-cjs/models/models_0.js +281 -87
- package/dist-cjs/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementFromOpportunityTasksPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementMembersPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementResourceAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourceSnapshotJobsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourceSnapshotsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +599 -1
- package/dist-es/PartnerCentralSelling.js +42 -0
- package/dist-es/commands/AcceptEngagementInvitationCommand.js +22 -0
- package/dist-es/commands/CreateEngagementCommand.js +23 -0
- package/dist-es/commands/CreateEngagementInvitationCommand.js +23 -0
- package/dist-es/commands/CreateResourceSnapshotCommand.js +22 -0
- package/dist-es/commands/CreateResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/DeleteResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/GetEngagementCommand.js +23 -0
- package/dist-es/commands/GetResourceSnapshotCommand.js +23 -0
- package/dist-es/commands/GetResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/GetSellingSystemSettingsCommand.js +22 -0
- package/dist-es/commands/ListEngagementByAcceptingInvitationTasksCommand.js +22 -0
- package/dist-es/commands/ListEngagementFromOpportunityTasksCommand.js +22 -0
- package/dist-es/commands/ListEngagementInvitationsCommand.js +2 -2
- package/dist-es/commands/ListEngagementMembersCommand.js +23 -0
- package/dist-es/commands/ListEngagementResourceAssociationsCommand.js +23 -0
- package/dist-es/commands/ListEngagementsCommand.js +23 -0
- package/dist-es/commands/ListResourceSnapshotJobsCommand.js +22 -0
- package/dist-es/commands/ListResourceSnapshotsCommand.js +23 -0
- package/dist-es/commands/PutSellingSystemSettingsCommand.js +22 -0
- package/dist-es/commands/StartResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/StopResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/SubmitOpportunityCommand.js +22 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/models/models_0.js +249 -81
- package/dist-es/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementFromOpportunityTasksPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementMembersPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceSnapshotJobsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceSnapshotsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_json1_0.js +556 -1
- package/dist-types/PartnerCentralSelling.d.ts +182 -42
- package/dist-types/PartnerCentralSellingClient.d.ts +58 -44
- package/dist-types/commands/AcceptEngagementInvitationCommand.d.ts +103 -0
- package/dist-types/commands/AssignOpportunityCommand.d.ts +27 -32
- package/dist-types/commands/AssociateOpportunityCommand.d.ts +40 -46
- package/dist-types/commands/CreateEngagementCommand.d.ts +136 -0
- package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +158 -0
- package/dist-types/commands/CreateOpportunityCommand.d.ts +40 -46
- package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +117 -0
- package/dist-types/commands/CreateResourceSnapshotJobCommand.d.ts +119 -0
- package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +96 -0
- package/dist-types/commands/DisassociateOpportunityCommand.d.ts +29 -34
- package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +24 -28
- package/dist-types/commands/GetEngagementCommand.d.ts +124 -0
- package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -24
- package/dist-types/commands/GetOpportunityCommand.d.ts +24 -29
- package/dist-types/commands/GetResourceSnapshotCommand.d.ts +186 -0
- package/dist-types/commands/GetResourceSnapshotJobCommand.d.ts +109 -0
- package/dist-types/commands/GetSellingSystemSettingsCommand.d.ts +95 -0
- package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +128 -0
- package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +129 -0
- package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +34 -25
- package/dist-types/commands/ListEngagementMembersCommand.d.ts +109 -0
- package/dist-types/commands/ListEngagementResourceAssociationsCommand.d.ts +112 -0
- package/dist-types/commands/ListEngagementsCommand.d.ts +123 -0
- package/dist-types/commands/ListOpportunitiesCommand.d.ts +35 -39
- package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +108 -0
- package/dist-types/commands/ListResourceSnapshotsCommand.d.ts +113 -0
- package/dist-types/commands/ListSolutionsCommand.d.ts +20 -20
- package/dist-types/commands/PutSellingSystemSettingsCommand.d.ts +96 -0
- package/dist-types/commands/RejectEngagementInvitationCommand.d.ts +22 -27
- package/dist-types/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +37 -35
- package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +37 -35
- package/dist-types/commands/StartResourceSnapshotJobCommand.d.ts +95 -0
- package/dist-types/commands/StopResourceSnapshotJobCommand.d.ts +95 -0
- package/dist-types/commands/SubmitOpportunityCommand.d.ts +106 -0
- package/dist-types/commands/UpdateOpportunityCommand.d.ts +33 -35
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/index.d.ts +35 -42
- package/dist-types/models/models_0.d.ts +4764 -2209
- package/dist-types/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementMembersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceSnapshotJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceSnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +189 -0
- package/dist-types/ts3.4/PartnerCentralSelling.d.ts +375 -0
- package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +126 -0
- package/dist-types/ts3.4/commands/AcceptEngagementInvitationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateEngagementCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateEngagementInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResourceSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResourceSnapshotJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceSnapshotJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetEngagementCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourceSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceSnapshotJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSellingSystemSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementFromOpportunityTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementMembersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementResourceAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListResourceSnapshotJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourceSnapshotsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSellingSystemSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartResourceSnapshotJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopResourceSnapshotJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SubmitOpportunityCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +587 -86
- package/dist-types/ts3.4/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementMembersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceSnapshotJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +252 -0
- package/package.json +35 -35
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_GetResourceSnapshotCommand = exports.de_GetOpportunityCommand = exports.de_GetEngagementInvitationCommand = exports.de_GetEngagementCommand = exports.de_GetAwsOpportunitySummaryCommand = exports.de_DisassociateOpportunityCommand = exports.de_DeleteResourceSnapshotJobCommand = exports.de_CreateResourceSnapshotJobCommand = exports.de_CreateResourceSnapshotCommand = exports.de_CreateOpportunityCommand = exports.de_CreateEngagementInvitationCommand = exports.de_CreateEngagementCommand = exports.de_AssociateOpportunityCommand = exports.de_AssignOpportunityCommand = exports.de_AcceptEngagementInvitationCommand = exports.se_UpdateOpportunityCommand = exports.se_SubmitOpportunityCommand = exports.se_StopResourceSnapshotJobCommand = exports.se_StartResourceSnapshotJobCommand = exports.se_StartEngagementFromOpportunityTaskCommand = exports.se_StartEngagementByAcceptingInvitationTaskCommand = exports.se_RejectEngagementInvitationCommand = exports.se_PutSellingSystemSettingsCommand = exports.se_ListSolutionsCommand = exports.se_ListResourceSnapshotsCommand = exports.se_ListResourceSnapshotJobsCommand = exports.se_ListOpportunitiesCommand = exports.se_ListEngagementsCommand = exports.se_ListEngagementResourceAssociationsCommand = exports.se_ListEngagementMembersCommand = exports.se_ListEngagementInvitationsCommand = exports.se_ListEngagementFromOpportunityTasksCommand = exports.se_ListEngagementByAcceptingInvitationTasksCommand = exports.se_GetSellingSystemSettingsCommand = exports.se_GetResourceSnapshotJobCommand = exports.se_GetResourceSnapshotCommand = exports.se_GetOpportunityCommand = exports.se_GetEngagementInvitationCommand = exports.se_GetEngagementCommand = exports.se_GetAwsOpportunitySummaryCommand = exports.se_DisassociateOpportunityCommand = exports.se_DeleteResourceSnapshotJobCommand = exports.se_CreateResourceSnapshotJobCommand = exports.se_CreateResourceSnapshotCommand = exports.se_CreateOpportunityCommand = exports.se_CreateEngagementInvitationCommand = exports.se_CreateEngagementCommand = exports.se_AssociateOpportunityCommand = exports.se_AssignOpportunityCommand = exports.se_AcceptEngagementInvitationCommand = void 0;
|
|
4
|
+
exports.de_UpdateOpportunityCommand = exports.de_SubmitOpportunityCommand = exports.de_StopResourceSnapshotJobCommand = exports.de_StartResourceSnapshotJobCommand = exports.de_StartEngagementFromOpportunityTaskCommand = exports.de_StartEngagementByAcceptingInvitationTaskCommand = exports.de_RejectEngagementInvitationCommand = exports.de_PutSellingSystemSettingsCommand = exports.de_ListSolutionsCommand = exports.de_ListResourceSnapshotsCommand = exports.de_ListResourceSnapshotJobsCommand = exports.de_ListOpportunitiesCommand = exports.de_ListEngagementsCommand = exports.de_ListEngagementResourceAssociationsCommand = exports.de_ListEngagementMembersCommand = exports.de_ListEngagementInvitationsCommand = exports.de_ListEngagementFromOpportunityTasksCommand = exports.de_ListEngagementByAcceptingInvitationTasksCommand = exports.de_GetSellingSystemSettingsCommand = exports.de_GetResourceSnapshotJobCommand = void 0;
|
|
4
5
|
const core_1 = require("@aws-sdk/core");
|
|
5
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const uuid_1 = require("uuid");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const PartnerCentralSellingServiceException_1 = require("../models/PartnerCentralSellingServiceException");
|
|
11
|
+
const se_AcceptEngagementInvitationCommand = async (input, context) => {
|
|
12
|
+
const headers = sharedHeaders("AcceptEngagementInvitation");
|
|
13
|
+
let body;
|
|
14
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
15
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
|
+
};
|
|
17
|
+
exports.se_AcceptEngagementInvitationCommand = se_AcceptEngagementInvitationCommand;
|
|
10
18
|
const se_AssignOpportunityCommand = async (input, context) => {
|
|
11
19
|
const headers = sharedHeaders("AssignOpportunity");
|
|
12
20
|
let body;
|
|
@@ -21,6 +29,20 @@ const se_AssociateOpportunityCommand = async (input, context) => {
|
|
|
21
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
30
|
};
|
|
23
31
|
exports.se_AssociateOpportunityCommand = se_AssociateOpportunityCommand;
|
|
32
|
+
const se_CreateEngagementCommand = async (input, context) => {
|
|
33
|
+
const headers = sharedHeaders("CreateEngagement");
|
|
34
|
+
let body;
|
|
35
|
+
body = JSON.stringify(se_CreateEngagementRequest(input, context));
|
|
36
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
|
+
};
|
|
38
|
+
exports.se_CreateEngagementCommand = se_CreateEngagementCommand;
|
|
39
|
+
const se_CreateEngagementInvitationCommand = async (input, context) => {
|
|
40
|
+
const headers = sharedHeaders("CreateEngagementInvitation");
|
|
41
|
+
let body;
|
|
42
|
+
body = JSON.stringify(se_CreateEngagementInvitationRequest(input, context));
|
|
43
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
44
|
+
};
|
|
45
|
+
exports.se_CreateEngagementInvitationCommand = se_CreateEngagementInvitationCommand;
|
|
24
46
|
const se_CreateOpportunityCommand = async (input, context) => {
|
|
25
47
|
const headers = sharedHeaders("CreateOpportunity");
|
|
26
48
|
let body;
|
|
@@ -28,6 +50,27 @@ const se_CreateOpportunityCommand = async (input, context) => {
|
|
|
28
50
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
51
|
};
|
|
30
52
|
exports.se_CreateOpportunityCommand = se_CreateOpportunityCommand;
|
|
53
|
+
const se_CreateResourceSnapshotCommand = async (input, context) => {
|
|
54
|
+
const headers = sharedHeaders("CreateResourceSnapshot");
|
|
55
|
+
let body;
|
|
56
|
+
body = JSON.stringify(se_CreateResourceSnapshotRequest(input, context));
|
|
57
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
|
+
};
|
|
59
|
+
exports.se_CreateResourceSnapshotCommand = se_CreateResourceSnapshotCommand;
|
|
60
|
+
const se_CreateResourceSnapshotJobCommand = async (input, context) => {
|
|
61
|
+
const headers = sharedHeaders("CreateResourceSnapshotJob");
|
|
62
|
+
let body;
|
|
63
|
+
body = JSON.stringify(se_CreateResourceSnapshotJobRequest(input, context));
|
|
64
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
+
};
|
|
66
|
+
exports.se_CreateResourceSnapshotJobCommand = se_CreateResourceSnapshotJobCommand;
|
|
67
|
+
const se_DeleteResourceSnapshotJobCommand = async (input, context) => {
|
|
68
|
+
const headers = sharedHeaders("DeleteResourceSnapshotJob");
|
|
69
|
+
let body;
|
|
70
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
71
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
|
+
};
|
|
73
|
+
exports.se_DeleteResourceSnapshotJobCommand = se_DeleteResourceSnapshotJobCommand;
|
|
31
74
|
const se_DisassociateOpportunityCommand = async (input, context) => {
|
|
32
75
|
const headers = sharedHeaders("DisassociateOpportunity");
|
|
33
76
|
let body;
|
|
@@ -42,6 +85,13 @@ const se_GetAwsOpportunitySummaryCommand = async (input, context) => {
|
|
|
42
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
43
86
|
};
|
|
44
87
|
exports.se_GetAwsOpportunitySummaryCommand = se_GetAwsOpportunitySummaryCommand;
|
|
88
|
+
const se_GetEngagementCommand = async (input, context) => {
|
|
89
|
+
const headers = sharedHeaders("GetEngagement");
|
|
90
|
+
let body;
|
|
91
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
92
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
93
|
+
};
|
|
94
|
+
exports.se_GetEngagementCommand = se_GetEngagementCommand;
|
|
45
95
|
const se_GetEngagementInvitationCommand = async (input, context) => {
|
|
46
96
|
const headers = sharedHeaders("GetEngagementInvitation");
|
|
47
97
|
let body;
|
|
@@ -56,6 +106,41 @@ const se_GetOpportunityCommand = async (input, context) => {
|
|
|
56
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
107
|
};
|
|
58
108
|
exports.se_GetOpportunityCommand = se_GetOpportunityCommand;
|
|
109
|
+
const se_GetResourceSnapshotCommand = async (input, context) => {
|
|
110
|
+
const headers = sharedHeaders("GetResourceSnapshot");
|
|
111
|
+
let body;
|
|
112
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
113
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
+
};
|
|
115
|
+
exports.se_GetResourceSnapshotCommand = se_GetResourceSnapshotCommand;
|
|
116
|
+
const se_GetResourceSnapshotJobCommand = async (input, context) => {
|
|
117
|
+
const headers = sharedHeaders("GetResourceSnapshotJob");
|
|
118
|
+
let body;
|
|
119
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
120
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
|
+
};
|
|
122
|
+
exports.se_GetResourceSnapshotJobCommand = se_GetResourceSnapshotJobCommand;
|
|
123
|
+
const se_GetSellingSystemSettingsCommand = async (input, context) => {
|
|
124
|
+
const headers = sharedHeaders("GetSellingSystemSettings");
|
|
125
|
+
let body;
|
|
126
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
127
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
|
+
};
|
|
129
|
+
exports.se_GetSellingSystemSettingsCommand = se_GetSellingSystemSettingsCommand;
|
|
130
|
+
const se_ListEngagementByAcceptingInvitationTasksCommand = async (input, context) => {
|
|
131
|
+
const headers = sharedHeaders("ListEngagementByAcceptingInvitationTasks");
|
|
132
|
+
let body;
|
|
133
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
134
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
135
|
+
};
|
|
136
|
+
exports.se_ListEngagementByAcceptingInvitationTasksCommand = se_ListEngagementByAcceptingInvitationTasksCommand;
|
|
137
|
+
const se_ListEngagementFromOpportunityTasksCommand = async (input, context) => {
|
|
138
|
+
const headers = sharedHeaders("ListEngagementFromOpportunityTasks");
|
|
139
|
+
let body;
|
|
140
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
141
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
|
+
};
|
|
143
|
+
exports.se_ListEngagementFromOpportunityTasksCommand = se_ListEngagementFromOpportunityTasksCommand;
|
|
59
144
|
const se_ListEngagementInvitationsCommand = async (input, context) => {
|
|
60
145
|
const headers = sharedHeaders("ListEngagementInvitations");
|
|
61
146
|
let body;
|
|
@@ -63,6 +148,27 @@ const se_ListEngagementInvitationsCommand = async (input, context) => {
|
|
|
63
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
149
|
};
|
|
65
150
|
exports.se_ListEngagementInvitationsCommand = se_ListEngagementInvitationsCommand;
|
|
151
|
+
const se_ListEngagementMembersCommand = async (input, context) => {
|
|
152
|
+
const headers = sharedHeaders("ListEngagementMembers");
|
|
153
|
+
let body;
|
|
154
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
155
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
+
};
|
|
157
|
+
exports.se_ListEngagementMembersCommand = se_ListEngagementMembersCommand;
|
|
158
|
+
const se_ListEngagementResourceAssociationsCommand = async (input, context) => {
|
|
159
|
+
const headers = sharedHeaders("ListEngagementResourceAssociations");
|
|
160
|
+
let body;
|
|
161
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
162
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
163
|
+
};
|
|
164
|
+
exports.se_ListEngagementResourceAssociationsCommand = se_ListEngagementResourceAssociationsCommand;
|
|
165
|
+
const se_ListEngagementsCommand = async (input, context) => {
|
|
166
|
+
const headers = sharedHeaders("ListEngagements");
|
|
167
|
+
let body;
|
|
168
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
169
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
170
|
+
};
|
|
171
|
+
exports.se_ListEngagementsCommand = se_ListEngagementsCommand;
|
|
66
172
|
const se_ListOpportunitiesCommand = async (input, context) => {
|
|
67
173
|
const headers = sharedHeaders("ListOpportunities");
|
|
68
174
|
let body;
|
|
@@ -70,6 +176,20 @@ const se_ListOpportunitiesCommand = async (input, context) => {
|
|
|
70
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
177
|
};
|
|
72
178
|
exports.se_ListOpportunitiesCommand = se_ListOpportunitiesCommand;
|
|
179
|
+
const se_ListResourceSnapshotJobsCommand = async (input, context) => {
|
|
180
|
+
const headers = sharedHeaders("ListResourceSnapshotJobs");
|
|
181
|
+
let body;
|
|
182
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
183
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
|
+
};
|
|
185
|
+
exports.se_ListResourceSnapshotJobsCommand = se_ListResourceSnapshotJobsCommand;
|
|
186
|
+
const se_ListResourceSnapshotsCommand = async (input, context) => {
|
|
187
|
+
const headers = sharedHeaders("ListResourceSnapshots");
|
|
188
|
+
let body;
|
|
189
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
190
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
+
};
|
|
192
|
+
exports.se_ListResourceSnapshotsCommand = se_ListResourceSnapshotsCommand;
|
|
73
193
|
const se_ListSolutionsCommand = async (input, context) => {
|
|
74
194
|
const headers = sharedHeaders("ListSolutions");
|
|
75
195
|
let body;
|
|
@@ -77,6 +197,13 @@ const se_ListSolutionsCommand = async (input, context) => {
|
|
|
77
197
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
198
|
};
|
|
79
199
|
exports.se_ListSolutionsCommand = se_ListSolutionsCommand;
|
|
200
|
+
const se_PutSellingSystemSettingsCommand = async (input, context) => {
|
|
201
|
+
const headers = sharedHeaders("PutSellingSystemSettings");
|
|
202
|
+
let body;
|
|
203
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
204
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
205
|
+
};
|
|
206
|
+
exports.se_PutSellingSystemSettingsCommand = se_PutSellingSystemSettingsCommand;
|
|
80
207
|
const se_RejectEngagementInvitationCommand = async (input, context) => {
|
|
81
208
|
const headers = sharedHeaders("RejectEngagementInvitation");
|
|
82
209
|
let body;
|
|
@@ -98,6 +225,27 @@ const se_StartEngagementFromOpportunityTaskCommand = async (input, context) => {
|
|
|
98
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
226
|
};
|
|
100
227
|
exports.se_StartEngagementFromOpportunityTaskCommand = se_StartEngagementFromOpportunityTaskCommand;
|
|
228
|
+
const se_StartResourceSnapshotJobCommand = async (input, context) => {
|
|
229
|
+
const headers = sharedHeaders("StartResourceSnapshotJob");
|
|
230
|
+
let body;
|
|
231
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
232
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
+
};
|
|
234
|
+
exports.se_StartResourceSnapshotJobCommand = se_StartResourceSnapshotJobCommand;
|
|
235
|
+
const se_StopResourceSnapshotJobCommand = async (input, context) => {
|
|
236
|
+
const headers = sharedHeaders("StopResourceSnapshotJob");
|
|
237
|
+
let body;
|
|
238
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
239
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
+
};
|
|
241
|
+
exports.se_StopResourceSnapshotJobCommand = se_StopResourceSnapshotJobCommand;
|
|
242
|
+
const se_SubmitOpportunityCommand = async (input, context) => {
|
|
243
|
+
const headers = sharedHeaders("SubmitOpportunity");
|
|
244
|
+
let body;
|
|
245
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
246
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
|
+
};
|
|
248
|
+
exports.se_SubmitOpportunityCommand = se_SubmitOpportunityCommand;
|
|
101
249
|
const se_UpdateOpportunityCommand = async (input, context) => {
|
|
102
250
|
const headers = sharedHeaders("UpdateOpportunity");
|
|
103
251
|
let body;
|
|
@@ -105,6 +253,17 @@ const se_UpdateOpportunityCommand = async (input, context) => {
|
|
|
105
253
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
254
|
};
|
|
107
255
|
exports.se_UpdateOpportunityCommand = se_UpdateOpportunityCommand;
|
|
256
|
+
const de_AcceptEngagementInvitationCommand = async (output, context) => {
|
|
257
|
+
if (output.statusCode >= 300) {
|
|
258
|
+
return de_CommandError(output, context);
|
|
259
|
+
}
|
|
260
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
261
|
+
const response = {
|
|
262
|
+
$metadata: deserializeMetadata(output),
|
|
263
|
+
};
|
|
264
|
+
return response;
|
|
265
|
+
};
|
|
266
|
+
exports.de_AcceptEngagementInvitationCommand = de_AcceptEngagementInvitationCommand;
|
|
108
267
|
const de_AssignOpportunityCommand = async (output, context) => {
|
|
109
268
|
if (output.statusCode >= 300) {
|
|
110
269
|
return de_CommandError(output, context);
|
|
@@ -127,6 +286,34 @@ const de_AssociateOpportunityCommand = async (output, context) => {
|
|
|
127
286
|
return response;
|
|
128
287
|
};
|
|
129
288
|
exports.de_AssociateOpportunityCommand = de_AssociateOpportunityCommand;
|
|
289
|
+
const de_CreateEngagementCommand = async (output, context) => {
|
|
290
|
+
if (output.statusCode >= 300) {
|
|
291
|
+
return de_CommandError(output, context);
|
|
292
|
+
}
|
|
293
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
294
|
+
let contents = {};
|
|
295
|
+
contents = (0, smithy_client_1._json)(data);
|
|
296
|
+
const response = {
|
|
297
|
+
$metadata: deserializeMetadata(output),
|
|
298
|
+
...contents,
|
|
299
|
+
};
|
|
300
|
+
return response;
|
|
301
|
+
};
|
|
302
|
+
exports.de_CreateEngagementCommand = de_CreateEngagementCommand;
|
|
303
|
+
const de_CreateEngagementInvitationCommand = async (output, context) => {
|
|
304
|
+
if (output.statusCode >= 300) {
|
|
305
|
+
return de_CommandError(output, context);
|
|
306
|
+
}
|
|
307
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
308
|
+
let contents = {};
|
|
309
|
+
contents = (0, smithy_client_1._json)(data);
|
|
310
|
+
const response = {
|
|
311
|
+
$metadata: deserializeMetadata(output),
|
|
312
|
+
...contents,
|
|
313
|
+
};
|
|
314
|
+
return response;
|
|
315
|
+
};
|
|
316
|
+
exports.de_CreateEngagementInvitationCommand = de_CreateEngagementInvitationCommand;
|
|
130
317
|
const de_CreateOpportunityCommand = async (output, context) => {
|
|
131
318
|
if (output.statusCode >= 300) {
|
|
132
319
|
return de_CommandError(output, context);
|
|
@@ -141,6 +328,45 @@ const de_CreateOpportunityCommand = async (output, context) => {
|
|
|
141
328
|
return response;
|
|
142
329
|
};
|
|
143
330
|
exports.de_CreateOpportunityCommand = de_CreateOpportunityCommand;
|
|
331
|
+
const de_CreateResourceSnapshotCommand = async (output, context) => {
|
|
332
|
+
if (output.statusCode >= 300) {
|
|
333
|
+
return de_CommandError(output, context);
|
|
334
|
+
}
|
|
335
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
336
|
+
let contents = {};
|
|
337
|
+
contents = (0, smithy_client_1._json)(data);
|
|
338
|
+
const response = {
|
|
339
|
+
$metadata: deserializeMetadata(output),
|
|
340
|
+
...contents,
|
|
341
|
+
};
|
|
342
|
+
return response;
|
|
343
|
+
};
|
|
344
|
+
exports.de_CreateResourceSnapshotCommand = de_CreateResourceSnapshotCommand;
|
|
345
|
+
const de_CreateResourceSnapshotJobCommand = async (output, context) => {
|
|
346
|
+
if (output.statusCode >= 300) {
|
|
347
|
+
return de_CommandError(output, context);
|
|
348
|
+
}
|
|
349
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
350
|
+
let contents = {};
|
|
351
|
+
contents = (0, smithy_client_1._json)(data);
|
|
352
|
+
const response = {
|
|
353
|
+
$metadata: deserializeMetadata(output),
|
|
354
|
+
...contents,
|
|
355
|
+
};
|
|
356
|
+
return response;
|
|
357
|
+
};
|
|
358
|
+
exports.de_CreateResourceSnapshotJobCommand = de_CreateResourceSnapshotJobCommand;
|
|
359
|
+
const de_DeleteResourceSnapshotJobCommand = async (output, context) => {
|
|
360
|
+
if (output.statusCode >= 300) {
|
|
361
|
+
return de_CommandError(output, context);
|
|
362
|
+
}
|
|
363
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
364
|
+
const response = {
|
|
365
|
+
$metadata: deserializeMetadata(output),
|
|
366
|
+
};
|
|
367
|
+
return response;
|
|
368
|
+
};
|
|
369
|
+
exports.de_DeleteResourceSnapshotJobCommand = de_DeleteResourceSnapshotJobCommand;
|
|
144
370
|
const de_DisassociateOpportunityCommand = async (output, context) => {
|
|
145
371
|
if (output.statusCode >= 300) {
|
|
146
372
|
return de_CommandError(output, context);
|
|
@@ -166,6 +392,20 @@ const de_GetAwsOpportunitySummaryCommand = async (output, context) => {
|
|
|
166
392
|
return response;
|
|
167
393
|
};
|
|
168
394
|
exports.de_GetAwsOpportunitySummaryCommand = de_GetAwsOpportunitySummaryCommand;
|
|
395
|
+
const de_GetEngagementCommand = async (output, context) => {
|
|
396
|
+
if (output.statusCode >= 300) {
|
|
397
|
+
return de_CommandError(output, context);
|
|
398
|
+
}
|
|
399
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
400
|
+
let contents = {};
|
|
401
|
+
contents = de_GetEngagementResponse(data, context);
|
|
402
|
+
const response = {
|
|
403
|
+
$metadata: deserializeMetadata(output),
|
|
404
|
+
...contents,
|
|
405
|
+
};
|
|
406
|
+
return response;
|
|
407
|
+
};
|
|
408
|
+
exports.de_GetEngagementCommand = de_GetEngagementCommand;
|
|
169
409
|
const de_GetEngagementInvitationCommand = async (output, context) => {
|
|
170
410
|
if (output.statusCode >= 300) {
|
|
171
411
|
return de_CommandError(output, context);
|
|
@@ -194,6 +434,76 @@ const de_GetOpportunityCommand = async (output, context) => {
|
|
|
194
434
|
return response;
|
|
195
435
|
};
|
|
196
436
|
exports.de_GetOpportunityCommand = de_GetOpportunityCommand;
|
|
437
|
+
const de_GetResourceSnapshotCommand = async (output, context) => {
|
|
438
|
+
if (output.statusCode >= 300) {
|
|
439
|
+
return de_CommandError(output, context);
|
|
440
|
+
}
|
|
441
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
442
|
+
let contents = {};
|
|
443
|
+
contents = de_GetResourceSnapshotResponse(data, context);
|
|
444
|
+
const response = {
|
|
445
|
+
$metadata: deserializeMetadata(output),
|
|
446
|
+
...contents,
|
|
447
|
+
};
|
|
448
|
+
return response;
|
|
449
|
+
};
|
|
450
|
+
exports.de_GetResourceSnapshotCommand = de_GetResourceSnapshotCommand;
|
|
451
|
+
const de_GetResourceSnapshotJobCommand = async (output, context) => {
|
|
452
|
+
if (output.statusCode >= 300) {
|
|
453
|
+
return de_CommandError(output, context);
|
|
454
|
+
}
|
|
455
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
456
|
+
let contents = {};
|
|
457
|
+
contents = de_GetResourceSnapshotJobResponse(data, context);
|
|
458
|
+
const response = {
|
|
459
|
+
$metadata: deserializeMetadata(output),
|
|
460
|
+
...contents,
|
|
461
|
+
};
|
|
462
|
+
return response;
|
|
463
|
+
};
|
|
464
|
+
exports.de_GetResourceSnapshotJobCommand = de_GetResourceSnapshotJobCommand;
|
|
465
|
+
const de_GetSellingSystemSettingsCommand = async (output, context) => {
|
|
466
|
+
if (output.statusCode >= 300) {
|
|
467
|
+
return de_CommandError(output, context);
|
|
468
|
+
}
|
|
469
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
470
|
+
let contents = {};
|
|
471
|
+
contents = (0, smithy_client_1._json)(data);
|
|
472
|
+
const response = {
|
|
473
|
+
$metadata: deserializeMetadata(output),
|
|
474
|
+
...contents,
|
|
475
|
+
};
|
|
476
|
+
return response;
|
|
477
|
+
};
|
|
478
|
+
exports.de_GetSellingSystemSettingsCommand = de_GetSellingSystemSettingsCommand;
|
|
479
|
+
const de_ListEngagementByAcceptingInvitationTasksCommand = async (output, context) => {
|
|
480
|
+
if (output.statusCode >= 300) {
|
|
481
|
+
return de_CommandError(output, context);
|
|
482
|
+
}
|
|
483
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
484
|
+
let contents = {};
|
|
485
|
+
contents = de_ListEngagementByAcceptingInvitationTasksResponse(data, context);
|
|
486
|
+
const response = {
|
|
487
|
+
$metadata: deserializeMetadata(output),
|
|
488
|
+
...contents,
|
|
489
|
+
};
|
|
490
|
+
return response;
|
|
491
|
+
};
|
|
492
|
+
exports.de_ListEngagementByAcceptingInvitationTasksCommand = de_ListEngagementByAcceptingInvitationTasksCommand;
|
|
493
|
+
const de_ListEngagementFromOpportunityTasksCommand = async (output, context) => {
|
|
494
|
+
if (output.statusCode >= 300) {
|
|
495
|
+
return de_CommandError(output, context);
|
|
496
|
+
}
|
|
497
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
498
|
+
let contents = {};
|
|
499
|
+
contents = de_ListEngagementFromOpportunityTasksResponse(data, context);
|
|
500
|
+
const response = {
|
|
501
|
+
$metadata: deserializeMetadata(output),
|
|
502
|
+
...contents,
|
|
503
|
+
};
|
|
504
|
+
return response;
|
|
505
|
+
};
|
|
506
|
+
exports.de_ListEngagementFromOpportunityTasksCommand = de_ListEngagementFromOpportunityTasksCommand;
|
|
197
507
|
const de_ListEngagementInvitationsCommand = async (output, context) => {
|
|
198
508
|
if (output.statusCode >= 300) {
|
|
199
509
|
return de_CommandError(output, context);
|
|
@@ -208,6 +518,48 @@ const de_ListEngagementInvitationsCommand = async (output, context) => {
|
|
|
208
518
|
return response;
|
|
209
519
|
};
|
|
210
520
|
exports.de_ListEngagementInvitationsCommand = de_ListEngagementInvitationsCommand;
|
|
521
|
+
const de_ListEngagementMembersCommand = async (output, context) => {
|
|
522
|
+
if (output.statusCode >= 300) {
|
|
523
|
+
return de_CommandError(output, context);
|
|
524
|
+
}
|
|
525
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
526
|
+
let contents = {};
|
|
527
|
+
contents = (0, smithy_client_1._json)(data);
|
|
528
|
+
const response = {
|
|
529
|
+
$metadata: deserializeMetadata(output),
|
|
530
|
+
...contents,
|
|
531
|
+
};
|
|
532
|
+
return response;
|
|
533
|
+
};
|
|
534
|
+
exports.de_ListEngagementMembersCommand = de_ListEngagementMembersCommand;
|
|
535
|
+
const de_ListEngagementResourceAssociationsCommand = async (output, context) => {
|
|
536
|
+
if (output.statusCode >= 300) {
|
|
537
|
+
return de_CommandError(output, context);
|
|
538
|
+
}
|
|
539
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
540
|
+
let contents = {};
|
|
541
|
+
contents = (0, smithy_client_1._json)(data);
|
|
542
|
+
const response = {
|
|
543
|
+
$metadata: deserializeMetadata(output),
|
|
544
|
+
...contents,
|
|
545
|
+
};
|
|
546
|
+
return response;
|
|
547
|
+
};
|
|
548
|
+
exports.de_ListEngagementResourceAssociationsCommand = de_ListEngagementResourceAssociationsCommand;
|
|
549
|
+
const de_ListEngagementsCommand = async (output, context) => {
|
|
550
|
+
if (output.statusCode >= 300) {
|
|
551
|
+
return de_CommandError(output, context);
|
|
552
|
+
}
|
|
553
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
554
|
+
let contents = {};
|
|
555
|
+
contents = de_ListEngagementsResponse(data, context);
|
|
556
|
+
const response = {
|
|
557
|
+
$metadata: deserializeMetadata(output),
|
|
558
|
+
...contents,
|
|
559
|
+
};
|
|
560
|
+
return response;
|
|
561
|
+
};
|
|
562
|
+
exports.de_ListEngagementsCommand = de_ListEngagementsCommand;
|
|
211
563
|
const de_ListOpportunitiesCommand = async (output, context) => {
|
|
212
564
|
if (output.statusCode >= 300) {
|
|
213
565
|
return de_CommandError(output, context);
|
|
@@ -222,6 +574,34 @@ const de_ListOpportunitiesCommand = async (output, context) => {
|
|
|
222
574
|
return response;
|
|
223
575
|
};
|
|
224
576
|
exports.de_ListOpportunitiesCommand = de_ListOpportunitiesCommand;
|
|
577
|
+
const de_ListResourceSnapshotJobsCommand = async (output, context) => {
|
|
578
|
+
if (output.statusCode >= 300) {
|
|
579
|
+
return de_CommandError(output, context);
|
|
580
|
+
}
|
|
581
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
582
|
+
let contents = {};
|
|
583
|
+
contents = (0, smithy_client_1._json)(data);
|
|
584
|
+
const response = {
|
|
585
|
+
$metadata: deserializeMetadata(output),
|
|
586
|
+
...contents,
|
|
587
|
+
};
|
|
588
|
+
return response;
|
|
589
|
+
};
|
|
590
|
+
exports.de_ListResourceSnapshotJobsCommand = de_ListResourceSnapshotJobsCommand;
|
|
591
|
+
const de_ListResourceSnapshotsCommand = async (output, context) => {
|
|
592
|
+
if (output.statusCode >= 300) {
|
|
593
|
+
return de_CommandError(output, context);
|
|
594
|
+
}
|
|
595
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
596
|
+
let contents = {};
|
|
597
|
+
contents = (0, smithy_client_1._json)(data);
|
|
598
|
+
const response = {
|
|
599
|
+
$metadata: deserializeMetadata(output),
|
|
600
|
+
...contents,
|
|
601
|
+
};
|
|
602
|
+
return response;
|
|
603
|
+
};
|
|
604
|
+
exports.de_ListResourceSnapshotsCommand = de_ListResourceSnapshotsCommand;
|
|
225
605
|
const de_ListSolutionsCommand = async (output, context) => {
|
|
226
606
|
if (output.statusCode >= 300) {
|
|
227
607
|
return de_CommandError(output, context);
|
|
@@ -236,6 +616,20 @@ const de_ListSolutionsCommand = async (output, context) => {
|
|
|
236
616
|
return response;
|
|
237
617
|
};
|
|
238
618
|
exports.de_ListSolutionsCommand = de_ListSolutionsCommand;
|
|
619
|
+
const de_PutSellingSystemSettingsCommand = async (output, context) => {
|
|
620
|
+
if (output.statusCode >= 300) {
|
|
621
|
+
return de_CommandError(output, context);
|
|
622
|
+
}
|
|
623
|
+
const data = await (0, core_1.parseJsonBody)(output.body, context);
|
|
624
|
+
let contents = {};
|
|
625
|
+
contents = (0, smithy_client_1._json)(data);
|
|
626
|
+
const response = {
|
|
627
|
+
$metadata: deserializeMetadata(output),
|
|
628
|
+
...contents,
|
|
629
|
+
};
|
|
630
|
+
return response;
|
|
631
|
+
};
|
|
632
|
+
exports.de_PutSellingSystemSettingsCommand = de_PutSellingSystemSettingsCommand;
|
|
239
633
|
const de_RejectEngagementInvitationCommand = async (output, context) => {
|
|
240
634
|
if (output.statusCode >= 300) {
|
|
241
635
|
return de_CommandError(output, context);
|
|
@@ -275,6 +669,39 @@ const de_StartEngagementFromOpportunityTaskCommand = async (output, context) =>
|
|
|
275
669
|
return response;
|
|
276
670
|
};
|
|
277
671
|
exports.de_StartEngagementFromOpportunityTaskCommand = de_StartEngagementFromOpportunityTaskCommand;
|
|
672
|
+
const de_StartResourceSnapshotJobCommand = async (output, context) => {
|
|
673
|
+
if (output.statusCode >= 300) {
|
|
674
|
+
return de_CommandError(output, context);
|
|
675
|
+
}
|
|
676
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
677
|
+
const response = {
|
|
678
|
+
$metadata: deserializeMetadata(output),
|
|
679
|
+
};
|
|
680
|
+
return response;
|
|
681
|
+
};
|
|
682
|
+
exports.de_StartResourceSnapshotJobCommand = de_StartResourceSnapshotJobCommand;
|
|
683
|
+
const de_StopResourceSnapshotJobCommand = async (output, context) => {
|
|
684
|
+
if (output.statusCode >= 300) {
|
|
685
|
+
return de_CommandError(output, context);
|
|
686
|
+
}
|
|
687
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
688
|
+
const response = {
|
|
689
|
+
$metadata: deserializeMetadata(output),
|
|
690
|
+
};
|
|
691
|
+
return response;
|
|
692
|
+
};
|
|
693
|
+
exports.de_StopResourceSnapshotJobCommand = de_StopResourceSnapshotJobCommand;
|
|
694
|
+
const de_SubmitOpportunityCommand = async (output, context) => {
|
|
695
|
+
if (output.statusCode >= 300) {
|
|
696
|
+
return de_CommandError(output, context);
|
|
697
|
+
}
|
|
698
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
699
|
+
const response = {
|
|
700
|
+
$metadata: deserializeMetadata(output),
|
|
701
|
+
};
|
|
702
|
+
return response;
|
|
703
|
+
};
|
|
704
|
+
exports.de_SubmitOpportunityCommand = de_SubmitOpportunityCommand;
|
|
278
705
|
const de_UpdateOpportunityCommand = async (output, context) => {
|
|
279
706
|
if (output.statusCode >= 300) {
|
|
280
707
|
return de_CommandError(output, context);
|
|
@@ -389,6 +816,23 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
389
816
|
});
|
|
390
817
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
391
818
|
};
|
|
819
|
+
const se_CreateEngagementInvitationRequest = (input, context) => {
|
|
820
|
+
return (0, smithy_client_1.take)(input, {
|
|
821
|
+
Catalog: [],
|
|
822
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
823
|
+
EngagementIdentifier: [],
|
|
824
|
+
Invitation: smithy_client_1._json,
|
|
825
|
+
});
|
|
826
|
+
};
|
|
827
|
+
const se_CreateEngagementRequest = (input, context) => {
|
|
828
|
+
return (0, smithy_client_1.take)(input, {
|
|
829
|
+
Catalog: [],
|
|
830
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
831
|
+
Contexts: smithy_client_1._json,
|
|
832
|
+
Description: [],
|
|
833
|
+
Title: [],
|
|
834
|
+
});
|
|
835
|
+
};
|
|
392
836
|
const se_CreateOpportunityRequest = (input, context) => {
|
|
393
837
|
return (0, smithy_client_1.take)(input, {
|
|
394
838
|
Catalog: [],
|
|
@@ -406,6 +850,26 @@ const se_CreateOpportunityRequest = (input, context) => {
|
|
|
406
850
|
SoftwareRevenue: smithy_client_1._json,
|
|
407
851
|
});
|
|
408
852
|
};
|
|
853
|
+
const se_CreateResourceSnapshotJobRequest = (input, context) => {
|
|
854
|
+
return (0, smithy_client_1.take)(input, {
|
|
855
|
+
Catalog: [],
|
|
856
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
857
|
+
EngagementIdentifier: [],
|
|
858
|
+
ResourceIdentifier: [],
|
|
859
|
+
ResourceSnapshotTemplateIdentifier: [],
|
|
860
|
+
ResourceType: [],
|
|
861
|
+
});
|
|
862
|
+
};
|
|
863
|
+
const se_CreateResourceSnapshotRequest = (input, context) => {
|
|
864
|
+
return (0, smithy_client_1.take)(input, {
|
|
865
|
+
Catalog: [],
|
|
866
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
867
|
+
EngagementIdentifier: [],
|
|
868
|
+
ResourceIdentifier: [],
|
|
869
|
+
ResourceSnapshotTemplateIdentifier: [],
|
|
870
|
+
ResourceType: [],
|
|
871
|
+
});
|
|
872
|
+
};
|
|
409
873
|
const se_LastModifiedDate = (input, context) => {
|
|
410
874
|
return (0, smithy_client_1.take)(input, {
|
|
411
875
|
AfterLastModifiedDate: smithy_client_1.serializeDateTime,
|
|
@@ -509,10 +973,12 @@ const de_EngagementInvitationSummary = (output, context) => {
|
|
|
509
973
|
return (0, smithy_client_1.take)(output, {
|
|
510
974
|
Arn: smithy_client_1.expectString,
|
|
511
975
|
Catalog: smithy_client_1.expectString,
|
|
976
|
+
EngagementId: smithy_client_1.expectString,
|
|
512
977
|
EngagementTitle: smithy_client_1.expectString,
|
|
513
978
|
ExpirationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
514
979
|
Id: smithy_client_1.expectString,
|
|
515
980
|
InvitationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
981
|
+
ParticipantType: smithy_client_1.expectString,
|
|
516
982
|
PayloadType: smithy_client_1.expectString,
|
|
517
983
|
Receiver: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
518
984
|
SenderAwsAccountId: smithy_client_1.expectString,
|
|
@@ -520,6 +986,24 @@ const de_EngagementInvitationSummary = (output, context) => {
|
|
|
520
986
|
Status: smithy_client_1.expectString,
|
|
521
987
|
});
|
|
522
988
|
};
|
|
989
|
+
const de_EngagementSummary = (output, context) => {
|
|
990
|
+
return (0, smithy_client_1.take)(output, {
|
|
991
|
+
Arn: smithy_client_1.expectString,
|
|
992
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
993
|
+
CreatedBy: smithy_client_1.expectString,
|
|
994
|
+
Id: smithy_client_1.expectString,
|
|
995
|
+
MemberCount: smithy_client_1.expectInt32,
|
|
996
|
+
Title: smithy_client_1.expectString,
|
|
997
|
+
});
|
|
998
|
+
};
|
|
999
|
+
const de_EngagementSummaryList = (output, context) => {
|
|
1000
|
+
const retVal = (output || [])
|
|
1001
|
+
.filter((e) => e != null)
|
|
1002
|
+
.map((entry) => {
|
|
1003
|
+
return de_EngagementSummary(entry, context);
|
|
1004
|
+
});
|
|
1005
|
+
return retVal;
|
|
1006
|
+
};
|
|
523
1007
|
const de_GetAwsOpportunitySummaryResponse = (output, context) => {
|
|
524
1008
|
return (0, smithy_client_1.take)(output, {
|
|
525
1009
|
Catalog: smithy_client_1.expectString,
|
|
@@ -540,10 +1024,14 @@ const de_GetEngagementInvitationResponse = (output, context) => {
|
|
|
540
1024
|
return (0, smithy_client_1.take)(output, {
|
|
541
1025
|
Arn: smithy_client_1.expectString,
|
|
542
1026
|
Catalog: smithy_client_1.expectString,
|
|
1027
|
+
EngagementDescription: smithy_client_1.expectString,
|
|
1028
|
+
EngagementId: smithy_client_1.expectString,
|
|
543
1029
|
EngagementTitle: smithy_client_1.expectString,
|
|
1030
|
+
ExistingMembers: smithy_client_1._json,
|
|
544
1031
|
ExpirationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
545
1032
|
Id: smithy_client_1.expectString,
|
|
546
1033
|
InvitationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1034
|
+
InvitationMessage: smithy_client_1.expectString,
|
|
547
1035
|
Payload: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
548
1036
|
PayloadType: smithy_client_1.expectString,
|
|
549
1037
|
Receiver: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
@@ -553,8 +1041,21 @@ const de_GetEngagementInvitationResponse = (output, context) => {
|
|
|
553
1041
|
Status: smithy_client_1.expectString,
|
|
554
1042
|
});
|
|
555
1043
|
};
|
|
1044
|
+
const de_GetEngagementResponse = (output, context) => {
|
|
1045
|
+
return (0, smithy_client_1.take)(output, {
|
|
1046
|
+
Arn: smithy_client_1.expectString,
|
|
1047
|
+
Contexts: smithy_client_1._json,
|
|
1048
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1049
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1050
|
+
Description: smithy_client_1.expectString,
|
|
1051
|
+
Id: smithy_client_1.expectString,
|
|
1052
|
+
MemberCount: smithy_client_1.expectInt32,
|
|
1053
|
+
Title: smithy_client_1.expectString,
|
|
1054
|
+
});
|
|
1055
|
+
};
|
|
556
1056
|
const de_GetOpportunityResponse = (output, context) => {
|
|
557
1057
|
return (0, smithy_client_1.take)(output, {
|
|
1058
|
+
Arn: smithy_client_1.expectString,
|
|
558
1059
|
Catalog: smithy_client_1.expectString,
|
|
559
1060
|
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
560
1061
|
Customer: smithy_client_1._json,
|
|
@@ -572,6 +1073,36 @@ const de_GetOpportunityResponse = (output, context) => {
|
|
|
572
1073
|
SoftwareRevenue: smithy_client_1._json,
|
|
573
1074
|
});
|
|
574
1075
|
};
|
|
1076
|
+
const de_GetResourceSnapshotJobResponse = (output, context) => {
|
|
1077
|
+
return (0, smithy_client_1.take)(output, {
|
|
1078
|
+
Arn: smithy_client_1.expectString,
|
|
1079
|
+
Catalog: smithy_client_1.expectString,
|
|
1080
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1081
|
+
EngagementId: smithy_client_1.expectString,
|
|
1082
|
+
Id: smithy_client_1.expectString,
|
|
1083
|
+
LastFailure: smithy_client_1.expectString,
|
|
1084
|
+
LastSuccessfulExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1085
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1086
|
+
ResourceId: smithy_client_1.expectString,
|
|
1087
|
+
ResourceSnapshotTemplateName: smithy_client_1.expectString,
|
|
1088
|
+
ResourceType: smithy_client_1.expectString,
|
|
1089
|
+
Status: smithy_client_1.expectString,
|
|
1090
|
+
});
|
|
1091
|
+
};
|
|
1092
|
+
const de_GetResourceSnapshotResponse = (output, context) => {
|
|
1093
|
+
return (0, smithy_client_1.take)(output, {
|
|
1094
|
+
Arn: smithy_client_1.expectString,
|
|
1095
|
+
Catalog: smithy_client_1.expectString,
|
|
1096
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1097
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1098
|
+
EngagementId: smithy_client_1.expectString,
|
|
1099
|
+
Payload: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
1100
|
+
ResourceId: smithy_client_1.expectString,
|
|
1101
|
+
ResourceSnapshotTemplateName: smithy_client_1.expectString,
|
|
1102
|
+
ResourceType: smithy_client_1.expectString,
|
|
1103
|
+
Revision: smithy_client_1.expectInt32,
|
|
1104
|
+
});
|
|
1105
|
+
};
|
|
575
1106
|
const de_LifeCycle = (output, context) => {
|
|
576
1107
|
return (0, smithy_client_1.take)(output, {
|
|
577
1108
|
ClosedLostReason: smithy_client_1.expectString,
|
|
@@ -584,12 +1115,73 @@ const de_LifeCycle = (output, context) => {
|
|
|
584
1115
|
TargetCloseDate: smithy_client_1.expectString,
|
|
585
1116
|
});
|
|
586
1117
|
};
|
|
1118
|
+
const de_ListEngagementByAcceptingInvitationTasksResponse = (output, context) => {
|
|
1119
|
+
return (0, smithy_client_1.take)(output, {
|
|
1120
|
+
NextToken: smithy_client_1.expectString,
|
|
1121
|
+
TaskSummaries: (_) => de_ListEngagementByAcceptingInvitationTaskSummaries(_, context),
|
|
1122
|
+
});
|
|
1123
|
+
};
|
|
1124
|
+
const de_ListEngagementByAcceptingInvitationTaskSummaries = (output, context) => {
|
|
1125
|
+
const retVal = (output || [])
|
|
1126
|
+
.filter((e) => e != null)
|
|
1127
|
+
.map((entry) => {
|
|
1128
|
+
return de_ListEngagementByAcceptingInvitationTaskSummary(entry, context);
|
|
1129
|
+
});
|
|
1130
|
+
return retVal;
|
|
1131
|
+
};
|
|
1132
|
+
const de_ListEngagementByAcceptingInvitationTaskSummary = (output, context) => {
|
|
1133
|
+
return (0, smithy_client_1.take)(output, {
|
|
1134
|
+
EngagementInvitationId: smithy_client_1.expectString,
|
|
1135
|
+
Message: smithy_client_1.expectString,
|
|
1136
|
+
OpportunityId: smithy_client_1.expectString,
|
|
1137
|
+
ReasonCode: smithy_client_1.expectString,
|
|
1138
|
+
ResourceSnapshotJobId: smithy_client_1.expectString,
|
|
1139
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1140
|
+
TaskArn: smithy_client_1.expectString,
|
|
1141
|
+
TaskId: smithy_client_1.expectString,
|
|
1142
|
+
TaskStatus: smithy_client_1.expectString,
|
|
1143
|
+
});
|
|
1144
|
+
};
|
|
1145
|
+
const de_ListEngagementFromOpportunityTasksResponse = (output, context) => {
|
|
1146
|
+
return (0, smithy_client_1.take)(output, {
|
|
1147
|
+
NextToken: smithy_client_1.expectString,
|
|
1148
|
+
TaskSummaries: (_) => de_ListEngagementFromOpportunityTaskSummaries(_, context),
|
|
1149
|
+
});
|
|
1150
|
+
};
|
|
1151
|
+
const de_ListEngagementFromOpportunityTaskSummaries = (output, context) => {
|
|
1152
|
+
const retVal = (output || [])
|
|
1153
|
+
.filter((e) => e != null)
|
|
1154
|
+
.map((entry) => {
|
|
1155
|
+
return de_ListEngagementFromOpportunityTaskSummary(entry, context);
|
|
1156
|
+
});
|
|
1157
|
+
return retVal;
|
|
1158
|
+
};
|
|
1159
|
+
const de_ListEngagementFromOpportunityTaskSummary = (output, context) => {
|
|
1160
|
+
return (0, smithy_client_1.take)(output, {
|
|
1161
|
+
EngagementId: smithy_client_1.expectString,
|
|
1162
|
+
EngagementInvitationId: smithy_client_1.expectString,
|
|
1163
|
+
Message: smithy_client_1.expectString,
|
|
1164
|
+
OpportunityId: smithy_client_1.expectString,
|
|
1165
|
+
ReasonCode: smithy_client_1.expectString,
|
|
1166
|
+
ResourceSnapshotJobId: smithy_client_1.expectString,
|
|
1167
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1168
|
+
TaskArn: smithy_client_1.expectString,
|
|
1169
|
+
TaskId: smithy_client_1.expectString,
|
|
1170
|
+
TaskStatus: smithy_client_1.expectString,
|
|
1171
|
+
});
|
|
1172
|
+
};
|
|
587
1173
|
const de_ListEngagementInvitationsResponse = (output, context) => {
|
|
588
1174
|
return (0, smithy_client_1.take)(output, {
|
|
589
1175
|
EngagementInvitationSummaries: (_) => de_EngagementInvitationSummaries(_, context),
|
|
590
1176
|
NextToken: smithy_client_1.expectString,
|
|
591
1177
|
});
|
|
592
1178
|
};
|
|
1179
|
+
const de_ListEngagementsResponse = (output, context) => {
|
|
1180
|
+
return (0, smithy_client_1.take)(output, {
|
|
1181
|
+
EngagementSummaryList: (_) => de_EngagementSummaryList(_, context),
|
|
1182
|
+
NextToken: smithy_client_1.expectString,
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
593
1185
|
const de_ListOpportunitiesResponse = (output, context) => {
|
|
594
1186
|
return (0, smithy_client_1.take)(output, {
|
|
595
1187
|
NextToken: smithy_client_1.expectString,
|
|
@@ -626,6 +1218,7 @@ const de_OpportunitySummaries = (output, context) => {
|
|
|
626
1218
|
};
|
|
627
1219
|
const de_OpportunitySummary = (output, context) => {
|
|
628
1220
|
return (0, smithy_client_1.take)(output, {
|
|
1221
|
+
Arn: smithy_client_1.expectString,
|
|
629
1222
|
Catalog: smithy_client_1.expectString,
|
|
630
1223
|
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
631
1224
|
Customer: smithy_client_1._json,
|
|
@@ -653,6 +1246,7 @@ const de_ProfileNextStepsHistory = (output, context) => {
|
|
|
653
1246
|
};
|
|
654
1247
|
const de_SolutionBase = (output, context) => {
|
|
655
1248
|
return (0, smithy_client_1.take)(output, {
|
|
1249
|
+
Arn: smithy_client_1.expectString,
|
|
656
1250
|
Catalog: smithy_client_1.expectString,
|
|
657
1251
|
Category: smithy_client_1.expectString,
|
|
658
1252
|
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -675,6 +1269,7 @@ const de_StartEngagementByAcceptingInvitationTaskResponse = (output, context) =>
|
|
|
675
1269
|
Message: smithy_client_1.expectString,
|
|
676
1270
|
OpportunityId: smithy_client_1.expectString,
|
|
677
1271
|
ReasonCode: smithy_client_1.expectString,
|
|
1272
|
+
ResourceSnapshotJobId: smithy_client_1.expectString,
|
|
678
1273
|
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
679
1274
|
TaskArn: smithy_client_1.expectString,
|
|
680
1275
|
TaskId: smithy_client_1.expectString,
|
|
@@ -683,9 +1278,12 @@ const de_StartEngagementByAcceptingInvitationTaskResponse = (output, context) =>
|
|
|
683
1278
|
};
|
|
684
1279
|
const de_StartEngagementFromOpportunityTaskResponse = (output, context) => {
|
|
685
1280
|
return (0, smithy_client_1.take)(output, {
|
|
1281
|
+
EngagementId: smithy_client_1.expectString,
|
|
1282
|
+
EngagementInvitationId: smithy_client_1.expectString,
|
|
686
1283
|
Message: smithy_client_1.expectString,
|
|
687
1284
|
OpportunityId: smithy_client_1.expectString,
|
|
688
1285
|
ReasonCode: smithy_client_1.expectString,
|
|
1286
|
+
ResourceSnapshotJobId: smithy_client_1.expectString,
|
|
689
1287
|
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
690
1288
|
TaskArn: smithy_client_1.expectString,
|
|
691
1289
|
TaskId: smithy_client_1.expectString,
|