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