@aws-sdk/client-config-service 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 +98 -368
- package/dist-es/protocols/Aws_json1_1.js +98 -368
- package/package.json +35 -35
|
@@ -10,919 +10,643 @@ const ConfigServiceServiceException_1 = require("../models/ConfigServiceServiceE
|
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const models_1_1 = require("../models/models_1");
|
|
12
12
|
const se_BatchGetAggregateResourceConfigCommand = async (input, context) => {
|
|
13
|
-
const headers =
|
|
14
|
-
"content-type": "application/x-amz-json-1.1",
|
|
15
|
-
"x-amz-target": "StarlingDoveService.BatchGetAggregateResourceConfig",
|
|
16
|
-
};
|
|
13
|
+
const headers = sharedHeaders("BatchGetAggregateResourceConfig");
|
|
17
14
|
let body;
|
|
18
15
|
body = JSON.stringify(se_BatchGetAggregateResourceConfigRequest(input, context));
|
|
19
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
20
17
|
};
|
|
21
18
|
exports.se_BatchGetAggregateResourceConfigCommand = se_BatchGetAggregateResourceConfigCommand;
|
|
22
19
|
const se_BatchGetResourceConfigCommand = async (input, context) => {
|
|
23
|
-
const headers =
|
|
24
|
-
"content-type": "application/x-amz-json-1.1",
|
|
25
|
-
"x-amz-target": "StarlingDoveService.BatchGetResourceConfig",
|
|
26
|
-
};
|
|
20
|
+
const headers = sharedHeaders("BatchGetResourceConfig");
|
|
27
21
|
let body;
|
|
28
22
|
body = JSON.stringify(se_BatchGetResourceConfigRequest(input, context));
|
|
29
23
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
24
|
};
|
|
31
25
|
exports.se_BatchGetResourceConfigCommand = se_BatchGetResourceConfigCommand;
|
|
32
26
|
const se_DeleteAggregationAuthorizationCommand = async (input, context) => {
|
|
33
|
-
const headers =
|
|
34
|
-
"content-type": "application/x-amz-json-1.1",
|
|
35
|
-
"x-amz-target": "StarlingDoveService.DeleteAggregationAuthorization",
|
|
36
|
-
};
|
|
27
|
+
const headers = sharedHeaders("DeleteAggregationAuthorization");
|
|
37
28
|
let body;
|
|
38
29
|
body = JSON.stringify(se_DeleteAggregationAuthorizationRequest(input, context));
|
|
39
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
31
|
};
|
|
41
32
|
exports.se_DeleteAggregationAuthorizationCommand = se_DeleteAggregationAuthorizationCommand;
|
|
42
33
|
const se_DeleteConfigRuleCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-amz-json-1.1",
|
|
45
|
-
"x-amz-target": "StarlingDoveService.DeleteConfigRule",
|
|
46
|
-
};
|
|
34
|
+
const headers = sharedHeaders("DeleteConfigRule");
|
|
47
35
|
let body;
|
|
48
36
|
body = JSON.stringify(se_DeleteConfigRuleRequest(input, context));
|
|
49
37
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
38
|
};
|
|
51
39
|
exports.se_DeleteConfigRuleCommand = se_DeleteConfigRuleCommand;
|
|
52
40
|
const se_DeleteConfigurationAggregatorCommand = async (input, context) => {
|
|
53
|
-
const headers =
|
|
54
|
-
"content-type": "application/x-amz-json-1.1",
|
|
55
|
-
"x-amz-target": "StarlingDoveService.DeleteConfigurationAggregator",
|
|
56
|
-
};
|
|
41
|
+
const headers = sharedHeaders("DeleteConfigurationAggregator");
|
|
57
42
|
let body;
|
|
58
43
|
body = JSON.stringify(se_DeleteConfigurationAggregatorRequest(input, context));
|
|
59
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
45
|
};
|
|
61
46
|
exports.se_DeleteConfigurationAggregatorCommand = se_DeleteConfigurationAggregatorCommand;
|
|
62
47
|
const se_DeleteConfigurationRecorderCommand = async (input, context) => {
|
|
63
|
-
const headers =
|
|
64
|
-
"content-type": "application/x-amz-json-1.1",
|
|
65
|
-
"x-amz-target": "StarlingDoveService.DeleteConfigurationRecorder",
|
|
66
|
-
};
|
|
48
|
+
const headers = sharedHeaders("DeleteConfigurationRecorder");
|
|
67
49
|
let body;
|
|
68
50
|
body = JSON.stringify(se_DeleteConfigurationRecorderRequest(input, context));
|
|
69
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
52
|
};
|
|
71
53
|
exports.se_DeleteConfigurationRecorderCommand = se_DeleteConfigurationRecorderCommand;
|
|
72
54
|
const se_DeleteConformancePackCommand = async (input, context) => {
|
|
73
|
-
const headers =
|
|
74
|
-
"content-type": "application/x-amz-json-1.1",
|
|
75
|
-
"x-amz-target": "StarlingDoveService.DeleteConformancePack",
|
|
76
|
-
};
|
|
55
|
+
const headers = sharedHeaders("DeleteConformancePack");
|
|
77
56
|
let body;
|
|
78
57
|
body = JSON.stringify(se_DeleteConformancePackRequest(input, context));
|
|
79
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
80
59
|
};
|
|
81
60
|
exports.se_DeleteConformancePackCommand = se_DeleteConformancePackCommand;
|
|
82
61
|
const se_DeleteDeliveryChannelCommand = async (input, context) => {
|
|
83
|
-
const headers =
|
|
84
|
-
"content-type": "application/x-amz-json-1.1",
|
|
85
|
-
"x-amz-target": "StarlingDoveService.DeleteDeliveryChannel",
|
|
86
|
-
};
|
|
62
|
+
const headers = sharedHeaders("DeleteDeliveryChannel");
|
|
87
63
|
let body;
|
|
88
64
|
body = JSON.stringify(se_DeleteDeliveryChannelRequest(input, context));
|
|
89
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
66
|
};
|
|
91
67
|
exports.se_DeleteDeliveryChannelCommand = se_DeleteDeliveryChannelCommand;
|
|
92
68
|
const se_DeleteEvaluationResultsCommand = async (input, context) => {
|
|
93
|
-
const headers =
|
|
94
|
-
"content-type": "application/x-amz-json-1.1",
|
|
95
|
-
"x-amz-target": "StarlingDoveService.DeleteEvaluationResults",
|
|
96
|
-
};
|
|
69
|
+
const headers = sharedHeaders("DeleteEvaluationResults");
|
|
97
70
|
let body;
|
|
98
71
|
body = JSON.stringify(se_DeleteEvaluationResultsRequest(input, context));
|
|
99
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
73
|
};
|
|
101
74
|
exports.se_DeleteEvaluationResultsCommand = se_DeleteEvaluationResultsCommand;
|
|
102
75
|
const se_DeleteOrganizationConfigRuleCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-amz-json-1.1",
|
|
105
|
-
"x-amz-target": "StarlingDoveService.DeleteOrganizationConfigRule",
|
|
106
|
-
};
|
|
76
|
+
const headers = sharedHeaders("DeleteOrganizationConfigRule");
|
|
107
77
|
let body;
|
|
108
78
|
body = JSON.stringify(se_DeleteOrganizationConfigRuleRequest(input, context));
|
|
109
79
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
110
80
|
};
|
|
111
81
|
exports.se_DeleteOrganizationConfigRuleCommand = se_DeleteOrganizationConfigRuleCommand;
|
|
112
82
|
const se_DeleteOrganizationConformancePackCommand = async (input, context) => {
|
|
113
|
-
const headers =
|
|
114
|
-
"content-type": "application/x-amz-json-1.1",
|
|
115
|
-
"x-amz-target": "StarlingDoveService.DeleteOrganizationConformancePack",
|
|
116
|
-
};
|
|
83
|
+
const headers = sharedHeaders("DeleteOrganizationConformancePack");
|
|
117
84
|
let body;
|
|
118
85
|
body = JSON.stringify(se_DeleteOrganizationConformancePackRequest(input, context));
|
|
119
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
87
|
};
|
|
121
88
|
exports.se_DeleteOrganizationConformancePackCommand = se_DeleteOrganizationConformancePackCommand;
|
|
122
89
|
const se_DeletePendingAggregationRequestCommand = async (input, context) => {
|
|
123
|
-
const headers =
|
|
124
|
-
"content-type": "application/x-amz-json-1.1",
|
|
125
|
-
"x-amz-target": "StarlingDoveService.DeletePendingAggregationRequest",
|
|
126
|
-
};
|
|
90
|
+
const headers = sharedHeaders("DeletePendingAggregationRequest");
|
|
127
91
|
let body;
|
|
128
92
|
body = JSON.stringify(se_DeletePendingAggregationRequestRequest(input, context));
|
|
129
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
94
|
};
|
|
131
95
|
exports.se_DeletePendingAggregationRequestCommand = se_DeletePendingAggregationRequestCommand;
|
|
132
96
|
const se_DeleteRemediationConfigurationCommand = async (input, context) => {
|
|
133
|
-
const headers =
|
|
134
|
-
"content-type": "application/x-amz-json-1.1",
|
|
135
|
-
"x-amz-target": "StarlingDoveService.DeleteRemediationConfiguration",
|
|
136
|
-
};
|
|
97
|
+
const headers = sharedHeaders("DeleteRemediationConfiguration");
|
|
137
98
|
let body;
|
|
138
99
|
body = JSON.stringify(se_DeleteRemediationConfigurationRequest(input, context));
|
|
139
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
101
|
};
|
|
141
102
|
exports.se_DeleteRemediationConfigurationCommand = se_DeleteRemediationConfigurationCommand;
|
|
142
103
|
const se_DeleteRemediationExceptionsCommand = async (input, context) => {
|
|
143
|
-
const headers =
|
|
144
|
-
"content-type": "application/x-amz-json-1.1",
|
|
145
|
-
"x-amz-target": "StarlingDoveService.DeleteRemediationExceptions",
|
|
146
|
-
};
|
|
104
|
+
const headers = sharedHeaders("DeleteRemediationExceptions");
|
|
147
105
|
let body;
|
|
148
106
|
body = JSON.stringify(se_DeleteRemediationExceptionsRequest(input, context));
|
|
149
107
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
108
|
};
|
|
151
109
|
exports.se_DeleteRemediationExceptionsCommand = se_DeleteRemediationExceptionsCommand;
|
|
152
110
|
const se_DeleteResourceConfigCommand = async (input, context) => {
|
|
153
|
-
const headers =
|
|
154
|
-
"content-type": "application/x-amz-json-1.1",
|
|
155
|
-
"x-amz-target": "StarlingDoveService.DeleteResourceConfig",
|
|
156
|
-
};
|
|
111
|
+
const headers = sharedHeaders("DeleteResourceConfig");
|
|
157
112
|
let body;
|
|
158
113
|
body = JSON.stringify(se_DeleteResourceConfigRequest(input, context));
|
|
159
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
115
|
};
|
|
161
116
|
exports.se_DeleteResourceConfigCommand = se_DeleteResourceConfigCommand;
|
|
162
117
|
const se_DeleteRetentionConfigurationCommand = async (input, context) => {
|
|
163
|
-
const headers =
|
|
164
|
-
"content-type": "application/x-amz-json-1.1",
|
|
165
|
-
"x-amz-target": "StarlingDoveService.DeleteRetentionConfiguration",
|
|
166
|
-
};
|
|
118
|
+
const headers = sharedHeaders("DeleteRetentionConfiguration");
|
|
167
119
|
let body;
|
|
168
120
|
body = JSON.stringify(se_DeleteRetentionConfigurationRequest(input, context));
|
|
169
121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
170
122
|
};
|
|
171
123
|
exports.se_DeleteRetentionConfigurationCommand = se_DeleteRetentionConfigurationCommand;
|
|
172
124
|
const se_DeleteStoredQueryCommand = async (input, context) => {
|
|
173
|
-
const headers =
|
|
174
|
-
"content-type": "application/x-amz-json-1.1",
|
|
175
|
-
"x-amz-target": "StarlingDoveService.DeleteStoredQuery",
|
|
176
|
-
};
|
|
125
|
+
const headers = sharedHeaders("DeleteStoredQuery");
|
|
177
126
|
let body;
|
|
178
127
|
body = JSON.stringify(se_DeleteStoredQueryRequest(input, context));
|
|
179
128
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
129
|
};
|
|
181
130
|
exports.se_DeleteStoredQueryCommand = se_DeleteStoredQueryCommand;
|
|
182
131
|
const se_DeliverConfigSnapshotCommand = async (input, context) => {
|
|
183
|
-
const headers =
|
|
184
|
-
"content-type": "application/x-amz-json-1.1",
|
|
185
|
-
"x-amz-target": "StarlingDoveService.DeliverConfigSnapshot",
|
|
186
|
-
};
|
|
132
|
+
const headers = sharedHeaders("DeliverConfigSnapshot");
|
|
187
133
|
let body;
|
|
188
134
|
body = JSON.stringify(se_DeliverConfigSnapshotRequest(input, context));
|
|
189
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
136
|
};
|
|
191
137
|
exports.se_DeliverConfigSnapshotCommand = se_DeliverConfigSnapshotCommand;
|
|
192
138
|
const se_DescribeAggregateComplianceByConfigRulesCommand = async (input, context) => {
|
|
193
|
-
const headers =
|
|
194
|
-
"content-type": "application/x-amz-json-1.1",
|
|
195
|
-
"x-amz-target": "StarlingDoveService.DescribeAggregateComplianceByConfigRules",
|
|
196
|
-
};
|
|
139
|
+
const headers = sharedHeaders("DescribeAggregateComplianceByConfigRules");
|
|
197
140
|
let body;
|
|
198
141
|
body = JSON.stringify(se_DescribeAggregateComplianceByConfigRulesRequest(input, context));
|
|
199
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
200
143
|
};
|
|
201
144
|
exports.se_DescribeAggregateComplianceByConfigRulesCommand = se_DescribeAggregateComplianceByConfigRulesCommand;
|
|
202
145
|
const se_DescribeAggregateComplianceByConformancePacksCommand = async (input, context) => {
|
|
203
|
-
const headers =
|
|
204
|
-
"content-type": "application/x-amz-json-1.1",
|
|
205
|
-
"x-amz-target": "StarlingDoveService.DescribeAggregateComplianceByConformancePacks",
|
|
206
|
-
};
|
|
146
|
+
const headers = sharedHeaders("DescribeAggregateComplianceByConformancePacks");
|
|
207
147
|
let body;
|
|
208
148
|
body = JSON.stringify(se_DescribeAggregateComplianceByConformancePacksRequest(input, context));
|
|
209
149
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
150
|
};
|
|
211
151
|
exports.se_DescribeAggregateComplianceByConformancePacksCommand = se_DescribeAggregateComplianceByConformancePacksCommand;
|
|
212
152
|
const se_DescribeAggregationAuthorizationsCommand = async (input, context) => {
|
|
213
|
-
const headers =
|
|
214
|
-
"content-type": "application/x-amz-json-1.1",
|
|
215
|
-
"x-amz-target": "StarlingDoveService.DescribeAggregationAuthorizations",
|
|
216
|
-
};
|
|
153
|
+
const headers = sharedHeaders("DescribeAggregationAuthorizations");
|
|
217
154
|
let body;
|
|
218
155
|
body = JSON.stringify(se_DescribeAggregationAuthorizationsRequest(input, context));
|
|
219
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
157
|
};
|
|
221
158
|
exports.se_DescribeAggregationAuthorizationsCommand = se_DescribeAggregationAuthorizationsCommand;
|
|
222
159
|
const se_DescribeComplianceByConfigRuleCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-amz-json-1.1",
|
|
225
|
-
"x-amz-target": "StarlingDoveService.DescribeComplianceByConfigRule",
|
|
226
|
-
};
|
|
160
|
+
const headers = sharedHeaders("DescribeComplianceByConfigRule");
|
|
227
161
|
let body;
|
|
228
162
|
body = JSON.stringify(se_DescribeComplianceByConfigRuleRequest(input, context));
|
|
229
163
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
164
|
};
|
|
231
165
|
exports.se_DescribeComplianceByConfigRuleCommand = se_DescribeComplianceByConfigRuleCommand;
|
|
232
166
|
const se_DescribeComplianceByResourceCommand = async (input, context) => {
|
|
233
|
-
const headers =
|
|
234
|
-
"content-type": "application/x-amz-json-1.1",
|
|
235
|
-
"x-amz-target": "StarlingDoveService.DescribeComplianceByResource",
|
|
236
|
-
};
|
|
167
|
+
const headers = sharedHeaders("DescribeComplianceByResource");
|
|
237
168
|
let body;
|
|
238
169
|
body = JSON.stringify(se_DescribeComplianceByResourceRequest(input, context));
|
|
239
170
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
171
|
};
|
|
241
172
|
exports.se_DescribeComplianceByResourceCommand = se_DescribeComplianceByResourceCommand;
|
|
242
173
|
const se_DescribeConfigRuleEvaluationStatusCommand = async (input, context) => {
|
|
243
|
-
const headers =
|
|
244
|
-
"content-type": "application/x-amz-json-1.1",
|
|
245
|
-
"x-amz-target": "StarlingDoveService.DescribeConfigRuleEvaluationStatus",
|
|
246
|
-
};
|
|
174
|
+
const headers = sharedHeaders("DescribeConfigRuleEvaluationStatus");
|
|
247
175
|
let body;
|
|
248
176
|
body = JSON.stringify(se_DescribeConfigRuleEvaluationStatusRequest(input, context));
|
|
249
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
178
|
};
|
|
251
179
|
exports.se_DescribeConfigRuleEvaluationStatusCommand = se_DescribeConfigRuleEvaluationStatusCommand;
|
|
252
180
|
const se_DescribeConfigRulesCommand = async (input, context) => {
|
|
253
|
-
const headers =
|
|
254
|
-
"content-type": "application/x-amz-json-1.1",
|
|
255
|
-
"x-amz-target": "StarlingDoveService.DescribeConfigRules",
|
|
256
|
-
};
|
|
181
|
+
const headers = sharedHeaders("DescribeConfigRules");
|
|
257
182
|
let body;
|
|
258
183
|
body = JSON.stringify(se_DescribeConfigRulesRequest(input, context));
|
|
259
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
185
|
};
|
|
261
186
|
exports.se_DescribeConfigRulesCommand = se_DescribeConfigRulesCommand;
|
|
262
187
|
const se_DescribeConfigurationAggregatorsCommand = async (input, context) => {
|
|
263
|
-
const headers =
|
|
264
|
-
"content-type": "application/x-amz-json-1.1",
|
|
265
|
-
"x-amz-target": "StarlingDoveService.DescribeConfigurationAggregators",
|
|
266
|
-
};
|
|
188
|
+
const headers = sharedHeaders("DescribeConfigurationAggregators");
|
|
267
189
|
let body;
|
|
268
190
|
body = JSON.stringify(se_DescribeConfigurationAggregatorsRequest(input, context));
|
|
269
191
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
192
|
};
|
|
271
193
|
exports.se_DescribeConfigurationAggregatorsCommand = se_DescribeConfigurationAggregatorsCommand;
|
|
272
194
|
const se_DescribeConfigurationAggregatorSourcesStatusCommand = async (input, context) => {
|
|
273
|
-
const headers =
|
|
274
|
-
"content-type": "application/x-amz-json-1.1",
|
|
275
|
-
"x-amz-target": "StarlingDoveService.DescribeConfigurationAggregatorSourcesStatus",
|
|
276
|
-
};
|
|
195
|
+
const headers = sharedHeaders("DescribeConfigurationAggregatorSourcesStatus");
|
|
277
196
|
let body;
|
|
278
197
|
body = JSON.stringify(se_DescribeConfigurationAggregatorSourcesStatusRequest(input, context));
|
|
279
198
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
280
199
|
};
|
|
281
200
|
exports.se_DescribeConfigurationAggregatorSourcesStatusCommand = se_DescribeConfigurationAggregatorSourcesStatusCommand;
|
|
282
201
|
const se_DescribeConfigurationRecordersCommand = async (input, context) => {
|
|
283
|
-
const headers =
|
|
284
|
-
"content-type": "application/x-amz-json-1.1",
|
|
285
|
-
"x-amz-target": "StarlingDoveService.DescribeConfigurationRecorders",
|
|
286
|
-
};
|
|
202
|
+
const headers = sharedHeaders("DescribeConfigurationRecorders");
|
|
287
203
|
let body;
|
|
288
204
|
body = JSON.stringify(se_DescribeConfigurationRecordersRequest(input, context));
|
|
289
205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
290
206
|
};
|
|
291
207
|
exports.se_DescribeConfigurationRecordersCommand = se_DescribeConfigurationRecordersCommand;
|
|
292
208
|
const se_DescribeConfigurationRecorderStatusCommand = async (input, context) => {
|
|
293
|
-
const headers =
|
|
294
|
-
"content-type": "application/x-amz-json-1.1",
|
|
295
|
-
"x-amz-target": "StarlingDoveService.DescribeConfigurationRecorderStatus",
|
|
296
|
-
};
|
|
209
|
+
const headers = sharedHeaders("DescribeConfigurationRecorderStatus");
|
|
297
210
|
let body;
|
|
298
211
|
body = JSON.stringify(se_DescribeConfigurationRecorderStatusRequest(input, context));
|
|
299
212
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
213
|
};
|
|
301
214
|
exports.se_DescribeConfigurationRecorderStatusCommand = se_DescribeConfigurationRecorderStatusCommand;
|
|
302
215
|
const se_DescribeConformancePackComplianceCommand = async (input, context) => {
|
|
303
|
-
const headers =
|
|
304
|
-
"content-type": "application/x-amz-json-1.1",
|
|
305
|
-
"x-amz-target": "StarlingDoveService.DescribeConformancePackCompliance",
|
|
306
|
-
};
|
|
216
|
+
const headers = sharedHeaders("DescribeConformancePackCompliance");
|
|
307
217
|
let body;
|
|
308
218
|
body = JSON.stringify(se_DescribeConformancePackComplianceRequest(input, context));
|
|
309
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
220
|
};
|
|
311
221
|
exports.se_DescribeConformancePackComplianceCommand = se_DescribeConformancePackComplianceCommand;
|
|
312
222
|
const se_DescribeConformancePacksCommand = async (input, context) => {
|
|
313
|
-
const headers =
|
|
314
|
-
"content-type": "application/x-amz-json-1.1",
|
|
315
|
-
"x-amz-target": "StarlingDoveService.DescribeConformancePacks",
|
|
316
|
-
};
|
|
223
|
+
const headers = sharedHeaders("DescribeConformancePacks");
|
|
317
224
|
let body;
|
|
318
225
|
body = JSON.stringify(se_DescribeConformancePacksRequest(input, context));
|
|
319
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
227
|
};
|
|
321
228
|
exports.se_DescribeConformancePacksCommand = se_DescribeConformancePacksCommand;
|
|
322
229
|
const se_DescribeConformancePackStatusCommand = async (input, context) => {
|
|
323
|
-
const headers =
|
|
324
|
-
"content-type": "application/x-amz-json-1.1",
|
|
325
|
-
"x-amz-target": "StarlingDoveService.DescribeConformancePackStatus",
|
|
326
|
-
};
|
|
230
|
+
const headers = sharedHeaders("DescribeConformancePackStatus");
|
|
327
231
|
let body;
|
|
328
232
|
body = JSON.stringify(se_DescribeConformancePackStatusRequest(input, context));
|
|
329
233
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
234
|
};
|
|
331
235
|
exports.se_DescribeConformancePackStatusCommand = se_DescribeConformancePackStatusCommand;
|
|
332
236
|
const se_DescribeDeliveryChannelsCommand = async (input, context) => {
|
|
333
|
-
const headers =
|
|
334
|
-
"content-type": "application/x-amz-json-1.1",
|
|
335
|
-
"x-amz-target": "StarlingDoveService.DescribeDeliveryChannels",
|
|
336
|
-
};
|
|
237
|
+
const headers = sharedHeaders("DescribeDeliveryChannels");
|
|
337
238
|
let body;
|
|
338
239
|
body = JSON.stringify(se_DescribeDeliveryChannelsRequest(input, context));
|
|
339
240
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
340
241
|
};
|
|
341
242
|
exports.se_DescribeDeliveryChannelsCommand = se_DescribeDeliveryChannelsCommand;
|
|
342
243
|
const se_DescribeDeliveryChannelStatusCommand = async (input, context) => {
|
|
343
|
-
const headers =
|
|
344
|
-
"content-type": "application/x-amz-json-1.1",
|
|
345
|
-
"x-amz-target": "StarlingDoveService.DescribeDeliveryChannelStatus",
|
|
346
|
-
};
|
|
244
|
+
const headers = sharedHeaders("DescribeDeliveryChannelStatus");
|
|
347
245
|
let body;
|
|
348
246
|
body = JSON.stringify(se_DescribeDeliveryChannelStatusRequest(input, context));
|
|
349
247
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
350
248
|
};
|
|
351
249
|
exports.se_DescribeDeliveryChannelStatusCommand = se_DescribeDeliveryChannelStatusCommand;
|
|
352
250
|
const se_DescribeOrganizationConfigRulesCommand = async (input, context) => {
|
|
353
|
-
const headers =
|
|
354
|
-
"content-type": "application/x-amz-json-1.1",
|
|
355
|
-
"x-amz-target": "StarlingDoveService.DescribeOrganizationConfigRules",
|
|
356
|
-
};
|
|
251
|
+
const headers = sharedHeaders("DescribeOrganizationConfigRules");
|
|
357
252
|
let body;
|
|
358
253
|
body = JSON.stringify(se_DescribeOrganizationConfigRulesRequest(input, context));
|
|
359
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
255
|
};
|
|
361
256
|
exports.se_DescribeOrganizationConfigRulesCommand = se_DescribeOrganizationConfigRulesCommand;
|
|
362
257
|
const se_DescribeOrganizationConfigRuleStatusesCommand = async (input, context) => {
|
|
363
|
-
const headers =
|
|
364
|
-
"content-type": "application/x-amz-json-1.1",
|
|
365
|
-
"x-amz-target": "StarlingDoveService.DescribeOrganizationConfigRuleStatuses",
|
|
366
|
-
};
|
|
258
|
+
const headers = sharedHeaders("DescribeOrganizationConfigRuleStatuses");
|
|
367
259
|
let body;
|
|
368
260
|
body = JSON.stringify(se_DescribeOrganizationConfigRuleStatusesRequest(input, context));
|
|
369
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
370
262
|
};
|
|
371
263
|
exports.se_DescribeOrganizationConfigRuleStatusesCommand = se_DescribeOrganizationConfigRuleStatusesCommand;
|
|
372
264
|
const se_DescribeOrganizationConformancePacksCommand = async (input, context) => {
|
|
373
|
-
const headers =
|
|
374
|
-
"content-type": "application/x-amz-json-1.1",
|
|
375
|
-
"x-amz-target": "StarlingDoveService.DescribeOrganizationConformancePacks",
|
|
376
|
-
};
|
|
265
|
+
const headers = sharedHeaders("DescribeOrganizationConformancePacks");
|
|
377
266
|
let body;
|
|
378
267
|
body = JSON.stringify(se_DescribeOrganizationConformancePacksRequest(input, context));
|
|
379
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
380
269
|
};
|
|
381
270
|
exports.se_DescribeOrganizationConformancePacksCommand = se_DescribeOrganizationConformancePacksCommand;
|
|
382
271
|
const se_DescribeOrganizationConformancePackStatusesCommand = async (input, context) => {
|
|
383
|
-
const headers =
|
|
384
|
-
"content-type": "application/x-amz-json-1.1",
|
|
385
|
-
"x-amz-target": "StarlingDoveService.DescribeOrganizationConformancePackStatuses",
|
|
386
|
-
};
|
|
272
|
+
const headers = sharedHeaders("DescribeOrganizationConformancePackStatuses");
|
|
387
273
|
let body;
|
|
388
274
|
body = JSON.stringify(se_DescribeOrganizationConformancePackStatusesRequest(input, context));
|
|
389
275
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
390
276
|
};
|
|
391
277
|
exports.se_DescribeOrganizationConformancePackStatusesCommand = se_DescribeOrganizationConformancePackStatusesCommand;
|
|
392
278
|
const se_DescribePendingAggregationRequestsCommand = async (input, context) => {
|
|
393
|
-
const headers =
|
|
394
|
-
"content-type": "application/x-amz-json-1.1",
|
|
395
|
-
"x-amz-target": "StarlingDoveService.DescribePendingAggregationRequests",
|
|
396
|
-
};
|
|
279
|
+
const headers = sharedHeaders("DescribePendingAggregationRequests");
|
|
397
280
|
let body;
|
|
398
281
|
body = JSON.stringify(se_DescribePendingAggregationRequestsRequest(input, context));
|
|
399
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
283
|
};
|
|
401
284
|
exports.se_DescribePendingAggregationRequestsCommand = se_DescribePendingAggregationRequestsCommand;
|
|
402
285
|
const se_DescribeRemediationConfigurationsCommand = async (input, context) => {
|
|
403
|
-
const headers =
|
|
404
|
-
"content-type": "application/x-amz-json-1.1",
|
|
405
|
-
"x-amz-target": "StarlingDoveService.DescribeRemediationConfigurations",
|
|
406
|
-
};
|
|
286
|
+
const headers = sharedHeaders("DescribeRemediationConfigurations");
|
|
407
287
|
let body;
|
|
408
288
|
body = JSON.stringify(se_DescribeRemediationConfigurationsRequest(input, context));
|
|
409
289
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
290
|
};
|
|
411
291
|
exports.se_DescribeRemediationConfigurationsCommand = se_DescribeRemediationConfigurationsCommand;
|
|
412
292
|
const se_DescribeRemediationExceptionsCommand = async (input, context) => {
|
|
413
|
-
const headers =
|
|
414
|
-
"content-type": "application/x-amz-json-1.1",
|
|
415
|
-
"x-amz-target": "StarlingDoveService.DescribeRemediationExceptions",
|
|
416
|
-
};
|
|
293
|
+
const headers = sharedHeaders("DescribeRemediationExceptions");
|
|
417
294
|
let body;
|
|
418
295
|
body = JSON.stringify(se_DescribeRemediationExceptionsRequest(input, context));
|
|
419
296
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
420
297
|
};
|
|
421
298
|
exports.se_DescribeRemediationExceptionsCommand = se_DescribeRemediationExceptionsCommand;
|
|
422
299
|
const se_DescribeRemediationExecutionStatusCommand = async (input, context) => {
|
|
423
|
-
const headers =
|
|
424
|
-
"content-type": "application/x-amz-json-1.1",
|
|
425
|
-
"x-amz-target": "StarlingDoveService.DescribeRemediationExecutionStatus",
|
|
426
|
-
};
|
|
300
|
+
const headers = sharedHeaders("DescribeRemediationExecutionStatus");
|
|
427
301
|
let body;
|
|
428
302
|
body = JSON.stringify(se_DescribeRemediationExecutionStatusRequest(input, context));
|
|
429
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
430
304
|
};
|
|
431
305
|
exports.se_DescribeRemediationExecutionStatusCommand = se_DescribeRemediationExecutionStatusCommand;
|
|
432
306
|
const se_DescribeRetentionConfigurationsCommand = async (input, context) => {
|
|
433
|
-
const headers =
|
|
434
|
-
"content-type": "application/x-amz-json-1.1",
|
|
435
|
-
"x-amz-target": "StarlingDoveService.DescribeRetentionConfigurations",
|
|
436
|
-
};
|
|
307
|
+
const headers = sharedHeaders("DescribeRetentionConfigurations");
|
|
437
308
|
let body;
|
|
438
309
|
body = JSON.stringify(se_DescribeRetentionConfigurationsRequest(input, context));
|
|
439
310
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
440
311
|
};
|
|
441
312
|
exports.se_DescribeRetentionConfigurationsCommand = se_DescribeRetentionConfigurationsCommand;
|
|
442
313
|
const se_GetAggregateComplianceDetailsByConfigRuleCommand = async (input, context) => {
|
|
443
|
-
const headers =
|
|
444
|
-
"content-type": "application/x-amz-json-1.1",
|
|
445
|
-
"x-amz-target": "StarlingDoveService.GetAggregateComplianceDetailsByConfigRule",
|
|
446
|
-
};
|
|
314
|
+
const headers = sharedHeaders("GetAggregateComplianceDetailsByConfigRule");
|
|
447
315
|
let body;
|
|
448
316
|
body = JSON.stringify(se_GetAggregateComplianceDetailsByConfigRuleRequest(input, context));
|
|
449
317
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
450
318
|
};
|
|
451
319
|
exports.se_GetAggregateComplianceDetailsByConfigRuleCommand = se_GetAggregateComplianceDetailsByConfigRuleCommand;
|
|
452
320
|
const se_GetAggregateConfigRuleComplianceSummaryCommand = async (input, context) => {
|
|
453
|
-
const headers =
|
|
454
|
-
"content-type": "application/x-amz-json-1.1",
|
|
455
|
-
"x-amz-target": "StarlingDoveService.GetAggregateConfigRuleComplianceSummary",
|
|
456
|
-
};
|
|
321
|
+
const headers = sharedHeaders("GetAggregateConfigRuleComplianceSummary");
|
|
457
322
|
let body;
|
|
458
323
|
body = JSON.stringify(se_GetAggregateConfigRuleComplianceSummaryRequest(input, context));
|
|
459
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
460
325
|
};
|
|
461
326
|
exports.se_GetAggregateConfigRuleComplianceSummaryCommand = se_GetAggregateConfigRuleComplianceSummaryCommand;
|
|
462
327
|
const se_GetAggregateConformancePackComplianceSummaryCommand = async (input, context) => {
|
|
463
|
-
const headers =
|
|
464
|
-
"content-type": "application/x-amz-json-1.1",
|
|
465
|
-
"x-amz-target": "StarlingDoveService.GetAggregateConformancePackComplianceSummary",
|
|
466
|
-
};
|
|
328
|
+
const headers = sharedHeaders("GetAggregateConformancePackComplianceSummary");
|
|
467
329
|
let body;
|
|
468
330
|
body = JSON.stringify(se_GetAggregateConformancePackComplianceSummaryRequest(input, context));
|
|
469
331
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
470
332
|
};
|
|
471
333
|
exports.se_GetAggregateConformancePackComplianceSummaryCommand = se_GetAggregateConformancePackComplianceSummaryCommand;
|
|
472
334
|
const se_GetAggregateDiscoveredResourceCountsCommand = async (input, context) => {
|
|
473
|
-
const headers =
|
|
474
|
-
"content-type": "application/x-amz-json-1.1",
|
|
475
|
-
"x-amz-target": "StarlingDoveService.GetAggregateDiscoveredResourceCounts",
|
|
476
|
-
};
|
|
335
|
+
const headers = sharedHeaders("GetAggregateDiscoveredResourceCounts");
|
|
477
336
|
let body;
|
|
478
337
|
body = JSON.stringify(se_GetAggregateDiscoveredResourceCountsRequest(input, context));
|
|
479
338
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
480
339
|
};
|
|
481
340
|
exports.se_GetAggregateDiscoveredResourceCountsCommand = se_GetAggregateDiscoveredResourceCountsCommand;
|
|
482
341
|
const se_GetAggregateResourceConfigCommand = async (input, context) => {
|
|
483
|
-
const headers =
|
|
484
|
-
"content-type": "application/x-amz-json-1.1",
|
|
485
|
-
"x-amz-target": "StarlingDoveService.GetAggregateResourceConfig",
|
|
486
|
-
};
|
|
342
|
+
const headers = sharedHeaders("GetAggregateResourceConfig");
|
|
487
343
|
let body;
|
|
488
344
|
body = JSON.stringify(se_GetAggregateResourceConfigRequest(input, context));
|
|
489
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
490
346
|
};
|
|
491
347
|
exports.se_GetAggregateResourceConfigCommand = se_GetAggregateResourceConfigCommand;
|
|
492
348
|
const se_GetComplianceDetailsByConfigRuleCommand = async (input, context) => {
|
|
493
|
-
const headers =
|
|
494
|
-
"content-type": "application/x-amz-json-1.1",
|
|
495
|
-
"x-amz-target": "StarlingDoveService.GetComplianceDetailsByConfigRule",
|
|
496
|
-
};
|
|
349
|
+
const headers = sharedHeaders("GetComplianceDetailsByConfigRule");
|
|
497
350
|
let body;
|
|
498
351
|
body = JSON.stringify(se_GetComplianceDetailsByConfigRuleRequest(input, context));
|
|
499
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
500
353
|
};
|
|
501
354
|
exports.se_GetComplianceDetailsByConfigRuleCommand = se_GetComplianceDetailsByConfigRuleCommand;
|
|
502
355
|
const se_GetComplianceDetailsByResourceCommand = async (input, context) => {
|
|
503
|
-
const headers =
|
|
504
|
-
"content-type": "application/x-amz-json-1.1",
|
|
505
|
-
"x-amz-target": "StarlingDoveService.GetComplianceDetailsByResource",
|
|
506
|
-
};
|
|
356
|
+
const headers = sharedHeaders("GetComplianceDetailsByResource");
|
|
507
357
|
let body;
|
|
508
358
|
body = JSON.stringify(se_GetComplianceDetailsByResourceRequest(input, context));
|
|
509
359
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
360
|
};
|
|
511
361
|
exports.se_GetComplianceDetailsByResourceCommand = se_GetComplianceDetailsByResourceCommand;
|
|
512
362
|
const se_GetComplianceSummaryByConfigRuleCommand = async (input, context) => {
|
|
513
|
-
const headers =
|
|
514
|
-
"content-type": "application/x-amz-json-1.1",
|
|
515
|
-
"x-amz-target": "StarlingDoveService.GetComplianceSummaryByConfigRule",
|
|
516
|
-
};
|
|
363
|
+
const headers = sharedHeaders("GetComplianceSummaryByConfigRule");
|
|
517
364
|
const body = "{}";
|
|
518
365
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
519
366
|
};
|
|
520
367
|
exports.se_GetComplianceSummaryByConfigRuleCommand = se_GetComplianceSummaryByConfigRuleCommand;
|
|
521
368
|
const se_GetComplianceSummaryByResourceTypeCommand = async (input, context) => {
|
|
522
|
-
const headers =
|
|
523
|
-
"content-type": "application/x-amz-json-1.1",
|
|
524
|
-
"x-amz-target": "StarlingDoveService.GetComplianceSummaryByResourceType",
|
|
525
|
-
};
|
|
369
|
+
const headers = sharedHeaders("GetComplianceSummaryByResourceType");
|
|
526
370
|
let body;
|
|
527
371
|
body = JSON.stringify(se_GetComplianceSummaryByResourceTypeRequest(input, context));
|
|
528
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
529
373
|
};
|
|
530
374
|
exports.se_GetComplianceSummaryByResourceTypeCommand = se_GetComplianceSummaryByResourceTypeCommand;
|
|
531
375
|
const se_GetConformancePackComplianceDetailsCommand = async (input, context) => {
|
|
532
|
-
const headers =
|
|
533
|
-
"content-type": "application/x-amz-json-1.1",
|
|
534
|
-
"x-amz-target": "StarlingDoveService.GetConformancePackComplianceDetails",
|
|
535
|
-
};
|
|
376
|
+
const headers = sharedHeaders("GetConformancePackComplianceDetails");
|
|
536
377
|
let body;
|
|
537
378
|
body = JSON.stringify(se_GetConformancePackComplianceDetailsRequest(input, context));
|
|
538
379
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
539
380
|
};
|
|
540
381
|
exports.se_GetConformancePackComplianceDetailsCommand = se_GetConformancePackComplianceDetailsCommand;
|
|
541
382
|
const se_GetConformancePackComplianceSummaryCommand = async (input, context) => {
|
|
542
|
-
const headers =
|
|
543
|
-
"content-type": "application/x-amz-json-1.1",
|
|
544
|
-
"x-amz-target": "StarlingDoveService.GetConformancePackComplianceSummary",
|
|
545
|
-
};
|
|
383
|
+
const headers = sharedHeaders("GetConformancePackComplianceSummary");
|
|
546
384
|
let body;
|
|
547
385
|
body = JSON.stringify(se_GetConformancePackComplianceSummaryRequest(input, context));
|
|
548
386
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
549
387
|
};
|
|
550
388
|
exports.se_GetConformancePackComplianceSummaryCommand = se_GetConformancePackComplianceSummaryCommand;
|
|
551
389
|
const se_GetCustomRulePolicyCommand = async (input, context) => {
|
|
552
|
-
const headers =
|
|
553
|
-
"content-type": "application/x-amz-json-1.1",
|
|
554
|
-
"x-amz-target": "StarlingDoveService.GetCustomRulePolicy",
|
|
555
|
-
};
|
|
390
|
+
const headers = sharedHeaders("GetCustomRulePolicy");
|
|
556
391
|
let body;
|
|
557
392
|
body = JSON.stringify(se_GetCustomRulePolicyRequest(input, context));
|
|
558
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
559
394
|
};
|
|
560
395
|
exports.se_GetCustomRulePolicyCommand = se_GetCustomRulePolicyCommand;
|
|
561
396
|
const se_GetDiscoveredResourceCountsCommand = async (input, context) => {
|
|
562
|
-
const headers =
|
|
563
|
-
"content-type": "application/x-amz-json-1.1",
|
|
564
|
-
"x-amz-target": "StarlingDoveService.GetDiscoveredResourceCounts",
|
|
565
|
-
};
|
|
397
|
+
const headers = sharedHeaders("GetDiscoveredResourceCounts");
|
|
566
398
|
let body;
|
|
567
399
|
body = JSON.stringify(se_GetDiscoveredResourceCountsRequest(input, context));
|
|
568
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
401
|
};
|
|
570
402
|
exports.se_GetDiscoveredResourceCountsCommand = se_GetDiscoveredResourceCountsCommand;
|
|
571
403
|
const se_GetOrganizationConfigRuleDetailedStatusCommand = async (input, context) => {
|
|
572
|
-
const headers =
|
|
573
|
-
"content-type": "application/x-amz-json-1.1",
|
|
574
|
-
"x-amz-target": "StarlingDoveService.GetOrganizationConfigRuleDetailedStatus",
|
|
575
|
-
};
|
|
404
|
+
const headers = sharedHeaders("GetOrganizationConfigRuleDetailedStatus");
|
|
576
405
|
let body;
|
|
577
406
|
body = JSON.stringify(se_GetOrganizationConfigRuleDetailedStatusRequest(input, context));
|
|
578
407
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
579
408
|
};
|
|
580
409
|
exports.se_GetOrganizationConfigRuleDetailedStatusCommand = se_GetOrganizationConfigRuleDetailedStatusCommand;
|
|
581
410
|
const se_GetOrganizationConformancePackDetailedStatusCommand = async (input, context) => {
|
|
582
|
-
const headers =
|
|
583
|
-
"content-type": "application/x-amz-json-1.1",
|
|
584
|
-
"x-amz-target": "StarlingDoveService.GetOrganizationConformancePackDetailedStatus",
|
|
585
|
-
};
|
|
411
|
+
const headers = sharedHeaders("GetOrganizationConformancePackDetailedStatus");
|
|
586
412
|
let body;
|
|
587
413
|
body = JSON.stringify(se_GetOrganizationConformancePackDetailedStatusRequest(input, context));
|
|
588
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
589
415
|
};
|
|
590
416
|
exports.se_GetOrganizationConformancePackDetailedStatusCommand = se_GetOrganizationConformancePackDetailedStatusCommand;
|
|
591
417
|
const se_GetOrganizationCustomRulePolicyCommand = async (input, context) => {
|
|
592
|
-
const headers =
|
|
593
|
-
"content-type": "application/x-amz-json-1.1",
|
|
594
|
-
"x-amz-target": "StarlingDoveService.GetOrganizationCustomRulePolicy",
|
|
595
|
-
};
|
|
418
|
+
const headers = sharedHeaders("GetOrganizationCustomRulePolicy");
|
|
596
419
|
let body;
|
|
597
420
|
body = JSON.stringify(se_GetOrganizationCustomRulePolicyRequest(input, context));
|
|
598
421
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
599
422
|
};
|
|
600
423
|
exports.se_GetOrganizationCustomRulePolicyCommand = se_GetOrganizationCustomRulePolicyCommand;
|
|
601
424
|
const se_GetResourceConfigHistoryCommand = async (input, context) => {
|
|
602
|
-
const headers =
|
|
603
|
-
"content-type": "application/x-amz-json-1.1",
|
|
604
|
-
"x-amz-target": "StarlingDoveService.GetResourceConfigHistory",
|
|
605
|
-
};
|
|
425
|
+
const headers = sharedHeaders("GetResourceConfigHistory");
|
|
606
426
|
let body;
|
|
607
427
|
body = JSON.stringify(se_GetResourceConfigHistoryRequest(input, context));
|
|
608
428
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
609
429
|
};
|
|
610
430
|
exports.se_GetResourceConfigHistoryCommand = se_GetResourceConfigHistoryCommand;
|
|
611
431
|
const se_GetResourceEvaluationSummaryCommand = async (input, context) => {
|
|
612
|
-
const headers =
|
|
613
|
-
"content-type": "application/x-amz-json-1.1",
|
|
614
|
-
"x-amz-target": "StarlingDoveService.GetResourceEvaluationSummary",
|
|
615
|
-
};
|
|
432
|
+
const headers = sharedHeaders("GetResourceEvaluationSummary");
|
|
616
433
|
let body;
|
|
617
434
|
body = JSON.stringify(se_GetResourceEvaluationSummaryRequest(input, context));
|
|
618
435
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
619
436
|
};
|
|
620
437
|
exports.se_GetResourceEvaluationSummaryCommand = se_GetResourceEvaluationSummaryCommand;
|
|
621
438
|
const se_GetStoredQueryCommand = async (input, context) => {
|
|
622
|
-
const headers =
|
|
623
|
-
"content-type": "application/x-amz-json-1.1",
|
|
624
|
-
"x-amz-target": "StarlingDoveService.GetStoredQuery",
|
|
625
|
-
};
|
|
439
|
+
const headers = sharedHeaders("GetStoredQuery");
|
|
626
440
|
let body;
|
|
627
441
|
body = JSON.stringify(se_GetStoredQueryRequest(input, context));
|
|
628
442
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
443
|
};
|
|
630
444
|
exports.se_GetStoredQueryCommand = se_GetStoredQueryCommand;
|
|
631
445
|
const se_ListAggregateDiscoveredResourcesCommand = async (input, context) => {
|
|
632
|
-
const headers =
|
|
633
|
-
"content-type": "application/x-amz-json-1.1",
|
|
634
|
-
"x-amz-target": "StarlingDoveService.ListAggregateDiscoveredResources",
|
|
635
|
-
};
|
|
446
|
+
const headers = sharedHeaders("ListAggregateDiscoveredResources");
|
|
636
447
|
let body;
|
|
637
448
|
body = JSON.stringify(se_ListAggregateDiscoveredResourcesRequest(input, context));
|
|
638
449
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
639
450
|
};
|
|
640
451
|
exports.se_ListAggregateDiscoveredResourcesCommand = se_ListAggregateDiscoveredResourcesCommand;
|
|
641
452
|
const se_ListConformancePackComplianceScoresCommand = async (input, context) => {
|
|
642
|
-
const headers =
|
|
643
|
-
"content-type": "application/x-amz-json-1.1",
|
|
644
|
-
"x-amz-target": "StarlingDoveService.ListConformancePackComplianceScores",
|
|
645
|
-
};
|
|
453
|
+
const headers = sharedHeaders("ListConformancePackComplianceScores");
|
|
646
454
|
let body;
|
|
647
455
|
body = JSON.stringify(se_ListConformancePackComplianceScoresRequest(input, context));
|
|
648
456
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
649
457
|
};
|
|
650
458
|
exports.se_ListConformancePackComplianceScoresCommand = se_ListConformancePackComplianceScoresCommand;
|
|
651
459
|
const se_ListDiscoveredResourcesCommand = async (input, context) => {
|
|
652
|
-
const headers =
|
|
653
|
-
"content-type": "application/x-amz-json-1.1",
|
|
654
|
-
"x-amz-target": "StarlingDoveService.ListDiscoveredResources",
|
|
655
|
-
};
|
|
460
|
+
const headers = sharedHeaders("ListDiscoveredResources");
|
|
656
461
|
let body;
|
|
657
462
|
body = JSON.stringify(se_ListDiscoveredResourcesRequest(input, context));
|
|
658
463
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
659
464
|
};
|
|
660
465
|
exports.se_ListDiscoveredResourcesCommand = se_ListDiscoveredResourcesCommand;
|
|
661
466
|
const se_ListResourceEvaluationsCommand = async (input, context) => {
|
|
662
|
-
const headers =
|
|
663
|
-
"content-type": "application/x-amz-json-1.1",
|
|
664
|
-
"x-amz-target": "StarlingDoveService.ListResourceEvaluations",
|
|
665
|
-
};
|
|
467
|
+
const headers = sharedHeaders("ListResourceEvaluations");
|
|
666
468
|
let body;
|
|
667
469
|
body = JSON.stringify(se_ListResourceEvaluationsRequest(input, context));
|
|
668
470
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
669
471
|
};
|
|
670
472
|
exports.se_ListResourceEvaluationsCommand = se_ListResourceEvaluationsCommand;
|
|
671
473
|
const se_ListStoredQueriesCommand = async (input, context) => {
|
|
672
|
-
const headers =
|
|
673
|
-
"content-type": "application/x-amz-json-1.1",
|
|
674
|
-
"x-amz-target": "StarlingDoveService.ListStoredQueries",
|
|
675
|
-
};
|
|
474
|
+
const headers = sharedHeaders("ListStoredQueries");
|
|
676
475
|
let body;
|
|
677
476
|
body = JSON.stringify(se_ListStoredQueriesRequest(input, context));
|
|
678
477
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
679
478
|
};
|
|
680
479
|
exports.se_ListStoredQueriesCommand = se_ListStoredQueriesCommand;
|
|
681
480
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
682
|
-
const headers =
|
|
683
|
-
"content-type": "application/x-amz-json-1.1",
|
|
684
|
-
"x-amz-target": "StarlingDoveService.ListTagsForResource",
|
|
685
|
-
};
|
|
481
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
686
482
|
let body;
|
|
687
483
|
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
688
484
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
689
485
|
};
|
|
690
486
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
691
487
|
const se_PutAggregationAuthorizationCommand = async (input, context) => {
|
|
692
|
-
const headers =
|
|
693
|
-
"content-type": "application/x-amz-json-1.1",
|
|
694
|
-
"x-amz-target": "StarlingDoveService.PutAggregationAuthorization",
|
|
695
|
-
};
|
|
488
|
+
const headers = sharedHeaders("PutAggregationAuthorization");
|
|
696
489
|
let body;
|
|
697
490
|
body = JSON.stringify(se_PutAggregationAuthorizationRequest(input, context));
|
|
698
491
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
699
492
|
};
|
|
700
493
|
exports.se_PutAggregationAuthorizationCommand = se_PutAggregationAuthorizationCommand;
|
|
701
494
|
const se_PutConfigRuleCommand = async (input, context) => {
|
|
702
|
-
const headers =
|
|
703
|
-
"content-type": "application/x-amz-json-1.1",
|
|
704
|
-
"x-amz-target": "StarlingDoveService.PutConfigRule",
|
|
705
|
-
};
|
|
495
|
+
const headers = sharedHeaders("PutConfigRule");
|
|
706
496
|
let body;
|
|
707
497
|
body = JSON.stringify(se_PutConfigRuleRequest(input, context));
|
|
708
498
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
709
499
|
};
|
|
710
500
|
exports.se_PutConfigRuleCommand = se_PutConfigRuleCommand;
|
|
711
501
|
const se_PutConfigurationAggregatorCommand = async (input, context) => {
|
|
712
|
-
const headers =
|
|
713
|
-
"content-type": "application/x-amz-json-1.1",
|
|
714
|
-
"x-amz-target": "StarlingDoveService.PutConfigurationAggregator",
|
|
715
|
-
};
|
|
502
|
+
const headers = sharedHeaders("PutConfigurationAggregator");
|
|
716
503
|
let body;
|
|
717
504
|
body = JSON.stringify(se_PutConfigurationAggregatorRequest(input, context));
|
|
718
505
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
719
506
|
};
|
|
720
507
|
exports.se_PutConfigurationAggregatorCommand = se_PutConfigurationAggregatorCommand;
|
|
721
508
|
const se_PutConfigurationRecorderCommand = async (input, context) => {
|
|
722
|
-
const headers =
|
|
723
|
-
"content-type": "application/x-amz-json-1.1",
|
|
724
|
-
"x-amz-target": "StarlingDoveService.PutConfigurationRecorder",
|
|
725
|
-
};
|
|
509
|
+
const headers = sharedHeaders("PutConfigurationRecorder");
|
|
726
510
|
let body;
|
|
727
511
|
body = JSON.stringify(se_PutConfigurationRecorderRequest(input, context));
|
|
728
512
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
729
513
|
};
|
|
730
514
|
exports.se_PutConfigurationRecorderCommand = se_PutConfigurationRecorderCommand;
|
|
731
515
|
const se_PutConformancePackCommand = async (input, context) => {
|
|
732
|
-
const headers =
|
|
733
|
-
"content-type": "application/x-amz-json-1.1",
|
|
734
|
-
"x-amz-target": "StarlingDoveService.PutConformancePack",
|
|
735
|
-
};
|
|
516
|
+
const headers = sharedHeaders("PutConformancePack");
|
|
736
517
|
let body;
|
|
737
518
|
body = JSON.stringify(se_PutConformancePackRequest(input, context));
|
|
738
519
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
739
520
|
};
|
|
740
521
|
exports.se_PutConformancePackCommand = se_PutConformancePackCommand;
|
|
741
522
|
const se_PutDeliveryChannelCommand = async (input, context) => {
|
|
742
|
-
const headers =
|
|
743
|
-
"content-type": "application/x-amz-json-1.1",
|
|
744
|
-
"x-amz-target": "StarlingDoveService.PutDeliveryChannel",
|
|
745
|
-
};
|
|
523
|
+
const headers = sharedHeaders("PutDeliveryChannel");
|
|
746
524
|
let body;
|
|
747
525
|
body = JSON.stringify(se_PutDeliveryChannelRequest(input, context));
|
|
748
526
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
749
527
|
};
|
|
750
528
|
exports.se_PutDeliveryChannelCommand = se_PutDeliveryChannelCommand;
|
|
751
529
|
const se_PutEvaluationsCommand = async (input, context) => {
|
|
752
|
-
const headers =
|
|
753
|
-
"content-type": "application/x-amz-json-1.1",
|
|
754
|
-
"x-amz-target": "StarlingDoveService.PutEvaluations",
|
|
755
|
-
};
|
|
530
|
+
const headers = sharedHeaders("PutEvaluations");
|
|
756
531
|
let body;
|
|
757
532
|
body = JSON.stringify(se_PutEvaluationsRequest(input, context));
|
|
758
533
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
759
534
|
};
|
|
760
535
|
exports.se_PutEvaluationsCommand = se_PutEvaluationsCommand;
|
|
761
536
|
const se_PutExternalEvaluationCommand = async (input, context) => {
|
|
762
|
-
const headers =
|
|
763
|
-
"content-type": "application/x-amz-json-1.1",
|
|
764
|
-
"x-amz-target": "StarlingDoveService.PutExternalEvaluation",
|
|
765
|
-
};
|
|
537
|
+
const headers = sharedHeaders("PutExternalEvaluation");
|
|
766
538
|
let body;
|
|
767
539
|
body = JSON.stringify(se_PutExternalEvaluationRequest(input, context));
|
|
768
540
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
769
541
|
};
|
|
770
542
|
exports.se_PutExternalEvaluationCommand = se_PutExternalEvaluationCommand;
|
|
771
543
|
const se_PutOrganizationConfigRuleCommand = async (input, context) => {
|
|
772
|
-
const headers =
|
|
773
|
-
"content-type": "application/x-amz-json-1.1",
|
|
774
|
-
"x-amz-target": "StarlingDoveService.PutOrganizationConfigRule",
|
|
775
|
-
};
|
|
544
|
+
const headers = sharedHeaders("PutOrganizationConfigRule");
|
|
776
545
|
let body;
|
|
777
546
|
body = JSON.stringify(se_PutOrganizationConfigRuleRequest(input, context));
|
|
778
547
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
779
548
|
};
|
|
780
549
|
exports.se_PutOrganizationConfigRuleCommand = se_PutOrganizationConfigRuleCommand;
|
|
781
550
|
const se_PutOrganizationConformancePackCommand = async (input, context) => {
|
|
782
|
-
const headers =
|
|
783
|
-
"content-type": "application/x-amz-json-1.1",
|
|
784
|
-
"x-amz-target": "StarlingDoveService.PutOrganizationConformancePack",
|
|
785
|
-
};
|
|
551
|
+
const headers = sharedHeaders("PutOrganizationConformancePack");
|
|
786
552
|
let body;
|
|
787
553
|
body = JSON.stringify(se_PutOrganizationConformancePackRequest(input, context));
|
|
788
554
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
789
555
|
};
|
|
790
556
|
exports.se_PutOrganizationConformancePackCommand = se_PutOrganizationConformancePackCommand;
|
|
791
557
|
const se_PutRemediationConfigurationsCommand = async (input, context) => {
|
|
792
|
-
const headers =
|
|
793
|
-
"content-type": "application/x-amz-json-1.1",
|
|
794
|
-
"x-amz-target": "StarlingDoveService.PutRemediationConfigurations",
|
|
795
|
-
};
|
|
558
|
+
const headers = sharedHeaders("PutRemediationConfigurations");
|
|
796
559
|
let body;
|
|
797
560
|
body = JSON.stringify(se_PutRemediationConfigurationsRequest(input, context));
|
|
798
561
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
799
562
|
};
|
|
800
563
|
exports.se_PutRemediationConfigurationsCommand = se_PutRemediationConfigurationsCommand;
|
|
801
564
|
const se_PutRemediationExceptionsCommand = async (input, context) => {
|
|
802
|
-
const headers =
|
|
803
|
-
"content-type": "application/x-amz-json-1.1",
|
|
804
|
-
"x-amz-target": "StarlingDoveService.PutRemediationExceptions",
|
|
805
|
-
};
|
|
565
|
+
const headers = sharedHeaders("PutRemediationExceptions");
|
|
806
566
|
let body;
|
|
807
567
|
body = JSON.stringify(se_PutRemediationExceptionsRequest(input, context));
|
|
808
568
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
809
569
|
};
|
|
810
570
|
exports.se_PutRemediationExceptionsCommand = se_PutRemediationExceptionsCommand;
|
|
811
571
|
const se_PutResourceConfigCommand = async (input, context) => {
|
|
812
|
-
const headers =
|
|
813
|
-
"content-type": "application/x-amz-json-1.1",
|
|
814
|
-
"x-amz-target": "StarlingDoveService.PutResourceConfig",
|
|
815
|
-
};
|
|
572
|
+
const headers = sharedHeaders("PutResourceConfig");
|
|
816
573
|
let body;
|
|
817
574
|
body = JSON.stringify(se_PutResourceConfigRequest(input, context));
|
|
818
575
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
819
576
|
};
|
|
820
577
|
exports.se_PutResourceConfigCommand = se_PutResourceConfigCommand;
|
|
821
578
|
const se_PutRetentionConfigurationCommand = async (input, context) => {
|
|
822
|
-
const headers =
|
|
823
|
-
"content-type": "application/x-amz-json-1.1",
|
|
824
|
-
"x-amz-target": "StarlingDoveService.PutRetentionConfiguration",
|
|
825
|
-
};
|
|
579
|
+
const headers = sharedHeaders("PutRetentionConfiguration");
|
|
826
580
|
let body;
|
|
827
581
|
body = JSON.stringify(se_PutRetentionConfigurationRequest(input, context));
|
|
828
582
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
829
583
|
};
|
|
830
584
|
exports.se_PutRetentionConfigurationCommand = se_PutRetentionConfigurationCommand;
|
|
831
585
|
const se_PutStoredQueryCommand = async (input, context) => {
|
|
832
|
-
const headers =
|
|
833
|
-
"content-type": "application/x-amz-json-1.1",
|
|
834
|
-
"x-amz-target": "StarlingDoveService.PutStoredQuery",
|
|
835
|
-
};
|
|
586
|
+
const headers = sharedHeaders("PutStoredQuery");
|
|
836
587
|
let body;
|
|
837
588
|
body = JSON.stringify(se_PutStoredQueryRequest(input, context));
|
|
838
589
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
839
590
|
};
|
|
840
591
|
exports.se_PutStoredQueryCommand = se_PutStoredQueryCommand;
|
|
841
592
|
const se_SelectAggregateResourceConfigCommand = async (input, context) => {
|
|
842
|
-
const headers =
|
|
843
|
-
"content-type": "application/x-amz-json-1.1",
|
|
844
|
-
"x-amz-target": "StarlingDoveService.SelectAggregateResourceConfig",
|
|
845
|
-
};
|
|
593
|
+
const headers = sharedHeaders("SelectAggregateResourceConfig");
|
|
846
594
|
let body;
|
|
847
595
|
body = JSON.stringify(se_SelectAggregateResourceConfigRequest(input, context));
|
|
848
596
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
849
597
|
};
|
|
850
598
|
exports.se_SelectAggregateResourceConfigCommand = se_SelectAggregateResourceConfigCommand;
|
|
851
599
|
const se_SelectResourceConfigCommand = async (input, context) => {
|
|
852
|
-
const headers =
|
|
853
|
-
"content-type": "application/x-amz-json-1.1",
|
|
854
|
-
"x-amz-target": "StarlingDoveService.SelectResourceConfig",
|
|
855
|
-
};
|
|
600
|
+
const headers = sharedHeaders("SelectResourceConfig");
|
|
856
601
|
let body;
|
|
857
602
|
body = JSON.stringify(se_SelectResourceConfigRequest(input, context));
|
|
858
603
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
859
604
|
};
|
|
860
605
|
exports.se_SelectResourceConfigCommand = se_SelectResourceConfigCommand;
|
|
861
606
|
const se_StartConfigRulesEvaluationCommand = async (input, context) => {
|
|
862
|
-
const headers =
|
|
863
|
-
"content-type": "application/x-amz-json-1.1",
|
|
864
|
-
"x-amz-target": "StarlingDoveService.StartConfigRulesEvaluation",
|
|
865
|
-
};
|
|
607
|
+
const headers = sharedHeaders("StartConfigRulesEvaluation");
|
|
866
608
|
let body;
|
|
867
609
|
body = JSON.stringify(se_StartConfigRulesEvaluationRequest(input, context));
|
|
868
610
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
869
611
|
};
|
|
870
612
|
exports.se_StartConfigRulesEvaluationCommand = se_StartConfigRulesEvaluationCommand;
|
|
871
613
|
const se_StartConfigurationRecorderCommand = async (input, context) => {
|
|
872
|
-
const headers =
|
|
873
|
-
"content-type": "application/x-amz-json-1.1",
|
|
874
|
-
"x-amz-target": "StarlingDoveService.StartConfigurationRecorder",
|
|
875
|
-
};
|
|
614
|
+
const headers = sharedHeaders("StartConfigurationRecorder");
|
|
876
615
|
let body;
|
|
877
616
|
body = JSON.stringify(se_StartConfigurationRecorderRequest(input, context));
|
|
878
617
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
879
618
|
};
|
|
880
619
|
exports.se_StartConfigurationRecorderCommand = se_StartConfigurationRecorderCommand;
|
|
881
620
|
const se_StartRemediationExecutionCommand = async (input, context) => {
|
|
882
|
-
const headers =
|
|
883
|
-
"content-type": "application/x-amz-json-1.1",
|
|
884
|
-
"x-amz-target": "StarlingDoveService.StartRemediationExecution",
|
|
885
|
-
};
|
|
621
|
+
const headers = sharedHeaders("StartRemediationExecution");
|
|
886
622
|
let body;
|
|
887
623
|
body = JSON.stringify(se_StartRemediationExecutionRequest(input, context));
|
|
888
624
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
889
625
|
};
|
|
890
626
|
exports.se_StartRemediationExecutionCommand = se_StartRemediationExecutionCommand;
|
|
891
627
|
const se_StartResourceEvaluationCommand = async (input, context) => {
|
|
892
|
-
const headers =
|
|
893
|
-
"content-type": "application/x-amz-json-1.1",
|
|
894
|
-
"x-amz-target": "StarlingDoveService.StartResourceEvaluation",
|
|
895
|
-
};
|
|
628
|
+
const headers = sharedHeaders("StartResourceEvaluation");
|
|
896
629
|
let body;
|
|
897
630
|
body = JSON.stringify(se_StartResourceEvaluationRequest(input, context));
|
|
898
631
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
899
632
|
};
|
|
900
633
|
exports.se_StartResourceEvaluationCommand = se_StartResourceEvaluationCommand;
|
|
901
634
|
const se_StopConfigurationRecorderCommand = async (input, context) => {
|
|
902
|
-
const headers =
|
|
903
|
-
"content-type": "application/x-amz-json-1.1",
|
|
904
|
-
"x-amz-target": "StarlingDoveService.StopConfigurationRecorder",
|
|
905
|
-
};
|
|
635
|
+
const headers = sharedHeaders("StopConfigurationRecorder");
|
|
906
636
|
let body;
|
|
907
637
|
body = JSON.stringify(se_StopConfigurationRecorderRequest(input, context));
|
|
908
638
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
909
639
|
};
|
|
910
640
|
exports.se_StopConfigurationRecorderCommand = se_StopConfigurationRecorderCommand;
|
|
911
641
|
const se_TagResourceCommand = async (input, context) => {
|
|
912
|
-
const headers =
|
|
913
|
-
"content-type": "application/x-amz-json-1.1",
|
|
914
|
-
"x-amz-target": "StarlingDoveService.TagResource",
|
|
915
|
-
};
|
|
642
|
+
const headers = sharedHeaders("TagResource");
|
|
916
643
|
let body;
|
|
917
644
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
918
645
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
919
646
|
};
|
|
920
647
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
921
648
|
const se_UntagResourceCommand = async (input, context) => {
|
|
922
|
-
const headers =
|
|
923
|
-
"content-type": "application/x-amz-json-1.1",
|
|
924
|
-
"x-amz-target": "StarlingDoveService.UntagResource",
|
|
925
|
-
};
|
|
649
|
+
const headers = sharedHeaders("UntagResource");
|
|
926
650
|
let body;
|
|
927
651
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
928
652
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -8873,6 +8597,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
8873
8597
|
}
|
|
8874
8598
|
return new protocol_http_1.HttpRequest(contents);
|
|
8875
8599
|
};
|
|
8600
|
+
function sharedHeaders(operation) {
|
|
8601
|
+
return {
|
|
8602
|
+
"content-type": "application/x-amz-json-1.1",
|
|
8603
|
+
"x-amz-target": `StarlingDoveService.${operation}`,
|
|
8604
|
+
};
|
|
8605
|
+
}
|
|
8876
8606
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
8877
8607
|
if (encoded.length) {
|
|
8878
8608
|
return JSON.parse(encoded);
|