@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,9 +1,15 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectString as __expectString, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
import { PartnerCentralSellingServiceException as __BaseException } from "../models/PartnerCentralSellingServiceException";
|
|
7
|
+
export const se_AcceptEngagementInvitationCommand = async (input, context) => {
|
|
8
|
+
const headers = sharedHeaders("AcceptEngagementInvitation");
|
|
9
|
+
let body;
|
|
10
|
+
body = JSON.stringify(_json(input));
|
|
11
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
+
};
|
|
7
13
|
export const se_AssignOpportunityCommand = async (input, context) => {
|
|
8
14
|
const headers = sharedHeaders("AssignOpportunity");
|
|
9
15
|
let body;
|
|
@@ -16,12 +22,42 @@ export const se_AssociateOpportunityCommand = async (input, context) => {
|
|
|
16
22
|
body = JSON.stringify(_json(input));
|
|
17
23
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
24
|
};
|
|
25
|
+
export const se_CreateEngagementCommand = async (input, context) => {
|
|
26
|
+
const headers = sharedHeaders("CreateEngagement");
|
|
27
|
+
let body;
|
|
28
|
+
body = JSON.stringify(se_CreateEngagementRequest(input, context));
|
|
29
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
+
};
|
|
31
|
+
export const se_CreateEngagementInvitationCommand = async (input, context) => {
|
|
32
|
+
const headers = sharedHeaders("CreateEngagementInvitation");
|
|
33
|
+
let body;
|
|
34
|
+
body = JSON.stringify(se_CreateEngagementInvitationRequest(input, context));
|
|
35
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
+
};
|
|
19
37
|
export const se_CreateOpportunityCommand = async (input, context) => {
|
|
20
38
|
const headers = sharedHeaders("CreateOpportunity");
|
|
21
39
|
let body;
|
|
22
40
|
body = JSON.stringify(se_CreateOpportunityRequest(input, context));
|
|
23
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
42
|
};
|
|
43
|
+
export const se_CreateResourceSnapshotCommand = async (input, context) => {
|
|
44
|
+
const headers = sharedHeaders("CreateResourceSnapshot");
|
|
45
|
+
let body;
|
|
46
|
+
body = JSON.stringify(se_CreateResourceSnapshotRequest(input, context));
|
|
47
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
+
};
|
|
49
|
+
export const se_CreateResourceSnapshotJobCommand = async (input, context) => {
|
|
50
|
+
const headers = sharedHeaders("CreateResourceSnapshotJob");
|
|
51
|
+
let body;
|
|
52
|
+
body = JSON.stringify(se_CreateResourceSnapshotJobRequest(input, context));
|
|
53
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
+
};
|
|
55
|
+
export const se_DeleteResourceSnapshotJobCommand = async (input, context) => {
|
|
56
|
+
const headers = sharedHeaders("DeleteResourceSnapshotJob");
|
|
57
|
+
let body;
|
|
58
|
+
body = JSON.stringify(_json(input));
|
|
59
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
+
};
|
|
25
61
|
export const se_DisassociateOpportunityCommand = async (input, context) => {
|
|
26
62
|
const headers = sharedHeaders("DisassociateOpportunity");
|
|
27
63
|
let body;
|
|
@@ -34,6 +70,12 @@ export const se_GetAwsOpportunitySummaryCommand = async (input, context) => {
|
|
|
34
70
|
body = JSON.stringify(_json(input));
|
|
35
71
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
72
|
};
|
|
73
|
+
export const se_GetEngagementCommand = async (input, context) => {
|
|
74
|
+
const headers = sharedHeaders("GetEngagement");
|
|
75
|
+
let body;
|
|
76
|
+
body = JSON.stringify(_json(input));
|
|
77
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
|
+
};
|
|
37
79
|
export const se_GetEngagementInvitationCommand = async (input, context) => {
|
|
38
80
|
const headers = sharedHeaders("GetEngagementInvitation");
|
|
39
81
|
let body;
|
|
@@ -46,24 +88,90 @@ export const se_GetOpportunityCommand = async (input, context) => {
|
|
|
46
88
|
body = JSON.stringify(_json(input));
|
|
47
89
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
90
|
};
|
|
91
|
+
export const se_GetResourceSnapshotCommand = async (input, context) => {
|
|
92
|
+
const headers = sharedHeaders("GetResourceSnapshot");
|
|
93
|
+
let body;
|
|
94
|
+
body = JSON.stringify(_json(input));
|
|
95
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
+
};
|
|
97
|
+
export const se_GetResourceSnapshotJobCommand = async (input, context) => {
|
|
98
|
+
const headers = sharedHeaders("GetResourceSnapshotJob");
|
|
99
|
+
let body;
|
|
100
|
+
body = JSON.stringify(_json(input));
|
|
101
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
+
};
|
|
103
|
+
export const se_GetSellingSystemSettingsCommand = async (input, context) => {
|
|
104
|
+
const headers = sharedHeaders("GetSellingSystemSettings");
|
|
105
|
+
let body;
|
|
106
|
+
body = JSON.stringify(_json(input));
|
|
107
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
+
};
|
|
109
|
+
export const se_ListEngagementByAcceptingInvitationTasksCommand = async (input, context) => {
|
|
110
|
+
const headers = sharedHeaders("ListEngagementByAcceptingInvitationTasks");
|
|
111
|
+
let body;
|
|
112
|
+
body = JSON.stringify(_json(input));
|
|
113
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
+
};
|
|
115
|
+
export const se_ListEngagementFromOpportunityTasksCommand = async (input, context) => {
|
|
116
|
+
const headers = sharedHeaders("ListEngagementFromOpportunityTasks");
|
|
117
|
+
let body;
|
|
118
|
+
body = JSON.stringify(_json(input));
|
|
119
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
|
+
};
|
|
49
121
|
export const se_ListEngagementInvitationsCommand = async (input, context) => {
|
|
50
122
|
const headers = sharedHeaders("ListEngagementInvitations");
|
|
51
123
|
let body;
|
|
52
124
|
body = JSON.stringify(_json(input));
|
|
53
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
126
|
};
|
|
127
|
+
export const se_ListEngagementMembersCommand = async (input, context) => {
|
|
128
|
+
const headers = sharedHeaders("ListEngagementMembers");
|
|
129
|
+
let body;
|
|
130
|
+
body = JSON.stringify(_json(input));
|
|
131
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
|
+
};
|
|
133
|
+
export const se_ListEngagementResourceAssociationsCommand = async (input, context) => {
|
|
134
|
+
const headers = sharedHeaders("ListEngagementResourceAssociations");
|
|
135
|
+
let body;
|
|
136
|
+
body = JSON.stringify(_json(input));
|
|
137
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
|
+
};
|
|
139
|
+
export const se_ListEngagementsCommand = async (input, context) => {
|
|
140
|
+
const headers = sharedHeaders("ListEngagements");
|
|
141
|
+
let body;
|
|
142
|
+
body = JSON.stringify(_json(input));
|
|
143
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
144
|
+
};
|
|
55
145
|
export const se_ListOpportunitiesCommand = async (input, context) => {
|
|
56
146
|
const headers = sharedHeaders("ListOpportunities");
|
|
57
147
|
let body;
|
|
58
148
|
body = JSON.stringify(se_ListOpportunitiesRequest(input, context));
|
|
59
149
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
150
|
};
|
|
151
|
+
export const se_ListResourceSnapshotJobsCommand = async (input, context) => {
|
|
152
|
+
const headers = sharedHeaders("ListResourceSnapshotJobs");
|
|
153
|
+
let body;
|
|
154
|
+
body = JSON.stringify(_json(input));
|
|
155
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
+
};
|
|
157
|
+
export const se_ListResourceSnapshotsCommand = async (input, context) => {
|
|
158
|
+
const headers = sharedHeaders("ListResourceSnapshots");
|
|
159
|
+
let body;
|
|
160
|
+
body = JSON.stringify(_json(input));
|
|
161
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
+
};
|
|
61
163
|
export const se_ListSolutionsCommand = async (input, context) => {
|
|
62
164
|
const headers = sharedHeaders("ListSolutions");
|
|
63
165
|
let body;
|
|
64
166
|
body = JSON.stringify(_json(input));
|
|
65
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
168
|
};
|
|
169
|
+
export const se_PutSellingSystemSettingsCommand = async (input, context) => {
|
|
170
|
+
const headers = sharedHeaders("PutSellingSystemSettings");
|
|
171
|
+
let body;
|
|
172
|
+
body = JSON.stringify(_json(input));
|
|
173
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
|
+
};
|
|
67
175
|
export const se_RejectEngagementInvitationCommand = async (input, context) => {
|
|
68
176
|
const headers = sharedHeaders("RejectEngagementInvitation");
|
|
69
177
|
let body;
|
|
@@ -82,12 +190,40 @@ export const se_StartEngagementFromOpportunityTaskCommand = async (input, contex
|
|
|
82
190
|
body = JSON.stringify(se_StartEngagementFromOpportunityTaskRequest(input, context));
|
|
83
191
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
192
|
};
|
|
193
|
+
export const se_StartResourceSnapshotJobCommand = async (input, context) => {
|
|
194
|
+
const headers = sharedHeaders("StartResourceSnapshotJob");
|
|
195
|
+
let body;
|
|
196
|
+
body = JSON.stringify(_json(input));
|
|
197
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
+
};
|
|
199
|
+
export const se_StopResourceSnapshotJobCommand = async (input, context) => {
|
|
200
|
+
const headers = sharedHeaders("StopResourceSnapshotJob");
|
|
201
|
+
let body;
|
|
202
|
+
body = JSON.stringify(_json(input));
|
|
203
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
+
};
|
|
205
|
+
export const se_SubmitOpportunityCommand = async (input, context) => {
|
|
206
|
+
const headers = sharedHeaders("SubmitOpportunity");
|
|
207
|
+
let body;
|
|
208
|
+
body = JSON.stringify(_json(input));
|
|
209
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
+
};
|
|
85
211
|
export const se_UpdateOpportunityCommand = async (input, context) => {
|
|
86
212
|
const headers = sharedHeaders("UpdateOpportunity");
|
|
87
213
|
let body;
|
|
88
214
|
body = JSON.stringify(se_UpdateOpportunityRequest(input, context));
|
|
89
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
216
|
};
|
|
217
|
+
export const de_AcceptEngagementInvitationCommand = async (output, context) => {
|
|
218
|
+
if (output.statusCode >= 300) {
|
|
219
|
+
return de_CommandError(output, context);
|
|
220
|
+
}
|
|
221
|
+
await collectBody(output.body, context);
|
|
222
|
+
const response = {
|
|
223
|
+
$metadata: deserializeMetadata(output),
|
|
224
|
+
};
|
|
225
|
+
return response;
|
|
226
|
+
};
|
|
91
227
|
export const de_AssignOpportunityCommand = async (output, context) => {
|
|
92
228
|
if (output.statusCode >= 300) {
|
|
93
229
|
return de_CommandError(output, context);
|
|
@@ -108,6 +244,32 @@ export const de_AssociateOpportunityCommand = async (output, context) => {
|
|
|
108
244
|
};
|
|
109
245
|
return response;
|
|
110
246
|
};
|
|
247
|
+
export const de_CreateEngagementCommand = async (output, context) => {
|
|
248
|
+
if (output.statusCode >= 300) {
|
|
249
|
+
return de_CommandError(output, context);
|
|
250
|
+
}
|
|
251
|
+
const data = await parseBody(output.body, context);
|
|
252
|
+
let contents = {};
|
|
253
|
+
contents = _json(data);
|
|
254
|
+
const response = {
|
|
255
|
+
$metadata: deserializeMetadata(output),
|
|
256
|
+
...contents,
|
|
257
|
+
};
|
|
258
|
+
return response;
|
|
259
|
+
};
|
|
260
|
+
export const de_CreateEngagementInvitationCommand = async (output, context) => {
|
|
261
|
+
if (output.statusCode >= 300) {
|
|
262
|
+
return de_CommandError(output, context);
|
|
263
|
+
}
|
|
264
|
+
const data = await parseBody(output.body, context);
|
|
265
|
+
let contents = {};
|
|
266
|
+
contents = _json(data);
|
|
267
|
+
const response = {
|
|
268
|
+
$metadata: deserializeMetadata(output),
|
|
269
|
+
...contents,
|
|
270
|
+
};
|
|
271
|
+
return response;
|
|
272
|
+
};
|
|
111
273
|
export const de_CreateOpportunityCommand = async (output, context) => {
|
|
112
274
|
if (output.statusCode >= 300) {
|
|
113
275
|
return de_CommandError(output, context);
|
|
@@ -121,6 +283,42 @@ export const de_CreateOpportunityCommand = async (output, context) => {
|
|
|
121
283
|
};
|
|
122
284
|
return response;
|
|
123
285
|
};
|
|
286
|
+
export const de_CreateResourceSnapshotCommand = async (output, context) => {
|
|
287
|
+
if (output.statusCode >= 300) {
|
|
288
|
+
return de_CommandError(output, context);
|
|
289
|
+
}
|
|
290
|
+
const data = await parseBody(output.body, context);
|
|
291
|
+
let contents = {};
|
|
292
|
+
contents = _json(data);
|
|
293
|
+
const response = {
|
|
294
|
+
$metadata: deserializeMetadata(output),
|
|
295
|
+
...contents,
|
|
296
|
+
};
|
|
297
|
+
return response;
|
|
298
|
+
};
|
|
299
|
+
export const de_CreateResourceSnapshotJobCommand = async (output, context) => {
|
|
300
|
+
if (output.statusCode >= 300) {
|
|
301
|
+
return de_CommandError(output, context);
|
|
302
|
+
}
|
|
303
|
+
const data = await parseBody(output.body, context);
|
|
304
|
+
let contents = {};
|
|
305
|
+
contents = _json(data);
|
|
306
|
+
const response = {
|
|
307
|
+
$metadata: deserializeMetadata(output),
|
|
308
|
+
...contents,
|
|
309
|
+
};
|
|
310
|
+
return response;
|
|
311
|
+
};
|
|
312
|
+
export const de_DeleteResourceSnapshotJobCommand = async (output, context) => {
|
|
313
|
+
if (output.statusCode >= 300) {
|
|
314
|
+
return de_CommandError(output, context);
|
|
315
|
+
}
|
|
316
|
+
await collectBody(output.body, context);
|
|
317
|
+
const response = {
|
|
318
|
+
$metadata: deserializeMetadata(output),
|
|
319
|
+
};
|
|
320
|
+
return response;
|
|
321
|
+
};
|
|
124
322
|
export const de_DisassociateOpportunityCommand = async (output, context) => {
|
|
125
323
|
if (output.statusCode >= 300) {
|
|
126
324
|
return de_CommandError(output, context);
|
|
@@ -144,6 +342,19 @@ export const de_GetAwsOpportunitySummaryCommand = async (output, context) => {
|
|
|
144
342
|
};
|
|
145
343
|
return response;
|
|
146
344
|
};
|
|
345
|
+
export const de_GetEngagementCommand = async (output, context) => {
|
|
346
|
+
if (output.statusCode >= 300) {
|
|
347
|
+
return de_CommandError(output, context);
|
|
348
|
+
}
|
|
349
|
+
const data = await parseBody(output.body, context);
|
|
350
|
+
let contents = {};
|
|
351
|
+
contents = de_GetEngagementResponse(data, context);
|
|
352
|
+
const response = {
|
|
353
|
+
$metadata: deserializeMetadata(output),
|
|
354
|
+
...contents,
|
|
355
|
+
};
|
|
356
|
+
return response;
|
|
357
|
+
};
|
|
147
358
|
export const de_GetEngagementInvitationCommand = async (output, context) => {
|
|
148
359
|
if (output.statusCode >= 300) {
|
|
149
360
|
return de_CommandError(output, context);
|
|
@@ -170,6 +381,71 @@ export const de_GetOpportunityCommand = async (output, context) => {
|
|
|
170
381
|
};
|
|
171
382
|
return response;
|
|
172
383
|
};
|
|
384
|
+
export const de_GetResourceSnapshotCommand = async (output, context) => {
|
|
385
|
+
if (output.statusCode >= 300) {
|
|
386
|
+
return de_CommandError(output, context);
|
|
387
|
+
}
|
|
388
|
+
const data = await parseBody(output.body, context);
|
|
389
|
+
let contents = {};
|
|
390
|
+
contents = de_GetResourceSnapshotResponse(data, context);
|
|
391
|
+
const response = {
|
|
392
|
+
$metadata: deserializeMetadata(output),
|
|
393
|
+
...contents,
|
|
394
|
+
};
|
|
395
|
+
return response;
|
|
396
|
+
};
|
|
397
|
+
export const de_GetResourceSnapshotJobCommand = async (output, context) => {
|
|
398
|
+
if (output.statusCode >= 300) {
|
|
399
|
+
return de_CommandError(output, context);
|
|
400
|
+
}
|
|
401
|
+
const data = await parseBody(output.body, context);
|
|
402
|
+
let contents = {};
|
|
403
|
+
contents = de_GetResourceSnapshotJobResponse(data, context);
|
|
404
|
+
const response = {
|
|
405
|
+
$metadata: deserializeMetadata(output),
|
|
406
|
+
...contents,
|
|
407
|
+
};
|
|
408
|
+
return response;
|
|
409
|
+
};
|
|
410
|
+
export const de_GetSellingSystemSettingsCommand = async (output, context) => {
|
|
411
|
+
if (output.statusCode >= 300) {
|
|
412
|
+
return de_CommandError(output, context);
|
|
413
|
+
}
|
|
414
|
+
const data = await parseBody(output.body, context);
|
|
415
|
+
let contents = {};
|
|
416
|
+
contents = _json(data);
|
|
417
|
+
const response = {
|
|
418
|
+
$metadata: deserializeMetadata(output),
|
|
419
|
+
...contents,
|
|
420
|
+
};
|
|
421
|
+
return response;
|
|
422
|
+
};
|
|
423
|
+
export const de_ListEngagementByAcceptingInvitationTasksCommand = async (output, context) => {
|
|
424
|
+
if (output.statusCode >= 300) {
|
|
425
|
+
return de_CommandError(output, context);
|
|
426
|
+
}
|
|
427
|
+
const data = await parseBody(output.body, context);
|
|
428
|
+
let contents = {};
|
|
429
|
+
contents = de_ListEngagementByAcceptingInvitationTasksResponse(data, context);
|
|
430
|
+
const response = {
|
|
431
|
+
$metadata: deserializeMetadata(output),
|
|
432
|
+
...contents,
|
|
433
|
+
};
|
|
434
|
+
return response;
|
|
435
|
+
};
|
|
436
|
+
export const de_ListEngagementFromOpportunityTasksCommand = async (output, context) => {
|
|
437
|
+
if (output.statusCode >= 300) {
|
|
438
|
+
return de_CommandError(output, context);
|
|
439
|
+
}
|
|
440
|
+
const data = await parseBody(output.body, context);
|
|
441
|
+
let contents = {};
|
|
442
|
+
contents = de_ListEngagementFromOpportunityTasksResponse(data, context);
|
|
443
|
+
const response = {
|
|
444
|
+
$metadata: deserializeMetadata(output),
|
|
445
|
+
...contents,
|
|
446
|
+
};
|
|
447
|
+
return response;
|
|
448
|
+
};
|
|
173
449
|
export const de_ListEngagementInvitationsCommand = async (output, context) => {
|
|
174
450
|
if (output.statusCode >= 300) {
|
|
175
451
|
return de_CommandError(output, context);
|
|
@@ -183,6 +459,45 @@ export const de_ListEngagementInvitationsCommand = async (output, context) => {
|
|
|
183
459
|
};
|
|
184
460
|
return response;
|
|
185
461
|
};
|
|
462
|
+
export const de_ListEngagementMembersCommand = async (output, context) => {
|
|
463
|
+
if (output.statusCode >= 300) {
|
|
464
|
+
return de_CommandError(output, context);
|
|
465
|
+
}
|
|
466
|
+
const data = await parseBody(output.body, context);
|
|
467
|
+
let contents = {};
|
|
468
|
+
contents = _json(data);
|
|
469
|
+
const response = {
|
|
470
|
+
$metadata: deserializeMetadata(output),
|
|
471
|
+
...contents,
|
|
472
|
+
};
|
|
473
|
+
return response;
|
|
474
|
+
};
|
|
475
|
+
export const de_ListEngagementResourceAssociationsCommand = async (output, context) => {
|
|
476
|
+
if (output.statusCode >= 300) {
|
|
477
|
+
return de_CommandError(output, context);
|
|
478
|
+
}
|
|
479
|
+
const data = await parseBody(output.body, context);
|
|
480
|
+
let contents = {};
|
|
481
|
+
contents = _json(data);
|
|
482
|
+
const response = {
|
|
483
|
+
$metadata: deserializeMetadata(output),
|
|
484
|
+
...contents,
|
|
485
|
+
};
|
|
486
|
+
return response;
|
|
487
|
+
};
|
|
488
|
+
export const de_ListEngagementsCommand = async (output, context) => {
|
|
489
|
+
if (output.statusCode >= 300) {
|
|
490
|
+
return de_CommandError(output, context);
|
|
491
|
+
}
|
|
492
|
+
const data = await parseBody(output.body, context);
|
|
493
|
+
let contents = {};
|
|
494
|
+
contents = de_ListEngagementsResponse(data, context);
|
|
495
|
+
const response = {
|
|
496
|
+
$metadata: deserializeMetadata(output),
|
|
497
|
+
...contents,
|
|
498
|
+
};
|
|
499
|
+
return response;
|
|
500
|
+
};
|
|
186
501
|
export const de_ListOpportunitiesCommand = async (output, context) => {
|
|
187
502
|
if (output.statusCode >= 300) {
|
|
188
503
|
return de_CommandError(output, context);
|
|
@@ -196,6 +511,32 @@ export const de_ListOpportunitiesCommand = async (output, context) => {
|
|
|
196
511
|
};
|
|
197
512
|
return response;
|
|
198
513
|
};
|
|
514
|
+
export const de_ListResourceSnapshotJobsCommand = async (output, context) => {
|
|
515
|
+
if (output.statusCode >= 300) {
|
|
516
|
+
return de_CommandError(output, context);
|
|
517
|
+
}
|
|
518
|
+
const data = await parseBody(output.body, context);
|
|
519
|
+
let contents = {};
|
|
520
|
+
contents = _json(data);
|
|
521
|
+
const response = {
|
|
522
|
+
$metadata: deserializeMetadata(output),
|
|
523
|
+
...contents,
|
|
524
|
+
};
|
|
525
|
+
return response;
|
|
526
|
+
};
|
|
527
|
+
export const de_ListResourceSnapshotsCommand = async (output, context) => {
|
|
528
|
+
if (output.statusCode >= 300) {
|
|
529
|
+
return de_CommandError(output, context);
|
|
530
|
+
}
|
|
531
|
+
const data = await parseBody(output.body, context);
|
|
532
|
+
let contents = {};
|
|
533
|
+
contents = _json(data);
|
|
534
|
+
const response = {
|
|
535
|
+
$metadata: deserializeMetadata(output),
|
|
536
|
+
...contents,
|
|
537
|
+
};
|
|
538
|
+
return response;
|
|
539
|
+
};
|
|
199
540
|
export const de_ListSolutionsCommand = async (output, context) => {
|
|
200
541
|
if (output.statusCode >= 300) {
|
|
201
542
|
return de_CommandError(output, context);
|
|
@@ -209,6 +550,19 @@ export const de_ListSolutionsCommand = async (output, context) => {
|
|
|
209
550
|
};
|
|
210
551
|
return response;
|
|
211
552
|
};
|
|
553
|
+
export const de_PutSellingSystemSettingsCommand = async (output, context) => {
|
|
554
|
+
if (output.statusCode >= 300) {
|
|
555
|
+
return de_CommandError(output, context);
|
|
556
|
+
}
|
|
557
|
+
const data = await parseBody(output.body, context);
|
|
558
|
+
let contents = {};
|
|
559
|
+
contents = _json(data);
|
|
560
|
+
const response = {
|
|
561
|
+
$metadata: deserializeMetadata(output),
|
|
562
|
+
...contents,
|
|
563
|
+
};
|
|
564
|
+
return response;
|
|
565
|
+
};
|
|
212
566
|
export const de_RejectEngagementInvitationCommand = async (output, context) => {
|
|
213
567
|
if (output.statusCode >= 300) {
|
|
214
568
|
return de_CommandError(output, context);
|
|
@@ -245,6 +599,36 @@ export const de_StartEngagementFromOpportunityTaskCommand = async (output, conte
|
|
|
245
599
|
};
|
|
246
600
|
return response;
|
|
247
601
|
};
|
|
602
|
+
export const de_StartResourceSnapshotJobCommand = async (output, context) => {
|
|
603
|
+
if (output.statusCode >= 300) {
|
|
604
|
+
return de_CommandError(output, context);
|
|
605
|
+
}
|
|
606
|
+
await collectBody(output.body, context);
|
|
607
|
+
const response = {
|
|
608
|
+
$metadata: deserializeMetadata(output),
|
|
609
|
+
};
|
|
610
|
+
return response;
|
|
611
|
+
};
|
|
612
|
+
export const de_StopResourceSnapshotJobCommand = async (output, context) => {
|
|
613
|
+
if (output.statusCode >= 300) {
|
|
614
|
+
return de_CommandError(output, context);
|
|
615
|
+
}
|
|
616
|
+
await collectBody(output.body, context);
|
|
617
|
+
const response = {
|
|
618
|
+
$metadata: deserializeMetadata(output),
|
|
619
|
+
};
|
|
620
|
+
return response;
|
|
621
|
+
};
|
|
622
|
+
export const de_SubmitOpportunityCommand = async (output, context) => {
|
|
623
|
+
if (output.statusCode >= 300) {
|
|
624
|
+
return de_CommandError(output, context);
|
|
625
|
+
}
|
|
626
|
+
await collectBody(output.body, context);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output),
|
|
629
|
+
};
|
|
630
|
+
return response;
|
|
631
|
+
};
|
|
248
632
|
export const de_UpdateOpportunityCommand = async (output, context) => {
|
|
249
633
|
if (output.statusCode >= 300) {
|
|
250
634
|
return de_CommandError(output, context);
|
|
@@ -358,6 +742,23 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
358
742
|
});
|
|
359
743
|
return __decorateServiceException(exception, body);
|
|
360
744
|
};
|
|
745
|
+
const se_CreateEngagementInvitationRequest = (input, context) => {
|
|
746
|
+
return take(input, {
|
|
747
|
+
Catalog: [],
|
|
748
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
749
|
+
EngagementIdentifier: [],
|
|
750
|
+
Invitation: _json,
|
|
751
|
+
});
|
|
752
|
+
};
|
|
753
|
+
const se_CreateEngagementRequest = (input, context) => {
|
|
754
|
+
return take(input, {
|
|
755
|
+
Catalog: [],
|
|
756
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
757
|
+
Contexts: _json,
|
|
758
|
+
Description: [],
|
|
759
|
+
Title: [],
|
|
760
|
+
});
|
|
761
|
+
};
|
|
361
762
|
const se_CreateOpportunityRequest = (input, context) => {
|
|
362
763
|
return take(input, {
|
|
363
764
|
Catalog: [],
|
|
@@ -375,6 +776,26 @@ const se_CreateOpportunityRequest = (input, context) => {
|
|
|
375
776
|
SoftwareRevenue: _json,
|
|
376
777
|
});
|
|
377
778
|
};
|
|
779
|
+
const se_CreateResourceSnapshotJobRequest = (input, context) => {
|
|
780
|
+
return take(input, {
|
|
781
|
+
Catalog: [],
|
|
782
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
783
|
+
EngagementIdentifier: [],
|
|
784
|
+
ResourceIdentifier: [],
|
|
785
|
+
ResourceSnapshotTemplateIdentifier: [],
|
|
786
|
+
ResourceType: [],
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
const se_CreateResourceSnapshotRequest = (input, context) => {
|
|
790
|
+
return take(input, {
|
|
791
|
+
Catalog: [],
|
|
792
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
793
|
+
EngagementIdentifier: [],
|
|
794
|
+
ResourceIdentifier: [],
|
|
795
|
+
ResourceSnapshotTemplateIdentifier: [],
|
|
796
|
+
ResourceType: [],
|
|
797
|
+
});
|
|
798
|
+
};
|
|
378
799
|
const se_LastModifiedDate = (input, context) => {
|
|
379
800
|
return take(input, {
|
|
380
801
|
AfterLastModifiedDate: __serializeDateTime,
|
|
@@ -478,10 +899,12 @@ const de_EngagementInvitationSummary = (output, context) => {
|
|
|
478
899
|
return take(output, {
|
|
479
900
|
Arn: __expectString,
|
|
480
901
|
Catalog: __expectString,
|
|
902
|
+
EngagementId: __expectString,
|
|
481
903
|
EngagementTitle: __expectString,
|
|
482
904
|
ExpirationDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
483
905
|
Id: __expectString,
|
|
484
906
|
InvitationDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
907
|
+
ParticipantType: __expectString,
|
|
485
908
|
PayloadType: __expectString,
|
|
486
909
|
Receiver: (_) => _json(__expectUnion(_)),
|
|
487
910
|
SenderAwsAccountId: __expectString,
|
|
@@ -489,6 +912,24 @@ const de_EngagementInvitationSummary = (output, context) => {
|
|
|
489
912
|
Status: __expectString,
|
|
490
913
|
});
|
|
491
914
|
};
|
|
915
|
+
const de_EngagementSummary = (output, context) => {
|
|
916
|
+
return take(output, {
|
|
917
|
+
Arn: __expectString,
|
|
918
|
+
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
919
|
+
CreatedBy: __expectString,
|
|
920
|
+
Id: __expectString,
|
|
921
|
+
MemberCount: __expectInt32,
|
|
922
|
+
Title: __expectString,
|
|
923
|
+
});
|
|
924
|
+
};
|
|
925
|
+
const de_EngagementSummaryList = (output, context) => {
|
|
926
|
+
const retVal = (output || [])
|
|
927
|
+
.filter((e) => e != null)
|
|
928
|
+
.map((entry) => {
|
|
929
|
+
return de_EngagementSummary(entry, context);
|
|
930
|
+
});
|
|
931
|
+
return retVal;
|
|
932
|
+
};
|
|
492
933
|
const de_GetAwsOpportunitySummaryResponse = (output, context) => {
|
|
493
934
|
return take(output, {
|
|
494
935
|
Catalog: __expectString,
|
|
@@ -509,10 +950,14 @@ const de_GetEngagementInvitationResponse = (output, context) => {
|
|
|
509
950
|
return take(output, {
|
|
510
951
|
Arn: __expectString,
|
|
511
952
|
Catalog: __expectString,
|
|
953
|
+
EngagementDescription: __expectString,
|
|
954
|
+
EngagementId: __expectString,
|
|
512
955
|
EngagementTitle: __expectString,
|
|
956
|
+
ExistingMembers: _json,
|
|
513
957
|
ExpirationDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
514
958
|
Id: __expectString,
|
|
515
959
|
InvitationDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
960
|
+
InvitationMessage: __expectString,
|
|
516
961
|
Payload: (_) => _json(__expectUnion(_)),
|
|
517
962
|
PayloadType: __expectString,
|
|
518
963
|
Receiver: (_) => _json(__expectUnion(_)),
|
|
@@ -522,8 +967,21 @@ const de_GetEngagementInvitationResponse = (output, context) => {
|
|
|
522
967
|
Status: __expectString,
|
|
523
968
|
});
|
|
524
969
|
};
|
|
970
|
+
const de_GetEngagementResponse = (output, context) => {
|
|
971
|
+
return take(output, {
|
|
972
|
+
Arn: __expectString,
|
|
973
|
+
Contexts: _json,
|
|
974
|
+
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
975
|
+
CreatedBy: __expectString,
|
|
976
|
+
Description: __expectString,
|
|
977
|
+
Id: __expectString,
|
|
978
|
+
MemberCount: __expectInt32,
|
|
979
|
+
Title: __expectString,
|
|
980
|
+
});
|
|
981
|
+
};
|
|
525
982
|
const de_GetOpportunityResponse = (output, context) => {
|
|
526
983
|
return take(output, {
|
|
984
|
+
Arn: __expectString,
|
|
527
985
|
Catalog: __expectString,
|
|
528
986
|
CreatedDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
529
987
|
Customer: _json,
|
|
@@ -541,6 +999,36 @@ const de_GetOpportunityResponse = (output, context) => {
|
|
|
541
999
|
SoftwareRevenue: _json,
|
|
542
1000
|
});
|
|
543
1001
|
};
|
|
1002
|
+
const de_GetResourceSnapshotJobResponse = (output, context) => {
|
|
1003
|
+
return take(output, {
|
|
1004
|
+
Arn: __expectString,
|
|
1005
|
+
Catalog: __expectString,
|
|
1006
|
+
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1007
|
+
EngagementId: __expectString,
|
|
1008
|
+
Id: __expectString,
|
|
1009
|
+
LastFailure: __expectString,
|
|
1010
|
+
LastSuccessfulExecutionDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1011
|
+
ResourceArn: __expectString,
|
|
1012
|
+
ResourceId: __expectString,
|
|
1013
|
+
ResourceSnapshotTemplateName: __expectString,
|
|
1014
|
+
ResourceType: __expectString,
|
|
1015
|
+
Status: __expectString,
|
|
1016
|
+
});
|
|
1017
|
+
};
|
|
1018
|
+
const de_GetResourceSnapshotResponse = (output, context) => {
|
|
1019
|
+
return take(output, {
|
|
1020
|
+
Arn: __expectString,
|
|
1021
|
+
Catalog: __expectString,
|
|
1022
|
+
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1023
|
+
CreatedBy: __expectString,
|
|
1024
|
+
EngagementId: __expectString,
|
|
1025
|
+
Payload: (_) => _json(__expectUnion(_)),
|
|
1026
|
+
ResourceId: __expectString,
|
|
1027
|
+
ResourceSnapshotTemplateName: __expectString,
|
|
1028
|
+
ResourceType: __expectString,
|
|
1029
|
+
Revision: __expectInt32,
|
|
1030
|
+
});
|
|
1031
|
+
};
|
|
544
1032
|
const de_LifeCycle = (output, context) => {
|
|
545
1033
|
return take(output, {
|
|
546
1034
|
ClosedLostReason: __expectString,
|
|
@@ -553,12 +1041,73 @@ const de_LifeCycle = (output, context) => {
|
|
|
553
1041
|
TargetCloseDate: __expectString,
|
|
554
1042
|
});
|
|
555
1043
|
};
|
|
1044
|
+
const de_ListEngagementByAcceptingInvitationTasksResponse = (output, context) => {
|
|
1045
|
+
return take(output, {
|
|
1046
|
+
NextToken: __expectString,
|
|
1047
|
+
TaskSummaries: (_) => de_ListEngagementByAcceptingInvitationTaskSummaries(_, context),
|
|
1048
|
+
});
|
|
1049
|
+
};
|
|
1050
|
+
const de_ListEngagementByAcceptingInvitationTaskSummaries = (output, context) => {
|
|
1051
|
+
const retVal = (output || [])
|
|
1052
|
+
.filter((e) => e != null)
|
|
1053
|
+
.map((entry) => {
|
|
1054
|
+
return de_ListEngagementByAcceptingInvitationTaskSummary(entry, context);
|
|
1055
|
+
});
|
|
1056
|
+
return retVal;
|
|
1057
|
+
};
|
|
1058
|
+
const de_ListEngagementByAcceptingInvitationTaskSummary = (output, context) => {
|
|
1059
|
+
return take(output, {
|
|
1060
|
+
EngagementInvitationId: __expectString,
|
|
1061
|
+
Message: __expectString,
|
|
1062
|
+
OpportunityId: __expectString,
|
|
1063
|
+
ReasonCode: __expectString,
|
|
1064
|
+
ResourceSnapshotJobId: __expectString,
|
|
1065
|
+
StartTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1066
|
+
TaskArn: __expectString,
|
|
1067
|
+
TaskId: __expectString,
|
|
1068
|
+
TaskStatus: __expectString,
|
|
1069
|
+
});
|
|
1070
|
+
};
|
|
1071
|
+
const de_ListEngagementFromOpportunityTasksResponse = (output, context) => {
|
|
1072
|
+
return take(output, {
|
|
1073
|
+
NextToken: __expectString,
|
|
1074
|
+
TaskSummaries: (_) => de_ListEngagementFromOpportunityTaskSummaries(_, context),
|
|
1075
|
+
});
|
|
1076
|
+
};
|
|
1077
|
+
const de_ListEngagementFromOpportunityTaskSummaries = (output, context) => {
|
|
1078
|
+
const retVal = (output || [])
|
|
1079
|
+
.filter((e) => e != null)
|
|
1080
|
+
.map((entry) => {
|
|
1081
|
+
return de_ListEngagementFromOpportunityTaskSummary(entry, context);
|
|
1082
|
+
});
|
|
1083
|
+
return retVal;
|
|
1084
|
+
};
|
|
1085
|
+
const de_ListEngagementFromOpportunityTaskSummary = (output, context) => {
|
|
1086
|
+
return take(output, {
|
|
1087
|
+
EngagementId: __expectString,
|
|
1088
|
+
EngagementInvitationId: __expectString,
|
|
1089
|
+
Message: __expectString,
|
|
1090
|
+
OpportunityId: __expectString,
|
|
1091
|
+
ReasonCode: __expectString,
|
|
1092
|
+
ResourceSnapshotJobId: __expectString,
|
|
1093
|
+
StartTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1094
|
+
TaskArn: __expectString,
|
|
1095
|
+
TaskId: __expectString,
|
|
1096
|
+
TaskStatus: __expectString,
|
|
1097
|
+
});
|
|
1098
|
+
};
|
|
556
1099
|
const de_ListEngagementInvitationsResponse = (output, context) => {
|
|
557
1100
|
return take(output, {
|
|
558
1101
|
EngagementInvitationSummaries: (_) => de_EngagementInvitationSummaries(_, context),
|
|
559
1102
|
NextToken: __expectString,
|
|
560
1103
|
});
|
|
561
1104
|
};
|
|
1105
|
+
const de_ListEngagementsResponse = (output, context) => {
|
|
1106
|
+
return take(output, {
|
|
1107
|
+
EngagementSummaryList: (_) => de_EngagementSummaryList(_, context),
|
|
1108
|
+
NextToken: __expectString,
|
|
1109
|
+
});
|
|
1110
|
+
};
|
|
562
1111
|
const de_ListOpportunitiesResponse = (output, context) => {
|
|
563
1112
|
return take(output, {
|
|
564
1113
|
NextToken: __expectString,
|
|
@@ -595,6 +1144,7 @@ const de_OpportunitySummaries = (output, context) => {
|
|
|
595
1144
|
};
|
|
596
1145
|
const de_OpportunitySummary = (output, context) => {
|
|
597
1146
|
return take(output, {
|
|
1147
|
+
Arn: __expectString,
|
|
598
1148
|
Catalog: __expectString,
|
|
599
1149
|
CreatedDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
600
1150
|
Customer: _json,
|
|
@@ -622,6 +1172,7 @@ const de_ProfileNextStepsHistory = (output, context) => {
|
|
|
622
1172
|
};
|
|
623
1173
|
const de_SolutionBase = (output, context) => {
|
|
624
1174
|
return take(output, {
|
|
1175
|
+
Arn: __expectString,
|
|
625
1176
|
Catalog: __expectString,
|
|
626
1177
|
Category: __expectString,
|
|
627
1178
|
CreatedDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
@@ -644,6 +1195,7 @@ const de_StartEngagementByAcceptingInvitationTaskResponse = (output, context) =>
|
|
|
644
1195
|
Message: __expectString,
|
|
645
1196
|
OpportunityId: __expectString,
|
|
646
1197
|
ReasonCode: __expectString,
|
|
1198
|
+
ResourceSnapshotJobId: __expectString,
|
|
647
1199
|
StartTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
648
1200
|
TaskArn: __expectString,
|
|
649
1201
|
TaskId: __expectString,
|
|
@@ -652,9 +1204,12 @@ const de_StartEngagementByAcceptingInvitationTaskResponse = (output, context) =>
|
|
|
652
1204
|
};
|
|
653
1205
|
const de_StartEngagementFromOpportunityTaskResponse = (output, context) => {
|
|
654
1206
|
return take(output, {
|
|
1207
|
+
EngagementId: __expectString,
|
|
1208
|
+
EngagementInvitationId: __expectString,
|
|
655
1209
|
Message: __expectString,
|
|
656
1210
|
OpportunityId: __expectString,
|
|
657
1211
|
ReasonCode: __expectString,
|
|
1212
|
+
ResourceSnapshotJobId: __expectString,
|
|
658
1213
|
StartTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
659
1214
|
TaskArn: __expectString,
|
|
660
1215
|
TaskId: __expectString,
|