@aws-sdk/client-config-service 3.185.0 → 3.188.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/CHANGELOG.md +16 -0
- package/dist-es/ConfigService.js +358 -365
- package/dist-es/ConfigServiceClient.js +22 -28
- package/dist-es/commands/BatchGetAggregateResourceConfigCommand.js +21 -28
- package/dist-es/commands/BatchGetResourceConfigCommand.js +21 -28
- package/dist-es/commands/DeleteAggregationAuthorizationCommand.js +22 -29
- package/dist-es/commands/DeleteConfigRuleCommand.js +22 -29
- package/dist-es/commands/DeleteConfigurationAggregatorCommand.js +22 -29
- package/dist-es/commands/DeleteConfigurationRecorderCommand.js +22 -29
- package/dist-es/commands/DeleteConformancePackCommand.js +22 -29
- package/dist-es/commands/DeleteDeliveryChannelCommand.js +22 -29
- package/dist-es/commands/DeleteEvaluationResultsCommand.js +21 -28
- package/dist-es/commands/DeleteOrganizationConfigRuleCommand.js +22 -29
- package/dist-es/commands/DeleteOrganizationConformancePackCommand.js +22 -29
- package/dist-es/commands/DeletePendingAggregationRequestCommand.js +22 -29
- package/dist-es/commands/DeleteRemediationConfigurationCommand.js +21 -28
- package/dist-es/commands/DeleteRemediationExceptionsCommand.js +21 -28
- package/dist-es/commands/DeleteResourceConfigCommand.js +22 -29
- package/dist-es/commands/DeleteRetentionConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteStoredQueryCommand.js +21 -28
- package/dist-es/commands/DeliverConfigSnapshotCommand.js +21 -28
- package/dist-es/commands/DescribeAggregateComplianceByConfigRulesCommand.js +21 -28
- package/dist-es/commands/DescribeAggregateComplianceByConformancePacksCommand.js +21 -28
- package/dist-es/commands/DescribeAggregationAuthorizationsCommand.js +21 -28
- package/dist-es/commands/DescribeComplianceByConfigRuleCommand.js +21 -28
- package/dist-es/commands/DescribeComplianceByResourceCommand.js +21 -28
- package/dist-es/commands/DescribeConfigRuleEvaluationStatusCommand.js +21 -28
- package/dist-es/commands/DescribeConfigRulesCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationAggregatorsCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationRecorderStatusCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationRecordersCommand.js +21 -28
- package/dist-es/commands/DescribeConformancePackComplianceCommand.js +21 -28
- package/dist-es/commands/DescribeConformancePackStatusCommand.js +21 -28
- package/dist-es/commands/DescribeConformancePacksCommand.js +21 -28
- package/dist-es/commands/DescribeDeliveryChannelStatusCommand.js +21 -28
- package/dist-es/commands/DescribeDeliveryChannelsCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationConfigRuleStatusesCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationConfigRulesCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationConformancePackStatusesCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationConformancePacksCommand.js +21 -28
- package/dist-es/commands/DescribePendingAggregationRequestsCommand.js +21 -28
- package/dist-es/commands/DescribeRemediationConfigurationsCommand.js +21 -28
- package/dist-es/commands/DescribeRemediationExceptionsCommand.js +21 -28
- package/dist-es/commands/DescribeRemediationExecutionStatusCommand.js +21 -28
- package/dist-es/commands/DescribeRetentionConfigurationsCommand.js +21 -28
- package/dist-es/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +21 -28
- package/dist-es/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +21 -28
- package/dist-es/commands/GetAggregateConformancePackComplianceSummaryCommand.js +21 -28
- package/dist-es/commands/GetAggregateDiscoveredResourceCountsCommand.js +21 -28
- package/dist-es/commands/GetAggregateResourceConfigCommand.js +21 -28
- package/dist-es/commands/GetComplianceDetailsByConfigRuleCommand.js +21 -28
- package/dist-es/commands/GetComplianceDetailsByResourceCommand.js +21 -28
- package/dist-es/commands/GetComplianceSummaryByConfigRuleCommand.js +22 -29
- package/dist-es/commands/GetComplianceSummaryByResourceTypeCommand.js +21 -28
- package/dist-es/commands/GetConformancePackComplianceDetailsCommand.js +21 -28
- package/dist-es/commands/GetConformancePackComplianceSummaryCommand.js +21 -28
- package/dist-es/commands/GetCustomRulePolicyCommand.js +21 -28
- package/dist-es/commands/GetDiscoveredResourceCountsCommand.js +21 -28
- package/dist-es/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +21 -28
- package/dist-es/commands/GetOrganizationConformancePackDetailedStatusCommand.js +21 -28
- package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +21 -28
- package/dist-es/commands/GetResourceConfigHistoryCommand.js +21 -28
- package/dist-es/commands/GetStoredQueryCommand.js +21 -28
- package/dist-es/commands/ListAggregateDiscoveredResourcesCommand.js +21 -28
- package/dist-es/commands/ListConformancePackComplianceScoresCommand.js +21 -28
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +21 -28
- package/dist-es/commands/ListStoredQueriesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutAggregationAuthorizationCommand.js +21 -28
- package/dist-es/commands/PutConfigRuleCommand.js +22 -29
- package/dist-es/commands/PutConfigurationAggregatorCommand.js +21 -28
- package/dist-es/commands/PutConfigurationRecorderCommand.js +22 -29
- package/dist-es/commands/PutConformancePackCommand.js +21 -28
- package/dist-es/commands/PutDeliveryChannelCommand.js +22 -29
- package/dist-es/commands/PutEvaluationsCommand.js +21 -28
- package/dist-es/commands/PutExternalEvaluationCommand.js +21 -28
- package/dist-es/commands/PutOrganizationConfigRuleCommand.js +21 -28
- package/dist-es/commands/PutOrganizationConformancePackCommand.js +21 -28
- package/dist-es/commands/PutRemediationConfigurationsCommand.js +21 -28
- package/dist-es/commands/PutRemediationExceptionsCommand.js +21 -28
- package/dist-es/commands/PutResourceConfigCommand.js +22 -29
- package/dist-es/commands/PutRetentionConfigurationCommand.js +21 -28
- package/dist-es/commands/PutStoredQueryCommand.js +21 -28
- package/dist-es/commands/SelectAggregateResourceConfigCommand.js +21 -28
- package/dist-es/commands/SelectResourceConfigCommand.js +21 -28
- package/dist-es/commands/StartConfigRulesEvaluationCommand.js +21 -28
- package/dist-es/commands/StartConfigurationRecorderCommand.js +22 -29
- package/dist-es/commands/StartRemediationExecutionCommand.js +21 -28
- package/dist-es/commands/StopConfigurationRecorderCommand.js +22 -29
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ConfigServiceServiceException.js +5 -10
- package/dist-es/models/models_0.js +1218 -781
- package/dist-es/models/models_1.js +121 -56
- package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +25 -68
- package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +25 -68
- package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +25 -68
- package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +24 -67
- package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +25 -68
- package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeConfigRulesPaginator.js +24 -67
- package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +25 -68
- package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +25 -68
- package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeConformancePacksPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +25 -68
- package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +25 -68
- package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +24 -67
- package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +25 -68
- package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +25 -68
- package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +25 -68
- package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +25 -68
- package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +25 -68
- package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +24 -67
- package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +25 -68
- package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +25 -68
- package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +25 -68
- package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +25 -68
- package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +25 -68
- package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +25 -68
- package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +25 -68
- package/dist-es/pagination/ListConformancePackComplianceScoresPaginator.js +25 -68
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +25 -68
- package/dist-es/pagination/ListStoredQueriesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +25 -68
- package/dist-es/pagination/SelectResourceConfigPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +6406 -7914
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/dist-es/ConfigService.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { BatchGetAggregateResourceConfigCommand, } from "./commands/BatchGetAggregateResourceConfigCommand";
|
|
3
2
|
import { BatchGetResourceConfigCommand, } from "./commands/BatchGetResourceConfigCommand";
|
|
4
3
|
import { DeleteAggregationAuthorizationCommand, } from "./commands/DeleteAggregationAuthorizationCommand";
|
|
@@ -89,1257 +88,1251 @@ import { StopConfigurationRecorderCommand, } from "./commands/StopConfigurationR
|
|
|
89
88
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
90
89
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
91
90
|
import { ConfigServiceClient } from "./ConfigServiceClient";
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
96
|
-
}
|
|
97
|
-
ConfigService.prototype.batchGetAggregateResourceConfig = function (args, optionsOrCb, cb) {
|
|
98
|
-
var command = new BatchGetAggregateResourceConfigCommand(args);
|
|
91
|
+
export class ConfigService extends ConfigServiceClient {
|
|
92
|
+
batchGetAggregateResourceConfig(args, optionsOrCb, cb) {
|
|
93
|
+
const command = new BatchGetAggregateResourceConfigCommand(args);
|
|
99
94
|
if (typeof optionsOrCb === "function") {
|
|
100
95
|
this.send(command, optionsOrCb);
|
|
101
96
|
}
|
|
102
97
|
else if (typeof cb === "function") {
|
|
103
98
|
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(
|
|
99
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
106
101
|
}
|
|
107
102
|
else {
|
|
108
103
|
return this.send(command, optionsOrCb);
|
|
109
104
|
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
105
|
+
}
|
|
106
|
+
batchGetResourceConfig(args, optionsOrCb, cb) {
|
|
107
|
+
const command = new BatchGetResourceConfigCommand(args);
|
|
113
108
|
if (typeof optionsOrCb === "function") {
|
|
114
109
|
this.send(command, optionsOrCb);
|
|
115
110
|
}
|
|
116
111
|
else if (typeof cb === "function") {
|
|
117
112
|
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(
|
|
113
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
120
115
|
}
|
|
121
116
|
else {
|
|
122
117
|
return this.send(command, optionsOrCb);
|
|
123
118
|
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
}
|
|
120
|
+
deleteAggregationAuthorization(args, optionsOrCb, cb) {
|
|
121
|
+
const command = new DeleteAggregationAuthorizationCommand(args);
|
|
127
122
|
if (typeof optionsOrCb === "function") {
|
|
128
123
|
this.send(command, optionsOrCb);
|
|
129
124
|
}
|
|
130
125
|
else if (typeof cb === "function") {
|
|
131
126
|
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(
|
|
127
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
134
129
|
}
|
|
135
130
|
else {
|
|
136
131
|
return this.send(command, optionsOrCb);
|
|
137
132
|
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
133
|
+
}
|
|
134
|
+
deleteConfigRule(args, optionsOrCb, cb) {
|
|
135
|
+
const command = new DeleteConfigRuleCommand(args);
|
|
141
136
|
if (typeof optionsOrCb === "function") {
|
|
142
137
|
this.send(command, optionsOrCb);
|
|
143
138
|
}
|
|
144
139
|
else if (typeof cb === "function") {
|
|
145
140
|
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(
|
|
141
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
148
143
|
}
|
|
149
144
|
else {
|
|
150
145
|
return this.send(command, optionsOrCb);
|
|
151
146
|
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
}
|
|
148
|
+
deleteConfigurationAggregator(args, optionsOrCb, cb) {
|
|
149
|
+
const command = new DeleteConfigurationAggregatorCommand(args);
|
|
155
150
|
if (typeof optionsOrCb === "function") {
|
|
156
151
|
this.send(command, optionsOrCb);
|
|
157
152
|
}
|
|
158
153
|
else if (typeof cb === "function") {
|
|
159
154
|
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(
|
|
155
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
162
157
|
}
|
|
163
158
|
else {
|
|
164
159
|
return this.send(command, optionsOrCb);
|
|
165
160
|
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
161
|
+
}
|
|
162
|
+
deleteConfigurationRecorder(args, optionsOrCb, cb) {
|
|
163
|
+
const command = new DeleteConfigurationRecorderCommand(args);
|
|
169
164
|
if (typeof optionsOrCb === "function") {
|
|
170
165
|
this.send(command, optionsOrCb);
|
|
171
166
|
}
|
|
172
167
|
else if (typeof cb === "function") {
|
|
173
168
|
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(
|
|
169
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
176
171
|
}
|
|
177
172
|
else {
|
|
178
173
|
return this.send(command, optionsOrCb);
|
|
179
174
|
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
175
|
+
}
|
|
176
|
+
deleteConformancePack(args, optionsOrCb, cb) {
|
|
177
|
+
const command = new DeleteConformancePackCommand(args);
|
|
183
178
|
if (typeof optionsOrCb === "function") {
|
|
184
179
|
this.send(command, optionsOrCb);
|
|
185
180
|
}
|
|
186
181
|
else if (typeof cb === "function") {
|
|
187
182
|
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(
|
|
183
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
190
185
|
}
|
|
191
186
|
else {
|
|
192
187
|
return this.send(command, optionsOrCb);
|
|
193
188
|
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
189
|
+
}
|
|
190
|
+
deleteDeliveryChannel(args, optionsOrCb, cb) {
|
|
191
|
+
const command = new DeleteDeliveryChannelCommand(args);
|
|
197
192
|
if (typeof optionsOrCb === "function") {
|
|
198
193
|
this.send(command, optionsOrCb);
|
|
199
194
|
}
|
|
200
195
|
else if (typeof cb === "function") {
|
|
201
196
|
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(
|
|
197
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
204
199
|
}
|
|
205
200
|
else {
|
|
206
201
|
return this.send(command, optionsOrCb);
|
|
207
202
|
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
203
|
+
}
|
|
204
|
+
deleteEvaluationResults(args, optionsOrCb, cb) {
|
|
205
|
+
const command = new DeleteEvaluationResultsCommand(args);
|
|
211
206
|
if (typeof optionsOrCb === "function") {
|
|
212
207
|
this.send(command, optionsOrCb);
|
|
213
208
|
}
|
|
214
209
|
else if (typeof cb === "function") {
|
|
215
210
|
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(
|
|
211
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
218
213
|
}
|
|
219
214
|
else {
|
|
220
215
|
return this.send(command, optionsOrCb);
|
|
221
216
|
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
217
|
+
}
|
|
218
|
+
deleteOrganizationConfigRule(args, optionsOrCb, cb) {
|
|
219
|
+
const command = new DeleteOrganizationConfigRuleCommand(args);
|
|
225
220
|
if (typeof optionsOrCb === "function") {
|
|
226
221
|
this.send(command, optionsOrCb);
|
|
227
222
|
}
|
|
228
223
|
else if (typeof cb === "function") {
|
|
229
224
|
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(
|
|
225
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
226
|
this.send(command, optionsOrCb || {}, cb);
|
|
232
227
|
}
|
|
233
228
|
else {
|
|
234
229
|
return this.send(command, optionsOrCb);
|
|
235
230
|
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
|
|
231
|
+
}
|
|
232
|
+
deleteOrganizationConformancePack(args, optionsOrCb, cb) {
|
|
233
|
+
const command = new DeleteOrganizationConformancePackCommand(args);
|
|
239
234
|
if (typeof optionsOrCb === "function") {
|
|
240
235
|
this.send(command, optionsOrCb);
|
|
241
236
|
}
|
|
242
237
|
else if (typeof cb === "function") {
|
|
243
238
|
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(
|
|
239
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
240
|
this.send(command, optionsOrCb || {}, cb);
|
|
246
241
|
}
|
|
247
242
|
else {
|
|
248
243
|
return this.send(command, optionsOrCb);
|
|
249
244
|
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
245
|
+
}
|
|
246
|
+
deletePendingAggregationRequest(args, optionsOrCb, cb) {
|
|
247
|
+
const command = new DeletePendingAggregationRequestCommand(args);
|
|
253
248
|
if (typeof optionsOrCb === "function") {
|
|
254
249
|
this.send(command, optionsOrCb);
|
|
255
250
|
}
|
|
256
251
|
else if (typeof cb === "function") {
|
|
257
252
|
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(
|
|
253
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
254
|
this.send(command, optionsOrCb || {}, cb);
|
|
260
255
|
}
|
|
261
256
|
else {
|
|
262
257
|
return this.send(command, optionsOrCb);
|
|
263
258
|
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
259
|
+
}
|
|
260
|
+
deleteRemediationConfiguration(args, optionsOrCb, cb) {
|
|
261
|
+
const command = new DeleteRemediationConfigurationCommand(args);
|
|
267
262
|
if (typeof optionsOrCb === "function") {
|
|
268
263
|
this.send(command, optionsOrCb);
|
|
269
264
|
}
|
|
270
265
|
else if (typeof cb === "function") {
|
|
271
266
|
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(
|
|
267
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
268
|
this.send(command, optionsOrCb || {}, cb);
|
|
274
269
|
}
|
|
275
270
|
else {
|
|
276
271
|
return this.send(command, optionsOrCb);
|
|
277
272
|
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
|
|
273
|
+
}
|
|
274
|
+
deleteRemediationExceptions(args, optionsOrCb, cb) {
|
|
275
|
+
const command = new DeleteRemediationExceptionsCommand(args);
|
|
281
276
|
if (typeof optionsOrCb === "function") {
|
|
282
277
|
this.send(command, optionsOrCb);
|
|
283
278
|
}
|
|
284
279
|
else if (typeof cb === "function") {
|
|
285
280
|
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(
|
|
281
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
282
|
this.send(command, optionsOrCb || {}, cb);
|
|
288
283
|
}
|
|
289
284
|
else {
|
|
290
285
|
return this.send(command, optionsOrCb);
|
|
291
286
|
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
287
|
+
}
|
|
288
|
+
deleteResourceConfig(args, optionsOrCb, cb) {
|
|
289
|
+
const command = new DeleteResourceConfigCommand(args);
|
|
295
290
|
if (typeof optionsOrCb === "function") {
|
|
296
291
|
this.send(command, optionsOrCb);
|
|
297
292
|
}
|
|
298
293
|
else if (typeof cb === "function") {
|
|
299
294
|
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(
|
|
295
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
296
|
this.send(command, optionsOrCb || {}, cb);
|
|
302
297
|
}
|
|
303
298
|
else {
|
|
304
299
|
return this.send(command, optionsOrCb);
|
|
305
300
|
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
|
|
301
|
+
}
|
|
302
|
+
deleteRetentionConfiguration(args, optionsOrCb, cb) {
|
|
303
|
+
const command = new DeleteRetentionConfigurationCommand(args);
|
|
309
304
|
if (typeof optionsOrCb === "function") {
|
|
310
305
|
this.send(command, optionsOrCb);
|
|
311
306
|
}
|
|
312
307
|
else if (typeof cb === "function") {
|
|
313
308
|
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(
|
|
309
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
310
|
this.send(command, optionsOrCb || {}, cb);
|
|
316
311
|
}
|
|
317
312
|
else {
|
|
318
313
|
return this.send(command, optionsOrCb);
|
|
319
314
|
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
315
|
+
}
|
|
316
|
+
deleteStoredQuery(args, optionsOrCb, cb) {
|
|
317
|
+
const command = new DeleteStoredQueryCommand(args);
|
|
323
318
|
if (typeof optionsOrCb === "function") {
|
|
324
319
|
this.send(command, optionsOrCb);
|
|
325
320
|
}
|
|
326
321
|
else if (typeof cb === "function") {
|
|
327
322
|
if (typeof optionsOrCb !== "object")
|
|
328
|
-
throw new Error(
|
|
323
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
329
324
|
this.send(command, optionsOrCb || {}, cb);
|
|
330
325
|
}
|
|
331
326
|
else {
|
|
332
327
|
return this.send(command, optionsOrCb);
|
|
333
328
|
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
329
|
+
}
|
|
330
|
+
deliverConfigSnapshot(args, optionsOrCb, cb) {
|
|
331
|
+
const command = new DeliverConfigSnapshotCommand(args);
|
|
337
332
|
if (typeof optionsOrCb === "function") {
|
|
338
333
|
this.send(command, optionsOrCb);
|
|
339
334
|
}
|
|
340
335
|
else if (typeof cb === "function") {
|
|
341
336
|
if (typeof optionsOrCb !== "object")
|
|
342
|
-
throw new Error(
|
|
337
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
343
338
|
this.send(command, optionsOrCb || {}, cb);
|
|
344
339
|
}
|
|
345
340
|
else {
|
|
346
341
|
return this.send(command, optionsOrCb);
|
|
347
342
|
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
|
|
343
|
+
}
|
|
344
|
+
describeAggregateComplianceByConfigRules(args, optionsOrCb, cb) {
|
|
345
|
+
const command = new DescribeAggregateComplianceByConfigRulesCommand(args);
|
|
351
346
|
if (typeof optionsOrCb === "function") {
|
|
352
347
|
this.send(command, optionsOrCb);
|
|
353
348
|
}
|
|
354
349
|
else if (typeof cb === "function") {
|
|
355
350
|
if (typeof optionsOrCb !== "object")
|
|
356
|
-
throw new Error(
|
|
351
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
357
352
|
this.send(command, optionsOrCb || {}, cb);
|
|
358
353
|
}
|
|
359
354
|
else {
|
|
360
355
|
return this.send(command, optionsOrCb);
|
|
361
356
|
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
357
|
+
}
|
|
358
|
+
describeAggregateComplianceByConformancePacks(args, optionsOrCb, cb) {
|
|
359
|
+
const command = new DescribeAggregateComplianceByConformancePacksCommand(args);
|
|
365
360
|
if (typeof optionsOrCb === "function") {
|
|
366
361
|
this.send(command, optionsOrCb);
|
|
367
362
|
}
|
|
368
363
|
else if (typeof cb === "function") {
|
|
369
364
|
if (typeof optionsOrCb !== "object")
|
|
370
|
-
throw new Error(
|
|
365
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
371
366
|
this.send(command, optionsOrCb || {}, cb);
|
|
372
367
|
}
|
|
373
368
|
else {
|
|
374
369
|
return this.send(command, optionsOrCb);
|
|
375
370
|
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
371
|
+
}
|
|
372
|
+
describeAggregationAuthorizations(args, optionsOrCb, cb) {
|
|
373
|
+
const command = new DescribeAggregationAuthorizationsCommand(args);
|
|
379
374
|
if (typeof optionsOrCb === "function") {
|
|
380
375
|
this.send(command, optionsOrCb);
|
|
381
376
|
}
|
|
382
377
|
else if (typeof cb === "function") {
|
|
383
378
|
if (typeof optionsOrCb !== "object")
|
|
384
|
-
throw new Error(
|
|
379
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
385
380
|
this.send(command, optionsOrCb || {}, cb);
|
|
386
381
|
}
|
|
387
382
|
else {
|
|
388
383
|
return this.send(command, optionsOrCb);
|
|
389
384
|
}
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
|
|
385
|
+
}
|
|
386
|
+
describeComplianceByConfigRule(args, optionsOrCb, cb) {
|
|
387
|
+
const command = new DescribeComplianceByConfigRuleCommand(args);
|
|
393
388
|
if (typeof optionsOrCb === "function") {
|
|
394
389
|
this.send(command, optionsOrCb);
|
|
395
390
|
}
|
|
396
391
|
else if (typeof cb === "function") {
|
|
397
392
|
if (typeof optionsOrCb !== "object")
|
|
398
|
-
throw new Error(
|
|
393
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
399
394
|
this.send(command, optionsOrCb || {}, cb);
|
|
400
395
|
}
|
|
401
396
|
else {
|
|
402
397
|
return this.send(command, optionsOrCb);
|
|
403
398
|
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
399
|
+
}
|
|
400
|
+
describeComplianceByResource(args, optionsOrCb, cb) {
|
|
401
|
+
const command = new DescribeComplianceByResourceCommand(args);
|
|
407
402
|
if (typeof optionsOrCb === "function") {
|
|
408
403
|
this.send(command, optionsOrCb);
|
|
409
404
|
}
|
|
410
405
|
else if (typeof cb === "function") {
|
|
411
406
|
if (typeof optionsOrCb !== "object")
|
|
412
|
-
throw new Error(
|
|
407
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
413
408
|
this.send(command, optionsOrCb || {}, cb);
|
|
414
409
|
}
|
|
415
410
|
else {
|
|
416
411
|
return this.send(command, optionsOrCb);
|
|
417
412
|
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
|
|
413
|
+
}
|
|
414
|
+
describeConfigRuleEvaluationStatus(args, optionsOrCb, cb) {
|
|
415
|
+
const command = new DescribeConfigRuleEvaluationStatusCommand(args);
|
|
421
416
|
if (typeof optionsOrCb === "function") {
|
|
422
417
|
this.send(command, optionsOrCb);
|
|
423
418
|
}
|
|
424
419
|
else if (typeof cb === "function") {
|
|
425
420
|
if (typeof optionsOrCb !== "object")
|
|
426
|
-
throw new Error(
|
|
421
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
427
422
|
this.send(command, optionsOrCb || {}, cb);
|
|
428
423
|
}
|
|
429
424
|
else {
|
|
430
425
|
return this.send(command, optionsOrCb);
|
|
431
426
|
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
|
|
427
|
+
}
|
|
428
|
+
describeConfigRules(args, optionsOrCb, cb) {
|
|
429
|
+
const command = new DescribeConfigRulesCommand(args);
|
|
435
430
|
if (typeof optionsOrCb === "function") {
|
|
436
431
|
this.send(command, optionsOrCb);
|
|
437
432
|
}
|
|
438
433
|
else if (typeof cb === "function") {
|
|
439
434
|
if (typeof optionsOrCb !== "object")
|
|
440
|
-
throw new Error(
|
|
435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
441
436
|
this.send(command, optionsOrCb || {}, cb);
|
|
442
437
|
}
|
|
443
438
|
else {
|
|
444
439
|
return this.send(command, optionsOrCb);
|
|
445
440
|
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
|
|
441
|
+
}
|
|
442
|
+
describeConfigurationAggregators(args, optionsOrCb, cb) {
|
|
443
|
+
const command = new DescribeConfigurationAggregatorsCommand(args);
|
|
449
444
|
if (typeof optionsOrCb === "function") {
|
|
450
445
|
this.send(command, optionsOrCb);
|
|
451
446
|
}
|
|
452
447
|
else if (typeof cb === "function") {
|
|
453
448
|
if (typeof optionsOrCb !== "object")
|
|
454
|
-
throw new Error(
|
|
449
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
455
450
|
this.send(command, optionsOrCb || {}, cb);
|
|
456
451
|
}
|
|
457
452
|
else {
|
|
458
453
|
return this.send(command, optionsOrCb);
|
|
459
454
|
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
|
|
455
|
+
}
|
|
456
|
+
describeConfigurationAggregatorSourcesStatus(args, optionsOrCb, cb) {
|
|
457
|
+
const command = new DescribeConfigurationAggregatorSourcesStatusCommand(args);
|
|
463
458
|
if (typeof optionsOrCb === "function") {
|
|
464
459
|
this.send(command, optionsOrCb);
|
|
465
460
|
}
|
|
466
461
|
else if (typeof cb === "function") {
|
|
467
462
|
if (typeof optionsOrCb !== "object")
|
|
468
|
-
throw new Error(
|
|
463
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
469
464
|
this.send(command, optionsOrCb || {}, cb);
|
|
470
465
|
}
|
|
471
466
|
else {
|
|
472
467
|
return this.send(command, optionsOrCb);
|
|
473
468
|
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
|
|
469
|
+
}
|
|
470
|
+
describeConfigurationRecorders(args, optionsOrCb, cb) {
|
|
471
|
+
const command = new DescribeConfigurationRecordersCommand(args);
|
|
477
472
|
if (typeof optionsOrCb === "function") {
|
|
478
473
|
this.send(command, optionsOrCb);
|
|
479
474
|
}
|
|
480
475
|
else if (typeof cb === "function") {
|
|
481
476
|
if (typeof optionsOrCb !== "object")
|
|
482
|
-
throw new Error(
|
|
477
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
483
478
|
this.send(command, optionsOrCb || {}, cb);
|
|
484
479
|
}
|
|
485
480
|
else {
|
|
486
481
|
return this.send(command, optionsOrCb);
|
|
487
482
|
}
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
|
|
483
|
+
}
|
|
484
|
+
describeConfigurationRecorderStatus(args, optionsOrCb, cb) {
|
|
485
|
+
const command = new DescribeConfigurationRecorderStatusCommand(args);
|
|
491
486
|
if (typeof optionsOrCb === "function") {
|
|
492
487
|
this.send(command, optionsOrCb);
|
|
493
488
|
}
|
|
494
489
|
else if (typeof cb === "function") {
|
|
495
490
|
if (typeof optionsOrCb !== "object")
|
|
496
|
-
throw new Error(
|
|
491
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
497
492
|
this.send(command, optionsOrCb || {}, cb);
|
|
498
493
|
}
|
|
499
494
|
else {
|
|
500
495
|
return this.send(command, optionsOrCb);
|
|
501
496
|
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
497
|
+
}
|
|
498
|
+
describeConformancePackCompliance(args, optionsOrCb, cb) {
|
|
499
|
+
const command = new DescribeConformancePackComplianceCommand(args);
|
|
505
500
|
if (typeof optionsOrCb === "function") {
|
|
506
501
|
this.send(command, optionsOrCb);
|
|
507
502
|
}
|
|
508
503
|
else if (typeof cb === "function") {
|
|
509
504
|
if (typeof optionsOrCb !== "object")
|
|
510
|
-
throw new Error(
|
|
505
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
511
506
|
this.send(command, optionsOrCb || {}, cb);
|
|
512
507
|
}
|
|
513
508
|
else {
|
|
514
509
|
return this.send(command, optionsOrCb);
|
|
515
510
|
}
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
511
|
+
}
|
|
512
|
+
describeConformancePacks(args, optionsOrCb, cb) {
|
|
513
|
+
const command = new DescribeConformancePacksCommand(args);
|
|
519
514
|
if (typeof optionsOrCb === "function") {
|
|
520
515
|
this.send(command, optionsOrCb);
|
|
521
516
|
}
|
|
522
517
|
else if (typeof cb === "function") {
|
|
523
518
|
if (typeof optionsOrCb !== "object")
|
|
524
|
-
throw new Error(
|
|
519
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
525
520
|
this.send(command, optionsOrCb || {}, cb);
|
|
526
521
|
}
|
|
527
522
|
else {
|
|
528
523
|
return this.send(command, optionsOrCb);
|
|
529
524
|
}
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
|
|
525
|
+
}
|
|
526
|
+
describeConformancePackStatus(args, optionsOrCb, cb) {
|
|
527
|
+
const command = new DescribeConformancePackStatusCommand(args);
|
|
533
528
|
if (typeof optionsOrCb === "function") {
|
|
534
529
|
this.send(command, optionsOrCb);
|
|
535
530
|
}
|
|
536
531
|
else if (typeof cb === "function") {
|
|
537
532
|
if (typeof optionsOrCb !== "object")
|
|
538
|
-
throw new Error(
|
|
533
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
539
534
|
this.send(command, optionsOrCb || {}, cb);
|
|
540
535
|
}
|
|
541
536
|
else {
|
|
542
537
|
return this.send(command, optionsOrCb);
|
|
543
538
|
}
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
|
|
539
|
+
}
|
|
540
|
+
describeDeliveryChannels(args, optionsOrCb, cb) {
|
|
541
|
+
const command = new DescribeDeliveryChannelsCommand(args);
|
|
547
542
|
if (typeof optionsOrCb === "function") {
|
|
548
543
|
this.send(command, optionsOrCb);
|
|
549
544
|
}
|
|
550
545
|
else if (typeof cb === "function") {
|
|
551
546
|
if (typeof optionsOrCb !== "object")
|
|
552
|
-
throw new Error(
|
|
547
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
553
548
|
this.send(command, optionsOrCb || {}, cb);
|
|
554
549
|
}
|
|
555
550
|
else {
|
|
556
551
|
return this.send(command, optionsOrCb);
|
|
557
552
|
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
553
|
+
}
|
|
554
|
+
describeDeliveryChannelStatus(args, optionsOrCb, cb) {
|
|
555
|
+
const command = new DescribeDeliveryChannelStatusCommand(args);
|
|
561
556
|
if (typeof optionsOrCb === "function") {
|
|
562
557
|
this.send(command, optionsOrCb);
|
|
563
558
|
}
|
|
564
559
|
else if (typeof cb === "function") {
|
|
565
560
|
if (typeof optionsOrCb !== "object")
|
|
566
|
-
throw new Error(
|
|
561
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
567
562
|
this.send(command, optionsOrCb || {}, cb);
|
|
568
563
|
}
|
|
569
564
|
else {
|
|
570
565
|
return this.send(command, optionsOrCb);
|
|
571
566
|
}
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
|
|
567
|
+
}
|
|
568
|
+
describeOrganizationConfigRules(args, optionsOrCb, cb) {
|
|
569
|
+
const command = new DescribeOrganizationConfigRulesCommand(args);
|
|
575
570
|
if (typeof optionsOrCb === "function") {
|
|
576
571
|
this.send(command, optionsOrCb);
|
|
577
572
|
}
|
|
578
573
|
else if (typeof cb === "function") {
|
|
579
574
|
if (typeof optionsOrCb !== "object")
|
|
580
|
-
throw new Error(
|
|
575
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
581
576
|
this.send(command, optionsOrCb || {}, cb);
|
|
582
577
|
}
|
|
583
578
|
else {
|
|
584
579
|
return this.send(command, optionsOrCb);
|
|
585
580
|
}
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
581
|
+
}
|
|
582
|
+
describeOrganizationConfigRuleStatuses(args, optionsOrCb, cb) {
|
|
583
|
+
const command = new DescribeOrganizationConfigRuleStatusesCommand(args);
|
|
589
584
|
if (typeof optionsOrCb === "function") {
|
|
590
585
|
this.send(command, optionsOrCb);
|
|
591
586
|
}
|
|
592
587
|
else if (typeof cb === "function") {
|
|
593
588
|
if (typeof optionsOrCb !== "object")
|
|
594
|
-
throw new Error(
|
|
589
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
595
590
|
this.send(command, optionsOrCb || {}, cb);
|
|
596
591
|
}
|
|
597
592
|
else {
|
|
598
593
|
return this.send(command, optionsOrCb);
|
|
599
594
|
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
|
|
595
|
+
}
|
|
596
|
+
describeOrganizationConformancePacks(args, optionsOrCb, cb) {
|
|
597
|
+
const command = new DescribeOrganizationConformancePacksCommand(args);
|
|
603
598
|
if (typeof optionsOrCb === "function") {
|
|
604
599
|
this.send(command, optionsOrCb);
|
|
605
600
|
}
|
|
606
601
|
else if (typeof cb === "function") {
|
|
607
602
|
if (typeof optionsOrCb !== "object")
|
|
608
|
-
throw new Error(
|
|
603
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
609
604
|
this.send(command, optionsOrCb || {}, cb);
|
|
610
605
|
}
|
|
611
606
|
else {
|
|
612
607
|
return this.send(command, optionsOrCb);
|
|
613
608
|
}
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
|
|
609
|
+
}
|
|
610
|
+
describeOrganizationConformancePackStatuses(args, optionsOrCb, cb) {
|
|
611
|
+
const command = new DescribeOrganizationConformancePackStatusesCommand(args);
|
|
617
612
|
if (typeof optionsOrCb === "function") {
|
|
618
613
|
this.send(command, optionsOrCb);
|
|
619
614
|
}
|
|
620
615
|
else if (typeof cb === "function") {
|
|
621
616
|
if (typeof optionsOrCb !== "object")
|
|
622
|
-
throw new Error(
|
|
617
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
623
618
|
this.send(command, optionsOrCb || {}, cb);
|
|
624
619
|
}
|
|
625
620
|
else {
|
|
626
621
|
return this.send(command, optionsOrCb);
|
|
627
622
|
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
|
|
623
|
+
}
|
|
624
|
+
describePendingAggregationRequests(args, optionsOrCb, cb) {
|
|
625
|
+
const command = new DescribePendingAggregationRequestsCommand(args);
|
|
631
626
|
if (typeof optionsOrCb === "function") {
|
|
632
627
|
this.send(command, optionsOrCb);
|
|
633
628
|
}
|
|
634
629
|
else if (typeof cb === "function") {
|
|
635
630
|
if (typeof optionsOrCb !== "object")
|
|
636
|
-
throw new Error(
|
|
631
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
637
632
|
this.send(command, optionsOrCb || {}, cb);
|
|
638
633
|
}
|
|
639
634
|
else {
|
|
640
635
|
return this.send(command, optionsOrCb);
|
|
641
636
|
}
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
637
|
+
}
|
|
638
|
+
describeRemediationConfigurations(args, optionsOrCb, cb) {
|
|
639
|
+
const command = new DescribeRemediationConfigurationsCommand(args);
|
|
645
640
|
if (typeof optionsOrCb === "function") {
|
|
646
641
|
this.send(command, optionsOrCb);
|
|
647
642
|
}
|
|
648
643
|
else if (typeof cb === "function") {
|
|
649
644
|
if (typeof optionsOrCb !== "object")
|
|
650
|
-
throw new Error(
|
|
645
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
651
646
|
this.send(command, optionsOrCb || {}, cb);
|
|
652
647
|
}
|
|
653
648
|
else {
|
|
654
649
|
return this.send(command, optionsOrCb);
|
|
655
650
|
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
|
|
651
|
+
}
|
|
652
|
+
describeRemediationExceptions(args, optionsOrCb, cb) {
|
|
653
|
+
const command = new DescribeRemediationExceptionsCommand(args);
|
|
659
654
|
if (typeof optionsOrCb === "function") {
|
|
660
655
|
this.send(command, optionsOrCb);
|
|
661
656
|
}
|
|
662
657
|
else if (typeof cb === "function") {
|
|
663
658
|
if (typeof optionsOrCb !== "object")
|
|
664
|
-
throw new Error(
|
|
659
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
665
660
|
this.send(command, optionsOrCb || {}, cb);
|
|
666
661
|
}
|
|
667
662
|
else {
|
|
668
663
|
return this.send(command, optionsOrCb);
|
|
669
664
|
}
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
|
|
665
|
+
}
|
|
666
|
+
describeRemediationExecutionStatus(args, optionsOrCb, cb) {
|
|
667
|
+
const command = new DescribeRemediationExecutionStatusCommand(args);
|
|
673
668
|
if (typeof optionsOrCb === "function") {
|
|
674
669
|
this.send(command, optionsOrCb);
|
|
675
670
|
}
|
|
676
671
|
else if (typeof cb === "function") {
|
|
677
672
|
if (typeof optionsOrCb !== "object")
|
|
678
|
-
throw new Error(
|
|
673
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
679
674
|
this.send(command, optionsOrCb || {}, cb);
|
|
680
675
|
}
|
|
681
676
|
else {
|
|
682
677
|
return this.send(command, optionsOrCb);
|
|
683
678
|
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
|
|
679
|
+
}
|
|
680
|
+
describeRetentionConfigurations(args, optionsOrCb, cb) {
|
|
681
|
+
const command = new DescribeRetentionConfigurationsCommand(args);
|
|
687
682
|
if (typeof optionsOrCb === "function") {
|
|
688
683
|
this.send(command, optionsOrCb);
|
|
689
684
|
}
|
|
690
685
|
else if (typeof cb === "function") {
|
|
691
686
|
if (typeof optionsOrCb !== "object")
|
|
692
|
-
throw new Error(
|
|
687
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
693
688
|
this.send(command, optionsOrCb || {}, cb);
|
|
694
689
|
}
|
|
695
690
|
else {
|
|
696
691
|
return this.send(command, optionsOrCb);
|
|
697
692
|
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
|
|
693
|
+
}
|
|
694
|
+
getAggregateComplianceDetailsByConfigRule(args, optionsOrCb, cb) {
|
|
695
|
+
const command = new GetAggregateComplianceDetailsByConfigRuleCommand(args);
|
|
701
696
|
if (typeof optionsOrCb === "function") {
|
|
702
697
|
this.send(command, optionsOrCb);
|
|
703
698
|
}
|
|
704
699
|
else if (typeof cb === "function") {
|
|
705
700
|
if (typeof optionsOrCb !== "object")
|
|
706
|
-
throw new Error(
|
|
701
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
707
702
|
this.send(command, optionsOrCb || {}, cb);
|
|
708
703
|
}
|
|
709
704
|
else {
|
|
710
705
|
return this.send(command, optionsOrCb);
|
|
711
706
|
}
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
|
|
707
|
+
}
|
|
708
|
+
getAggregateConfigRuleComplianceSummary(args, optionsOrCb, cb) {
|
|
709
|
+
const command = new GetAggregateConfigRuleComplianceSummaryCommand(args);
|
|
715
710
|
if (typeof optionsOrCb === "function") {
|
|
716
711
|
this.send(command, optionsOrCb);
|
|
717
712
|
}
|
|
718
713
|
else if (typeof cb === "function") {
|
|
719
714
|
if (typeof optionsOrCb !== "object")
|
|
720
|
-
throw new Error(
|
|
715
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
721
716
|
this.send(command, optionsOrCb || {}, cb);
|
|
722
717
|
}
|
|
723
718
|
else {
|
|
724
719
|
return this.send(command, optionsOrCb);
|
|
725
720
|
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
|
|
721
|
+
}
|
|
722
|
+
getAggregateConformancePackComplianceSummary(args, optionsOrCb, cb) {
|
|
723
|
+
const command = new GetAggregateConformancePackComplianceSummaryCommand(args);
|
|
729
724
|
if (typeof optionsOrCb === "function") {
|
|
730
725
|
this.send(command, optionsOrCb);
|
|
731
726
|
}
|
|
732
727
|
else if (typeof cb === "function") {
|
|
733
728
|
if (typeof optionsOrCb !== "object")
|
|
734
|
-
throw new Error(
|
|
729
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
730
|
this.send(command, optionsOrCb || {}, cb);
|
|
736
731
|
}
|
|
737
732
|
else {
|
|
738
733
|
return this.send(command, optionsOrCb);
|
|
739
734
|
}
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
|
|
735
|
+
}
|
|
736
|
+
getAggregateDiscoveredResourceCounts(args, optionsOrCb, cb) {
|
|
737
|
+
const command = new GetAggregateDiscoveredResourceCountsCommand(args);
|
|
743
738
|
if (typeof optionsOrCb === "function") {
|
|
744
739
|
this.send(command, optionsOrCb);
|
|
745
740
|
}
|
|
746
741
|
else if (typeof cb === "function") {
|
|
747
742
|
if (typeof optionsOrCb !== "object")
|
|
748
|
-
throw new Error(
|
|
743
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
749
744
|
this.send(command, optionsOrCb || {}, cb);
|
|
750
745
|
}
|
|
751
746
|
else {
|
|
752
747
|
return this.send(command, optionsOrCb);
|
|
753
748
|
}
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
|
|
749
|
+
}
|
|
750
|
+
getAggregateResourceConfig(args, optionsOrCb, cb) {
|
|
751
|
+
const command = new GetAggregateResourceConfigCommand(args);
|
|
757
752
|
if (typeof optionsOrCb === "function") {
|
|
758
753
|
this.send(command, optionsOrCb);
|
|
759
754
|
}
|
|
760
755
|
else if (typeof cb === "function") {
|
|
761
756
|
if (typeof optionsOrCb !== "object")
|
|
762
|
-
throw new Error(
|
|
757
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
763
758
|
this.send(command, optionsOrCb || {}, cb);
|
|
764
759
|
}
|
|
765
760
|
else {
|
|
766
761
|
return this.send(command, optionsOrCb);
|
|
767
762
|
}
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
|
|
763
|
+
}
|
|
764
|
+
getComplianceDetailsByConfigRule(args, optionsOrCb, cb) {
|
|
765
|
+
const command = new GetComplianceDetailsByConfigRuleCommand(args);
|
|
771
766
|
if (typeof optionsOrCb === "function") {
|
|
772
767
|
this.send(command, optionsOrCb);
|
|
773
768
|
}
|
|
774
769
|
else if (typeof cb === "function") {
|
|
775
770
|
if (typeof optionsOrCb !== "object")
|
|
776
|
-
throw new Error(
|
|
771
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
777
772
|
this.send(command, optionsOrCb || {}, cb);
|
|
778
773
|
}
|
|
779
774
|
else {
|
|
780
775
|
return this.send(command, optionsOrCb);
|
|
781
776
|
}
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
|
|
777
|
+
}
|
|
778
|
+
getComplianceDetailsByResource(args, optionsOrCb, cb) {
|
|
779
|
+
const command = new GetComplianceDetailsByResourceCommand(args);
|
|
785
780
|
if (typeof optionsOrCb === "function") {
|
|
786
781
|
this.send(command, optionsOrCb);
|
|
787
782
|
}
|
|
788
783
|
else if (typeof cb === "function") {
|
|
789
784
|
if (typeof optionsOrCb !== "object")
|
|
790
|
-
throw new Error(
|
|
785
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
791
786
|
this.send(command, optionsOrCb || {}, cb);
|
|
792
787
|
}
|
|
793
788
|
else {
|
|
794
789
|
return this.send(command, optionsOrCb);
|
|
795
790
|
}
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
|
|
791
|
+
}
|
|
792
|
+
getComplianceSummaryByConfigRule(args, optionsOrCb, cb) {
|
|
793
|
+
const command = new GetComplianceSummaryByConfigRuleCommand(args);
|
|
799
794
|
if (typeof optionsOrCb === "function") {
|
|
800
795
|
this.send(command, optionsOrCb);
|
|
801
796
|
}
|
|
802
797
|
else if (typeof cb === "function") {
|
|
803
798
|
if (typeof optionsOrCb !== "object")
|
|
804
|
-
throw new Error(
|
|
799
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
805
800
|
this.send(command, optionsOrCb || {}, cb);
|
|
806
801
|
}
|
|
807
802
|
else {
|
|
808
803
|
return this.send(command, optionsOrCb);
|
|
809
804
|
}
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
|
|
805
|
+
}
|
|
806
|
+
getComplianceSummaryByResourceType(args, optionsOrCb, cb) {
|
|
807
|
+
const command = new GetComplianceSummaryByResourceTypeCommand(args);
|
|
813
808
|
if (typeof optionsOrCb === "function") {
|
|
814
809
|
this.send(command, optionsOrCb);
|
|
815
810
|
}
|
|
816
811
|
else if (typeof cb === "function") {
|
|
817
812
|
if (typeof optionsOrCb !== "object")
|
|
818
|
-
throw new Error(
|
|
813
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
819
814
|
this.send(command, optionsOrCb || {}, cb);
|
|
820
815
|
}
|
|
821
816
|
else {
|
|
822
817
|
return this.send(command, optionsOrCb);
|
|
823
818
|
}
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
|
|
819
|
+
}
|
|
820
|
+
getConformancePackComplianceDetails(args, optionsOrCb, cb) {
|
|
821
|
+
const command = new GetConformancePackComplianceDetailsCommand(args);
|
|
827
822
|
if (typeof optionsOrCb === "function") {
|
|
828
823
|
this.send(command, optionsOrCb);
|
|
829
824
|
}
|
|
830
825
|
else if (typeof cb === "function") {
|
|
831
826
|
if (typeof optionsOrCb !== "object")
|
|
832
|
-
throw new Error(
|
|
827
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
833
828
|
this.send(command, optionsOrCb || {}, cb);
|
|
834
829
|
}
|
|
835
830
|
else {
|
|
836
831
|
return this.send(command, optionsOrCb);
|
|
837
832
|
}
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
|
|
833
|
+
}
|
|
834
|
+
getConformancePackComplianceSummary(args, optionsOrCb, cb) {
|
|
835
|
+
const command = new GetConformancePackComplianceSummaryCommand(args);
|
|
841
836
|
if (typeof optionsOrCb === "function") {
|
|
842
837
|
this.send(command, optionsOrCb);
|
|
843
838
|
}
|
|
844
839
|
else if (typeof cb === "function") {
|
|
845
840
|
if (typeof optionsOrCb !== "object")
|
|
846
|
-
throw new Error(
|
|
841
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
847
842
|
this.send(command, optionsOrCb || {}, cb);
|
|
848
843
|
}
|
|
849
844
|
else {
|
|
850
845
|
return this.send(command, optionsOrCb);
|
|
851
846
|
}
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
|
|
847
|
+
}
|
|
848
|
+
getCustomRulePolicy(args, optionsOrCb, cb) {
|
|
849
|
+
const command = new GetCustomRulePolicyCommand(args);
|
|
855
850
|
if (typeof optionsOrCb === "function") {
|
|
856
851
|
this.send(command, optionsOrCb);
|
|
857
852
|
}
|
|
858
853
|
else if (typeof cb === "function") {
|
|
859
854
|
if (typeof optionsOrCb !== "object")
|
|
860
|
-
throw new Error(
|
|
855
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
861
856
|
this.send(command, optionsOrCb || {}, cb);
|
|
862
857
|
}
|
|
863
858
|
else {
|
|
864
859
|
return this.send(command, optionsOrCb);
|
|
865
860
|
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
|
|
861
|
+
}
|
|
862
|
+
getDiscoveredResourceCounts(args, optionsOrCb, cb) {
|
|
863
|
+
const command = new GetDiscoveredResourceCountsCommand(args);
|
|
869
864
|
if (typeof optionsOrCb === "function") {
|
|
870
865
|
this.send(command, optionsOrCb);
|
|
871
866
|
}
|
|
872
867
|
else if (typeof cb === "function") {
|
|
873
868
|
if (typeof optionsOrCb !== "object")
|
|
874
|
-
throw new Error(
|
|
869
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
875
870
|
this.send(command, optionsOrCb || {}, cb);
|
|
876
871
|
}
|
|
877
872
|
else {
|
|
878
873
|
return this.send(command, optionsOrCb);
|
|
879
874
|
}
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
|
|
875
|
+
}
|
|
876
|
+
getOrganizationConfigRuleDetailedStatus(args, optionsOrCb, cb) {
|
|
877
|
+
const command = new GetOrganizationConfigRuleDetailedStatusCommand(args);
|
|
883
878
|
if (typeof optionsOrCb === "function") {
|
|
884
879
|
this.send(command, optionsOrCb);
|
|
885
880
|
}
|
|
886
881
|
else if (typeof cb === "function") {
|
|
887
882
|
if (typeof optionsOrCb !== "object")
|
|
888
|
-
throw new Error(
|
|
883
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
889
884
|
this.send(command, optionsOrCb || {}, cb);
|
|
890
885
|
}
|
|
891
886
|
else {
|
|
892
887
|
return this.send(command, optionsOrCb);
|
|
893
888
|
}
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
|
|
889
|
+
}
|
|
890
|
+
getOrganizationConformancePackDetailedStatus(args, optionsOrCb, cb) {
|
|
891
|
+
const command = new GetOrganizationConformancePackDetailedStatusCommand(args);
|
|
897
892
|
if (typeof optionsOrCb === "function") {
|
|
898
893
|
this.send(command, optionsOrCb);
|
|
899
894
|
}
|
|
900
895
|
else if (typeof cb === "function") {
|
|
901
896
|
if (typeof optionsOrCb !== "object")
|
|
902
|
-
throw new Error(
|
|
897
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
903
898
|
this.send(command, optionsOrCb || {}, cb);
|
|
904
899
|
}
|
|
905
900
|
else {
|
|
906
901
|
return this.send(command, optionsOrCb);
|
|
907
902
|
}
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
|
|
903
|
+
}
|
|
904
|
+
getOrganizationCustomRulePolicy(args, optionsOrCb, cb) {
|
|
905
|
+
const command = new GetOrganizationCustomRulePolicyCommand(args);
|
|
911
906
|
if (typeof optionsOrCb === "function") {
|
|
912
907
|
this.send(command, optionsOrCb);
|
|
913
908
|
}
|
|
914
909
|
else if (typeof cb === "function") {
|
|
915
910
|
if (typeof optionsOrCb !== "object")
|
|
916
|
-
throw new Error(
|
|
911
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
917
912
|
this.send(command, optionsOrCb || {}, cb);
|
|
918
913
|
}
|
|
919
914
|
else {
|
|
920
915
|
return this.send(command, optionsOrCb);
|
|
921
916
|
}
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
|
|
917
|
+
}
|
|
918
|
+
getResourceConfigHistory(args, optionsOrCb, cb) {
|
|
919
|
+
const command = new GetResourceConfigHistoryCommand(args);
|
|
925
920
|
if (typeof optionsOrCb === "function") {
|
|
926
921
|
this.send(command, optionsOrCb);
|
|
927
922
|
}
|
|
928
923
|
else if (typeof cb === "function") {
|
|
929
924
|
if (typeof optionsOrCb !== "object")
|
|
930
|
-
throw new Error(
|
|
925
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
931
926
|
this.send(command, optionsOrCb || {}, cb);
|
|
932
927
|
}
|
|
933
928
|
else {
|
|
934
929
|
return this.send(command, optionsOrCb);
|
|
935
930
|
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
931
|
+
}
|
|
932
|
+
getStoredQuery(args, optionsOrCb, cb) {
|
|
933
|
+
const command = new GetStoredQueryCommand(args);
|
|
939
934
|
if (typeof optionsOrCb === "function") {
|
|
940
935
|
this.send(command, optionsOrCb);
|
|
941
936
|
}
|
|
942
937
|
else if (typeof cb === "function") {
|
|
943
938
|
if (typeof optionsOrCb !== "object")
|
|
944
|
-
throw new Error(
|
|
939
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
945
940
|
this.send(command, optionsOrCb || {}, cb);
|
|
946
941
|
}
|
|
947
942
|
else {
|
|
948
943
|
return this.send(command, optionsOrCb);
|
|
949
944
|
}
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
|
|
945
|
+
}
|
|
946
|
+
listAggregateDiscoveredResources(args, optionsOrCb, cb) {
|
|
947
|
+
const command = new ListAggregateDiscoveredResourcesCommand(args);
|
|
953
948
|
if (typeof optionsOrCb === "function") {
|
|
954
949
|
this.send(command, optionsOrCb);
|
|
955
950
|
}
|
|
956
951
|
else if (typeof cb === "function") {
|
|
957
952
|
if (typeof optionsOrCb !== "object")
|
|
958
|
-
throw new Error(
|
|
953
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
959
954
|
this.send(command, optionsOrCb || {}, cb);
|
|
960
955
|
}
|
|
961
956
|
else {
|
|
962
957
|
return this.send(command, optionsOrCb);
|
|
963
958
|
}
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
|
|
959
|
+
}
|
|
960
|
+
listConformancePackComplianceScores(args, optionsOrCb, cb) {
|
|
961
|
+
const command = new ListConformancePackComplianceScoresCommand(args);
|
|
967
962
|
if (typeof optionsOrCb === "function") {
|
|
968
963
|
this.send(command, optionsOrCb);
|
|
969
964
|
}
|
|
970
965
|
else if (typeof cb === "function") {
|
|
971
966
|
if (typeof optionsOrCb !== "object")
|
|
972
|
-
throw new Error(
|
|
967
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
973
968
|
this.send(command, optionsOrCb || {}, cb);
|
|
974
969
|
}
|
|
975
970
|
else {
|
|
976
971
|
return this.send(command, optionsOrCb);
|
|
977
972
|
}
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
|
|
973
|
+
}
|
|
974
|
+
listDiscoveredResources(args, optionsOrCb, cb) {
|
|
975
|
+
const command = new ListDiscoveredResourcesCommand(args);
|
|
981
976
|
if (typeof optionsOrCb === "function") {
|
|
982
977
|
this.send(command, optionsOrCb);
|
|
983
978
|
}
|
|
984
979
|
else if (typeof cb === "function") {
|
|
985
980
|
if (typeof optionsOrCb !== "object")
|
|
986
|
-
throw new Error(
|
|
981
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
987
982
|
this.send(command, optionsOrCb || {}, cb);
|
|
988
983
|
}
|
|
989
984
|
else {
|
|
990
985
|
return this.send(command, optionsOrCb);
|
|
991
986
|
}
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
|
|
987
|
+
}
|
|
988
|
+
listStoredQueries(args, optionsOrCb, cb) {
|
|
989
|
+
const command = new ListStoredQueriesCommand(args);
|
|
995
990
|
if (typeof optionsOrCb === "function") {
|
|
996
991
|
this.send(command, optionsOrCb);
|
|
997
992
|
}
|
|
998
993
|
else if (typeof cb === "function") {
|
|
999
994
|
if (typeof optionsOrCb !== "object")
|
|
1000
|
-
throw new Error(
|
|
995
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1001
996
|
this.send(command, optionsOrCb || {}, cb);
|
|
1002
997
|
}
|
|
1003
998
|
else {
|
|
1004
999
|
return this.send(command, optionsOrCb);
|
|
1005
1000
|
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
|
|
1001
|
+
}
|
|
1002
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
1003
|
+
const command = new ListTagsForResourceCommand(args);
|
|
1009
1004
|
if (typeof optionsOrCb === "function") {
|
|
1010
1005
|
this.send(command, optionsOrCb);
|
|
1011
1006
|
}
|
|
1012
1007
|
else if (typeof cb === "function") {
|
|
1013
1008
|
if (typeof optionsOrCb !== "object")
|
|
1014
|
-
throw new Error(
|
|
1009
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1015
1010
|
this.send(command, optionsOrCb || {}, cb);
|
|
1016
1011
|
}
|
|
1017
1012
|
else {
|
|
1018
1013
|
return this.send(command, optionsOrCb);
|
|
1019
1014
|
}
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
|
|
1015
|
+
}
|
|
1016
|
+
putAggregationAuthorization(args, optionsOrCb, cb) {
|
|
1017
|
+
const command = new PutAggregationAuthorizationCommand(args);
|
|
1023
1018
|
if (typeof optionsOrCb === "function") {
|
|
1024
1019
|
this.send(command, optionsOrCb);
|
|
1025
1020
|
}
|
|
1026
1021
|
else if (typeof cb === "function") {
|
|
1027
1022
|
if (typeof optionsOrCb !== "object")
|
|
1028
|
-
throw new Error(
|
|
1023
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1029
1024
|
this.send(command, optionsOrCb || {}, cb);
|
|
1030
1025
|
}
|
|
1031
1026
|
else {
|
|
1032
1027
|
return this.send(command, optionsOrCb);
|
|
1033
1028
|
}
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
|
|
1029
|
+
}
|
|
1030
|
+
putConfigRule(args, optionsOrCb, cb) {
|
|
1031
|
+
const command = new PutConfigRuleCommand(args);
|
|
1037
1032
|
if (typeof optionsOrCb === "function") {
|
|
1038
1033
|
this.send(command, optionsOrCb);
|
|
1039
1034
|
}
|
|
1040
1035
|
else if (typeof cb === "function") {
|
|
1041
1036
|
if (typeof optionsOrCb !== "object")
|
|
1042
|
-
throw new Error(
|
|
1037
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1043
1038
|
this.send(command, optionsOrCb || {}, cb);
|
|
1044
1039
|
}
|
|
1045
1040
|
else {
|
|
1046
1041
|
return this.send(command, optionsOrCb);
|
|
1047
1042
|
}
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1043
|
+
}
|
|
1044
|
+
putConfigurationAggregator(args, optionsOrCb, cb) {
|
|
1045
|
+
const command = new PutConfigurationAggregatorCommand(args);
|
|
1051
1046
|
if (typeof optionsOrCb === "function") {
|
|
1052
1047
|
this.send(command, optionsOrCb);
|
|
1053
1048
|
}
|
|
1054
1049
|
else if (typeof cb === "function") {
|
|
1055
1050
|
if (typeof optionsOrCb !== "object")
|
|
1056
|
-
throw new Error(
|
|
1051
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1057
1052
|
this.send(command, optionsOrCb || {}, cb);
|
|
1058
1053
|
}
|
|
1059
1054
|
else {
|
|
1060
1055
|
return this.send(command, optionsOrCb);
|
|
1061
1056
|
}
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
|
|
1057
|
+
}
|
|
1058
|
+
putConfigurationRecorder(args, optionsOrCb, cb) {
|
|
1059
|
+
const command = new PutConfigurationRecorderCommand(args);
|
|
1065
1060
|
if (typeof optionsOrCb === "function") {
|
|
1066
1061
|
this.send(command, optionsOrCb);
|
|
1067
1062
|
}
|
|
1068
1063
|
else if (typeof cb === "function") {
|
|
1069
1064
|
if (typeof optionsOrCb !== "object")
|
|
1070
|
-
throw new Error(
|
|
1065
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1071
1066
|
this.send(command, optionsOrCb || {}, cb);
|
|
1072
1067
|
}
|
|
1073
1068
|
else {
|
|
1074
1069
|
return this.send(command, optionsOrCb);
|
|
1075
1070
|
}
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
|
|
1071
|
+
}
|
|
1072
|
+
putConformancePack(args, optionsOrCb, cb) {
|
|
1073
|
+
const command = new PutConformancePackCommand(args);
|
|
1079
1074
|
if (typeof optionsOrCb === "function") {
|
|
1080
1075
|
this.send(command, optionsOrCb);
|
|
1081
1076
|
}
|
|
1082
1077
|
else if (typeof cb === "function") {
|
|
1083
1078
|
if (typeof optionsOrCb !== "object")
|
|
1084
|
-
throw new Error(
|
|
1079
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1085
1080
|
this.send(command, optionsOrCb || {}, cb);
|
|
1086
1081
|
}
|
|
1087
1082
|
else {
|
|
1088
1083
|
return this.send(command, optionsOrCb);
|
|
1089
1084
|
}
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1085
|
+
}
|
|
1086
|
+
putDeliveryChannel(args, optionsOrCb, cb) {
|
|
1087
|
+
const command = new PutDeliveryChannelCommand(args);
|
|
1093
1088
|
if (typeof optionsOrCb === "function") {
|
|
1094
1089
|
this.send(command, optionsOrCb);
|
|
1095
1090
|
}
|
|
1096
1091
|
else if (typeof cb === "function") {
|
|
1097
1092
|
if (typeof optionsOrCb !== "object")
|
|
1098
|
-
throw new Error(
|
|
1093
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1099
1094
|
this.send(command, optionsOrCb || {}, cb);
|
|
1100
1095
|
}
|
|
1101
1096
|
else {
|
|
1102
1097
|
return this.send(command, optionsOrCb);
|
|
1103
1098
|
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
|
|
1099
|
+
}
|
|
1100
|
+
putEvaluations(args, optionsOrCb, cb) {
|
|
1101
|
+
const command = new PutEvaluationsCommand(args);
|
|
1107
1102
|
if (typeof optionsOrCb === "function") {
|
|
1108
1103
|
this.send(command, optionsOrCb);
|
|
1109
1104
|
}
|
|
1110
1105
|
else if (typeof cb === "function") {
|
|
1111
1106
|
if (typeof optionsOrCb !== "object")
|
|
1112
|
-
throw new Error(
|
|
1107
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1113
1108
|
this.send(command, optionsOrCb || {}, cb);
|
|
1114
1109
|
}
|
|
1115
1110
|
else {
|
|
1116
1111
|
return this.send(command, optionsOrCb);
|
|
1117
1112
|
}
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1113
|
+
}
|
|
1114
|
+
putExternalEvaluation(args, optionsOrCb, cb) {
|
|
1115
|
+
const command = new PutExternalEvaluationCommand(args);
|
|
1121
1116
|
if (typeof optionsOrCb === "function") {
|
|
1122
1117
|
this.send(command, optionsOrCb);
|
|
1123
1118
|
}
|
|
1124
1119
|
else if (typeof cb === "function") {
|
|
1125
1120
|
if (typeof optionsOrCb !== "object")
|
|
1126
|
-
throw new Error(
|
|
1121
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1127
1122
|
this.send(command, optionsOrCb || {}, cb);
|
|
1128
1123
|
}
|
|
1129
1124
|
else {
|
|
1130
1125
|
return this.send(command, optionsOrCb);
|
|
1131
1126
|
}
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
|
|
1127
|
+
}
|
|
1128
|
+
putOrganizationConfigRule(args, optionsOrCb, cb) {
|
|
1129
|
+
const command = new PutOrganizationConfigRuleCommand(args);
|
|
1135
1130
|
if (typeof optionsOrCb === "function") {
|
|
1136
1131
|
this.send(command, optionsOrCb);
|
|
1137
1132
|
}
|
|
1138
1133
|
else if (typeof cb === "function") {
|
|
1139
1134
|
if (typeof optionsOrCb !== "object")
|
|
1140
|
-
throw new Error(
|
|
1135
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1141
1136
|
this.send(command, optionsOrCb || {}, cb);
|
|
1142
1137
|
}
|
|
1143
1138
|
else {
|
|
1144
1139
|
return this.send(command, optionsOrCb);
|
|
1145
1140
|
}
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
|
|
1141
|
+
}
|
|
1142
|
+
putOrganizationConformancePack(args, optionsOrCb, cb) {
|
|
1143
|
+
const command = new PutOrganizationConformancePackCommand(args);
|
|
1149
1144
|
if (typeof optionsOrCb === "function") {
|
|
1150
1145
|
this.send(command, optionsOrCb);
|
|
1151
1146
|
}
|
|
1152
1147
|
else if (typeof cb === "function") {
|
|
1153
1148
|
if (typeof optionsOrCb !== "object")
|
|
1154
|
-
throw new Error(
|
|
1149
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1155
1150
|
this.send(command, optionsOrCb || {}, cb);
|
|
1156
1151
|
}
|
|
1157
1152
|
else {
|
|
1158
1153
|
return this.send(command, optionsOrCb);
|
|
1159
1154
|
}
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
|
|
1155
|
+
}
|
|
1156
|
+
putRemediationConfigurations(args, optionsOrCb, cb) {
|
|
1157
|
+
const command = new PutRemediationConfigurationsCommand(args);
|
|
1163
1158
|
if (typeof optionsOrCb === "function") {
|
|
1164
1159
|
this.send(command, optionsOrCb);
|
|
1165
1160
|
}
|
|
1166
1161
|
else if (typeof cb === "function") {
|
|
1167
1162
|
if (typeof optionsOrCb !== "object")
|
|
1168
|
-
throw new Error(
|
|
1163
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1169
1164
|
this.send(command, optionsOrCb || {}, cb);
|
|
1170
1165
|
}
|
|
1171
1166
|
else {
|
|
1172
1167
|
return this.send(command, optionsOrCb);
|
|
1173
1168
|
}
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
|
|
1169
|
+
}
|
|
1170
|
+
putRemediationExceptions(args, optionsOrCb, cb) {
|
|
1171
|
+
const command = new PutRemediationExceptionsCommand(args);
|
|
1177
1172
|
if (typeof optionsOrCb === "function") {
|
|
1178
1173
|
this.send(command, optionsOrCb);
|
|
1179
1174
|
}
|
|
1180
1175
|
else if (typeof cb === "function") {
|
|
1181
1176
|
if (typeof optionsOrCb !== "object")
|
|
1182
|
-
throw new Error(
|
|
1177
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1183
1178
|
this.send(command, optionsOrCb || {}, cb);
|
|
1184
1179
|
}
|
|
1185
1180
|
else {
|
|
1186
1181
|
return this.send(command, optionsOrCb);
|
|
1187
1182
|
}
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
|
|
1183
|
+
}
|
|
1184
|
+
putResourceConfig(args, optionsOrCb, cb) {
|
|
1185
|
+
const command = new PutResourceConfigCommand(args);
|
|
1191
1186
|
if (typeof optionsOrCb === "function") {
|
|
1192
1187
|
this.send(command, optionsOrCb);
|
|
1193
1188
|
}
|
|
1194
1189
|
else if (typeof cb === "function") {
|
|
1195
1190
|
if (typeof optionsOrCb !== "object")
|
|
1196
|
-
throw new Error(
|
|
1191
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1197
1192
|
this.send(command, optionsOrCb || {}, cb);
|
|
1198
1193
|
}
|
|
1199
1194
|
else {
|
|
1200
1195
|
return this.send(command, optionsOrCb);
|
|
1201
1196
|
}
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
|
|
1197
|
+
}
|
|
1198
|
+
putRetentionConfiguration(args, optionsOrCb, cb) {
|
|
1199
|
+
const command = new PutRetentionConfigurationCommand(args);
|
|
1205
1200
|
if (typeof optionsOrCb === "function") {
|
|
1206
1201
|
this.send(command, optionsOrCb);
|
|
1207
1202
|
}
|
|
1208
1203
|
else if (typeof cb === "function") {
|
|
1209
1204
|
if (typeof optionsOrCb !== "object")
|
|
1210
|
-
throw new Error(
|
|
1205
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1211
1206
|
this.send(command, optionsOrCb || {}, cb);
|
|
1212
1207
|
}
|
|
1213
1208
|
else {
|
|
1214
1209
|
return this.send(command, optionsOrCb);
|
|
1215
1210
|
}
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
|
|
1211
|
+
}
|
|
1212
|
+
putStoredQuery(args, optionsOrCb, cb) {
|
|
1213
|
+
const command = new PutStoredQueryCommand(args);
|
|
1219
1214
|
if (typeof optionsOrCb === "function") {
|
|
1220
1215
|
this.send(command, optionsOrCb);
|
|
1221
1216
|
}
|
|
1222
1217
|
else if (typeof cb === "function") {
|
|
1223
1218
|
if (typeof optionsOrCb !== "object")
|
|
1224
|
-
throw new Error(
|
|
1219
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1225
1220
|
this.send(command, optionsOrCb || {}, cb);
|
|
1226
1221
|
}
|
|
1227
1222
|
else {
|
|
1228
1223
|
return this.send(command, optionsOrCb);
|
|
1229
1224
|
}
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
|
|
1225
|
+
}
|
|
1226
|
+
selectAggregateResourceConfig(args, optionsOrCb, cb) {
|
|
1227
|
+
const command = new SelectAggregateResourceConfigCommand(args);
|
|
1233
1228
|
if (typeof optionsOrCb === "function") {
|
|
1234
1229
|
this.send(command, optionsOrCb);
|
|
1235
1230
|
}
|
|
1236
1231
|
else if (typeof cb === "function") {
|
|
1237
1232
|
if (typeof optionsOrCb !== "object")
|
|
1238
|
-
throw new Error(
|
|
1233
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1239
1234
|
this.send(command, optionsOrCb || {}, cb);
|
|
1240
1235
|
}
|
|
1241
1236
|
else {
|
|
1242
1237
|
return this.send(command, optionsOrCb);
|
|
1243
1238
|
}
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
|
|
1239
|
+
}
|
|
1240
|
+
selectResourceConfig(args, optionsOrCb, cb) {
|
|
1241
|
+
const command = new SelectResourceConfigCommand(args);
|
|
1247
1242
|
if (typeof optionsOrCb === "function") {
|
|
1248
1243
|
this.send(command, optionsOrCb);
|
|
1249
1244
|
}
|
|
1250
1245
|
else if (typeof cb === "function") {
|
|
1251
1246
|
if (typeof optionsOrCb !== "object")
|
|
1252
|
-
throw new Error(
|
|
1247
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1253
1248
|
this.send(command, optionsOrCb || {}, cb);
|
|
1254
1249
|
}
|
|
1255
1250
|
else {
|
|
1256
1251
|
return this.send(command, optionsOrCb);
|
|
1257
1252
|
}
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
|
|
1253
|
+
}
|
|
1254
|
+
startConfigRulesEvaluation(args, optionsOrCb, cb) {
|
|
1255
|
+
const command = new StartConfigRulesEvaluationCommand(args);
|
|
1261
1256
|
if (typeof optionsOrCb === "function") {
|
|
1262
1257
|
this.send(command, optionsOrCb);
|
|
1263
1258
|
}
|
|
1264
1259
|
else if (typeof cb === "function") {
|
|
1265
1260
|
if (typeof optionsOrCb !== "object")
|
|
1266
|
-
throw new Error(
|
|
1261
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1267
1262
|
this.send(command, optionsOrCb || {}, cb);
|
|
1268
1263
|
}
|
|
1269
1264
|
else {
|
|
1270
1265
|
return this.send(command, optionsOrCb);
|
|
1271
1266
|
}
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1267
|
+
}
|
|
1268
|
+
startConfigurationRecorder(args, optionsOrCb, cb) {
|
|
1269
|
+
const command = new StartConfigurationRecorderCommand(args);
|
|
1275
1270
|
if (typeof optionsOrCb === "function") {
|
|
1276
1271
|
this.send(command, optionsOrCb);
|
|
1277
1272
|
}
|
|
1278
1273
|
else if (typeof cb === "function") {
|
|
1279
1274
|
if (typeof optionsOrCb !== "object")
|
|
1280
|
-
throw new Error(
|
|
1275
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1281
1276
|
this.send(command, optionsOrCb || {}, cb);
|
|
1282
1277
|
}
|
|
1283
1278
|
else {
|
|
1284
1279
|
return this.send(command, optionsOrCb);
|
|
1285
1280
|
}
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1281
|
+
}
|
|
1282
|
+
startRemediationExecution(args, optionsOrCb, cb) {
|
|
1283
|
+
const command = new StartRemediationExecutionCommand(args);
|
|
1289
1284
|
if (typeof optionsOrCb === "function") {
|
|
1290
1285
|
this.send(command, optionsOrCb);
|
|
1291
1286
|
}
|
|
1292
1287
|
else if (typeof cb === "function") {
|
|
1293
1288
|
if (typeof optionsOrCb !== "object")
|
|
1294
|
-
throw new Error(
|
|
1289
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1295
1290
|
this.send(command, optionsOrCb || {}, cb);
|
|
1296
1291
|
}
|
|
1297
1292
|
else {
|
|
1298
1293
|
return this.send(command, optionsOrCb);
|
|
1299
1294
|
}
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1295
|
+
}
|
|
1296
|
+
stopConfigurationRecorder(args, optionsOrCb, cb) {
|
|
1297
|
+
const command = new StopConfigurationRecorderCommand(args);
|
|
1303
1298
|
if (typeof optionsOrCb === "function") {
|
|
1304
1299
|
this.send(command, optionsOrCb);
|
|
1305
1300
|
}
|
|
1306
1301
|
else if (typeof cb === "function") {
|
|
1307
1302
|
if (typeof optionsOrCb !== "object")
|
|
1308
|
-
throw new Error(
|
|
1303
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1309
1304
|
this.send(command, optionsOrCb || {}, cb);
|
|
1310
1305
|
}
|
|
1311
1306
|
else {
|
|
1312
1307
|
return this.send(command, optionsOrCb);
|
|
1313
1308
|
}
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
|
|
1309
|
+
}
|
|
1310
|
+
tagResource(args, optionsOrCb, cb) {
|
|
1311
|
+
const command = new TagResourceCommand(args);
|
|
1317
1312
|
if (typeof optionsOrCb === "function") {
|
|
1318
1313
|
this.send(command, optionsOrCb);
|
|
1319
1314
|
}
|
|
1320
1315
|
else if (typeof cb === "function") {
|
|
1321
1316
|
if (typeof optionsOrCb !== "object")
|
|
1322
|
-
throw new Error(
|
|
1317
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1323
1318
|
this.send(command, optionsOrCb || {}, cb);
|
|
1324
1319
|
}
|
|
1325
1320
|
else {
|
|
1326
1321
|
return this.send(command, optionsOrCb);
|
|
1327
1322
|
}
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
|
|
1323
|
+
}
|
|
1324
|
+
untagResource(args, optionsOrCb, cb) {
|
|
1325
|
+
const command = new UntagResourceCommand(args);
|
|
1331
1326
|
if (typeof optionsOrCb === "function") {
|
|
1332
1327
|
this.send(command, optionsOrCb);
|
|
1333
1328
|
}
|
|
1334
1329
|
else if (typeof cb === "function") {
|
|
1335
1330
|
if (typeof optionsOrCb !== "object")
|
|
1336
|
-
throw new Error(
|
|
1331
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1337
1332
|
this.send(command, optionsOrCb || {}, cb);
|
|
1338
1333
|
}
|
|
1339
1334
|
else {
|
|
1340
1335
|
return this.send(command, optionsOrCb);
|
|
1341
1336
|
}
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
}(ConfigServiceClient));
|
|
1345
|
-
export { ConfigService };
|
|
1337
|
+
}
|
|
1338
|
+
}
|