@aws-sdk/client-auditmanager 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.
Files changed (89) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/AuditManager.js +246 -253
  3. package/dist-es/AuditManagerClient.js +22 -28
  4. package/dist-es/commands/AssociateAssessmentReportEvidenceFolderCommand.js +21 -28
  5. package/dist-es/commands/BatchAssociateAssessmentReportEvidenceCommand.js +21 -28
  6. package/dist-es/commands/BatchCreateDelegationByAssessmentCommand.js +21 -28
  7. package/dist-es/commands/BatchDeleteDelegationByAssessmentCommand.js +21 -28
  8. package/dist-es/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +21 -28
  9. package/dist-es/commands/BatchImportEvidenceToAssessmentControlCommand.js +21 -28
  10. package/dist-es/commands/CreateAssessmentCommand.js +21 -28
  11. package/dist-es/commands/CreateAssessmentFrameworkCommand.js +21 -28
  12. package/dist-es/commands/CreateAssessmentReportCommand.js +21 -28
  13. package/dist-es/commands/CreateControlCommand.js +21 -28
  14. package/dist-es/commands/DeleteAssessmentCommand.js +21 -28
  15. package/dist-es/commands/DeleteAssessmentFrameworkCommand.js +21 -28
  16. package/dist-es/commands/DeleteAssessmentFrameworkShareCommand.js +21 -28
  17. package/dist-es/commands/DeleteAssessmentReportCommand.js +21 -28
  18. package/dist-es/commands/DeleteControlCommand.js +21 -28
  19. package/dist-es/commands/DeregisterAccountCommand.js +21 -28
  20. package/dist-es/commands/DeregisterOrganizationAdminAccountCommand.js +21 -28
  21. package/dist-es/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +21 -28
  22. package/dist-es/commands/GetAccountStatusCommand.js +21 -28
  23. package/dist-es/commands/GetAssessmentCommand.js +21 -28
  24. package/dist-es/commands/GetAssessmentFrameworkCommand.js +21 -28
  25. package/dist-es/commands/GetAssessmentReportUrlCommand.js +21 -28
  26. package/dist-es/commands/GetChangeLogsCommand.js +21 -28
  27. package/dist-es/commands/GetControlCommand.js +21 -28
  28. package/dist-es/commands/GetDelegationsCommand.js +21 -28
  29. package/dist-es/commands/GetEvidenceByEvidenceFolderCommand.js +21 -28
  30. package/dist-es/commands/GetEvidenceCommand.js +21 -28
  31. package/dist-es/commands/GetEvidenceFolderCommand.js +21 -28
  32. package/dist-es/commands/GetEvidenceFoldersByAssessmentCommand.js +21 -28
  33. package/dist-es/commands/GetEvidenceFoldersByAssessmentControlCommand.js +21 -28
  34. package/dist-es/commands/GetInsightsByAssessmentCommand.js +21 -28
  35. package/dist-es/commands/GetInsightsCommand.js +21 -28
  36. package/dist-es/commands/GetOrganizationAdminAccountCommand.js +21 -28
  37. package/dist-es/commands/GetServicesInScopeCommand.js +21 -28
  38. package/dist-es/commands/GetSettingsCommand.js +21 -28
  39. package/dist-es/commands/ListAssessmentControlInsightsByControlDomainCommand.js +21 -28
  40. package/dist-es/commands/ListAssessmentFrameworkShareRequestsCommand.js +21 -28
  41. package/dist-es/commands/ListAssessmentFrameworksCommand.js +21 -28
  42. package/dist-es/commands/ListAssessmentReportsCommand.js +21 -28
  43. package/dist-es/commands/ListAssessmentsCommand.js +21 -28
  44. package/dist-es/commands/ListControlDomainInsightsByAssessmentCommand.js +21 -28
  45. package/dist-es/commands/ListControlDomainInsightsCommand.js +21 -28
  46. package/dist-es/commands/ListControlInsightsByControlDomainCommand.js +21 -28
  47. package/dist-es/commands/ListControlsCommand.js +21 -28
  48. package/dist-es/commands/ListKeywordsForDataSourceCommand.js +21 -28
  49. package/dist-es/commands/ListNotificationsCommand.js +21 -28
  50. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  51. package/dist-es/commands/RegisterAccountCommand.js +21 -28
  52. package/dist-es/commands/RegisterOrganizationAdminAccountCommand.js +21 -28
  53. package/dist-es/commands/StartAssessmentFrameworkShareCommand.js +21 -28
  54. package/dist-es/commands/TagResourceCommand.js +21 -28
  55. package/dist-es/commands/UntagResourceCommand.js +21 -28
  56. package/dist-es/commands/UpdateAssessmentCommand.js +21 -28
  57. package/dist-es/commands/UpdateAssessmentControlCommand.js +21 -28
  58. package/dist-es/commands/UpdateAssessmentControlSetStatusCommand.js +21 -28
  59. package/dist-es/commands/UpdateAssessmentFrameworkCommand.js +21 -28
  60. package/dist-es/commands/UpdateAssessmentFrameworkShareCommand.js +21 -28
  61. package/dist-es/commands/UpdateAssessmentStatusCommand.js +21 -28
  62. package/dist-es/commands/UpdateControlCommand.js +21 -28
  63. package/dist-es/commands/UpdateSettingsCommand.js +21 -28
  64. package/dist-es/commands/ValidateAssessmentReportIntegrityCommand.js +21 -28
  65. package/dist-es/endpoints.js +8 -8
  66. package/dist-es/models/AuditManagerServiceException.js +5 -10
  67. package/dist-es/models/models_0.js +586 -243
  68. package/dist-es/pagination/GetChangeLogsPaginator.js +25 -68
  69. package/dist-es/pagination/GetDelegationsPaginator.js +25 -68
  70. package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +25 -68
  71. package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +25 -68
  72. package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +25 -68
  73. package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +25 -68
  74. package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +25 -68
  75. package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +25 -68
  76. package/dist-es/pagination/ListAssessmentReportsPaginator.js +25 -68
  77. package/dist-es/pagination/ListAssessmentsPaginator.js +25 -68
  78. package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +25 -68
  79. package/dist-es/pagination/ListControlDomainInsightsPaginator.js +25 -68
  80. package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +25 -68
  81. package/dist-es/pagination/ListControlsPaginator.js +25 -68
  82. package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +25 -68
  83. package/dist-es/pagination/ListNotificationsPaginator.js +25 -68
  84. package/dist-es/protocols/Aws_restJson1.js +4157 -5949
  85. package/dist-es/runtimeConfig.browser.js +26 -12
  86. package/dist-es/runtimeConfig.js +30 -12
  87. package/dist-es/runtimeConfig.native.js +8 -5
  88. package/dist-es/runtimeConfig.shared.js +8 -11
  89. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { AuditManagerClient } from "./AuditManagerClient";
3
2
  import { AssociateAssessmentReportEvidenceFolderCommand, } from "./commands/AssociateAssessmentReportEvidenceFolderCommand";
4
3
  import { BatchAssociateAssessmentReportEvidenceCommand, } from "./commands/BatchAssociateAssessmentReportEvidenceCommand";
@@ -61,865 +60,859 @@ import { UpdateAssessmentStatusCommand, } from "./commands/UpdateAssessmentStatu
61
60
  import { UpdateControlCommand, } from "./commands/UpdateControlCommand";
62
61
  import { UpdateSettingsCommand, } from "./commands/UpdateSettingsCommand";
63
62
  import { ValidateAssessmentReportIntegrityCommand, } from "./commands/ValidateAssessmentReportIntegrityCommand";
64
- var AuditManager = (function (_super) {
65
- __extends(AuditManager, _super);
66
- function AuditManager() {
67
- return _super !== null && _super.apply(this, arguments) || this;
68
- }
69
- AuditManager.prototype.associateAssessmentReportEvidenceFolder = function (args, optionsOrCb, cb) {
70
- var command = new AssociateAssessmentReportEvidenceFolderCommand(args);
63
+ export class AuditManager extends AuditManagerClient {
64
+ associateAssessmentReportEvidenceFolder(args, optionsOrCb, cb) {
65
+ const command = new AssociateAssessmentReportEvidenceFolderCommand(args);
71
66
  if (typeof optionsOrCb === "function") {
72
67
  this.send(command, optionsOrCb);
73
68
  }
74
69
  else if (typeof cb === "function") {
75
70
  if (typeof optionsOrCb !== "object")
76
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
71
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
77
72
  this.send(command, optionsOrCb || {}, cb);
78
73
  }
79
74
  else {
80
75
  return this.send(command, optionsOrCb);
81
76
  }
82
- };
83
- AuditManager.prototype.batchAssociateAssessmentReportEvidence = function (args, optionsOrCb, cb) {
84
- var command = new BatchAssociateAssessmentReportEvidenceCommand(args);
77
+ }
78
+ batchAssociateAssessmentReportEvidence(args, optionsOrCb, cb) {
79
+ const command = new BatchAssociateAssessmentReportEvidenceCommand(args);
85
80
  if (typeof optionsOrCb === "function") {
86
81
  this.send(command, optionsOrCb);
87
82
  }
88
83
  else if (typeof cb === "function") {
89
84
  if (typeof optionsOrCb !== "object")
90
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
85
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
91
86
  this.send(command, optionsOrCb || {}, cb);
92
87
  }
93
88
  else {
94
89
  return this.send(command, optionsOrCb);
95
90
  }
96
- };
97
- AuditManager.prototype.batchCreateDelegationByAssessment = function (args, optionsOrCb, cb) {
98
- var command = new BatchCreateDelegationByAssessmentCommand(args);
91
+ }
92
+ batchCreateDelegationByAssessment(args, optionsOrCb, cb) {
93
+ const command = new BatchCreateDelegationByAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.batchDeleteDelegationByAssessment = function (args, optionsOrCb, cb) {
112
- var command = new BatchDeleteDelegationByAssessmentCommand(args);
105
+ }
106
+ batchDeleteDelegationByAssessment(args, optionsOrCb, cb) {
107
+ const command = new BatchDeleteDelegationByAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.batchDisassociateAssessmentReportEvidence = function (args, optionsOrCb, cb) {
126
- var command = new BatchDisassociateAssessmentReportEvidenceCommand(args);
119
+ }
120
+ batchDisassociateAssessmentReportEvidence(args, optionsOrCb, cb) {
121
+ const command = new BatchDisassociateAssessmentReportEvidenceCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.batchImportEvidenceToAssessmentControl = function (args, optionsOrCb, cb) {
140
- var command = new BatchImportEvidenceToAssessmentControlCommand(args);
133
+ }
134
+ batchImportEvidenceToAssessmentControl(args, optionsOrCb, cb) {
135
+ const command = new BatchImportEvidenceToAssessmentControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.createAssessment = function (args, optionsOrCb, cb) {
154
- var command = new CreateAssessmentCommand(args);
147
+ }
148
+ createAssessment(args, optionsOrCb, cb) {
149
+ const command = new CreateAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.createAssessmentFramework = function (args, optionsOrCb, cb) {
168
- var command = new CreateAssessmentFrameworkCommand(args);
161
+ }
162
+ createAssessmentFramework(args, optionsOrCb, cb) {
163
+ const command = new CreateAssessmentFrameworkCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.createAssessmentReport = function (args, optionsOrCb, cb) {
182
- var command = new CreateAssessmentReportCommand(args);
175
+ }
176
+ createAssessmentReport(args, optionsOrCb, cb) {
177
+ const command = new CreateAssessmentReportCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.createControl = function (args, optionsOrCb, cb) {
196
- var command = new CreateControlCommand(args);
189
+ }
190
+ createControl(args, optionsOrCb, cb) {
191
+ const command = new CreateControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deleteAssessment = function (args, optionsOrCb, cb) {
210
- var command = new DeleteAssessmentCommand(args);
203
+ }
204
+ deleteAssessment(args, optionsOrCb, cb) {
205
+ const command = new DeleteAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deleteAssessmentFramework = function (args, optionsOrCb, cb) {
224
- var command = new DeleteAssessmentFrameworkCommand(args);
217
+ }
218
+ deleteAssessmentFramework(args, optionsOrCb, cb) {
219
+ const command = new DeleteAssessmentFrameworkCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deleteAssessmentFrameworkShare = function (args, optionsOrCb, cb) {
238
- var command = new DeleteAssessmentFrameworkShareCommand(args);
231
+ }
232
+ deleteAssessmentFrameworkShare(args, optionsOrCb, cb) {
233
+ const command = new DeleteAssessmentFrameworkShareCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deleteAssessmentReport = function (args, optionsOrCb, cb) {
252
- var command = new DeleteAssessmentReportCommand(args);
245
+ }
246
+ deleteAssessmentReport(args, optionsOrCb, cb) {
247
+ const command = new DeleteAssessmentReportCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deleteControl = function (args, optionsOrCb, cb) {
266
- var command = new DeleteControlCommand(args);
259
+ }
260
+ deleteControl(args, optionsOrCb, cb) {
261
+ const command = new DeleteControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deregisterAccount = function (args, optionsOrCb, cb) {
280
- var command = new DeregisterAccountCommand(args);
273
+ }
274
+ deregisterAccount(args, optionsOrCb, cb) {
275
+ const command = new DeregisterAccountCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.deregisterOrganizationAdminAccount = function (args, optionsOrCb, cb) {
294
- var command = new DeregisterOrganizationAdminAccountCommand(args);
287
+ }
288
+ deregisterOrganizationAdminAccount(args, optionsOrCb, cb) {
289
+ const command = new DeregisterOrganizationAdminAccountCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.disassociateAssessmentReportEvidenceFolder = function (args, optionsOrCb, cb) {
308
- var command = new DisassociateAssessmentReportEvidenceFolderCommand(args);
301
+ }
302
+ disassociateAssessmentReportEvidenceFolder(args, optionsOrCb, cb) {
303
+ const command = new DisassociateAssessmentReportEvidenceFolderCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getAccountStatus = function (args, optionsOrCb, cb) {
322
- var command = new GetAccountStatusCommand(args);
315
+ }
316
+ getAccountStatus(args, optionsOrCb, cb) {
317
+ const command = new GetAccountStatusCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getAssessment = function (args, optionsOrCb, cb) {
336
- var command = new GetAssessmentCommand(args);
329
+ }
330
+ getAssessment(args, optionsOrCb, cb) {
331
+ const command = new GetAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getAssessmentFramework = function (args, optionsOrCb, cb) {
350
- var command = new GetAssessmentFrameworkCommand(args);
343
+ }
344
+ getAssessmentFramework(args, optionsOrCb, cb) {
345
+ const command = new GetAssessmentFrameworkCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getAssessmentReportUrl = function (args, optionsOrCb, cb) {
364
- var command = new GetAssessmentReportUrlCommand(args);
357
+ }
358
+ getAssessmentReportUrl(args, optionsOrCb, cb) {
359
+ const command = new GetAssessmentReportUrlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getChangeLogs = function (args, optionsOrCb, cb) {
378
- var command = new GetChangeLogsCommand(args);
371
+ }
372
+ getChangeLogs(args, optionsOrCb, cb) {
373
+ const command = new GetChangeLogsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getControl = function (args, optionsOrCb, cb) {
392
- var command = new GetControlCommand(args);
385
+ }
386
+ getControl(args, optionsOrCb, cb) {
387
+ const command = new GetControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getDelegations = function (args, optionsOrCb, cb) {
406
- var command = new GetDelegationsCommand(args);
399
+ }
400
+ getDelegations(args, optionsOrCb, cb) {
401
+ const command = new GetDelegationsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getEvidence = function (args, optionsOrCb, cb) {
420
- var command = new GetEvidenceCommand(args);
413
+ }
414
+ getEvidence(args, optionsOrCb, cb) {
415
+ const command = new GetEvidenceCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getEvidenceByEvidenceFolder = function (args, optionsOrCb, cb) {
434
- var command = new GetEvidenceByEvidenceFolderCommand(args);
427
+ }
428
+ getEvidenceByEvidenceFolder(args, optionsOrCb, cb) {
429
+ const command = new GetEvidenceByEvidenceFolderCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getEvidenceFolder = function (args, optionsOrCb, cb) {
448
- var command = new GetEvidenceFolderCommand(args);
441
+ }
442
+ getEvidenceFolder(args, optionsOrCb, cb) {
443
+ const command = new GetEvidenceFolderCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getEvidenceFoldersByAssessment = function (args, optionsOrCb, cb) {
462
- var command = new GetEvidenceFoldersByAssessmentCommand(args);
455
+ }
456
+ getEvidenceFoldersByAssessment(args, optionsOrCb, cb) {
457
+ const command = new GetEvidenceFoldersByAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getEvidenceFoldersByAssessmentControl = function (args, optionsOrCb, cb) {
476
- var command = new GetEvidenceFoldersByAssessmentControlCommand(args);
469
+ }
470
+ getEvidenceFoldersByAssessmentControl(args, optionsOrCb, cb) {
471
+ const command = new GetEvidenceFoldersByAssessmentControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getInsights = function (args, optionsOrCb, cb) {
490
- var command = new GetInsightsCommand(args);
483
+ }
484
+ getInsights(args, optionsOrCb, cb) {
485
+ const command = new GetInsightsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getInsightsByAssessment = function (args, optionsOrCb, cb) {
504
- var command = new GetInsightsByAssessmentCommand(args);
497
+ }
498
+ getInsightsByAssessment(args, optionsOrCb, cb) {
499
+ const command = new GetInsightsByAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getOrganizationAdminAccount = function (args, optionsOrCb, cb) {
518
- var command = new GetOrganizationAdminAccountCommand(args);
511
+ }
512
+ getOrganizationAdminAccount(args, optionsOrCb, cb) {
513
+ const command = new GetOrganizationAdminAccountCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getServicesInScope = function (args, optionsOrCb, cb) {
532
- var command = new GetServicesInScopeCommand(args);
525
+ }
526
+ getServicesInScope(args, optionsOrCb, cb) {
527
+ const command = new GetServicesInScopeCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.getSettings = function (args, optionsOrCb, cb) {
546
- var command = new GetSettingsCommand(args);
539
+ }
540
+ getSettings(args, optionsOrCb, cb) {
541
+ const command = new GetSettingsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listAssessmentControlInsightsByControlDomain = function (args, optionsOrCb, cb) {
560
- var command = new ListAssessmentControlInsightsByControlDomainCommand(args);
553
+ }
554
+ listAssessmentControlInsightsByControlDomain(args, optionsOrCb, cb) {
555
+ const command = new ListAssessmentControlInsightsByControlDomainCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listAssessmentFrameworks = function (args, optionsOrCb, cb) {
574
- var command = new ListAssessmentFrameworksCommand(args);
567
+ }
568
+ listAssessmentFrameworks(args, optionsOrCb, cb) {
569
+ const command = new ListAssessmentFrameworksCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listAssessmentFrameworkShareRequests = function (args, optionsOrCb, cb) {
588
- var command = new ListAssessmentFrameworkShareRequestsCommand(args);
581
+ }
582
+ listAssessmentFrameworkShareRequests(args, optionsOrCb, cb) {
583
+ const command = new ListAssessmentFrameworkShareRequestsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listAssessmentReports = function (args, optionsOrCb, cb) {
602
- var command = new ListAssessmentReportsCommand(args);
595
+ }
596
+ listAssessmentReports(args, optionsOrCb, cb) {
597
+ const command = new ListAssessmentReportsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listAssessments = function (args, optionsOrCb, cb) {
616
- var command = new ListAssessmentsCommand(args);
609
+ }
610
+ listAssessments(args, optionsOrCb, cb) {
611
+ const command = new ListAssessmentsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listControlDomainInsights = function (args, optionsOrCb, cb) {
630
- var command = new ListControlDomainInsightsCommand(args);
623
+ }
624
+ listControlDomainInsights(args, optionsOrCb, cb) {
625
+ const command = new ListControlDomainInsightsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listControlDomainInsightsByAssessment = function (args, optionsOrCb, cb) {
644
- var command = new ListControlDomainInsightsByAssessmentCommand(args);
637
+ }
638
+ listControlDomainInsightsByAssessment(args, optionsOrCb, cb) {
639
+ const command = new ListControlDomainInsightsByAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listControlInsightsByControlDomain = function (args, optionsOrCb, cb) {
658
- var command = new ListControlInsightsByControlDomainCommand(args);
651
+ }
652
+ listControlInsightsByControlDomain(args, optionsOrCb, cb) {
653
+ const command = new ListControlInsightsByControlDomainCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listControls = function (args, optionsOrCb, cb) {
672
- var command = new ListControlsCommand(args);
665
+ }
666
+ listControls(args, optionsOrCb, cb) {
667
+ const command = new ListControlsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listKeywordsForDataSource = function (args, optionsOrCb, cb) {
686
- var command = new ListKeywordsForDataSourceCommand(args);
679
+ }
680
+ listKeywordsForDataSource(args, optionsOrCb, cb) {
681
+ const command = new ListKeywordsForDataSourceCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listNotifications = function (args, optionsOrCb, cb) {
700
- var command = new ListNotificationsCommand(args);
693
+ }
694
+ listNotifications(args, optionsOrCb, cb) {
695
+ const command = new ListNotificationsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
714
- var command = new ListTagsForResourceCommand(args);
707
+ }
708
+ listTagsForResource(args, optionsOrCb, cb) {
709
+ const command = new ListTagsForResourceCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.registerAccount = function (args, optionsOrCb, cb) {
728
- var command = new RegisterAccountCommand(args);
721
+ }
722
+ registerAccount(args, optionsOrCb, cb) {
723
+ const command = new RegisterAccountCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.registerOrganizationAdminAccount = function (args, optionsOrCb, cb) {
742
- var command = new RegisterOrganizationAdminAccountCommand(args);
735
+ }
736
+ registerOrganizationAdminAccount(args, optionsOrCb, cb) {
737
+ const command = new RegisterOrganizationAdminAccountCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.startAssessmentFrameworkShare = function (args, optionsOrCb, cb) {
756
- var command = new StartAssessmentFrameworkShareCommand(args);
749
+ }
750
+ startAssessmentFrameworkShare(args, optionsOrCb, cb) {
751
+ const command = new StartAssessmentFrameworkShareCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.tagResource = function (args, optionsOrCb, cb) {
770
- var command = new TagResourceCommand(args);
763
+ }
764
+ tagResource(args, optionsOrCb, cb) {
765
+ const command = new TagResourceCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.untagResource = function (args, optionsOrCb, cb) {
784
- var command = new UntagResourceCommand(args);
777
+ }
778
+ untagResource(args, optionsOrCb, cb) {
779
+ const command = new UntagResourceCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateAssessment = function (args, optionsOrCb, cb) {
798
- var command = new UpdateAssessmentCommand(args);
791
+ }
792
+ updateAssessment(args, optionsOrCb, cb) {
793
+ const command = new UpdateAssessmentCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateAssessmentControl = function (args, optionsOrCb, cb) {
812
- var command = new UpdateAssessmentControlCommand(args);
805
+ }
806
+ updateAssessmentControl(args, optionsOrCb, cb) {
807
+ const command = new UpdateAssessmentControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateAssessmentControlSetStatus = function (args, optionsOrCb, cb) {
826
- var command = new UpdateAssessmentControlSetStatusCommand(args);
819
+ }
820
+ updateAssessmentControlSetStatus(args, optionsOrCb, cb) {
821
+ const command = new UpdateAssessmentControlSetStatusCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateAssessmentFramework = function (args, optionsOrCb, cb) {
840
- var command = new UpdateAssessmentFrameworkCommand(args);
833
+ }
834
+ updateAssessmentFramework(args, optionsOrCb, cb) {
835
+ const command = new UpdateAssessmentFrameworkCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateAssessmentFrameworkShare = function (args, optionsOrCb, cb) {
854
- var command = new UpdateAssessmentFrameworkShareCommand(args);
847
+ }
848
+ updateAssessmentFrameworkShare(args, optionsOrCb, cb) {
849
+ const command = new UpdateAssessmentFrameworkShareCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateAssessmentStatus = function (args, optionsOrCb, cb) {
868
- var command = new UpdateAssessmentStatusCommand(args);
861
+ }
862
+ updateAssessmentStatus(args, optionsOrCb, cb) {
863
+ const command = new UpdateAssessmentStatusCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateControl = function (args, optionsOrCb, cb) {
882
- var command = new UpdateControlCommand(args);
875
+ }
876
+ updateControl(args, optionsOrCb, cb) {
877
+ const command = new UpdateControlCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.updateSettings = function (args, optionsOrCb, cb) {
896
- var command = new UpdateSettingsCommand(args);
889
+ }
890
+ updateSettings(args, optionsOrCb, cb) {
891
+ const command = new UpdateSettingsCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- AuditManager.prototype.validateAssessmentReportIntegrity = function (args, optionsOrCb, cb) {
910
- var command = new ValidateAssessmentReportIntegrityCommand(args);
903
+ }
904
+ validateAssessmentReportIntegrity(args, optionsOrCb, cb) {
905
+ const command = new ValidateAssessmentReportIntegrityCommand(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("Expect http options but get ".concat(typeof optionsOrCb));
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
- return AuditManager;
924
- }(AuditManagerClient));
925
- export { AuditManager };
917
+ }
918
+ }