@aws-sdk/client-service-catalog 3.309.0 → 3.312.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/dist-cjs/protocols/Aws_json1_1.js +96 -360
- package/dist-es/protocols/Aws_json1_1.js +96 -360
- package/package.json +35 -35
|
@@ -10,900 +10,630 @@ const uuid_1 = require("uuid");
|
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const ServiceCatalogServiceException_1 = require("../models/ServiceCatalogServiceException");
|
|
12
12
|
const se_AcceptPortfolioShareCommand = async (input, context) => {
|
|
13
|
-
const headers =
|
|
14
|
-
"content-type": "application/x-amz-json-1.1",
|
|
15
|
-
"x-amz-target": "AWS242ServiceCatalogService.AcceptPortfolioShare",
|
|
16
|
-
};
|
|
13
|
+
const headers = sharedHeaders("AcceptPortfolioShare");
|
|
17
14
|
let body;
|
|
18
15
|
body = JSON.stringify(se_AcceptPortfolioShareInput(input, context));
|
|
19
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
20
17
|
};
|
|
21
18
|
exports.se_AcceptPortfolioShareCommand = se_AcceptPortfolioShareCommand;
|
|
22
19
|
const se_AssociateBudgetWithResourceCommand = async (input, context) => {
|
|
23
|
-
const headers =
|
|
24
|
-
"content-type": "application/x-amz-json-1.1",
|
|
25
|
-
"x-amz-target": "AWS242ServiceCatalogService.AssociateBudgetWithResource",
|
|
26
|
-
};
|
|
20
|
+
const headers = sharedHeaders("AssociateBudgetWithResource");
|
|
27
21
|
let body;
|
|
28
22
|
body = JSON.stringify(se_AssociateBudgetWithResourceInput(input, context));
|
|
29
23
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
24
|
};
|
|
31
25
|
exports.se_AssociateBudgetWithResourceCommand = se_AssociateBudgetWithResourceCommand;
|
|
32
26
|
const se_AssociatePrincipalWithPortfolioCommand = async (input, context) => {
|
|
33
|
-
const headers =
|
|
34
|
-
"content-type": "application/x-amz-json-1.1",
|
|
35
|
-
"x-amz-target": "AWS242ServiceCatalogService.AssociatePrincipalWithPortfolio",
|
|
36
|
-
};
|
|
27
|
+
const headers = sharedHeaders("AssociatePrincipalWithPortfolio");
|
|
37
28
|
let body;
|
|
38
29
|
body = JSON.stringify(se_AssociatePrincipalWithPortfolioInput(input, context));
|
|
39
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
31
|
};
|
|
41
32
|
exports.se_AssociatePrincipalWithPortfolioCommand = se_AssociatePrincipalWithPortfolioCommand;
|
|
42
33
|
const se_AssociateProductWithPortfolioCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-amz-json-1.1",
|
|
45
|
-
"x-amz-target": "AWS242ServiceCatalogService.AssociateProductWithPortfolio",
|
|
46
|
-
};
|
|
34
|
+
const headers = sharedHeaders("AssociateProductWithPortfolio");
|
|
47
35
|
let body;
|
|
48
36
|
body = JSON.stringify(se_AssociateProductWithPortfolioInput(input, context));
|
|
49
37
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
38
|
};
|
|
51
39
|
exports.se_AssociateProductWithPortfolioCommand = se_AssociateProductWithPortfolioCommand;
|
|
52
40
|
const se_AssociateServiceActionWithProvisioningArtifactCommand = async (input, context) => {
|
|
53
|
-
const headers =
|
|
54
|
-
"content-type": "application/x-amz-json-1.1",
|
|
55
|
-
"x-amz-target": "AWS242ServiceCatalogService.AssociateServiceActionWithProvisioningArtifact",
|
|
56
|
-
};
|
|
41
|
+
const headers = sharedHeaders("AssociateServiceActionWithProvisioningArtifact");
|
|
57
42
|
let body;
|
|
58
43
|
body = JSON.stringify(se_AssociateServiceActionWithProvisioningArtifactInput(input, context));
|
|
59
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
45
|
};
|
|
61
46
|
exports.se_AssociateServiceActionWithProvisioningArtifactCommand = se_AssociateServiceActionWithProvisioningArtifactCommand;
|
|
62
47
|
const se_AssociateTagOptionWithResourceCommand = async (input, context) => {
|
|
63
|
-
const headers =
|
|
64
|
-
"content-type": "application/x-amz-json-1.1",
|
|
65
|
-
"x-amz-target": "AWS242ServiceCatalogService.AssociateTagOptionWithResource",
|
|
66
|
-
};
|
|
48
|
+
const headers = sharedHeaders("AssociateTagOptionWithResource");
|
|
67
49
|
let body;
|
|
68
50
|
body = JSON.stringify(se_AssociateTagOptionWithResourceInput(input, context));
|
|
69
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
52
|
};
|
|
71
53
|
exports.se_AssociateTagOptionWithResourceCommand = se_AssociateTagOptionWithResourceCommand;
|
|
72
54
|
const se_BatchAssociateServiceActionWithProvisioningArtifactCommand = async (input, context) => {
|
|
73
|
-
const headers =
|
|
74
|
-
"content-type": "application/x-amz-json-1.1",
|
|
75
|
-
"x-amz-target": "AWS242ServiceCatalogService.BatchAssociateServiceActionWithProvisioningArtifact",
|
|
76
|
-
};
|
|
55
|
+
const headers = sharedHeaders("BatchAssociateServiceActionWithProvisioningArtifact");
|
|
77
56
|
let body;
|
|
78
57
|
body = JSON.stringify(se_BatchAssociateServiceActionWithProvisioningArtifactInput(input, context));
|
|
79
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
80
59
|
};
|
|
81
60
|
exports.se_BatchAssociateServiceActionWithProvisioningArtifactCommand = se_BatchAssociateServiceActionWithProvisioningArtifactCommand;
|
|
82
61
|
const se_BatchDisassociateServiceActionFromProvisioningArtifactCommand = async (input, context) => {
|
|
83
|
-
const headers =
|
|
84
|
-
"content-type": "application/x-amz-json-1.1",
|
|
85
|
-
"x-amz-target": "AWS242ServiceCatalogService.BatchDisassociateServiceActionFromProvisioningArtifact",
|
|
86
|
-
};
|
|
62
|
+
const headers = sharedHeaders("BatchDisassociateServiceActionFromProvisioningArtifact");
|
|
87
63
|
let body;
|
|
88
64
|
body = JSON.stringify(se_BatchDisassociateServiceActionFromProvisioningArtifactInput(input, context));
|
|
89
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
66
|
};
|
|
91
67
|
exports.se_BatchDisassociateServiceActionFromProvisioningArtifactCommand = se_BatchDisassociateServiceActionFromProvisioningArtifactCommand;
|
|
92
68
|
const se_CopyProductCommand = async (input, context) => {
|
|
93
|
-
const headers =
|
|
94
|
-
"content-type": "application/x-amz-json-1.1",
|
|
95
|
-
"x-amz-target": "AWS242ServiceCatalogService.CopyProduct",
|
|
96
|
-
};
|
|
69
|
+
const headers = sharedHeaders("CopyProduct");
|
|
97
70
|
let body;
|
|
98
71
|
body = JSON.stringify(se_CopyProductInput(input, context));
|
|
99
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
73
|
};
|
|
101
74
|
exports.se_CopyProductCommand = se_CopyProductCommand;
|
|
102
75
|
const se_CreateConstraintCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-amz-json-1.1",
|
|
105
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreateConstraint",
|
|
106
|
-
};
|
|
76
|
+
const headers = sharedHeaders("CreateConstraint");
|
|
107
77
|
let body;
|
|
108
78
|
body = JSON.stringify(se_CreateConstraintInput(input, context));
|
|
109
79
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
110
80
|
};
|
|
111
81
|
exports.se_CreateConstraintCommand = se_CreateConstraintCommand;
|
|
112
82
|
const se_CreatePortfolioCommand = async (input, context) => {
|
|
113
|
-
const headers =
|
|
114
|
-
"content-type": "application/x-amz-json-1.1",
|
|
115
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreatePortfolio",
|
|
116
|
-
};
|
|
83
|
+
const headers = sharedHeaders("CreatePortfolio");
|
|
117
84
|
let body;
|
|
118
85
|
body = JSON.stringify(se_CreatePortfolioInput(input, context));
|
|
119
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
87
|
};
|
|
121
88
|
exports.se_CreatePortfolioCommand = se_CreatePortfolioCommand;
|
|
122
89
|
const se_CreatePortfolioShareCommand = async (input, context) => {
|
|
123
|
-
const headers =
|
|
124
|
-
"content-type": "application/x-amz-json-1.1",
|
|
125
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreatePortfolioShare",
|
|
126
|
-
};
|
|
90
|
+
const headers = sharedHeaders("CreatePortfolioShare");
|
|
127
91
|
let body;
|
|
128
92
|
body = JSON.stringify(se_CreatePortfolioShareInput(input, context));
|
|
129
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
94
|
};
|
|
131
95
|
exports.se_CreatePortfolioShareCommand = se_CreatePortfolioShareCommand;
|
|
132
96
|
const se_CreateProductCommand = async (input, context) => {
|
|
133
|
-
const headers =
|
|
134
|
-
"content-type": "application/x-amz-json-1.1",
|
|
135
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreateProduct",
|
|
136
|
-
};
|
|
97
|
+
const headers = sharedHeaders("CreateProduct");
|
|
137
98
|
let body;
|
|
138
99
|
body = JSON.stringify(se_CreateProductInput(input, context));
|
|
139
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
101
|
};
|
|
141
102
|
exports.se_CreateProductCommand = se_CreateProductCommand;
|
|
142
103
|
const se_CreateProvisionedProductPlanCommand = async (input, context) => {
|
|
143
|
-
const headers =
|
|
144
|
-
"content-type": "application/x-amz-json-1.1",
|
|
145
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreateProvisionedProductPlan",
|
|
146
|
-
};
|
|
104
|
+
const headers = sharedHeaders("CreateProvisionedProductPlan");
|
|
147
105
|
let body;
|
|
148
106
|
body = JSON.stringify(se_CreateProvisionedProductPlanInput(input, context));
|
|
149
107
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
108
|
};
|
|
151
109
|
exports.se_CreateProvisionedProductPlanCommand = se_CreateProvisionedProductPlanCommand;
|
|
152
110
|
const se_CreateProvisioningArtifactCommand = async (input, context) => {
|
|
153
|
-
const headers =
|
|
154
|
-
"content-type": "application/x-amz-json-1.1",
|
|
155
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreateProvisioningArtifact",
|
|
156
|
-
};
|
|
111
|
+
const headers = sharedHeaders("CreateProvisioningArtifact");
|
|
157
112
|
let body;
|
|
158
113
|
body = JSON.stringify(se_CreateProvisioningArtifactInput(input, context));
|
|
159
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
115
|
};
|
|
161
116
|
exports.se_CreateProvisioningArtifactCommand = se_CreateProvisioningArtifactCommand;
|
|
162
117
|
const se_CreateServiceActionCommand = async (input, context) => {
|
|
163
|
-
const headers =
|
|
164
|
-
"content-type": "application/x-amz-json-1.1",
|
|
165
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreateServiceAction",
|
|
166
|
-
};
|
|
118
|
+
const headers = sharedHeaders("CreateServiceAction");
|
|
167
119
|
let body;
|
|
168
120
|
body = JSON.stringify(se_CreateServiceActionInput(input, context));
|
|
169
121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
170
122
|
};
|
|
171
123
|
exports.se_CreateServiceActionCommand = se_CreateServiceActionCommand;
|
|
172
124
|
const se_CreateTagOptionCommand = async (input, context) => {
|
|
173
|
-
const headers =
|
|
174
|
-
"content-type": "application/x-amz-json-1.1",
|
|
175
|
-
"x-amz-target": "AWS242ServiceCatalogService.CreateTagOption",
|
|
176
|
-
};
|
|
125
|
+
const headers = sharedHeaders("CreateTagOption");
|
|
177
126
|
let body;
|
|
178
127
|
body = JSON.stringify(se_CreateTagOptionInput(input, context));
|
|
179
128
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
129
|
};
|
|
181
130
|
exports.se_CreateTagOptionCommand = se_CreateTagOptionCommand;
|
|
182
131
|
const se_DeleteConstraintCommand = async (input, context) => {
|
|
183
|
-
const headers =
|
|
184
|
-
"content-type": "application/x-amz-json-1.1",
|
|
185
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeleteConstraint",
|
|
186
|
-
};
|
|
132
|
+
const headers = sharedHeaders("DeleteConstraint");
|
|
187
133
|
let body;
|
|
188
134
|
body = JSON.stringify(se_DeleteConstraintInput(input, context));
|
|
189
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
136
|
};
|
|
191
137
|
exports.se_DeleteConstraintCommand = se_DeleteConstraintCommand;
|
|
192
138
|
const se_DeletePortfolioCommand = async (input, context) => {
|
|
193
|
-
const headers =
|
|
194
|
-
"content-type": "application/x-amz-json-1.1",
|
|
195
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeletePortfolio",
|
|
196
|
-
};
|
|
139
|
+
const headers = sharedHeaders("DeletePortfolio");
|
|
197
140
|
let body;
|
|
198
141
|
body = JSON.stringify(se_DeletePortfolioInput(input, context));
|
|
199
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
200
143
|
};
|
|
201
144
|
exports.se_DeletePortfolioCommand = se_DeletePortfolioCommand;
|
|
202
145
|
const se_DeletePortfolioShareCommand = async (input, context) => {
|
|
203
|
-
const headers =
|
|
204
|
-
"content-type": "application/x-amz-json-1.1",
|
|
205
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeletePortfolioShare",
|
|
206
|
-
};
|
|
146
|
+
const headers = sharedHeaders("DeletePortfolioShare");
|
|
207
147
|
let body;
|
|
208
148
|
body = JSON.stringify(se_DeletePortfolioShareInput(input, context));
|
|
209
149
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
150
|
};
|
|
211
151
|
exports.se_DeletePortfolioShareCommand = se_DeletePortfolioShareCommand;
|
|
212
152
|
const se_DeleteProductCommand = async (input, context) => {
|
|
213
|
-
const headers =
|
|
214
|
-
"content-type": "application/x-amz-json-1.1",
|
|
215
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeleteProduct",
|
|
216
|
-
};
|
|
153
|
+
const headers = sharedHeaders("DeleteProduct");
|
|
217
154
|
let body;
|
|
218
155
|
body = JSON.stringify(se_DeleteProductInput(input, context));
|
|
219
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
157
|
};
|
|
221
158
|
exports.se_DeleteProductCommand = se_DeleteProductCommand;
|
|
222
159
|
const se_DeleteProvisionedProductPlanCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-amz-json-1.1",
|
|
225
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeleteProvisionedProductPlan",
|
|
226
|
-
};
|
|
160
|
+
const headers = sharedHeaders("DeleteProvisionedProductPlan");
|
|
227
161
|
let body;
|
|
228
162
|
body = JSON.stringify(se_DeleteProvisionedProductPlanInput(input, context));
|
|
229
163
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
164
|
};
|
|
231
165
|
exports.se_DeleteProvisionedProductPlanCommand = se_DeleteProvisionedProductPlanCommand;
|
|
232
166
|
const se_DeleteProvisioningArtifactCommand = async (input, context) => {
|
|
233
|
-
const headers =
|
|
234
|
-
"content-type": "application/x-amz-json-1.1",
|
|
235
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeleteProvisioningArtifact",
|
|
236
|
-
};
|
|
167
|
+
const headers = sharedHeaders("DeleteProvisioningArtifact");
|
|
237
168
|
let body;
|
|
238
169
|
body = JSON.stringify(se_DeleteProvisioningArtifactInput(input, context));
|
|
239
170
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
171
|
};
|
|
241
172
|
exports.se_DeleteProvisioningArtifactCommand = se_DeleteProvisioningArtifactCommand;
|
|
242
173
|
const se_DeleteServiceActionCommand = async (input, context) => {
|
|
243
|
-
const headers =
|
|
244
|
-
"content-type": "application/x-amz-json-1.1",
|
|
245
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeleteServiceAction",
|
|
246
|
-
};
|
|
174
|
+
const headers = sharedHeaders("DeleteServiceAction");
|
|
247
175
|
let body;
|
|
248
176
|
body = JSON.stringify(se_DeleteServiceActionInput(input, context));
|
|
249
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
178
|
};
|
|
251
179
|
exports.se_DeleteServiceActionCommand = se_DeleteServiceActionCommand;
|
|
252
180
|
const se_DeleteTagOptionCommand = async (input, context) => {
|
|
253
|
-
const headers =
|
|
254
|
-
"content-type": "application/x-amz-json-1.1",
|
|
255
|
-
"x-amz-target": "AWS242ServiceCatalogService.DeleteTagOption",
|
|
256
|
-
};
|
|
181
|
+
const headers = sharedHeaders("DeleteTagOption");
|
|
257
182
|
let body;
|
|
258
183
|
body = JSON.stringify(se_DeleteTagOptionInput(input, context));
|
|
259
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
185
|
};
|
|
261
186
|
exports.se_DeleteTagOptionCommand = se_DeleteTagOptionCommand;
|
|
262
187
|
const se_DescribeConstraintCommand = async (input, context) => {
|
|
263
|
-
const headers =
|
|
264
|
-
"content-type": "application/x-amz-json-1.1",
|
|
265
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeConstraint",
|
|
266
|
-
};
|
|
188
|
+
const headers = sharedHeaders("DescribeConstraint");
|
|
267
189
|
let body;
|
|
268
190
|
body = JSON.stringify(se_DescribeConstraintInput(input, context));
|
|
269
191
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
192
|
};
|
|
271
193
|
exports.se_DescribeConstraintCommand = se_DescribeConstraintCommand;
|
|
272
194
|
const se_DescribeCopyProductStatusCommand = async (input, context) => {
|
|
273
|
-
const headers =
|
|
274
|
-
"content-type": "application/x-amz-json-1.1",
|
|
275
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeCopyProductStatus",
|
|
276
|
-
};
|
|
195
|
+
const headers = sharedHeaders("DescribeCopyProductStatus");
|
|
277
196
|
let body;
|
|
278
197
|
body = JSON.stringify(se_DescribeCopyProductStatusInput(input, context));
|
|
279
198
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
280
199
|
};
|
|
281
200
|
exports.se_DescribeCopyProductStatusCommand = se_DescribeCopyProductStatusCommand;
|
|
282
201
|
const se_DescribePortfolioCommand = async (input, context) => {
|
|
283
|
-
const headers =
|
|
284
|
-
"content-type": "application/x-amz-json-1.1",
|
|
285
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribePortfolio",
|
|
286
|
-
};
|
|
202
|
+
const headers = sharedHeaders("DescribePortfolio");
|
|
287
203
|
let body;
|
|
288
204
|
body = JSON.stringify(se_DescribePortfolioInput(input, context));
|
|
289
205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
290
206
|
};
|
|
291
207
|
exports.se_DescribePortfolioCommand = se_DescribePortfolioCommand;
|
|
292
208
|
const se_DescribePortfolioSharesCommand = async (input, context) => {
|
|
293
|
-
const headers =
|
|
294
|
-
"content-type": "application/x-amz-json-1.1",
|
|
295
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribePortfolioShares",
|
|
296
|
-
};
|
|
209
|
+
const headers = sharedHeaders("DescribePortfolioShares");
|
|
297
210
|
let body;
|
|
298
211
|
body = JSON.stringify(se_DescribePortfolioSharesInput(input, context));
|
|
299
212
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
213
|
};
|
|
301
214
|
exports.se_DescribePortfolioSharesCommand = se_DescribePortfolioSharesCommand;
|
|
302
215
|
const se_DescribePortfolioShareStatusCommand = async (input, context) => {
|
|
303
|
-
const headers =
|
|
304
|
-
"content-type": "application/x-amz-json-1.1",
|
|
305
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribePortfolioShareStatus",
|
|
306
|
-
};
|
|
216
|
+
const headers = sharedHeaders("DescribePortfolioShareStatus");
|
|
307
217
|
let body;
|
|
308
218
|
body = JSON.stringify(se_DescribePortfolioShareStatusInput(input, context));
|
|
309
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
220
|
};
|
|
311
221
|
exports.se_DescribePortfolioShareStatusCommand = se_DescribePortfolioShareStatusCommand;
|
|
312
222
|
const se_DescribeProductCommand = async (input, context) => {
|
|
313
|
-
const headers =
|
|
314
|
-
"content-type": "application/x-amz-json-1.1",
|
|
315
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProduct",
|
|
316
|
-
};
|
|
223
|
+
const headers = sharedHeaders("DescribeProduct");
|
|
317
224
|
let body;
|
|
318
225
|
body = JSON.stringify(se_DescribeProductInput(input, context));
|
|
319
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
227
|
};
|
|
321
228
|
exports.se_DescribeProductCommand = se_DescribeProductCommand;
|
|
322
229
|
const se_DescribeProductAsAdminCommand = async (input, context) => {
|
|
323
|
-
const headers =
|
|
324
|
-
"content-type": "application/x-amz-json-1.1",
|
|
325
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProductAsAdmin",
|
|
326
|
-
};
|
|
230
|
+
const headers = sharedHeaders("DescribeProductAsAdmin");
|
|
327
231
|
let body;
|
|
328
232
|
body = JSON.stringify(se_DescribeProductAsAdminInput(input, context));
|
|
329
233
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
234
|
};
|
|
331
235
|
exports.se_DescribeProductAsAdminCommand = se_DescribeProductAsAdminCommand;
|
|
332
236
|
const se_DescribeProductViewCommand = async (input, context) => {
|
|
333
|
-
const headers =
|
|
334
|
-
"content-type": "application/x-amz-json-1.1",
|
|
335
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProductView",
|
|
336
|
-
};
|
|
237
|
+
const headers = sharedHeaders("DescribeProductView");
|
|
337
238
|
let body;
|
|
338
239
|
body = JSON.stringify(se_DescribeProductViewInput(input, context));
|
|
339
240
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
340
241
|
};
|
|
341
242
|
exports.se_DescribeProductViewCommand = se_DescribeProductViewCommand;
|
|
342
243
|
const se_DescribeProvisionedProductCommand = async (input, context) => {
|
|
343
|
-
const headers =
|
|
344
|
-
"content-type": "application/x-amz-json-1.1",
|
|
345
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProvisionedProduct",
|
|
346
|
-
};
|
|
244
|
+
const headers = sharedHeaders("DescribeProvisionedProduct");
|
|
347
245
|
let body;
|
|
348
246
|
body = JSON.stringify(se_DescribeProvisionedProductInput(input, context));
|
|
349
247
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
350
248
|
};
|
|
351
249
|
exports.se_DescribeProvisionedProductCommand = se_DescribeProvisionedProductCommand;
|
|
352
250
|
const se_DescribeProvisionedProductPlanCommand = async (input, context) => {
|
|
353
|
-
const headers =
|
|
354
|
-
"content-type": "application/x-amz-json-1.1",
|
|
355
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProvisionedProductPlan",
|
|
356
|
-
};
|
|
251
|
+
const headers = sharedHeaders("DescribeProvisionedProductPlan");
|
|
357
252
|
let body;
|
|
358
253
|
body = JSON.stringify(se_DescribeProvisionedProductPlanInput(input, context));
|
|
359
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
255
|
};
|
|
361
256
|
exports.se_DescribeProvisionedProductPlanCommand = se_DescribeProvisionedProductPlanCommand;
|
|
362
257
|
const se_DescribeProvisioningArtifactCommand = async (input, context) => {
|
|
363
|
-
const headers =
|
|
364
|
-
"content-type": "application/x-amz-json-1.1",
|
|
365
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProvisioningArtifact",
|
|
366
|
-
};
|
|
258
|
+
const headers = sharedHeaders("DescribeProvisioningArtifact");
|
|
367
259
|
let body;
|
|
368
260
|
body = JSON.stringify(se_DescribeProvisioningArtifactInput(input, context));
|
|
369
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
370
262
|
};
|
|
371
263
|
exports.se_DescribeProvisioningArtifactCommand = se_DescribeProvisioningArtifactCommand;
|
|
372
264
|
const se_DescribeProvisioningParametersCommand = async (input, context) => {
|
|
373
|
-
const headers =
|
|
374
|
-
"content-type": "application/x-amz-json-1.1",
|
|
375
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeProvisioningParameters",
|
|
376
|
-
};
|
|
265
|
+
const headers = sharedHeaders("DescribeProvisioningParameters");
|
|
377
266
|
let body;
|
|
378
267
|
body = JSON.stringify(se_DescribeProvisioningParametersInput(input, context));
|
|
379
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
380
269
|
};
|
|
381
270
|
exports.se_DescribeProvisioningParametersCommand = se_DescribeProvisioningParametersCommand;
|
|
382
271
|
const se_DescribeRecordCommand = async (input, context) => {
|
|
383
|
-
const headers =
|
|
384
|
-
"content-type": "application/x-amz-json-1.1",
|
|
385
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeRecord",
|
|
386
|
-
};
|
|
272
|
+
const headers = sharedHeaders("DescribeRecord");
|
|
387
273
|
let body;
|
|
388
274
|
body = JSON.stringify(se_DescribeRecordInput(input, context));
|
|
389
275
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
390
276
|
};
|
|
391
277
|
exports.se_DescribeRecordCommand = se_DescribeRecordCommand;
|
|
392
278
|
const se_DescribeServiceActionCommand = async (input, context) => {
|
|
393
|
-
const headers =
|
|
394
|
-
"content-type": "application/x-amz-json-1.1",
|
|
395
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeServiceAction",
|
|
396
|
-
};
|
|
279
|
+
const headers = sharedHeaders("DescribeServiceAction");
|
|
397
280
|
let body;
|
|
398
281
|
body = JSON.stringify(se_DescribeServiceActionInput(input, context));
|
|
399
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
283
|
};
|
|
401
284
|
exports.se_DescribeServiceActionCommand = se_DescribeServiceActionCommand;
|
|
402
285
|
const se_DescribeServiceActionExecutionParametersCommand = async (input, context) => {
|
|
403
|
-
const headers =
|
|
404
|
-
"content-type": "application/x-amz-json-1.1",
|
|
405
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeServiceActionExecutionParameters",
|
|
406
|
-
};
|
|
286
|
+
const headers = sharedHeaders("DescribeServiceActionExecutionParameters");
|
|
407
287
|
let body;
|
|
408
288
|
body = JSON.stringify(se_DescribeServiceActionExecutionParametersInput(input, context));
|
|
409
289
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
290
|
};
|
|
411
291
|
exports.se_DescribeServiceActionExecutionParametersCommand = se_DescribeServiceActionExecutionParametersCommand;
|
|
412
292
|
const se_DescribeTagOptionCommand = async (input, context) => {
|
|
413
|
-
const headers =
|
|
414
|
-
"content-type": "application/x-amz-json-1.1",
|
|
415
|
-
"x-amz-target": "AWS242ServiceCatalogService.DescribeTagOption",
|
|
416
|
-
};
|
|
293
|
+
const headers = sharedHeaders("DescribeTagOption");
|
|
417
294
|
let body;
|
|
418
295
|
body = JSON.stringify(se_DescribeTagOptionInput(input, context));
|
|
419
296
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
420
297
|
};
|
|
421
298
|
exports.se_DescribeTagOptionCommand = se_DescribeTagOptionCommand;
|
|
422
299
|
const se_DisableAWSOrganizationsAccessCommand = async (input, context) => {
|
|
423
|
-
const headers =
|
|
424
|
-
"content-type": "application/x-amz-json-1.1",
|
|
425
|
-
"x-amz-target": "AWS242ServiceCatalogService.DisableAWSOrganizationsAccess",
|
|
426
|
-
};
|
|
300
|
+
const headers = sharedHeaders("DisableAWSOrganizationsAccess");
|
|
427
301
|
let body;
|
|
428
302
|
body = JSON.stringify(se_DisableAWSOrganizationsAccessInput(input, context));
|
|
429
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
430
304
|
};
|
|
431
305
|
exports.se_DisableAWSOrganizationsAccessCommand = se_DisableAWSOrganizationsAccessCommand;
|
|
432
306
|
const se_DisassociateBudgetFromResourceCommand = async (input, context) => {
|
|
433
|
-
const headers =
|
|
434
|
-
"content-type": "application/x-amz-json-1.1",
|
|
435
|
-
"x-amz-target": "AWS242ServiceCatalogService.DisassociateBudgetFromResource",
|
|
436
|
-
};
|
|
307
|
+
const headers = sharedHeaders("DisassociateBudgetFromResource");
|
|
437
308
|
let body;
|
|
438
309
|
body = JSON.stringify(se_DisassociateBudgetFromResourceInput(input, context));
|
|
439
310
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
440
311
|
};
|
|
441
312
|
exports.se_DisassociateBudgetFromResourceCommand = se_DisassociateBudgetFromResourceCommand;
|
|
442
313
|
const se_DisassociatePrincipalFromPortfolioCommand = async (input, context) => {
|
|
443
|
-
const headers =
|
|
444
|
-
"content-type": "application/x-amz-json-1.1",
|
|
445
|
-
"x-amz-target": "AWS242ServiceCatalogService.DisassociatePrincipalFromPortfolio",
|
|
446
|
-
};
|
|
314
|
+
const headers = sharedHeaders("DisassociatePrincipalFromPortfolio");
|
|
447
315
|
let body;
|
|
448
316
|
body = JSON.stringify(se_DisassociatePrincipalFromPortfolioInput(input, context));
|
|
449
317
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
450
318
|
};
|
|
451
319
|
exports.se_DisassociatePrincipalFromPortfolioCommand = se_DisassociatePrincipalFromPortfolioCommand;
|
|
452
320
|
const se_DisassociateProductFromPortfolioCommand = async (input, context) => {
|
|
453
|
-
const headers =
|
|
454
|
-
"content-type": "application/x-amz-json-1.1",
|
|
455
|
-
"x-amz-target": "AWS242ServiceCatalogService.DisassociateProductFromPortfolio",
|
|
456
|
-
};
|
|
321
|
+
const headers = sharedHeaders("DisassociateProductFromPortfolio");
|
|
457
322
|
let body;
|
|
458
323
|
body = JSON.stringify(se_DisassociateProductFromPortfolioInput(input, context));
|
|
459
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
460
325
|
};
|
|
461
326
|
exports.se_DisassociateProductFromPortfolioCommand = se_DisassociateProductFromPortfolioCommand;
|
|
462
327
|
const se_DisassociateServiceActionFromProvisioningArtifactCommand = async (input, context) => {
|
|
463
|
-
const headers =
|
|
464
|
-
"content-type": "application/x-amz-json-1.1",
|
|
465
|
-
"x-amz-target": "AWS242ServiceCatalogService.DisassociateServiceActionFromProvisioningArtifact",
|
|
466
|
-
};
|
|
328
|
+
const headers = sharedHeaders("DisassociateServiceActionFromProvisioningArtifact");
|
|
467
329
|
let body;
|
|
468
330
|
body = JSON.stringify(se_DisassociateServiceActionFromProvisioningArtifactInput(input, context));
|
|
469
331
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
470
332
|
};
|
|
471
333
|
exports.se_DisassociateServiceActionFromProvisioningArtifactCommand = se_DisassociateServiceActionFromProvisioningArtifactCommand;
|
|
472
334
|
const se_DisassociateTagOptionFromResourceCommand = async (input, context) => {
|
|
473
|
-
const headers =
|
|
474
|
-
"content-type": "application/x-amz-json-1.1",
|
|
475
|
-
"x-amz-target": "AWS242ServiceCatalogService.DisassociateTagOptionFromResource",
|
|
476
|
-
};
|
|
335
|
+
const headers = sharedHeaders("DisassociateTagOptionFromResource");
|
|
477
336
|
let body;
|
|
478
337
|
body = JSON.stringify(se_DisassociateTagOptionFromResourceInput(input, context));
|
|
479
338
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
480
339
|
};
|
|
481
340
|
exports.se_DisassociateTagOptionFromResourceCommand = se_DisassociateTagOptionFromResourceCommand;
|
|
482
341
|
const se_EnableAWSOrganizationsAccessCommand = async (input, context) => {
|
|
483
|
-
const headers =
|
|
484
|
-
"content-type": "application/x-amz-json-1.1",
|
|
485
|
-
"x-amz-target": "AWS242ServiceCatalogService.EnableAWSOrganizationsAccess",
|
|
486
|
-
};
|
|
342
|
+
const headers = sharedHeaders("EnableAWSOrganizationsAccess");
|
|
487
343
|
let body;
|
|
488
344
|
body = JSON.stringify(se_EnableAWSOrganizationsAccessInput(input, context));
|
|
489
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
490
346
|
};
|
|
491
347
|
exports.se_EnableAWSOrganizationsAccessCommand = se_EnableAWSOrganizationsAccessCommand;
|
|
492
348
|
const se_ExecuteProvisionedProductPlanCommand = async (input, context) => {
|
|
493
|
-
const headers =
|
|
494
|
-
"content-type": "application/x-amz-json-1.1",
|
|
495
|
-
"x-amz-target": "AWS242ServiceCatalogService.ExecuteProvisionedProductPlan",
|
|
496
|
-
};
|
|
349
|
+
const headers = sharedHeaders("ExecuteProvisionedProductPlan");
|
|
497
350
|
let body;
|
|
498
351
|
body = JSON.stringify(se_ExecuteProvisionedProductPlanInput(input, context));
|
|
499
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
500
353
|
};
|
|
501
354
|
exports.se_ExecuteProvisionedProductPlanCommand = se_ExecuteProvisionedProductPlanCommand;
|
|
502
355
|
const se_ExecuteProvisionedProductServiceActionCommand = async (input, context) => {
|
|
503
|
-
const headers =
|
|
504
|
-
"content-type": "application/x-amz-json-1.1",
|
|
505
|
-
"x-amz-target": "AWS242ServiceCatalogService.ExecuteProvisionedProductServiceAction",
|
|
506
|
-
};
|
|
356
|
+
const headers = sharedHeaders("ExecuteProvisionedProductServiceAction");
|
|
507
357
|
let body;
|
|
508
358
|
body = JSON.stringify(se_ExecuteProvisionedProductServiceActionInput(input, context));
|
|
509
359
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
360
|
};
|
|
511
361
|
exports.se_ExecuteProvisionedProductServiceActionCommand = se_ExecuteProvisionedProductServiceActionCommand;
|
|
512
362
|
const se_GetAWSOrganizationsAccessStatusCommand = async (input, context) => {
|
|
513
|
-
const headers =
|
|
514
|
-
"content-type": "application/x-amz-json-1.1",
|
|
515
|
-
"x-amz-target": "AWS242ServiceCatalogService.GetAWSOrganizationsAccessStatus",
|
|
516
|
-
};
|
|
363
|
+
const headers = sharedHeaders("GetAWSOrganizationsAccessStatus");
|
|
517
364
|
let body;
|
|
518
365
|
body = JSON.stringify(se_GetAWSOrganizationsAccessStatusInput(input, context));
|
|
519
366
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
520
367
|
};
|
|
521
368
|
exports.se_GetAWSOrganizationsAccessStatusCommand = se_GetAWSOrganizationsAccessStatusCommand;
|
|
522
369
|
const se_GetProvisionedProductOutputsCommand = async (input, context) => {
|
|
523
|
-
const headers =
|
|
524
|
-
"content-type": "application/x-amz-json-1.1",
|
|
525
|
-
"x-amz-target": "AWS242ServiceCatalogService.GetProvisionedProductOutputs",
|
|
526
|
-
};
|
|
370
|
+
const headers = sharedHeaders("GetProvisionedProductOutputs");
|
|
527
371
|
let body;
|
|
528
372
|
body = JSON.stringify(se_GetProvisionedProductOutputsInput(input, context));
|
|
529
373
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
530
374
|
};
|
|
531
375
|
exports.se_GetProvisionedProductOutputsCommand = se_GetProvisionedProductOutputsCommand;
|
|
532
376
|
const se_ImportAsProvisionedProductCommand = async (input, context) => {
|
|
533
|
-
const headers =
|
|
534
|
-
"content-type": "application/x-amz-json-1.1",
|
|
535
|
-
"x-amz-target": "AWS242ServiceCatalogService.ImportAsProvisionedProduct",
|
|
536
|
-
};
|
|
377
|
+
const headers = sharedHeaders("ImportAsProvisionedProduct");
|
|
537
378
|
let body;
|
|
538
379
|
body = JSON.stringify(se_ImportAsProvisionedProductInput(input, context));
|
|
539
380
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
540
381
|
};
|
|
541
382
|
exports.se_ImportAsProvisionedProductCommand = se_ImportAsProvisionedProductCommand;
|
|
542
383
|
const se_ListAcceptedPortfolioSharesCommand = async (input, context) => {
|
|
543
|
-
const headers =
|
|
544
|
-
"content-type": "application/x-amz-json-1.1",
|
|
545
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListAcceptedPortfolioShares",
|
|
546
|
-
};
|
|
384
|
+
const headers = sharedHeaders("ListAcceptedPortfolioShares");
|
|
547
385
|
let body;
|
|
548
386
|
body = JSON.stringify(se_ListAcceptedPortfolioSharesInput(input, context));
|
|
549
387
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
550
388
|
};
|
|
551
389
|
exports.se_ListAcceptedPortfolioSharesCommand = se_ListAcceptedPortfolioSharesCommand;
|
|
552
390
|
const se_ListBudgetsForResourceCommand = async (input, context) => {
|
|
553
|
-
const headers =
|
|
554
|
-
"content-type": "application/x-amz-json-1.1",
|
|
555
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListBudgetsForResource",
|
|
556
|
-
};
|
|
391
|
+
const headers = sharedHeaders("ListBudgetsForResource");
|
|
557
392
|
let body;
|
|
558
393
|
body = JSON.stringify(se_ListBudgetsForResourceInput(input, context));
|
|
559
394
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
560
395
|
};
|
|
561
396
|
exports.se_ListBudgetsForResourceCommand = se_ListBudgetsForResourceCommand;
|
|
562
397
|
const se_ListConstraintsForPortfolioCommand = async (input, context) => {
|
|
563
|
-
const headers =
|
|
564
|
-
"content-type": "application/x-amz-json-1.1",
|
|
565
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListConstraintsForPortfolio",
|
|
566
|
-
};
|
|
398
|
+
const headers = sharedHeaders("ListConstraintsForPortfolio");
|
|
567
399
|
let body;
|
|
568
400
|
body = JSON.stringify(se_ListConstraintsForPortfolioInput(input, context));
|
|
569
401
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
570
402
|
};
|
|
571
403
|
exports.se_ListConstraintsForPortfolioCommand = se_ListConstraintsForPortfolioCommand;
|
|
572
404
|
const se_ListLaunchPathsCommand = async (input, context) => {
|
|
573
|
-
const headers =
|
|
574
|
-
"content-type": "application/x-amz-json-1.1",
|
|
575
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListLaunchPaths",
|
|
576
|
-
};
|
|
405
|
+
const headers = sharedHeaders("ListLaunchPaths");
|
|
577
406
|
let body;
|
|
578
407
|
body = JSON.stringify(se_ListLaunchPathsInput(input, context));
|
|
579
408
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
580
409
|
};
|
|
581
410
|
exports.se_ListLaunchPathsCommand = se_ListLaunchPathsCommand;
|
|
582
411
|
const se_ListOrganizationPortfolioAccessCommand = async (input, context) => {
|
|
583
|
-
const headers =
|
|
584
|
-
"content-type": "application/x-amz-json-1.1",
|
|
585
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListOrganizationPortfolioAccess",
|
|
586
|
-
};
|
|
412
|
+
const headers = sharedHeaders("ListOrganizationPortfolioAccess");
|
|
587
413
|
let body;
|
|
588
414
|
body = JSON.stringify(se_ListOrganizationPortfolioAccessInput(input, context));
|
|
589
415
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
590
416
|
};
|
|
591
417
|
exports.se_ListOrganizationPortfolioAccessCommand = se_ListOrganizationPortfolioAccessCommand;
|
|
592
418
|
const se_ListPortfolioAccessCommand = async (input, context) => {
|
|
593
|
-
const headers =
|
|
594
|
-
"content-type": "application/x-amz-json-1.1",
|
|
595
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListPortfolioAccess",
|
|
596
|
-
};
|
|
419
|
+
const headers = sharedHeaders("ListPortfolioAccess");
|
|
597
420
|
let body;
|
|
598
421
|
body = JSON.stringify(se_ListPortfolioAccessInput(input, context));
|
|
599
422
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
600
423
|
};
|
|
601
424
|
exports.se_ListPortfolioAccessCommand = se_ListPortfolioAccessCommand;
|
|
602
425
|
const se_ListPortfoliosCommand = async (input, context) => {
|
|
603
|
-
const headers =
|
|
604
|
-
"content-type": "application/x-amz-json-1.1",
|
|
605
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListPortfolios",
|
|
606
|
-
};
|
|
426
|
+
const headers = sharedHeaders("ListPortfolios");
|
|
607
427
|
let body;
|
|
608
428
|
body = JSON.stringify(se_ListPortfoliosInput(input, context));
|
|
609
429
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
610
430
|
};
|
|
611
431
|
exports.se_ListPortfoliosCommand = se_ListPortfoliosCommand;
|
|
612
432
|
const se_ListPortfoliosForProductCommand = async (input, context) => {
|
|
613
|
-
const headers =
|
|
614
|
-
"content-type": "application/x-amz-json-1.1",
|
|
615
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListPortfoliosForProduct",
|
|
616
|
-
};
|
|
433
|
+
const headers = sharedHeaders("ListPortfoliosForProduct");
|
|
617
434
|
let body;
|
|
618
435
|
body = JSON.stringify(se_ListPortfoliosForProductInput(input, context));
|
|
619
436
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
620
437
|
};
|
|
621
438
|
exports.se_ListPortfoliosForProductCommand = se_ListPortfoliosForProductCommand;
|
|
622
439
|
const se_ListPrincipalsForPortfolioCommand = async (input, context) => {
|
|
623
|
-
const headers =
|
|
624
|
-
"content-type": "application/x-amz-json-1.1",
|
|
625
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListPrincipalsForPortfolio",
|
|
626
|
-
};
|
|
440
|
+
const headers = sharedHeaders("ListPrincipalsForPortfolio");
|
|
627
441
|
let body;
|
|
628
442
|
body = JSON.stringify(se_ListPrincipalsForPortfolioInput(input, context));
|
|
629
443
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
630
444
|
};
|
|
631
445
|
exports.se_ListPrincipalsForPortfolioCommand = se_ListPrincipalsForPortfolioCommand;
|
|
632
446
|
const se_ListProvisionedProductPlansCommand = async (input, context) => {
|
|
633
|
-
const headers =
|
|
634
|
-
"content-type": "application/x-amz-json-1.1",
|
|
635
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListProvisionedProductPlans",
|
|
636
|
-
};
|
|
447
|
+
const headers = sharedHeaders("ListProvisionedProductPlans");
|
|
637
448
|
let body;
|
|
638
449
|
body = JSON.stringify(se_ListProvisionedProductPlansInput(input, context));
|
|
639
450
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
640
451
|
};
|
|
641
452
|
exports.se_ListProvisionedProductPlansCommand = se_ListProvisionedProductPlansCommand;
|
|
642
453
|
const se_ListProvisioningArtifactsCommand = async (input, context) => {
|
|
643
|
-
const headers =
|
|
644
|
-
"content-type": "application/x-amz-json-1.1",
|
|
645
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListProvisioningArtifacts",
|
|
646
|
-
};
|
|
454
|
+
const headers = sharedHeaders("ListProvisioningArtifacts");
|
|
647
455
|
let body;
|
|
648
456
|
body = JSON.stringify(se_ListProvisioningArtifactsInput(input, context));
|
|
649
457
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
650
458
|
};
|
|
651
459
|
exports.se_ListProvisioningArtifactsCommand = se_ListProvisioningArtifactsCommand;
|
|
652
460
|
const se_ListProvisioningArtifactsForServiceActionCommand = async (input, context) => {
|
|
653
|
-
const headers =
|
|
654
|
-
"content-type": "application/x-amz-json-1.1",
|
|
655
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListProvisioningArtifactsForServiceAction",
|
|
656
|
-
};
|
|
461
|
+
const headers = sharedHeaders("ListProvisioningArtifactsForServiceAction");
|
|
657
462
|
let body;
|
|
658
463
|
body = JSON.stringify(se_ListProvisioningArtifactsForServiceActionInput(input, context));
|
|
659
464
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
660
465
|
};
|
|
661
466
|
exports.se_ListProvisioningArtifactsForServiceActionCommand = se_ListProvisioningArtifactsForServiceActionCommand;
|
|
662
467
|
const se_ListRecordHistoryCommand = async (input, context) => {
|
|
663
|
-
const headers =
|
|
664
|
-
"content-type": "application/x-amz-json-1.1",
|
|
665
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListRecordHistory",
|
|
666
|
-
};
|
|
468
|
+
const headers = sharedHeaders("ListRecordHistory");
|
|
667
469
|
let body;
|
|
668
470
|
body = JSON.stringify(se_ListRecordHistoryInput(input, context));
|
|
669
471
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
670
472
|
};
|
|
671
473
|
exports.se_ListRecordHistoryCommand = se_ListRecordHistoryCommand;
|
|
672
474
|
const se_ListResourcesForTagOptionCommand = async (input, context) => {
|
|
673
|
-
const headers =
|
|
674
|
-
"content-type": "application/x-amz-json-1.1",
|
|
675
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListResourcesForTagOption",
|
|
676
|
-
};
|
|
475
|
+
const headers = sharedHeaders("ListResourcesForTagOption");
|
|
677
476
|
let body;
|
|
678
477
|
body = JSON.stringify(se_ListResourcesForTagOptionInput(input, context));
|
|
679
478
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
680
479
|
};
|
|
681
480
|
exports.se_ListResourcesForTagOptionCommand = se_ListResourcesForTagOptionCommand;
|
|
682
481
|
const se_ListServiceActionsCommand = async (input, context) => {
|
|
683
|
-
const headers =
|
|
684
|
-
"content-type": "application/x-amz-json-1.1",
|
|
685
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListServiceActions",
|
|
686
|
-
};
|
|
482
|
+
const headers = sharedHeaders("ListServiceActions");
|
|
687
483
|
let body;
|
|
688
484
|
body = JSON.stringify(se_ListServiceActionsInput(input, context));
|
|
689
485
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
690
486
|
};
|
|
691
487
|
exports.se_ListServiceActionsCommand = se_ListServiceActionsCommand;
|
|
692
488
|
const se_ListServiceActionsForProvisioningArtifactCommand = async (input, context) => {
|
|
693
|
-
const headers =
|
|
694
|
-
"content-type": "application/x-amz-json-1.1",
|
|
695
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListServiceActionsForProvisioningArtifact",
|
|
696
|
-
};
|
|
489
|
+
const headers = sharedHeaders("ListServiceActionsForProvisioningArtifact");
|
|
697
490
|
let body;
|
|
698
491
|
body = JSON.stringify(se_ListServiceActionsForProvisioningArtifactInput(input, context));
|
|
699
492
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
700
493
|
};
|
|
701
494
|
exports.se_ListServiceActionsForProvisioningArtifactCommand = se_ListServiceActionsForProvisioningArtifactCommand;
|
|
702
495
|
const se_ListStackInstancesForProvisionedProductCommand = async (input, context) => {
|
|
703
|
-
const headers =
|
|
704
|
-
"content-type": "application/x-amz-json-1.1",
|
|
705
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListStackInstancesForProvisionedProduct",
|
|
706
|
-
};
|
|
496
|
+
const headers = sharedHeaders("ListStackInstancesForProvisionedProduct");
|
|
707
497
|
let body;
|
|
708
498
|
body = JSON.stringify(se_ListStackInstancesForProvisionedProductInput(input, context));
|
|
709
499
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
710
500
|
};
|
|
711
501
|
exports.se_ListStackInstancesForProvisionedProductCommand = se_ListStackInstancesForProvisionedProductCommand;
|
|
712
502
|
const se_ListTagOptionsCommand = async (input, context) => {
|
|
713
|
-
const headers =
|
|
714
|
-
"content-type": "application/x-amz-json-1.1",
|
|
715
|
-
"x-amz-target": "AWS242ServiceCatalogService.ListTagOptions",
|
|
716
|
-
};
|
|
503
|
+
const headers = sharedHeaders("ListTagOptions");
|
|
717
504
|
let body;
|
|
718
505
|
body = JSON.stringify(se_ListTagOptionsInput(input, context));
|
|
719
506
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
720
507
|
};
|
|
721
508
|
exports.se_ListTagOptionsCommand = se_ListTagOptionsCommand;
|
|
722
509
|
const se_NotifyProvisionProductEngineWorkflowResultCommand = async (input, context) => {
|
|
723
|
-
const headers =
|
|
724
|
-
"content-type": "application/x-amz-json-1.1",
|
|
725
|
-
"x-amz-target": "AWS242ServiceCatalogService.NotifyProvisionProductEngineWorkflowResult",
|
|
726
|
-
};
|
|
510
|
+
const headers = sharedHeaders("NotifyProvisionProductEngineWorkflowResult");
|
|
727
511
|
let body;
|
|
728
512
|
body = JSON.stringify(se_NotifyProvisionProductEngineWorkflowResultInput(input, context));
|
|
729
513
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
730
514
|
};
|
|
731
515
|
exports.se_NotifyProvisionProductEngineWorkflowResultCommand = se_NotifyProvisionProductEngineWorkflowResultCommand;
|
|
732
516
|
const se_NotifyTerminateProvisionedProductEngineWorkflowResultCommand = async (input, context) => {
|
|
733
|
-
const headers =
|
|
734
|
-
"content-type": "application/x-amz-json-1.1",
|
|
735
|
-
"x-amz-target": "AWS242ServiceCatalogService.NotifyTerminateProvisionedProductEngineWorkflowResult",
|
|
736
|
-
};
|
|
517
|
+
const headers = sharedHeaders("NotifyTerminateProvisionedProductEngineWorkflowResult");
|
|
737
518
|
let body;
|
|
738
519
|
body = JSON.stringify(se_NotifyTerminateProvisionedProductEngineWorkflowResultInput(input, context));
|
|
739
520
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
740
521
|
};
|
|
741
522
|
exports.se_NotifyTerminateProvisionedProductEngineWorkflowResultCommand = se_NotifyTerminateProvisionedProductEngineWorkflowResultCommand;
|
|
742
523
|
const se_NotifyUpdateProvisionedProductEngineWorkflowResultCommand = async (input, context) => {
|
|
743
|
-
const headers =
|
|
744
|
-
"content-type": "application/x-amz-json-1.1",
|
|
745
|
-
"x-amz-target": "AWS242ServiceCatalogService.NotifyUpdateProvisionedProductEngineWorkflowResult",
|
|
746
|
-
};
|
|
524
|
+
const headers = sharedHeaders("NotifyUpdateProvisionedProductEngineWorkflowResult");
|
|
747
525
|
let body;
|
|
748
526
|
body = JSON.stringify(se_NotifyUpdateProvisionedProductEngineWorkflowResultInput(input, context));
|
|
749
527
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
750
528
|
};
|
|
751
529
|
exports.se_NotifyUpdateProvisionedProductEngineWorkflowResultCommand = se_NotifyUpdateProvisionedProductEngineWorkflowResultCommand;
|
|
752
530
|
const se_ProvisionProductCommand = async (input, context) => {
|
|
753
|
-
const headers =
|
|
754
|
-
"content-type": "application/x-amz-json-1.1",
|
|
755
|
-
"x-amz-target": "AWS242ServiceCatalogService.ProvisionProduct",
|
|
756
|
-
};
|
|
531
|
+
const headers = sharedHeaders("ProvisionProduct");
|
|
757
532
|
let body;
|
|
758
533
|
body = JSON.stringify(se_ProvisionProductInput(input, context));
|
|
759
534
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
760
535
|
};
|
|
761
536
|
exports.se_ProvisionProductCommand = se_ProvisionProductCommand;
|
|
762
537
|
const se_RejectPortfolioShareCommand = async (input, context) => {
|
|
763
|
-
const headers =
|
|
764
|
-
"content-type": "application/x-amz-json-1.1",
|
|
765
|
-
"x-amz-target": "AWS242ServiceCatalogService.RejectPortfolioShare",
|
|
766
|
-
};
|
|
538
|
+
const headers = sharedHeaders("RejectPortfolioShare");
|
|
767
539
|
let body;
|
|
768
540
|
body = JSON.stringify(se_RejectPortfolioShareInput(input, context));
|
|
769
541
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
770
542
|
};
|
|
771
543
|
exports.se_RejectPortfolioShareCommand = se_RejectPortfolioShareCommand;
|
|
772
544
|
const se_ScanProvisionedProductsCommand = async (input, context) => {
|
|
773
|
-
const headers =
|
|
774
|
-
"content-type": "application/x-amz-json-1.1",
|
|
775
|
-
"x-amz-target": "AWS242ServiceCatalogService.ScanProvisionedProducts",
|
|
776
|
-
};
|
|
545
|
+
const headers = sharedHeaders("ScanProvisionedProducts");
|
|
777
546
|
let body;
|
|
778
547
|
body = JSON.stringify(se_ScanProvisionedProductsInput(input, context));
|
|
779
548
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
780
549
|
};
|
|
781
550
|
exports.se_ScanProvisionedProductsCommand = se_ScanProvisionedProductsCommand;
|
|
782
551
|
const se_SearchProductsCommand = async (input, context) => {
|
|
783
|
-
const headers =
|
|
784
|
-
"content-type": "application/x-amz-json-1.1",
|
|
785
|
-
"x-amz-target": "AWS242ServiceCatalogService.SearchProducts",
|
|
786
|
-
};
|
|
552
|
+
const headers = sharedHeaders("SearchProducts");
|
|
787
553
|
let body;
|
|
788
554
|
body = JSON.stringify(se_SearchProductsInput(input, context));
|
|
789
555
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
790
556
|
};
|
|
791
557
|
exports.se_SearchProductsCommand = se_SearchProductsCommand;
|
|
792
558
|
const se_SearchProductsAsAdminCommand = async (input, context) => {
|
|
793
|
-
const headers =
|
|
794
|
-
"content-type": "application/x-amz-json-1.1",
|
|
795
|
-
"x-amz-target": "AWS242ServiceCatalogService.SearchProductsAsAdmin",
|
|
796
|
-
};
|
|
559
|
+
const headers = sharedHeaders("SearchProductsAsAdmin");
|
|
797
560
|
let body;
|
|
798
561
|
body = JSON.stringify(se_SearchProductsAsAdminInput(input, context));
|
|
799
562
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
800
563
|
};
|
|
801
564
|
exports.se_SearchProductsAsAdminCommand = se_SearchProductsAsAdminCommand;
|
|
802
565
|
const se_SearchProvisionedProductsCommand = async (input, context) => {
|
|
803
|
-
const headers =
|
|
804
|
-
"content-type": "application/x-amz-json-1.1",
|
|
805
|
-
"x-amz-target": "AWS242ServiceCatalogService.SearchProvisionedProducts",
|
|
806
|
-
};
|
|
566
|
+
const headers = sharedHeaders("SearchProvisionedProducts");
|
|
807
567
|
let body;
|
|
808
568
|
body = JSON.stringify(se_SearchProvisionedProductsInput(input, context));
|
|
809
569
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
810
570
|
};
|
|
811
571
|
exports.se_SearchProvisionedProductsCommand = se_SearchProvisionedProductsCommand;
|
|
812
572
|
const se_TerminateProvisionedProductCommand = async (input, context) => {
|
|
813
|
-
const headers =
|
|
814
|
-
"content-type": "application/x-amz-json-1.1",
|
|
815
|
-
"x-amz-target": "AWS242ServiceCatalogService.TerminateProvisionedProduct",
|
|
816
|
-
};
|
|
573
|
+
const headers = sharedHeaders("TerminateProvisionedProduct");
|
|
817
574
|
let body;
|
|
818
575
|
body = JSON.stringify(se_TerminateProvisionedProductInput(input, context));
|
|
819
576
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
820
577
|
};
|
|
821
578
|
exports.se_TerminateProvisionedProductCommand = se_TerminateProvisionedProductCommand;
|
|
822
579
|
const se_UpdateConstraintCommand = async (input, context) => {
|
|
823
|
-
const headers =
|
|
824
|
-
"content-type": "application/x-amz-json-1.1",
|
|
825
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateConstraint",
|
|
826
|
-
};
|
|
580
|
+
const headers = sharedHeaders("UpdateConstraint");
|
|
827
581
|
let body;
|
|
828
582
|
body = JSON.stringify(se_UpdateConstraintInput(input, context));
|
|
829
583
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
830
584
|
};
|
|
831
585
|
exports.se_UpdateConstraintCommand = se_UpdateConstraintCommand;
|
|
832
586
|
const se_UpdatePortfolioCommand = async (input, context) => {
|
|
833
|
-
const headers =
|
|
834
|
-
"content-type": "application/x-amz-json-1.1",
|
|
835
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdatePortfolio",
|
|
836
|
-
};
|
|
587
|
+
const headers = sharedHeaders("UpdatePortfolio");
|
|
837
588
|
let body;
|
|
838
589
|
body = JSON.stringify(se_UpdatePortfolioInput(input, context));
|
|
839
590
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
840
591
|
};
|
|
841
592
|
exports.se_UpdatePortfolioCommand = se_UpdatePortfolioCommand;
|
|
842
593
|
const se_UpdatePortfolioShareCommand = async (input, context) => {
|
|
843
|
-
const headers =
|
|
844
|
-
"content-type": "application/x-amz-json-1.1",
|
|
845
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdatePortfolioShare",
|
|
846
|
-
};
|
|
594
|
+
const headers = sharedHeaders("UpdatePortfolioShare");
|
|
847
595
|
let body;
|
|
848
596
|
body = JSON.stringify(se_UpdatePortfolioShareInput(input, context));
|
|
849
597
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
850
598
|
};
|
|
851
599
|
exports.se_UpdatePortfolioShareCommand = se_UpdatePortfolioShareCommand;
|
|
852
600
|
const se_UpdateProductCommand = async (input, context) => {
|
|
853
|
-
const headers =
|
|
854
|
-
"content-type": "application/x-amz-json-1.1",
|
|
855
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateProduct",
|
|
856
|
-
};
|
|
601
|
+
const headers = sharedHeaders("UpdateProduct");
|
|
857
602
|
let body;
|
|
858
603
|
body = JSON.stringify(se_UpdateProductInput(input, context));
|
|
859
604
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
860
605
|
};
|
|
861
606
|
exports.se_UpdateProductCommand = se_UpdateProductCommand;
|
|
862
607
|
const se_UpdateProvisionedProductCommand = async (input, context) => {
|
|
863
|
-
const headers =
|
|
864
|
-
"content-type": "application/x-amz-json-1.1",
|
|
865
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateProvisionedProduct",
|
|
866
|
-
};
|
|
608
|
+
const headers = sharedHeaders("UpdateProvisionedProduct");
|
|
867
609
|
let body;
|
|
868
610
|
body = JSON.stringify(se_UpdateProvisionedProductInput(input, context));
|
|
869
611
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
870
612
|
};
|
|
871
613
|
exports.se_UpdateProvisionedProductCommand = se_UpdateProvisionedProductCommand;
|
|
872
614
|
const se_UpdateProvisionedProductPropertiesCommand = async (input, context) => {
|
|
873
|
-
const headers =
|
|
874
|
-
"content-type": "application/x-amz-json-1.1",
|
|
875
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateProvisionedProductProperties",
|
|
876
|
-
};
|
|
615
|
+
const headers = sharedHeaders("UpdateProvisionedProductProperties");
|
|
877
616
|
let body;
|
|
878
617
|
body = JSON.stringify(se_UpdateProvisionedProductPropertiesInput(input, context));
|
|
879
618
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
880
619
|
};
|
|
881
620
|
exports.se_UpdateProvisionedProductPropertiesCommand = se_UpdateProvisionedProductPropertiesCommand;
|
|
882
621
|
const se_UpdateProvisioningArtifactCommand = async (input, context) => {
|
|
883
|
-
const headers =
|
|
884
|
-
"content-type": "application/x-amz-json-1.1",
|
|
885
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateProvisioningArtifact",
|
|
886
|
-
};
|
|
622
|
+
const headers = sharedHeaders("UpdateProvisioningArtifact");
|
|
887
623
|
let body;
|
|
888
624
|
body = JSON.stringify(se_UpdateProvisioningArtifactInput(input, context));
|
|
889
625
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
890
626
|
};
|
|
891
627
|
exports.se_UpdateProvisioningArtifactCommand = se_UpdateProvisioningArtifactCommand;
|
|
892
628
|
const se_UpdateServiceActionCommand = async (input, context) => {
|
|
893
|
-
const headers =
|
|
894
|
-
"content-type": "application/x-amz-json-1.1",
|
|
895
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateServiceAction",
|
|
896
|
-
};
|
|
629
|
+
const headers = sharedHeaders("UpdateServiceAction");
|
|
897
630
|
let body;
|
|
898
631
|
body = JSON.stringify(se_UpdateServiceActionInput(input, context));
|
|
899
632
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
900
633
|
};
|
|
901
634
|
exports.se_UpdateServiceActionCommand = se_UpdateServiceActionCommand;
|
|
902
635
|
const se_UpdateTagOptionCommand = async (input, context) => {
|
|
903
|
-
const headers =
|
|
904
|
-
"content-type": "application/x-amz-json-1.1",
|
|
905
|
-
"x-amz-target": "AWS242ServiceCatalogService.UpdateTagOption",
|
|
906
|
-
};
|
|
636
|
+
const headers = sharedHeaders("UpdateTagOption");
|
|
907
637
|
let body;
|
|
908
638
|
body = JSON.stringify(se_UpdateTagOptionInput(input, context));
|
|
909
639
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -7127,6 +6857,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
7127
6857
|
}
|
|
7128
6858
|
return new protocol_http_1.HttpRequest(contents);
|
|
7129
6859
|
};
|
|
6860
|
+
function sharedHeaders(operation) {
|
|
6861
|
+
return {
|
|
6862
|
+
"content-type": "application/x-amz-json-1.1",
|
|
6863
|
+
"x-amz-target": `AWS242ServiceCatalogService.${operation}`,
|
|
6864
|
+
};
|
|
6865
|
+
}
|
|
7130
6866
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
7131
6867
|
if (encoded.length) {
|
|
7132
6868
|
return JSON.parse(encoded);
|