@aws-sdk/client-auditmanager 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/AuditManager.js +253 -246
- package/dist-es/AuditManagerClient.js +28 -22
- package/dist-es/commands/AssociateAssessmentReportEvidenceFolderCommand.js +28 -21
- package/dist-es/commands/BatchAssociateAssessmentReportEvidenceCommand.js +28 -21
- package/dist-es/commands/BatchCreateDelegationByAssessmentCommand.js +28 -21
- package/dist-es/commands/BatchDeleteDelegationByAssessmentCommand.js +28 -21
- package/dist-es/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +28 -21
- package/dist-es/commands/BatchImportEvidenceToAssessmentControlCommand.js +28 -21
- package/dist-es/commands/CreateAssessmentCommand.js +28 -21
- package/dist-es/commands/CreateAssessmentFrameworkCommand.js +28 -21
- package/dist-es/commands/CreateAssessmentReportCommand.js +28 -21
- package/dist-es/commands/CreateControlCommand.js +28 -21
- package/dist-es/commands/DeleteAssessmentCommand.js +28 -21
- package/dist-es/commands/DeleteAssessmentFrameworkCommand.js +28 -21
- package/dist-es/commands/DeleteAssessmentFrameworkShareCommand.js +28 -21
- package/dist-es/commands/DeleteAssessmentReportCommand.js +28 -21
- package/dist-es/commands/DeleteControlCommand.js +28 -21
- package/dist-es/commands/DeregisterAccountCommand.js +28 -21
- package/dist-es/commands/DeregisterOrganizationAdminAccountCommand.js +28 -21
- package/dist-es/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +28 -21
- package/dist-es/commands/GetAccountStatusCommand.js +28 -21
- package/dist-es/commands/GetAssessmentCommand.js +28 -21
- package/dist-es/commands/GetAssessmentFrameworkCommand.js +28 -21
- package/dist-es/commands/GetAssessmentReportUrlCommand.js +28 -21
- package/dist-es/commands/GetChangeLogsCommand.js +28 -21
- package/dist-es/commands/GetControlCommand.js +28 -21
- package/dist-es/commands/GetDelegationsCommand.js +28 -21
- package/dist-es/commands/GetEvidenceByEvidenceFolderCommand.js +28 -21
- package/dist-es/commands/GetEvidenceCommand.js +28 -21
- package/dist-es/commands/GetEvidenceFolderCommand.js +28 -21
- package/dist-es/commands/GetEvidenceFoldersByAssessmentCommand.js +28 -21
- package/dist-es/commands/GetEvidenceFoldersByAssessmentControlCommand.js +28 -21
- package/dist-es/commands/GetInsightsByAssessmentCommand.js +28 -21
- package/dist-es/commands/GetInsightsCommand.js +28 -21
- package/dist-es/commands/GetOrganizationAdminAccountCommand.js +28 -21
- package/dist-es/commands/GetServicesInScopeCommand.js +28 -21
- package/dist-es/commands/GetSettingsCommand.js +28 -21
- package/dist-es/commands/ListAssessmentControlInsightsByControlDomainCommand.js +28 -21
- package/dist-es/commands/ListAssessmentFrameworkShareRequestsCommand.js +28 -21
- package/dist-es/commands/ListAssessmentFrameworksCommand.js +28 -21
- package/dist-es/commands/ListAssessmentReportsCommand.js +28 -21
- package/dist-es/commands/ListAssessmentsCommand.js +28 -21
- package/dist-es/commands/ListControlDomainInsightsByAssessmentCommand.js +28 -21
- package/dist-es/commands/ListControlDomainInsightsCommand.js +28 -21
- package/dist-es/commands/ListControlInsightsByControlDomainCommand.js +28 -21
- package/dist-es/commands/ListControlsCommand.js +28 -21
- package/dist-es/commands/ListKeywordsForDataSourceCommand.js +28 -21
- package/dist-es/commands/ListNotificationsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/RegisterAccountCommand.js +28 -21
- package/dist-es/commands/RegisterOrganizationAdminAccountCommand.js +28 -21
- package/dist-es/commands/StartAssessmentFrameworkShareCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAssessmentCommand.js +28 -21
- package/dist-es/commands/UpdateAssessmentControlCommand.js +28 -21
- package/dist-es/commands/UpdateAssessmentControlSetStatusCommand.js +28 -21
- package/dist-es/commands/UpdateAssessmentFrameworkCommand.js +28 -21
- package/dist-es/commands/UpdateAssessmentFrameworkShareCommand.js +28 -21
- package/dist-es/commands/UpdateAssessmentStatusCommand.js +28 -21
- package/dist-es/commands/UpdateControlCommand.js +28 -21
- package/dist-es/commands/UpdateSettingsCommand.js +28 -21
- package/dist-es/commands/ValidateAssessmentReportIntegrityCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AuditManagerServiceException.js +10 -5
- package/dist-es/models/models_0.js +243 -586
- package/dist-es/pagination/GetChangeLogsPaginator.js +68 -25
- package/dist-es/pagination/GetDelegationsPaginator.js +68 -25
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +68 -25
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +68 -25
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentsPaginator.js +68 -25
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +68 -25
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +68 -25
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +68 -25
- package/dist-es/pagination/ListControlsPaginator.js +68 -25
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +68 -25
- package/dist-es/pagination/ListNotificationsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +5949 -4157
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/dist-es/AuditManager.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AuditManagerClient } from "./AuditManagerClient";
|
|
2
3
|
import { AssociateAssessmentReportEvidenceFolderCommand, } from "./commands/AssociateAssessmentReportEvidenceFolderCommand";
|
|
3
4
|
import { BatchAssociateAssessmentReportEvidenceCommand, } from "./commands/BatchAssociateAssessmentReportEvidenceCommand";
|
|
@@ -60,859 +61,865 @@ import { UpdateAssessmentStatusCommand, } from "./commands/UpdateAssessmentStatu
|
|
|
60
61
|
import { UpdateControlCommand, } from "./commands/UpdateControlCommand";
|
|
61
62
|
import { UpdateSettingsCommand, } from "./commands/UpdateSettingsCommand";
|
|
62
63
|
import { ValidateAssessmentReportIntegrityCommand, } from "./commands/ValidateAssessmentReportIntegrityCommand";
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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);
|
|
66
71
|
if (typeof optionsOrCb === "function") {
|
|
67
72
|
this.send(command, optionsOrCb);
|
|
68
73
|
}
|
|
69
74
|
else if (typeof cb === "function") {
|
|
70
75
|
if (typeof optionsOrCb !== "object")
|
|
71
|
-
throw new Error(
|
|
76
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
72
77
|
this.send(command, optionsOrCb || {}, cb);
|
|
73
78
|
}
|
|
74
79
|
else {
|
|
75
80
|
return this.send(command, optionsOrCb);
|
|
76
81
|
}
|
|
77
|
-
}
|
|
78
|
-
batchAssociateAssessmentReportEvidence(args, optionsOrCb, cb) {
|
|
79
|
-
|
|
82
|
+
};
|
|
83
|
+
AuditManager.prototype.batchAssociateAssessmentReportEvidence = function (args, optionsOrCb, cb) {
|
|
84
|
+
var command = new BatchAssociateAssessmentReportEvidenceCommand(args);
|
|
80
85
|
if (typeof optionsOrCb === "function") {
|
|
81
86
|
this.send(command, optionsOrCb);
|
|
82
87
|
}
|
|
83
88
|
else if (typeof cb === "function") {
|
|
84
89
|
if (typeof optionsOrCb !== "object")
|
|
85
|
-
throw new Error(
|
|
90
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
86
91
|
this.send(command, optionsOrCb || {}, cb);
|
|
87
92
|
}
|
|
88
93
|
else {
|
|
89
94
|
return this.send(command, optionsOrCb);
|
|
90
95
|
}
|
|
91
|
-
}
|
|
92
|
-
batchCreateDelegationByAssessment(args, optionsOrCb, cb) {
|
|
93
|
-
|
|
96
|
+
};
|
|
97
|
+
AuditManager.prototype.batchCreateDelegationByAssessment = function (args, optionsOrCb, cb) {
|
|
98
|
+
var command = new BatchCreateDelegationByAssessmentCommand(args);
|
|
94
99
|
if (typeof optionsOrCb === "function") {
|
|
95
100
|
this.send(command, optionsOrCb);
|
|
96
101
|
}
|
|
97
102
|
else if (typeof cb === "function") {
|
|
98
103
|
if (typeof optionsOrCb !== "object")
|
|
99
|
-
throw new Error(
|
|
104
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
100
105
|
this.send(command, optionsOrCb || {}, cb);
|
|
101
106
|
}
|
|
102
107
|
else {
|
|
103
108
|
return this.send(command, optionsOrCb);
|
|
104
109
|
}
|
|
105
|
-
}
|
|
106
|
-
batchDeleteDelegationByAssessment(args, optionsOrCb, cb) {
|
|
107
|
-
|
|
110
|
+
};
|
|
111
|
+
AuditManager.prototype.batchDeleteDelegationByAssessment = function (args, optionsOrCb, cb) {
|
|
112
|
+
var command = new BatchDeleteDelegationByAssessmentCommand(args);
|
|
108
113
|
if (typeof optionsOrCb === "function") {
|
|
109
114
|
this.send(command, optionsOrCb);
|
|
110
115
|
}
|
|
111
116
|
else if (typeof cb === "function") {
|
|
112
117
|
if (typeof optionsOrCb !== "object")
|
|
113
|
-
throw new Error(
|
|
118
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
114
119
|
this.send(command, optionsOrCb || {}, cb);
|
|
115
120
|
}
|
|
116
121
|
else {
|
|
117
122
|
return this.send(command, optionsOrCb);
|
|
118
123
|
}
|
|
119
|
-
}
|
|
120
|
-
batchDisassociateAssessmentReportEvidence(args, optionsOrCb, cb) {
|
|
121
|
-
|
|
124
|
+
};
|
|
125
|
+
AuditManager.prototype.batchDisassociateAssessmentReportEvidence = function (args, optionsOrCb, cb) {
|
|
126
|
+
var command = new BatchDisassociateAssessmentReportEvidenceCommand(args);
|
|
122
127
|
if (typeof optionsOrCb === "function") {
|
|
123
128
|
this.send(command, optionsOrCb);
|
|
124
129
|
}
|
|
125
130
|
else if (typeof cb === "function") {
|
|
126
131
|
if (typeof optionsOrCb !== "object")
|
|
127
|
-
throw new Error(
|
|
132
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
128
133
|
this.send(command, optionsOrCb || {}, cb);
|
|
129
134
|
}
|
|
130
135
|
else {
|
|
131
136
|
return this.send(command, optionsOrCb);
|
|
132
137
|
}
|
|
133
|
-
}
|
|
134
|
-
batchImportEvidenceToAssessmentControl(args, optionsOrCb, cb) {
|
|
135
|
-
|
|
138
|
+
};
|
|
139
|
+
AuditManager.prototype.batchImportEvidenceToAssessmentControl = function (args, optionsOrCb, cb) {
|
|
140
|
+
var command = new BatchImportEvidenceToAssessmentControlCommand(args);
|
|
136
141
|
if (typeof optionsOrCb === "function") {
|
|
137
142
|
this.send(command, optionsOrCb);
|
|
138
143
|
}
|
|
139
144
|
else if (typeof cb === "function") {
|
|
140
145
|
if (typeof optionsOrCb !== "object")
|
|
141
|
-
throw new Error(
|
|
146
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
142
147
|
this.send(command, optionsOrCb || {}, cb);
|
|
143
148
|
}
|
|
144
149
|
else {
|
|
145
150
|
return this.send(command, optionsOrCb);
|
|
146
151
|
}
|
|
147
|
-
}
|
|
148
|
-
createAssessment(args, optionsOrCb, cb) {
|
|
149
|
-
|
|
152
|
+
};
|
|
153
|
+
AuditManager.prototype.createAssessment = function (args, optionsOrCb, cb) {
|
|
154
|
+
var command = new CreateAssessmentCommand(args);
|
|
150
155
|
if (typeof optionsOrCb === "function") {
|
|
151
156
|
this.send(command, optionsOrCb);
|
|
152
157
|
}
|
|
153
158
|
else if (typeof cb === "function") {
|
|
154
159
|
if (typeof optionsOrCb !== "object")
|
|
155
|
-
throw new Error(
|
|
160
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
156
161
|
this.send(command, optionsOrCb || {}, cb);
|
|
157
162
|
}
|
|
158
163
|
else {
|
|
159
164
|
return this.send(command, optionsOrCb);
|
|
160
165
|
}
|
|
161
|
-
}
|
|
162
|
-
createAssessmentFramework(args, optionsOrCb, cb) {
|
|
163
|
-
|
|
166
|
+
};
|
|
167
|
+
AuditManager.prototype.createAssessmentFramework = function (args, optionsOrCb, cb) {
|
|
168
|
+
var command = new CreateAssessmentFrameworkCommand(args);
|
|
164
169
|
if (typeof optionsOrCb === "function") {
|
|
165
170
|
this.send(command, optionsOrCb);
|
|
166
171
|
}
|
|
167
172
|
else if (typeof cb === "function") {
|
|
168
173
|
if (typeof optionsOrCb !== "object")
|
|
169
|
-
throw new Error(
|
|
174
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
170
175
|
this.send(command, optionsOrCb || {}, cb);
|
|
171
176
|
}
|
|
172
177
|
else {
|
|
173
178
|
return this.send(command, optionsOrCb);
|
|
174
179
|
}
|
|
175
|
-
}
|
|
176
|
-
createAssessmentReport(args, optionsOrCb, cb) {
|
|
177
|
-
|
|
180
|
+
};
|
|
181
|
+
AuditManager.prototype.createAssessmentReport = function (args, optionsOrCb, cb) {
|
|
182
|
+
var command = new CreateAssessmentReportCommand(args);
|
|
178
183
|
if (typeof optionsOrCb === "function") {
|
|
179
184
|
this.send(command, optionsOrCb);
|
|
180
185
|
}
|
|
181
186
|
else if (typeof cb === "function") {
|
|
182
187
|
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error(
|
|
188
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
184
189
|
this.send(command, optionsOrCb || {}, cb);
|
|
185
190
|
}
|
|
186
191
|
else {
|
|
187
192
|
return this.send(command, optionsOrCb);
|
|
188
193
|
}
|
|
189
|
-
}
|
|
190
|
-
createControl(args, optionsOrCb, cb) {
|
|
191
|
-
|
|
194
|
+
};
|
|
195
|
+
AuditManager.prototype.createControl = function (args, optionsOrCb, cb) {
|
|
196
|
+
var command = new CreateControlCommand(args);
|
|
192
197
|
if (typeof optionsOrCb === "function") {
|
|
193
198
|
this.send(command, optionsOrCb);
|
|
194
199
|
}
|
|
195
200
|
else if (typeof cb === "function") {
|
|
196
201
|
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error(
|
|
202
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
198
203
|
this.send(command, optionsOrCb || {}, cb);
|
|
199
204
|
}
|
|
200
205
|
else {
|
|
201
206
|
return this.send(command, optionsOrCb);
|
|
202
207
|
}
|
|
203
|
-
}
|
|
204
|
-
deleteAssessment(args, optionsOrCb, cb) {
|
|
205
|
-
|
|
208
|
+
};
|
|
209
|
+
AuditManager.prototype.deleteAssessment = function (args, optionsOrCb, cb) {
|
|
210
|
+
var command = new DeleteAssessmentCommand(args);
|
|
206
211
|
if (typeof optionsOrCb === "function") {
|
|
207
212
|
this.send(command, optionsOrCb);
|
|
208
213
|
}
|
|
209
214
|
else if (typeof cb === "function") {
|
|
210
215
|
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error(
|
|
216
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
212
217
|
this.send(command, optionsOrCb || {}, cb);
|
|
213
218
|
}
|
|
214
219
|
else {
|
|
215
220
|
return this.send(command, optionsOrCb);
|
|
216
221
|
}
|
|
217
|
-
}
|
|
218
|
-
deleteAssessmentFramework(args, optionsOrCb, cb) {
|
|
219
|
-
|
|
222
|
+
};
|
|
223
|
+
AuditManager.prototype.deleteAssessmentFramework = function (args, optionsOrCb, cb) {
|
|
224
|
+
var command = new DeleteAssessmentFrameworkCommand(args);
|
|
220
225
|
if (typeof optionsOrCb === "function") {
|
|
221
226
|
this.send(command, optionsOrCb);
|
|
222
227
|
}
|
|
223
228
|
else if (typeof cb === "function") {
|
|
224
229
|
if (typeof optionsOrCb !== "object")
|
|
225
|
-
throw new Error(
|
|
230
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
226
231
|
this.send(command, optionsOrCb || {}, cb);
|
|
227
232
|
}
|
|
228
233
|
else {
|
|
229
234
|
return this.send(command, optionsOrCb);
|
|
230
235
|
}
|
|
231
|
-
}
|
|
232
|
-
deleteAssessmentFrameworkShare(args, optionsOrCb, cb) {
|
|
233
|
-
|
|
236
|
+
};
|
|
237
|
+
AuditManager.prototype.deleteAssessmentFrameworkShare = function (args, optionsOrCb, cb) {
|
|
238
|
+
var command = new DeleteAssessmentFrameworkShareCommand(args);
|
|
234
239
|
if (typeof optionsOrCb === "function") {
|
|
235
240
|
this.send(command, optionsOrCb);
|
|
236
241
|
}
|
|
237
242
|
else if (typeof cb === "function") {
|
|
238
243
|
if (typeof optionsOrCb !== "object")
|
|
239
|
-
throw new Error(
|
|
244
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
240
245
|
this.send(command, optionsOrCb || {}, cb);
|
|
241
246
|
}
|
|
242
247
|
else {
|
|
243
248
|
return this.send(command, optionsOrCb);
|
|
244
249
|
}
|
|
245
|
-
}
|
|
246
|
-
deleteAssessmentReport(args, optionsOrCb, cb) {
|
|
247
|
-
|
|
250
|
+
};
|
|
251
|
+
AuditManager.prototype.deleteAssessmentReport = function (args, optionsOrCb, cb) {
|
|
252
|
+
var command = new DeleteAssessmentReportCommand(args);
|
|
248
253
|
if (typeof optionsOrCb === "function") {
|
|
249
254
|
this.send(command, optionsOrCb);
|
|
250
255
|
}
|
|
251
256
|
else if (typeof cb === "function") {
|
|
252
257
|
if (typeof optionsOrCb !== "object")
|
|
253
|
-
throw new Error(
|
|
258
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
254
259
|
this.send(command, optionsOrCb || {}, cb);
|
|
255
260
|
}
|
|
256
261
|
else {
|
|
257
262
|
return this.send(command, optionsOrCb);
|
|
258
263
|
}
|
|
259
|
-
}
|
|
260
|
-
deleteControl(args, optionsOrCb, cb) {
|
|
261
|
-
|
|
264
|
+
};
|
|
265
|
+
AuditManager.prototype.deleteControl = function (args, optionsOrCb, cb) {
|
|
266
|
+
var command = new DeleteControlCommand(args);
|
|
262
267
|
if (typeof optionsOrCb === "function") {
|
|
263
268
|
this.send(command, optionsOrCb);
|
|
264
269
|
}
|
|
265
270
|
else if (typeof cb === "function") {
|
|
266
271
|
if (typeof optionsOrCb !== "object")
|
|
267
|
-
throw new Error(
|
|
272
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
268
273
|
this.send(command, optionsOrCb || {}, cb);
|
|
269
274
|
}
|
|
270
275
|
else {
|
|
271
276
|
return this.send(command, optionsOrCb);
|
|
272
277
|
}
|
|
273
|
-
}
|
|
274
|
-
deregisterAccount(args, optionsOrCb, cb) {
|
|
275
|
-
|
|
278
|
+
};
|
|
279
|
+
AuditManager.prototype.deregisterAccount = function (args, optionsOrCb, cb) {
|
|
280
|
+
var command = new DeregisterAccountCommand(args);
|
|
276
281
|
if (typeof optionsOrCb === "function") {
|
|
277
282
|
this.send(command, optionsOrCb);
|
|
278
283
|
}
|
|
279
284
|
else if (typeof cb === "function") {
|
|
280
285
|
if (typeof optionsOrCb !== "object")
|
|
281
|
-
throw new Error(
|
|
286
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
282
287
|
this.send(command, optionsOrCb || {}, cb);
|
|
283
288
|
}
|
|
284
289
|
else {
|
|
285
290
|
return this.send(command, optionsOrCb);
|
|
286
291
|
}
|
|
287
|
-
}
|
|
288
|
-
deregisterOrganizationAdminAccount(args, optionsOrCb, cb) {
|
|
289
|
-
|
|
292
|
+
};
|
|
293
|
+
AuditManager.prototype.deregisterOrganizationAdminAccount = function (args, optionsOrCb, cb) {
|
|
294
|
+
var command = new DeregisterOrganizationAdminAccountCommand(args);
|
|
290
295
|
if (typeof optionsOrCb === "function") {
|
|
291
296
|
this.send(command, optionsOrCb);
|
|
292
297
|
}
|
|
293
298
|
else if (typeof cb === "function") {
|
|
294
299
|
if (typeof optionsOrCb !== "object")
|
|
295
|
-
throw new Error(
|
|
300
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
296
301
|
this.send(command, optionsOrCb || {}, cb);
|
|
297
302
|
}
|
|
298
303
|
else {
|
|
299
304
|
return this.send(command, optionsOrCb);
|
|
300
305
|
}
|
|
301
|
-
}
|
|
302
|
-
disassociateAssessmentReportEvidenceFolder(args, optionsOrCb, cb) {
|
|
303
|
-
|
|
306
|
+
};
|
|
307
|
+
AuditManager.prototype.disassociateAssessmentReportEvidenceFolder = function (args, optionsOrCb, cb) {
|
|
308
|
+
var command = new DisassociateAssessmentReportEvidenceFolderCommand(args);
|
|
304
309
|
if (typeof optionsOrCb === "function") {
|
|
305
310
|
this.send(command, optionsOrCb);
|
|
306
311
|
}
|
|
307
312
|
else if (typeof cb === "function") {
|
|
308
313
|
if (typeof optionsOrCb !== "object")
|
|
309
|
-
throw new Error(
|
|
314
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
310
315
|
this.send(command, optionsOrCb || {}, cb);
|
|
311
316
|
}
|
|
312
317
|
else {
|
|
313
318
|
return this.send(command, optionsOrCb);
|
|
314
319
|
}
|
|
315
|
-
}
|
|
316
|
-
getAccountStatus(args, optionsOrCb, cb) {
|
|
317
|
-
|
|
320
|
+
};
|
|
321
|
+
AuditManager.prototype.getAccountStatus = function (args, optionsOrCb, cb) {
|
|
322
|
+
var command = new GetAccountStatusCommand(args);
|
|
318
323
|
if (typeof optionsOrCb === "function") {
|
|
319
324
|
this.send(command, optionsOrCb);
|
|
320
325
|
}
|
|
321
326
|
else if (typeof cb === "function") {
|
|
322
327
|
if (typeof optionsOrCb !== "object")
|
|
323
|
-
throw new Error(
|
|
328
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
324
329
|
this.send(command, optionsOrCb || {}, cb);
|
|
325
330
|
}
|
|
326
331
|
else {
|
|
327
332
|
return this.send(command, optionsOrCb);
|
|
328
333
|
}
|
|
329
|
-
}
|
|
330
|
-
getAssessment(args, optionsOrCb, cb) {
|
|
331
|
-
|
|
334
|
+
};
|
|
335
|
+
AuditManager.prototype.getAssessment = function (args, optionsOrCb, cb) {
|
|
336
|
+
var command = new GetAssessmentCommand(args);
|
|
332
337
|
if (typeof optionsOrCb === "function") {
|
|
333
338
|
this.send(command, optionsOrCb);
|
|
334
339
|
}
|
|
335
340
|
else if (typeof cb === "function") {
|
|
336
341
|
if (typeof optionsOrCb !== "object")
|
|
337
|
-
throw new Error(
|
|
342
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
338
343
|
this.send(command, optionsOrCb || {}, cb);
|
|
339
344
|
}
|
|
340
345
|
else {
|
|
341
346
|
return this.send(command, optionsOrCb);
|
|
342
347
|
}
|
|
343
|
-
}
|
|
344
|
-
getAssessmentFramework(args, optionsOrCb, cb) {
|
|
345
|
-
|
|
348
|
+
};
|
|
349
|
+
AuditManager.prototype.getAssessmentFramework = function (args, optionsOrCb, cb) {
|
|
350
|
+
var command = new GetAssessmentFrameworkCommand(args);
|
|
346
351
|
if (typeof optionsOrCb === "function") {
|
|
347
352
|
this.send(command, optionsOrCb);
|
|
348
353
|
}
|
|
349
354
|
else if (typeof cb === "function") {
|
|
350
355
|
if (typeof optionsOrCb !== "object")
|
|
351
|
-
throw new Error(
|
|
356
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
352
357
|
this.send(command, optionsOrCb || {}, cb);
|
|
353
358
|
}
|
|
354
359
|
else {
|
|
355
360
|
return this.send(command, optionsOrCb);
|
|
356
361
|
}
|
|
357
|
-
}
|
|
358
|
-
getAssessmentReportUrl(args, optionsOrCb, cb) {
|
|
359
|
-
|
|
362
|
+
};
|
|
363
|
+
AuditManager.prototype.getAssessmentReportUrl = function (args, optionsOrCb, cb) {
|
|
364
|
+
var command = new GetAssessmentReportUrlCommand(args);
|
|
360
365
|
if (typeof optionsOrCb === "function") {
|
|
361
366
|
this.send(command, optionsOrCb);
|
|
362
367
|
}
|
|
363
368
|
else if (typeof cb === "function") {
|
|
364
369
|
if (typeof optionsOrCb !== "object")
|
|
365
|
-
throw new Error(
|
|
370
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
366
371
|
this.send(command, optionsOrCb || {}, cb);
|
|
367
372
|
}
|
|
368
373
|
else {
|
|
369
374
|
return this.send(command, optionsOrCb);
|
|
370
375
|
}
|
|
371
|
-
}
|
|
372
|
-
getChangeLogs(args, optionsOrCb, cb) {
|
|
373
|
-
|
|
376
|
+
};
|
|
377
|
+
AuditManager.prototype.getChangeLogs = function (args, optionsOrCb, cb) {
|
|
378
|
+
var command = new GetChangeLogsCommand(args);
|
|
374
379
|
if (typeof optionsOrCb === "function") {
|
|
375
380
|
this.send(command, optionsOrCb);
|
|
376
381
|
}
|
|
377
382
|
else if (typeof cb === "function") {
|
|
378
383
|
if (typeof optionsOrCb !== "object")
|
|
379
|
-
throw new Error(
|
|
384
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
380
385
|
this.send(command, optionsOrCb || {}, cb);
|
|
381
386
|
}
|
|
382
387
|
else {
|
|
383
388
|
return this.send(command, optionsOrCb);
|
|
384
389
|
}
|
|
385
|
-
}
|
|
386
|
-
getControl(args, optionsOrCb, cb) {
|
|
387
|
-
|
|
390
|
+
};
|
|
391
|
+
AuditManager.prototype.getControl = function (args, optionsOrCb, cb) {
|
|
392
|
+
var command = new GetControlCommand(args);
|
|
388
393
|
if (typeof optionsOrCb === "function") {
|
|
389
394
|
this.send(command, optionsOrCb);
|
|
390
395
|
}
|
|
391
396
|
else if (typeof cb === "function") {
|
|
392
397
|
if (typeof optionsOrCb !== "object")
|
|
393
|
-
throw new Error(
|
|
398
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
394
399
|
this.send(command, optionsOrCb || {}, cb);
|
|
395
400
|
}
|
|
396
401
|
else {
|
|
397
402
|
return this.send(command, optionsOrCb);
|
|
398
403
|
}
|
|
399
|
-
}
|
|
400
|
-
getDelegations(args, optionsOrCb, cb) {
|
|
401
|
-
|
|
404
|
+
};
|
|
405
|
+
AuditManager.prototype.getDelegations = function (args, optionsOrCb, cb) {
|
|
406
|
+
var command = new GetDelegationsCommand(args);
|
|
402
407
|
if (typeof optionsOrCb === "function") {
|
|
403
408
|
this.send(command, optionsOrCb);
|
|
404
409
|
}
|
|
405
410
|
else if (typeof cb === "function") {
|
|
406
411
|
if (typeof optionsOrCb !== "object")
|
|
407
|
-
throw new Error(
|
|
412
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
408
413
|
this.send(command, optionsOrCb || {}, cb);
|
|
409
414
|
}
|
|
410
415
|
else {
|
|
411
416
|
return this.send(command, optionsOrCb);
|
|
412
417
|
}
|
|
413
|
-
}
|
|
414
|
-
getEvidence(args, optionsOrCb, cb) {
|
|
415
|
-
|
|
418
|
+
};
|
|
419
|
+
AuditManager.prototype.getEvidence = function (args, optionsOrCb, cb) {
|
|
420
|
+
var command = new GetEvidenceCommand(args);
|
|
416
421
|
if (typeof optionsOrCb === "function") {
|
|
417
422
|
this.send(command, optionsOrCb);
|
|
418
423
|
}
|
|
419
424
|
else if (typeof cb === "function") {
|
|
420
425
|
if (typeof optionsOrCb !== "object")
|
|
421
|
-
throw new Error(
|
|
426
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
422
427
|
this.send(command, optionsOrCb || {}, cb);
|
|
423
428
|
}
|
|
424
429
|
else {
|
|
425
430
|
return this.send(command, optionsOrCb);
|
|
426
431
|
}
|
|
427
|
-
}
|
|
428
|
-
getEvidenceByEvidenceFolder(args, optionsOrCb, cb) {
|
|
429
|
-
|
|
432
|
+
};
|
|
433
|
+
AuditManager.prototype.getEvidenceByEvidenceFolder = function (args, optionsOrCb, cb) {
|
|
434
|
+
var command = new GetEvidenceByEvidenceFolderCommand(args);
|
|
430
435
|
if (typeof optionsOrCb === "function") {
|
|
431
436
|
this.send(command, optionsOrCb);
|
|
432
437
|
}
|
|
433
438
|
else if (typeof cb === "function") {
|
|
434
439
|
if (typeof optionsOrCb !== "object")
|
|
435
|
-
throw new Error(
|
|
440
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
436
441
|
this.send(command, optionsOrCb || {}, cb);
|
|
437
442
|
}
|
|
438
443
|
else {
|
|
439
444
|
return this.send(command, optionsOrCb);
|
|
440
445
|
}
|
|
441
|
-
}
|
|
442
|
-
getEvidenceFolder(args, optionsOrCb, cb) {
|
|
443
|
-
|
|
446
|
+
};
|
|
447
|
+
AuditManager.prototype.getEvidenceFolder = function (args, optionsOrCb, cb) {
|
|
448
|
+
var command = new GetEvidenceFolderCommand(args);
|
|
444
449
|
if (typeof optionsOrCb === "function") {
|
|
445
450
|
this.send(command, optionsOrCb);
|
|
446
451
|
}
|
|
447
452
|
else if (typeof cb === "function") {
|
|
448
453
|
if (typeof optionsOrCb !== "object")
|
|
449
|
-
throw new Error(
|
|
454
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
450
455
|
this.send(command, optionsOrCb || {}, cb);
|
|
451
456
|
}
|
|
452
457
|
else {
|
|
453
458
|
return this.send(command, optionsOrCb);
|
|
454
459
|
}
|
|
455
|
-
}
|
|
456
|
-
getEvidenceFoldersByAssessment(args, optionsOrCb, cb) {
|
|
457
|
-
|
|
460
|
+
};
|
|
461
|
+
AuditManager.prototype.getEvidenceFoldersByAssessment = function (args, optionsOrCb, cb) {
|
|
462
|
+
var command = new GetEvidenceFoldersByAssessmentCommand(args);
|
|
458
463
|
if (typeof optionsOrCb === "function") {
|
|
459
464
|
this.send(command, optionsOrCb);
|
|
460
465
|
}
|
|
461
466
|
else if (typeof cb === "function") {
|
|
462
467
|
if (typeof optionsOrCb !== "object")
|
|
463
|
-
throw new Error(
|
|
468
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
464
469
|
this.send(command, optionsOrCb || {}, cb);
|
|
465
470
|
}
|
|
466
471
|
else {
|
|
467
472
|
return this.send(command, optionsOrCb);
|
|
468
473
|
}
|
|
469
|
-
}
|
|
470
|
-
getEvidenceFoldersByAssessmentControl(args, optionsOrCb, cb) {
|
|
471
|
-
|
|
474
|
+
};
|
|
475
|
+
AuditManager.prototype.getEvidenceFoldersByAssessmentControl = function (args, optionsOrCb, cb) {
|
|
476
|
+
var command = new GetEvidenceFoldersByAssessmentControlCommand(args);
|
|
472
477
|
if (typeof optionsOrCb === "function") {
|
|
473
478
|
this.send(command, optionsOrCb);
|
|
474
479
|
}
|
|
475
480
|
else if (typeof cb === "function") {
|
|
476
481
|
if (typeof optionsOrCb !== "object")
|
|
477
|
-
throw new Error(
|
|
482
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
478
483
|
this.send(command, optionsOrCb || {}, cb);
|
|
479
484
|
}
|
|
480
485
|
else {
|
|
481
486
|
return this.send(command, optionsOrCb);
|
|
482
487
|
}
|
|
483
|
-
}
|
|
484
|
-
getInsights(args, optionsOrCb, cb) {
|
|
485
|
-
|
|
488
|
+
};
|
|
489
|
+
AuditManager.prototype.getInsights = function (args, optionsOrCb, cb) {
|
|
490
|
+
var command = new GetInsightsCommand(args);
|
|
486
491
|
if (typeof optionsOrCb === "function") {
|
|
487
492
|
this.send(command, optionsOrCb);
|
|
488
493
|
}
|
|
489
494
|
else if (typeof cb === "function") {
|
|
490
495
|
if (typeof optionsOrCb !== "object")
|
|
491
|
-
throw new Error(
|
|
496
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
492
497
|
this.send(command, optionsOrCb || {}, cb);
|
|
493
498
|
}
|
|
494
499
|
else {
|
|
495
500
|
return this.send(command, optionsOrCb);
|
|
496
501
|
}
|
|
497
|
-
}
|
|
498
|
-
getInsightsByAssessment(args, optionsOrCb, cb) {
|
|
499
|
-
|
|
502
|
+
};
|
|
503
|
+
AuditManager.prototype.getInsightsByAssessment = function (args, optionsOrCb, cb) {
|
|
504
|
+
var command = new GetInsightsByAssessmentCommand(args);
|
|
500
505
|
if (typeof optionsOrCb === "function") {
|
|
501
506
|
this.send(command, optionsOrCb);
|
|
502
507
|
}
|
|
503
508
|
else if (typeof cb === "function") {
|
|
504
509
|
if (typeof optionsOrCb !== "object")
|
|
505
|
-
throw new Error(
|
|
510
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
506
511
|
this.send(command, optionsOrCb || {}, cb);
|
|
507
512
|
}
|
|
508
513
|
else {
|
|
509
514
|
return this.send(command, optionsOrCb);
|
|
510
515
|
}
|
|
511
|
-
}
|
|
512
|
-
getOrganizationAdminAccount(args, optionsOrCb, cb) {
|
|
513
|
-
|
|
516
|
+
};
|
|
517
|
+
AuditManager.prototype.getOrganizationAdminAccount = function (args, optionsOrCb, cb) {
|
|
518
|
+
var command = new GetOrganizationAdminAccountCommand(args);
|
|
514
519
|
if (typeof optionsOrCb === "function") {
|
|
515
520
|
this.send(command, optionsOrCb);
|
|
516
521
|
}
|
|
517
522
|
else if (typeof cb === "function") {
|
|
518
523
|
if (typeof optionsOrCb !== "object")
|
|
519
|
-
throw new Error(
|
|
524
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
520
525
|
this.send(command, optionsOrCb || {}, cb);
|
|
521
526
|
}
|
|
522
527
|
else {
|
|
523
528
|
return this.send(command, optionsOrCb);
|
|
524
529
|
}
|
|
525
|
-
}
|
|
526
|
-
getServicesInScope(args, optionsOrCb, cb) {
|
|
527
|
-
|
|
530
|
+
};
|
|
531
|
+
AuditManager.prototype.getServicesInScope = function (args, optionsOrCb, cb) {
|
|
532
|
+
var command = new GetServicesInScopeCommand(args);
|
|
528
533
|
if (typeof optionsOrCb === "function") {
|
|
529
534
|
this.send(command, optionsOrCb);
|
|
530
535
|
}
|
|
531
536
|
else if (typeof cb === "function") {
|
|
532
537
|
if (typeof optionsOrCb !== "object")
|
|
533
|
-
throw new Error(
|
|
538
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
534
539
|
this.send(command, optionsOrCb || {}, cb);
|
|
535
540
|
}
|
|
536
541
|
else {
|
|
537
542
|
return this.send(command, optionsOrCb);
|
|
538
543
|
}
|
|
539
|
-
}
|
|
540
|
-
getSettings(args, optionsOrCb, cb) {
|
|
541
|
-
|
|
544
|
+
};
|
|
545
|
+
AuditManager.prototype.getSettings = function (args, optionsOrCb, cb) {
|
|
546
|
+
var command = new GetSettingsCommand(args);
|
|
542
547
|
if (typeof optionsOrCb === "function") {
|
|
543
548
|
this.send(command, optionsOrCb);
|
|
544
549
|
}
|
|
545
550
|
else if (typeof cb === "function") {
|
|
546
551
|
if (typeof optionsOrCb !== "object")
|
|
547
|
-
throw new Error(
|
|
552
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
548
553
|
this.send(command, optionsOrCb || {}, cb);
|
|
549
554
|
}
|
|
550
555
|
else {
|
|
551
556
|
return this.send(command, optionsOrCb);
|
|
552
557
|
}
|
|
553
|
-
}
|
|
554
|
-
listAssessmentControlInsightsByControlDomain(args, optionsOrCb, cb) {
|
|
555
|
-
|
|
558
|
+
};
|
|
559
|
+
AuditManager.prototype.listAssessmentControlInsightsByControlDomain = function (args, optionsOrCb, cb) {
|
|
560
|
+
var command = new ListAssessmentControlInsightsByControlDomainCommand(args);
|
|
556
561
|
if (typeof optionsOrCb === "function") {
|
|
557
562
|
this.send(command, optionsOrCb);
|
|
558
563
|
}
|
|
559
564
|
else if (typeof cb === "function") {
|
|
560
565
|
if (typeof optionsOrCb !== "object")
|
|
561
|
-
throw new Error(
|
|
566
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
562
567
|
this.send(command, optionsOrCb || {}, cb);
|
|
563
568
|
}
|
|
564
569
|
else {
|
|
565
570
|
return this.send(command, optionsOrCb);
|
|
566
571
|
}
|
|
567
|
-
}
|
|
568
|
-
listAssessmentFrameworks(args, optionsOrCb, cb) {
|
|
569
|
-
|
|
572
|
+
};
|
|
573
|
+
AuditManager.prototype.listAssessmentFrameworks = function (args, optionsOrCb, cb) {
|
|
574
|
+
var command = new ListAssessmentFrameworksCommand(args);
|
|
570
575
|
if (typeof optionsOrCb === "function") {
|
|
571
576
|
this.send(command, optionsOrCb);
|
|
572
577
|
}
|
|
573
578
|
else if (typeof cb === "function") {
|
|
574
579
|
if (typeof optionsOrCb !== "object")
|
|
575
|
-
throw new Error(
|
|
580
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
576
581
|
this.send(command, optionsOrCb || {}, cb);
|
|
577
582
|
}
|
|
578
583
|
else {
|
|
579
584
|
return this.send(command, optionsOrCb);
|
|
580
585
|
}
|
|
581
|
-
}
|
|
582
|
-
listAssessmentFrameworkShareRequests(args, optionsOrCb, cb) {
|
|
583
|
-
|
|
586
|
+
};
|
|
587
|
+
AuditManager.prototype.listAssessmentFrameworkShareRequests = function (args, optionsOrCb, cb) {
|
|
588
|
+
var command = new ListAssessmentFrameworkShareRequestsCommand(args);
|
|
584
589
|
if (typeof optionsOrCb === "function") {
|
|
585
590
|
this.send(command, optionsOrCb);
|
|
586
591
|
}
|
|
587
592
|
else if (typeof cb === "function") {
|
|
588
593
|
if (typeof optionsOrCb !== "object")
|
|
589
|
-
throw new Error(
|
|
594
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
590
595
|
this.send(command, optionsOrCb || {}, cb);
|
|
591
596
|
}
|
|
592
597
|
else {
|
|
593
598
|
return this.send(command, optionsOrCb);
|
|
594
599
|
}
|
|
595
|
-
}
|
|
596
|
-
listAssessmentReports(args, optionsOrCb, cb) {
|
|
597
|
-
|
|
600
|
+
};
|
|
601
|
+
AuditManager.prototype.listAssessmentReports = function (args, optionsOrCb, cb) {
|
|
602
|
+
var command = new ListAssessmentReportsCommand(args);
|
|
598
603
|
if (typeof optionsOrCb === "function") {
|
|
599
604
|
this.send(command, optionsOrCb);
|
|
600
605
|
}
|
|
601
606
|
else if (typeof cb === "function") {
|
|
602
607
|
if (typeof optionsOrCb !== "object")
|
|
603
|
-
throw new Error(
|
|
608
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
604
609
|
this.send(command, optionsOrCb || {}, cb);
|
|
605
610
|
}
|
|
606
611
|
else {
|
|
607
612
|
return this.send(command, optionsOrCb);
|
|
608
613
|
}
|
|
609
|
-
}
|
|
610
|
-
listAssessments(args, optionsOrCb, cb) {
|
|
611
|
-
|
|
614
|
+
};
|
|
615
|
+
AuditManager.prototype.listAssessments = function (args, optionsOrCb, cb) {
|
|
616
|
+
var command = new ListAssessmentsCommand(args);
|
|
612
617
|
if (typeof optionsOrCb === "function") {
|
|
613
618
|
this.send(command, optionsOrCb);
|
|
614
619
|
}
|
|
615
620
|
else if (typeof cb === "function") {
|
|
616
621
|
if (typeof optionsOrCb !== "object")
|
|
617
|
-
throw new Error(
|
|
622
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
618
623
|
this.send(command, optionsOrCb || {}, cb);
|
|
619
624
|
}
|
|
620
625
|
else {
|
|
621
626
|
return this.send(command, optionsOrCb);
|
|
622
627
|
}
|
|
623
|
-
}
|
|
624
|
-
listControlDomainInsights(args, optionsOrCb, cb) {
|
|
625
|
-
|
|
628
|
+
};
|
|
629
|
+
AuditManager.prototype.listControlDomainInsights = function (args, optionsOrCb, cb) {
|
|
630
|
+
var command = new ListControlDomainInsightsCommand(args);
|
|
626
631
|
if (typeof optionsOrCb === "function") {
|
|
627
632
|
this.send(command, optionsOrCb);
|
|
628
633
|
}
|
|
629
634
|
else if (typeof cb === "function") {
|
|
630
635
|
if (typeof optionsOrCb !== "object")
|
|
631
|
-
throw new Error(
|
|
636
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
632
637
|
this.send(command, optionsOrCb || {}, cb);
|
|
633
638
|
}
|
|
634
639
|
else {
|
|
635
640
|
return this.send(command, optionsOrCb);
|
|
636
641
|
}
|
|
637
|
-
}
|
|
638
|
-
listControlDomainInsightsByAssessment(args, optionsOrCb, cb) {
|
|
639
|
-
|
|
642
|
+
};
|
|
643
|
+
AuditManager.prototype.listControlDomainInsightsByAssessment = function (args, optionsOrCb, cb) {
|
|
644
|
+
var command = new ListControlDomainInsightsByAssessmentCommand(args);
|
|
640
645
|
if (typeof optionsOrCb === "function") {
|
|
641
646
|
this.send(command, optionsOrCb);
|
|
642
647
|
}
|
|
643
648
|
else if (typeof cb === "function") {
|
|
644
649
|
if (typeof optionsOrCb !== "object")
|
|
645
|
-
throw new Error(
|
|
650
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
646
651
|
this.send(command, optionsOrCb || {}, cb);
|
|
647
652
|
}
|
|
648
653
|
else {
|
|
649
654
|
return this.send(command, optionsOrCb);
|
|
650
655
|
}
|
|
651
|
-
}
|
|
652
|
-
listControlInsightsByControlDomain(args, optionsOrCb, cb) {
|
|
653
|
-
|
|
656
|
+
};
|
|
657
|
+
AuditManager.prototype.listControlInsightsByControlDomain = function (args, optionsOrCb, cb) {
|
|
658
|
+
var command = new ListControlInsightsByControlDomainCommand(args);
|
|
654
659
|
if (typeof optionsOrCb === "function") {
|
|
655
660
|
this.send(command, optionsOrCb);
|
|
656
661
|
}
|
|
657
662
|
else if (typeof cb === "function") {
|
|
658
663
|
if (typeof optionsOrCb !== "object")
|
|
659
|
-
throw new Error(
|
|
664
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
660
665
|
this.send(command, optionsOrCb || {}, cb);
|
|
661
666
|
}
|
|
662
667
|
else {
|
|
663
668
|
return this.send(command, optionsOrCb);
|
|
664
669
|
}
|
|
665
|
-
}
|
|
666
|
-
listControls(args, optionsOrCb, cb) {
|
|
667
|
-
|
|
670
|
+
};
|
|
671
|
+
AuditManager.prototype.listControls = function (args, optionsOrCb, cb) {
|
|
672
|
+
var command = new ListControlsCommand(args);
|
|
668
673
|
if (typeof optionsOrCb === "function") {
|
|
669
674
|
this.send(command, optionsOrCb);
|
|
670
675
|
}
|
|
671
676
|
else if (typeof cb === "function") {
|
|
672
677
|
if (typeof optionsOrCb !== "object")
|
|
673
|
-
throw new Error(
|
|
678
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
674
679
|
this.send(command, optionsOrCb || {}, cb);
|
|
675
680
|
}
|
|
676
681
|
else {
|
|
677
682
|
return this.send(command, optionsOrCb);
|
|
678
683
|
}
|
|
679
|
-
}
|
|
680
|
-
listKeywordsForDataSource(args, optionsOrCb, cb) {
|
|
681
|
-
|
|
684
|
+
};
|
|
685
|
+
AuditManager.prototype.listKeywordsForDataSource = function (args, optionsOrCb, cb) {
|
|
686
|
+
var command = new ListKeywordsForDataSourceCommand(args);
|
|
682
687
|
if (typeof optionsOrCb === "function") {
|
|
683
688
|
this.send(command, optionsOrCb);
|
|
684
689
|
}
|
|
685
690
|
else if (typeof cb === "function") {
|
|
686
691
|
if (typeof optionsOrCb !== "object")
|
|
687
|
-
throw new Error(
|
|
692
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
688
693
|
this.send(command, optionsOrCb || {}, cb);
|
|
689
694
|
}
|
|
690
695
|
else {
|
|
691
696
|
return this.send(command, optionsOrCb);
|
|
692
697
|
}
|
|
693
|
-
}
|
|
694
|
-
listNotifications(args, optionsOrCb, cb) {
|
|
695
|
-
|
|
698
|
+
};
|
|
699
|
+
AuditManager.prototype.listNotifications = function (args, optionsOrCb, cb) {
|
|
700
|
+
var command = new ListNotificationsCommand(args);
|
|
696
701
|
if (typeof optionsOrCb === "function") {
|
|
697
702
|
this.send(command, optionsOrCb);
|
|
698
703
|
}
|
|
699
704
|
else if (typeof cb === "function") {
|
|
700
705
|
if (typeof optionsOrCb !== "object")
|
|
701
|
-
throw new Error(
|
|
706
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
702
707
|
this.send(command, optionsOrCb || {}, cb);
|
|
703
708
|
}
|
|
704
709
|
else {
|
|
705
710
|
return this.send(command, optionsOrCb);
|
|
706
711
|
}
|
|
707
|
-
}
|
|
708
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
709
|
-
|
|
712
|
+
};
|
|
713
|
+
AuditManager.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
714
|
+
var command = new ListTagsForResourceCommand(args);
|
|
710
715
|
if (typeof optionsOrCb === "function") {
|
|
711
716
|
this.send(command, optionsOrCb);
|
|
712
717
|
}
|
|
713
718
|
else if (typeof cb === "function") {
|
|
714
719
|
if (typeof optionsOrCb !== "object")
|
|
715
|
-
throw new Error(
|
|
720
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
716
721
|
this.send(command, optionsOrCb || {}, cb);
|
|
717
722
|
}
|
|
718
723
|
else {
|
|
719
724
|
return this.send(command, optionsOrCb);
|
|
720
725
|
}
|
|
721
|
-
}
|
|
722
|
-
registerAccount(args, optionsOrCb, cb) {
|
|
723
|
-
|
|
726
|
+
};
|
|
727
|
+
AuditManager.prototype.registerAccount = function (args, optionsOrCb, cb) {
|
|
728
|
+
var command = new RegisterAccountCommand(args);
|
|
724
729
|
if (typeof optionsOrCb === "function") {
|
|
725
730
|
this.send(command, optionsOrCb);
|
|
726
731
|
}
|
|
727
732
|
else if (typeof cb === "function") {
|
|
728
733
|
if (typeof optionsOrCb !== "object")
|
|
729
|
-
throw new Error(
|
|
734
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
730
735
|
this.send(command, optionsOrCb || {}, cb);
|
|
731
736
|
}
|
|
732
737
|
else {
|
|
733
738
|
return this.send(command, optionsOrCb);
|
|
734
739
|
}
|
|
735
|
-
}
|
|
736
|
-
registerOrganizationAdminAccount(args, optionsOrCb, cb) {
|
|
737
|
-
|
|
740
|
+
};
|
|
741
|
+
AuditManager.prototype.registerOrganizationAdminAccount = function (args, optionsOrCb, cb) {
|
|
742
|
+
var command = new RegisterOrganizationAdminAccountCommand(args);
|
|
738
743
|
if (typeof optionsOrCb === "function") {
|
|
739
744
|
this.send(command, optionsOrCb);
|
|
740
745
|
}
|
|
741
746
|
else if (typeof cb === "function") {
|
|
742
747
|
if (typeof optionsOrCb !== "object")
|
|
743
|
-
throw new Error(
|
|
748
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
744
749
|
this.send(command, optionsOrCb || {}, cb);
|
|
745
750
|
}
|
|
746
751
|
else {
|
|
747
752
|
return this.send(command, optionsOrCb);
|
|
748
753
|
}
|
|
749
|
-
}
|
|
750
|
-
startAssessmentFrameworkShare(args, optionsOrCb, cb) {
|
|
751
|
-
|
|
754
|
+
};
|
|
755
|
+
AuditManager.prototype.startAssessmentFrameworkShare = function (args, optionsOrCb, cb) {
|
|
756
|
+
var command = new StartAssessmentFrameworkShareCommand(args);
|
|
752
757
|
if (typeof optionsOrCb === "function") {
|
|
753
758
|
this.send(command, optionsOrCb);
|
|
754
759
|
}
|
|
755
760
|
else if (typeof cb === "function") {
|
|
756
761
|
if (typeof optionsOrCb !== "object")
|
|
757
|
-
throw new Error(
|
|
762
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
758
763
|
this.send(command, optionsOrCb || {}, cb);
|
|
759
764
|
}
|
|
760
765
|
else {
|
|
761
766
|
return this.send(command, optionsOrCb);
|
|
762
767
|
}
|
|
763
|
-
}
|
|
764
|
-
tagResource(args, optionsOrCb, cb) {
|
|
765
|
-
|
|
768
|
+
};
|
|
769
|
+
AuditManager.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
770
|
+
var command = new TagResourceCommand(args);
|
|
766
771
|
if (typeof optionsOrCb === "function") {
|
|
767
772
|
this.send(command, optionsOrCb);
|
|
768
773
|
}
|
|
769
774
|
else if (typeof cb === "function") {
|
|
770
775
|
if (typeof optionsOrCb !== "object")
|
|
771
|
-
throw new Error(
|
|
776
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
772
777
|
this.send(command, optionsOrCb || {}, cb);
|
|
773
778
|
}
|
|
774
779
|
else {
|
|
775
780
|
return this.send(command, optionsOrCb);
|
|
776
781
|
}
|
|
777
|
-
}
|
|
778
|
-
untagResource(args, optionsOrCb, cb) {
|
|
779
|
-
|
|
782
|
+
};
|
|
783
|
+
AuditManager.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
784
|
+
var command = new UntagResourceCommand(args);
|
|
780
785
|
if (typeof optionsOrCb === "function") {
|
|
781
786
|
this.send(command, optionsOrCb);
|
|
782
787
|
}
|
|
783
788
|
else if (typeof cb === "function") {
|
|
784
789
|
if (typeof optionsOrCb !== "object")
|
|
785
|
-
throw new Error(
|
|
790
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
786
791
|
this.send(command, optionsOrCb || {}, cb);
|
|
787
792
|
}
|
|
788
793
|
else {
|
|
789
794
|
return this.send(command, optionsOrCb);
|
|
790
795
|
}
|
|
791
|
-
}
|
|
792
|
-
updateAssessment(args, optionsOrCb, cb) {
|
|
793
|
-
|
|
796
|
+
};
|
|
797
|
+
AuditManager.prototype.updateAssessment = function (args, optionsOrCb, cb) {
|
|
798
|
+
var command = new UpdateAssessmentCommand(args);
|
|
794
799
|
if (typeof optionsOrCb === "function") {
|
|
795
800
|
this.send(command, optionsOrCb);
|
|
796
801
|
}
|
|
797
802
|
else if (typeof cb === "function") {
|
|
798
803
|
if (typeof optionsOrCb !== "object")
|
|
799
|
-
throw new Error(
|
|
804
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
800
805
|
this.send(command, optionsOrCb || {}, cb);
|
|
801
806
|
}
|
|
802
807
|
else {
|
|
803
808
|
return this.send(command, optionsOrCb);
|
|
804
809
|
}
|
|
805
|
-
}
|
|
806
|
-
updateAssessmentControl(args, optionsOrCb, cb) {
|
|
807
|
-
|
|
810
|
+
};
|
|
811
|
+
AuditManager.prototype.updateAssessmentControl = function (args, optionsOrCb, cb) {
|
|
812
|
+
var command = new UpdateAssessmentControlCommand(args);
|
|
808
813
|
if (typeof optionsOrCb === "function") {
|
|
809
814
|
this.send(command, optionsOrCb);
|
|
810
815
|
}
|
|
811
816
|
else if (typeof cb === "function") {
|
|
812
817
|
if (typeof optionsOrCb !== "object")
|
|
813
|
-
throw new Error(
|
|
818
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
814
819
|
this.send(command, optionsOrCb || {}, cb);
|
|
815
820
|
}
|
|
816
821
|
else {
|
|
817
822
|
return this.send(command, optionsOrCb);
|
|
818
823
|
}
|
|
819
|
-
}
|
|
820
|
-
updateAssessmentControlSetStatus(args, optionsOrCb, cb) {
|
|
821
|
-
|
|
824
|
+
};
|
|
825
|
+
AuditManager.prototype.updateAssessmentControlSetStatus = function (args, optionsOrCb, cb) {
|
|
826
|
+
var command = new UpdateAssessmentControlSetStatusCommand(args);
|
|
822
827
|
if (typeof optionsOrCb === "function") {
|
|
823
828
|
this.send(command, optionsOrCb);
|
|
824
829
|
}
|
|
825
830
|
else if (typeof cb === "function") {
|
|
826
831
|
if (typeof optionsOrCb !== "object")
|
|
827
|
-
throw new Error(
|
|
832
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
828
833
|
this.send(command, optionsOrCb || {}, cb);
|
|
829
834
|
}
|
|
830
835
|
else {
|
|
831
836
|
return this.send(command, optionsOrCb);
|
|
832
837
|
}
|
|
833
|
-
}
|
|
834
|
-
updateAssessmentFramework(args, optionsOrCb, cb) {
|
|
835
|
-
|
|
838
|
+
};
|
|
839
|
+
AuditManager.prototype.updateAssessmentFramework = function (args, optionsOrCb, cb) {
|
|
840
|
+
var command = new UpdateAssessmentFrameworkCommand(args);
|
|
836
841
|
if (typeof optionsOrCb === "function") {
|
|
837
842
|
this.send(command, optionsOrCb);
|
|
838
843
|
}
|
|
839
844
|
else if (typeof cb === "function") {
|
|
840
845
|
if (typeof optionsOrCb !== "object")
|
|
841
|
-
throw new Error(
|
|
846
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
842
847
|
this.send(command, optionsOrCb || {}, cb);
|
|
843
848
|
}
|
|
844
849
|
else {
|
|
845
850
|
return this.send(command, optionsOrCb);
|
|
846
851
|
}
|
|
847
|
-
}
|
|
848
|
-
updateAssessmentFrameworkShare(args, optionsOrCb, cb) {
|
|
849
|
-
|
|
852
|
+
};
|
|
853
|
+
AuditManager.prototype.updateAssessmentFrameworkShare = function (args, optionsOrCb, cb) {
|
|
854
|
+
var command = new UpdateAssessmentFrameworkShareCommand(args);
|
|
850
855
|
if (typeof optionsOrCb === "function") {
|
|
851
856
|
this.send(command, optionsOrCb);
|
|
852
857
|
}
|
|
853
858
|
else if (typeof cb === "function") {
|
|
854
859
|
if (typeof optionsOrCb !== "object")
|
|
855
|
-
throw new Error(
|
|
860
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
856
861
|
this.send(command, optionsOrCb || {}, cb);
|
|
857
862
|
}
|
|
858
863
|
else {
|
|
859
864
|
return this.send(command, optionsOrCb);
|
|
860
865
|
}
|
|
861
|
-
}
|
|
862
|
-
updateAssessmentStatus(args, optionsOrCb, cb) {
|
|
863
|
-
|
|
866
|
+
};
|
|
867
|
+
AuditManager.prototype.updateAssessmentStatus = function (args, optionsOrCb, cb) {
|
|
868
|
+
var command = new UpdateAssessmentStatusCommand(args);
|
|
864
869
|
if (typeof optionsOrCb === "function") {
|
|
865
870
|
this.send(command, optionsOrCb);
|
|
866
871
|
}
|
|
867
872
|
else if (typeof cb === "function") {
|
|
868
873
|
if (typeof optionsOrCb !== "object")
|
|
869
|
-
throw new Error(
|
|
874
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
870
875
|
this.send(command, optionsOrCb || {}, cb);
|
|
871
876
|
}
|
|
872
877
|
else {
|
|
873
878
|
return this.send(command, optionsOrCb);
|
|
874
879
|
}
|
|
875
|
-
}
|
|
876
|
-
updateControl(args, optionsOrCb, cb) {
|
|
877
|
-
|
|
880
|
+
};
|
|
881
|
+
AuditManager.prototype.updateControl = function (args, optionsOrCb, cb) {
|
|
882
|
+
var command = new UpdateControlCommand(args);
|
|
878
883
|
if (typeof optionsOrCb === "function") {
|
|
879
884
|
this.send(command, optionsOrCb);
|
|
880
885
|
}
|
|
881
886
|
else if (typeof cb === "function") {
|
|
882
887
|
if (typeof optionsOrCb !== "object")
|
|
883
|
-
throw new Error(
|
|
888
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
884
889
|
this.send(command, optionsOrCb || {}, cb);
|
|
885
890
|
}
|
|
886
891
|
else {
|
|
887
892
|
return this.send(command, optionsOrCb);
|
|
888
893
|
}
|
|
889
|
-
}
|
|
890
|
-
updateSettings(args, optionsOrCb, cb) {
|
|
891
|
-
|
|
894
|
+
};
|
|
895
|
+
AuditManager.prototype.updateSettings = function (args, optionsOrCb, cb) {
|
|
896
|
+
var command = new UpdateSettingsCommand(args);
|
|
892
897
|
if (typeof optionsOrCb === "function") {
|
|
893
898
|
this.send(command, optionsOrCb);
|
|
894
899
|
}
|
|
895
900
|
else if (typeof cb === "function") {
|
|
896
901
|
if (typeof optionsOrCb !== "object")
|
|
897
|
-
throw new Error(
|
|
902
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
898
903
|
this.send(command, optionsOrCb || {}, cb);
|
|
899
904
|
}
|
|
900
905
|
else {
|
|
901
906
|
return this.send(command, optionsOrCb);
|
|
902
907
|
}
|
|
903
|
-
}
|
|
904
|
-
validateAssessmentReportIntegrity(args, optionsOrCb, cb) {
|
|
905
|
-
|
|
908
|
+
};
|
|
909
|
+
AuditManager.prototype.validateAssessmentReportIntegrity = function (args, optionsOrCb, cb) {
|
|
910
|
+
var command = new ValidateAssessmentReportIntegrityCommand(args);
|
|
906
911
|
if (typeof optionsOrCb === "function") {
|
|
907
912
|
this.send(command, optionsOrCb);
|
|
908
913
|
}
|
|
909
914
|
else if (typeof cb === "function") {
|
|
910
915
|
if (typeof optionsOrCb !== "object")
|
|
911
|
-
throw new Error(
|
|
916
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
912
917
|
this.send(command, optionsOrCb || {}, cb);
|
|
913
918
|
}
|
|
914
919
|
else {
|
|
915
920
|
return this.send(command, optionsOrCb);
|
|
916
921
|
}
|
|
917
|
-
}
|
|
918
|
-
|
|
922
|
+
};
|
|
923
|
+
return AuditManager;
|
|
924
|
+
}(AuditManagerClient));
|
|
925
|
+
export { AuditManager };
|