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