@aws-sdk/client-securityagent 3.1067.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +238 -258
- package/dist-cjs/models/SecurityAgentServiceException.js +4 -8
- package/dist-cjs/models/errors.js +13 -22
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +554 -363
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultSecurityAgentHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { AddArtifact$, BatchDeleteCodeReviews$, BatchDeletePentests$, BatchGetAgentSpaces$, BatchGetArtifactMetadata$, BatchGetCodeReviewJobs$, BatchGetCodeReviewJobTasks$, BatchGetCodeReviews$, BatchGetFindings$, BatchGetPentestJobs$, BatchGetPentestJobTasks$, BatchGetPentests$, BatchGetTargetDomains$, CreateAgentSpace$, CreateApplication$, CreateCodeReview$, CreateIntegration$, CreateMembership$, CreatePentest$, CreateTargetDomain$, DeleteAgentSpace$, DeleteApplication$, DeleteArtifact$, DeleteIntegration$, DeleteMembership$, DeleteTargetDomain$, GetApplication$, GetArtifact$, GetIntegration$, InitiateProviderRegistration$, ListAgentSpaces$, ListApplications$, ListArtifacts$, ListCodeReviewJobsForCodeReview$, ListCodeReviewJobTasks$, ListCodeReviews$, ListDiscoveredEndpoints$, ListFindings$, ListIntegratedResources$, ListIntegrations$, ListMemberships$, ListPentestJobsForPentest$, ListPentestJobTasks$, ListPentests$, ListTagsForResource$, ListTargetDomains$, StartCodeRemediation$, StartCodeReviewJob$, StartPentestJob$, StopCodeReviewJob$, StopPentestJob$, TagResource$, UntagResource$, UpdateAgentSpace$, UpdateApplication$, UpdateCodeReview$, UpdateFinding$, UpdateIntegratedResources$, UpdatePentest$, UpdateTargetDomain$, VerifyTargetDomain$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { SecurityAgentServiceException } = require("./models/SecurityAgentServiceException");
|
|
18
|
+
exports.SecurityAgentServiceException = SecurityAgentServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -66,807 +69,807 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
66
69
|
};
|
|
67
70
|
|
|
68
71
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
69
|
-
const extensionConfiguration = Object.assign(
|
|
72
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
70
73
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
71
|
-
return Object.assign(runtimeConfig,
|
|
74
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
72
75
|
};
|
|
73
76
|
|
|
74
|
-
class SecurityAgentClient extends
|
|
77
|
+
class SecurityAgentClient extends Client {
|
|
75
78
|
config;
|
|
76
79
|
constructor(...[configuration]) {
|
|
77
|
-
const _config_0 =
|
|
80
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
78
81
|
super(_config_0);
|
|
79
82
|
this.initConfig = _config_0;
|
|
80
83
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
81
|
-
const _config_2 =
|
|
82
|
-
const _config_3 =
|
|
83
|
-
const _config_4 =
|
|
84
|
-
const _config_5 =
|
|
85
|
-
const _config_6 =
|
|
86
|
-
const _config_7 =
|
|
84
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
85
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
86
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
87
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
88
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
89
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
87
90
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
88
91
|
this.config = _config_8;
|
|
89
|
-
this.middlewareStack.use(
|
|
90
|
-
this.middlewareStack.use(
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
httpAuthSchemeParametersProvider:
|
|
98
|
-
identityProviderConfigProvider: async (config) => new
|
|
92
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
93
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
100
|
+
httpAuthSchemeParametersProvider: defaultSecurityAgentHttpAuthSchemeParametersProvider,
|
|
101
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
99
102
|
"aws.auth#sigv4": config.credentials,
|
|
100
103
|
}),
|
|
101
104
|
}));
|
|
102
|
-
this.middlewareStack.use(
|
|
105
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
103
106
|
}
|
|
104
107
|
destroy() {
|
|
105
108
|
super.destroy();
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
|
|
109
|
-
class AddArtifactCommand extends
|
|
112
|
+
class AddArtifactCommand extends Command
|
|
110
113
|
.classBuilder()
|
|
111
114
|
.ep(commonParams)
|
|
112
115
|
.m(function (Command, cs, config, o) {
|
|
113
|
-
return [
|
|
116
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
114
117
|
})
|
|
115
118
|
.s("SecurityAgent", "AddArtifact", {})
|
|
116
119
|
.n("SecurityAgentClient", "AddArtifactCommand")
|
|
117
|
-
.sc(
|
|
120
|
+
.sc(AddArtifact$)
|
|
118
121
|
.build() {
|
|
119
122
|
}
|
|
120
123
|
|
|
121
|
-
class BatchDeleteCodeReviewsCommand extends
|
|
124
|
+
class BatchDeleteCodeReviewsCommand extends Command
|
|
122
125
|
.classBuilder()
|
|
123
126
|
.ep(commonParams)
|
|
124
127
|
.m(function (Command, cs, config, o) {
|
|
125
|
-
return [
|
|
128
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
126
129
|
})
|
|
127
130
|
.s("SecurityAgent", "BatchDeleteCodeReviews", {})
|
|
128
131
|
.n("SecurityAgentClient", "BatchDeleteCodeReviewsCommand")
|
|
129
|
-
.sc(
|
|
132
|
+
.sc(BatchDeleteCodeReviews$)
|
|
130
133
|
.build() {
|
|
131
134
|
}
|
|
132
135
|
|
|
133
|
-
class BatchDeletePentestsCommand extends
|
|
136
|
+
class BatchDeletePentestsCommand extends Command
|
|
134
137
|
.classBuilder()
|
|
135
138
|
.ep(commonParams)
|
|
136
139
|
.m(function (Command, cs, config, o) {
|
|
137
|
-
return [
|
|
140
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
138
141
|
})
|
|
139
142
|
.s("SecurityAgent", "BatchDeletePentests", {})
|
|
140
143
|
.n("SecurityAgentClient", "BatchDeletePentestsCommand")
|
|
141
|
-
.sc(
|
|
144
|
+
.sc(BatchDeletePentests$)
|
|
142
145
|
.build() {
|
|
143
146
|
}
|
|
144
147
|
|
|
145
|
-
class BatchGetAgentSpacesCommand extends
|
|
148
|
+
class BatchGetAgentSpacesCommand extends Command
|
|
146
149
|
.classBuilder()
|
|
147
150
|
.ep(commonParams)
|
|
148
151
|
.m(function (Command, cs, config, o) {
|
|
149
|
-
return [
|
|
152
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
150
153
|
})
|
|
151
154
|
.s("SecurityAgent", "BatchGetAgentSpaces", {})
|
|
152
155
|
.n("SecurityAgentClient", "BatchGetAgentSpacesCommand")
|
|
153
|
-
.sc(
|
|
156
|
+
.sc(BatchGetAgentSpaces$)
|
|
154
157
|
.build() {
|
|
155
158
|
}
|
|
156
159
|
|
|
157
|
-
class BatchGetArtifactMetadataCommand extends
|
|
160
|
+
class BatchGetArtifactMetadataCommand extends Command
|
|
158
161
|
.classBuilder()
|
|
159
162
|
.ep(commonParams)
|
|
160
163
|
.m(function (Command, cs, config, o) {
|
|
161
|
-
return [
|
|
164
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
162
165
|
})
|
|
163
166
|
.s("SecurityAgent", "BatchGetArtifactMetadata", {})
|
|
164
167
|
.n("SecurityAgentClient", "BatchGetArtifactMetadataCommand")
|
|
165
|
-
.sc(
|
|
168
|
+
.sc(BatchGetArtifactMetadata$)
|
|
166
169
|
.build() {
|
|
167
170
|
}
|
|
168
171
|
|
|
169
|
-
class BatchGetCodeReviewJobsCommand extends
|
|
172
|
+
class BatchGetCodeReviewJobsCommand extends Command
|
|
170
173
|
.classBuilder()
|
|
171
174
|
.ep(commonParams)
|
|
172
175
|
.m(function (Command, cs, config, o) {
|
|
173
|
-
return [
|
|
176
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
174
177
|
})
|
|
175
178
|
.s("SecurityAgent", "BatchGetCodeReviewJobs", {})
|
|
176
179
|
.n("SecurityAgentClient", "BatchGetCodeReviewJobsCommand")
|
|
177
|
-
.sc(
|
|
180
|
+
.sc(BatchGetCodeReviewJobs$)
|
|
178
181
|
.build() {
|
|
179
182
|
}
|
|
180
183
|
|
|
181
|
-
class BatchGetCodeReviewJobTasksCommand extends
|
|
184
|
+
class BatchGetCodeReviewJobTasksCommand extends Command
|
|
182
185
|
.classBuilder()
|
|
183
186
|
.ep(commonParams)
|
|
184
187
|
.m(function (Command, cs, config, o) {
|
|
185
|
-
return [
|
|
188
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
186
189
|
})
|
|
187
190
|
.s("SecurityAgent", "BatchGetCodeReviewJobTasks", {})
|
|
188
191
|
.n("SecurityAgentClient", "BatchGetCodeReviewJobTasksCommand")
|
|
189
|
-
.sc(
|
|
192
|
+
.sc(BatchGetCodeReviewJobTasks$)
|
|
190
193
|
.build() {
|
|
191
194
|
}
|
|
192
195
|
|
|
193
|
-
class BatchGetCodeReviewsCommand extends
|
|
196
|
+
class BatchGetCodeReviewsCommand extends Command
|
|
194
197
|
.classBuilder()
|
|
195
198
|
.ep(commonParams)
|
|
196
199
|
.m(function (Command, cs, config, o) {
|
|
197
|
-
return [
|
|
200
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
198
201
|
})
|
|
199
202
|
.s("SecurityAgent", "BatchGetCodeReviews", {})
|
|
200
203
|
.n("SecurityAgentClient", "BatchGetCodeReviewsCommand")
|
|
201
|
-
.sc(
|
|
204
|
+
.sc(BatchGetCodeReviews$)
|
|
202
205
|
.build() {
|
|
203
206
|
}
|
|
204
207
|
|
|
205
|
-
class BatchGetFindingsCommand extends
|
|
208
|
+
class BatchGetFindingsCommand extends Command
|
|
206
209
|
.classBuilder()
|
|
207
210
|
.ep(commonParams)
|
|
208
211
|
.m(function (Command, cs, config, o) {
|
|
209
|
-
return [
|
|
212
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
210
213
|
})
|
|
211
214
|
.s("SecurityAgent", "BatchGetFindings", {})
|
|
212
215
|
.n("SecurityAgentClient", "BatchGetFindingsCommand")
|
|
213
|
-
.sc(
|
|
216
|
+
.sc(BatchGetFindings$)
|
|
214
217
|
.build() {
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
class BatchGetPentestJobsCommand extends
|
|
220
|
+
class BatchGetPentestJobsCommand extends Command
|
|
218
221
|
.classBuilder()
|
|
219
222
|
.ep(commonParams)
|
|
220
223
|
.m(function (Command, cs, config, o) {
|
|
221
|
-
return [
|
|
224
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
222
225
|
})
|
|
223
226
|
.s("SecurityAgent", "BatchGetPentestJobs", {})
|
|
224
227
|
.n("SecurityAgentClient", "BatchGetPentestJobsCommand")
|
|
225
|
-
.sc(
|
|
228
|
+
.sc(BatchGetPentestJobs$)
|
|
226
229
|
.build() {
|
|
227
230
|
}
|
|
228
231
|
|
|
229
|
-
class BatchGetPentestJobTasksCommand extends
|
|
232
|
+
class BatchGetPentestJobTasksCommand extends Command
|
|
230
233
|
.classBuilder()
|
|
231
234
|
.ep(commonParams)
|
|
232
235
|
.m(function (Command, cs, config, o) {
|
|
233
|
-
return [
|
|
236
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
234
237
|
})
|
|
235
238
|
.s("SecurityAgent", "BatchGetPentestJobTasks", {})
|
|
236
239
|
.n("SecurityAgentClient", "BatchGetPentestJobTasksCommand")
|
|
237
|
-
.sc(
|
|
240
|
+
.sc(BatchGetPentestJobTasks$)
|
|
238
241
|
.build() {
|
|
239
242
|
}
|
|
240
243
|
|
|
241
|
-
class BatchGetPentestsCommand extends
|
|
244
|
+
class BatchGetPentestsCommand extends Command
|
|
242
245
|
.classBuilder()
|
|
243
246
|
.ep(commonParams)
|
|
244
247
|
.m(function (Command, cs, config, o) {
|
|
245
|
-
return [
|
|
248
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
246
249
|
})
|
|
247
250
|
.s("SecurityAgent", "BatchGetPentests", {})
|
|
248
251
|
.n("SecurityAgentClient", "BatchGetPentestsCommand")
|
|
249
|
-
.sc(
|
|
252
|
+
.sc(BatchGetPentests$)
|
|
250
253
|
.build() {
|
|
251
254
|
}
|
|
252
255
|
|
|
253
|
-
class BatchGetTargetDomainsCommand extends
|
|
256
|
+
class BatchGetTargetDomainsCommand extends Command
|
|
254
257
|
.classBuilder()
|
|
255
258
|
.ep(commonParams)
|
|
256
259
|
.m(function (Command, cs, config, o) {
|
|
257
|
-
return [
|
|
260
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
258
261
|
})
|
|
259
262
|
.s("SecurityAgent", "BatchGetTargetDomains", {})
|
|
260
263
|
.n("SecurityAgentClient", "BatchGetTargetDomainsCommand")
|
|
261
|
-
.sc(
|
|
264
|
+
.sc(BatchGetTargetDomains$)
|
|
262
265
|
.build() {
|
|
263
266
|
}
|
|
264
267
|
|
|
265
|
-
class CreateAgentSpaceCommand extends
|
|
268
|
+
class CreateAgentSpaceCommand extends Command
|
|
266
269
|
.classBuilder()
|
|
267
270
|
.ep(commonParams)
|
|
268
271
|
.m(function (Command, cs, config, o) {
|
|
269
|
-
return [
|
|
272
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
270
273
|
})
|
|
271
274
|
.s("SecurityAgent", "CreateAgentSpace", {})
|
|
272
275
|
.n("SecurityAgentClient", "CreateAgentSpaceCommand")
|
|
273
|
-
.sc(
|
|
276
|
+
.sc(CreateAgentSpace$)
|
|
274
277
|
.build() {
|
|
275
278
|
}
|
|
276
279
|
|
|
277
|
-
class CreateApplicationCommand extends
|
|
280
|
+
class CreateApplicationCommand extends Command
|
|
278
281
|
.classBuilder()
|
|
279
282
|
.ep(commonParams)
|
|
280
283
|
.m(function (Command, cs, config, o) {
|
|
281
|
-
return [
|
|
284
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
282
285
|
})
|
|
283
286
|
.s("SecurityAgent", "CreateApplication", {})
|
|
284
287
|
.n("SecurityAgentClient", "CreateApplicationCommand")
|
|
285
|
-
.sc(
|
|
288
|
+
.sc(CreateApplication$)
|
|
286
289
|
.build() {
|
|
287
290
|
}
|
|
288
291
|
|
|
289
|
-
class CreateCodeReviewCommand extends
|
|
292
|
+
class CreateCodeReviewCommand extends Command
|
|
290
293
|
.classBuilder()
|
|
291
294
|
.ep(commonParams)
|
|
292
295
|
.m(function (Command, cs, config, o) {
|
|
293
|
-
return [
|
|
296
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
294
297
|
})
|
|
295
298
|
.s("SecurityAgent", "CreateCodeReview", {})
|
|
296
299
|
.n("SecurityAgentClient", "CreateCodeReviewCommand")
|
|
297
|
-
.sc(
|
|
300
|
+
.sc(CreateCodeReview$)
|
|
298
301
|
.build() {
|
|
299
302
|
}
|
|
300
303
|
|
|
301
|
-
class CreateIntegrationCommand extends
|
|
304
|
+
class CreateIntegrationCommand extends Command
|
|
302
305
|
.classBuilder()
|
|
303
306
|
.ep(commonParams)
|
|
304
307
|
.m(function (Command, cs, config, o) {
|
|
305
|
-
return [
|
|
308
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
306
309
|
})
|
|
307
310
|
.s("SecurityAgent", "CreateIntegration", {})
|
|
308
311
|
.n("SecurityAgentClient", "CreateIntegrationCommand")
|
|
309
|
-
.sc(
|
|
312
|
+
.sc(CreateIntegration$)
|
|
310
313
|
.build() {
|
|
311
314
|
}
|
|
312
315
|
|
|
313
|
-
class CreateMembershipCommand extends
|
|
316
|
+
class CreateMembershipCommand extends Command
|
|
314
317
|
.classBuilder()
|
|
315
318
|
.ep(commonParams)
|
|
316
319
|
.m(function (Command, cs, config, o) {
|
|
317
|
-
return [
|
|
320
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
318
321
|
})
|
|
319
322
|
.s("SecurityAgent", "CreateMembership", {})
|
|
320
323
|
.n("SecurityAgentClient", "CreateMembershipCommand")
|
|
321
|
-
.sc(
|
|
324
|
+
.sc(CreateMembership$)
|
|
322
325
|
.build() {
|
|
323
326
|
}
|
|
324
327
|
|
|
325
|
-
class CreatePentestCommand extends
|
|
328
|
+
class CreatePentestCommand extends Command
|
|
326
329
|
.classBuilder()
|
|
327
330
|
.ep(commonParams)
|
|
328
331
|
.m(function (Command, cs, config, o) {
|
|
329
|
-
return [
|
|
332
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
330
333
|
})
|
|
331
334
|
.s("SecurityAgent", "CreatePentest", {})
|
|
332
335
|
.n("SecurityAgentClient", "CreatePentestCommand")
|
|
333
|
-
.sc(
|
|
336
|
+
.sc(CreatePentest$)
|
|
334
337
|
.build() {
|
|
335
338
|
}
|
|
336
339
|
|
|
337
|
-
class CreateTargetDomainCommand extends
|
|
340
|
+
class CreateTargetDomainCommand extends Command
|
|
338
341
|
.classBuilder()
|
|
339
342
|
.ep(commonParams)
|
|
340
343
|
.m(function (Command, cs, config, o) {
|
|
341
|
-
return [
|
|
344
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
342
345
|
})
|
|
343
346
|
.s("SecurityAgent", "CreateTargetDomain", {})
|
|
344
347
|
.n("SecurityAgentClient", "CreateTargetDomainCommand")
|
|
345
|
-
.sc(
|
|
348
|
+
.sc(CreateTargetDomain$)
|
|
346
349
|
.build() {
|
|
347
350
|
}
|
|
348
351
|
|
|
349
|
-
class DeleteAgentSpaceCommand extends
|
|
352
|
+
class DeleteAgentSpaceCommand extends Command
|
|
350
353
|
.classBuilder()
|
|
351
354
|
.ep(commonParams)
|
|
352
355
|
.m(function (Command, cs, config, o) {
|
|
353
|
-
return [
|
|
356
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
354
357
|
})
|
|
355
358
|
.s("SecurityAgent", "DeleteAgentSpace", {})
|
|
356
359
|
.n("SecurityAgentClient", "DeleteAgentSpaceCommand")
|
|
357
|
-
.sc(
|
|
360
|
+
.sc(DeleteAgentSpace$)
|
|
358
361
|
.build() {
|
|
359
362
|
}
|
|
360
363
|
|
|
361
|
-
class DeleteApplicationCommand extends
|
|
364
|
+
class DeleteApplicationCommand extends Command
|
|
362
365
|
.classBuilder()
|
|
363
366
|
.ep(commonParams)
|
|
364
367
|
.m(function (Command, cs, config, o) {
|
|
365
|
-
return [
|
|
368
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
366
369
|
})
|
|
367
370
|
.s("SecurityAgent", "DeleteApplication", {})
|
|
368
371
|
.n("SecurityAgentClient", "DeleteApplicationCommand")
|
|
369
|
-
.sc(
|
|
372
|
+
.sc(DeleteApplication$)
|
|
370
373
|
.build() {
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
class DeleteArtifactCommand extends
|
|
376
|
+
class DeleteArtifactCommand extends Command
|
|
374
377
|
.classBuilder()
|
|
375
378
|
.ep(commonParams)
|
|
376
379
|
.m(function (Command, cs, config, o) {
|
|
377
|
-
return [
|
|
380
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
378
381
|
})
|
|
379
382
|
.s("SecurityAgent", "DeleteArtifact", {})
|
|
380
383
|
.n("SecurityAgentClient", "DeleteArtifactCommand")
|
|
381
|
-
.sc(
|
|
384
|
+
.sc(DeleteArtifact$)
|
|
382
385
|
.build() {
|
|
383
386
|
}
|
|
384
387
|
|
|
385
|
-
class DeleteIntegrationCommand extends
|
|
388
|
+
class DeleteIntegrationCommand extends Command
|
|
386
389
|
.classBuilder()
|
|
387
390
|
.ep(commonParams)
|
|
388
391
|
.m(function (Command, cs, config, o) {
|
|
389
|
-
return [
|
|
392
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
390
393
|
})
|
|
391
394
|
.s("SecurityAgent", "DeleteIntegration", {})
|
|
392
395
|
.n("SecurityAgentClient", "DeleteIntegrationCommand")
|
|
393
|
-
.sc(
|
|
396
|
+
.sc(DeleteIntegration$)
|
|
394
397
|
.build() {
|
|
395
398
|
}
|
|
396
399
|
|
|
397
|
-
class DeleteMembershipCommand extends
|
|
400
|
+
class DeleteMembershipCommand extends Command
|
|
398
401
|
.classBuilder()
|
|
399
402
|
.ep(commonParams)
|
|
400
403
|
.m(function (Command, cs, config, o) {
|
|
401
|
-
return [
|
|
404
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
402
405
|
})
|
|
403
406
|
.s("SecurityAgent", "DeleteMembership", {})
|
|
404
407
|
.n("SecurityAgentClient", "DeleteMembershipCommand")
|
|
405
|
-
.sc(
|
|
408
|
+
.sc(DeleteMembership$)
|
|
406
409
|
.build() {
|
|
407
410
|
}
|
|
408
411
|
|
|
409
|
-
class DeleteTargetDomainCommand extends
|
|
412
|
+
class DeleteTargetDomainCommand extends Command
|
|
410
413
|
.classBuilder()
|
|
411
414
|
.ep(commonParams)
|
|
412
415
|
.m(function (Command, cs, config, o) {
|
|
413
|
-
return [
|
|
416
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
414
417
|
})
|
|
415
418
|
.s("SecurityAgent", "DeleteTargetDomain", {})
|
|
416
419
|
.n("SecurityAgentClient", "DeleteTargetDomainCommand")
|
|
417
|
-
.sc(
|
|
420
|
+
.sc(DeleteTargetDomain$)
|
|
418
421
|
.build() {
|
|
419
422
|
}
|
|
420
423
|
|
|
421
|
-
class GetApplicationCommand extends
|
|
424
|
+
class GetApplicationCommand extends Command
|
|
422
425
|
.classBuilder()
|
|
423
426
|
.ep(commonParams)
|
|
424
427
|
.m(function (Command, cs, config, o) {
|
|
425
|
-
return [
|
|
428
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
426
429
|
})
|
|
427
430
|
.s("SecurityAgent", "GetApplication", {})
|
|
428
431
|
.n("SecurityAgentClient", "GetApplicationCommand")
|
|
429
|
-
.sc(
|
|
432
|
+
.sc(GetApplication$)
|
|
430
433
|
.build() {
|
|
431
434
|
}
|
|
432
435
|
|
|
433
|
-
class GetArtifactCommand extends
|
|
436
|
+
class GetArtifactCommand extends Command
|
|
434
437
|
.classBuilder()
|
|
435
438
|
.ep(commonParams)
|
|
436
439
|
.m(function (Command, cs, config, o) {
|
|
437
|
-
return [
|
|
440
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
438
441
|
})
|
|
439
442
|
.s("SecurityAgent", "GetArtifact", {})
|
|
440
443
|
.n("SecurityAgentClient", "GetArtifactCommand")
|
|
441
|
-
.sc(
|
|
444
|
+
.sc(GetArtifact$)
|
|
442
445
|
.build() {
|
|
443
446
|
}
|
|
444
447
|
|
|
445
|
-
class GetIntegrationCommand extends
|
|
448
|
+
class GetIntegrationCommand extends Command
|
|
446
449
|
.classBuilder()
|
|
447
450
|
.ep(commonParams)
|
|
448
451
|
.m(function (Command, cs, config, o) {
|
|
449
|
-
return [
|
|
452
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
450
453
|
})
|
|
451
454
|
.s("SecurityAgent", "GetIntegration", {})
|
|
452
455
|
.n("SecurityAgentClient", "GetIntegrationCommand")
|
|
453
|
-
.sc(
|
|
456
|
+
.sc(GetIntegration$)
|
|
454
457
|
.build() {
|
|
455
458
|
}
|
|
456
459
|
|
|
457
|
-
class InitiateProviderRegistrationCommand extends
|
|
460
|
+
class InitiateProviderRegistrationCommand extends Command
|
|
458
461
|
.classBuilder()
|
|
459
462
|
.ep(commonParams)
|
|
460
463
|
.m(function (Command, cs, config, o) {
|
|
461
|
-
return [
|
|
464
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
462
465
|
})
|
|
463
466
|
.s("SecurityAgent", "InitiateProviderRegistration", {})
|
|
464
467
|
.n("SecurityAgentClient", "InitiateProviderRegistrationCommand")
|
|
465
|
-
.sc(
|
|
468
|
+
.sc(InitiateProviderRegistration$)
|
|
466
469
|
.build() {
|
|
467
470
|
}
|
|
468
471
|
|
|
469
|
-
class ListAgentSpacesCommand extends
|
|
472
|
+
class ListAgentSpacesCommand extends Command
|
|
470
473
|
.classBuilder()
|
|
471
474
|
.ep(commonParams)
|
|
472
475
|
.m(function (Command, cs, config, o) {
|
|
473
|
-
return [
|
|
476
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
474
477
|
})
|
|
475
478
|
.s("SecurityAgent", "ListAgentSpaces", {})
|
|
476
479
|
.n("SecurityAgentClient", "ListAgentSpacesCommand")
|
|
477
|
-
.sc(
|
|
480
|
+
.sc(ListAgentSpaces$)
|
|
478
481
|
.build() {
|
|
479
482
|
}
|
|
480
483
|
|
|
481
|
-
class ListApplicationsCommand extends
|
|
484
|
+
class ListApplicationsCommand extends Command
|
|
482
485
|
.classBuilder()
|
|
483
486
|
.ep(commonParams)
|
|
484
487
|
.m(function (Command, cs, config, o) {
|
|
485
|
-
return [
|
|
488
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
486
489
|
})
|
|
487
490
|
.s("SecurityAgent", "ListApplications", {})
|
|
488
491
|
.n("SecurityAgentClient", "ListApplicationsCommand")
|
|
489
|
-
.sc(
|
|
492
|
+
.sc(ListApplications$)
|
|
490
493
|
.build() {
|
|
491
494
|
}
|
|
492
495
|
|
|
493
|
-
class ListArtifactsCommand extends
|
|
496
|
+
class ListArtifactsCommand extends Command
|
|
494
497
|
.classBuilder()
|
|
495
498
|
.ep(commonParams)
|
|
496
499
|
.m(function (Command, cs, config, o) {
|
|
497
|
-
return [
|
|
500
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
498
501
|
})
|
|
499
502
|
.s("SecurityAgent", "ListArtifacts", {})
|
|
500
503
|
.n("SecurityAgentClient", "ListArtifactsCommand")
|
|
501
|
-
.sc(
|
|
504
|
+
.sc(ListArtifacts$)
|
|
502
505
|
.build() {
|
|
503
506
|
}
|
|
504
507
|
|
|
505
|
-
class ListCodeReviewJobsForCodeReviewCommand extends
|
|
508
|
+
class ListCodeReviewJobsForCodeReviewCommand extends Command
|
|
506
509
|
.classBuilder()
|
|
507
510
|
.ep(commonParams)
|
|
508
511
|
.m(function (Command, cs, config, o) {
|
|
509
|
-
return [
|
|
512
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
510
513
|
})
|
|
511
514
|
.s("SecurityAgent", "ListCodeReviewJobsForCodeReview", {})
|
|
512
515
|
.n("SecurityAgentClient", "ListCodeReviewJobsForCodeReviewCommand")
|
|
513
|
-
.sc(
|
|
516
|
+
.sc(ListCodeReviewJobsForCodeReview$)
|
|
514
517
|
.build() {
|
|
515
518
|
}
|
|
516
519
|
|
|
517
|
-
class ListCodeReviewJobTasksCommand extends
|
|
520
|
+
class ListCodeReviewJobTasksCommand extends Command
|
|
518
521
|
.classBuilder()
|
|
519
522
|
.ep(commonParams)
|
|
520
523
|
.m(function (Command, cs, config, o) {
|
|
521
|
-
return [
|
|
524
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
522
525
|
})
|
|
523
526
|
.s("SecurityAgent", "ListCodeReviewJobTasks", {})
|
|
524
527
|
.n("SecurityAgentClient", "ListCodeReviewJobTasksCommand")
|
|
525
|
-
.sc(
|
|
528
|
+
.sc(ListCodeReviewJobTasks$)
|
|
526
529
|
.build() {
|
|
527
530
|
}
|
|
528
531
|
|
|
529
|
-
class ListCodeReviewsCommand extends
|
|
532
|
+
class ListCodeReviewsCommand extends Command
|
|
530
533
|
.classBuilder()
|
|
531
534
|
.ep(commonParams)
|
|
532
535
|
.m(function (Command, cs, config, o) {
|
|
533
|
-
return [
|
|
536
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
534
537
|
})
|
|
535
538
|
.s("SecurityAgent", "ListCodeReviews", {})
|
|
536
539
|
.n("SecurityAgentClient", "ListCodeReviewsCommand")
|
|
537
|
-
.sc(
|
|
540
|
+
.sc(ListCodeReviews$)
|
|
538
541
|
.build() {
|
|
539
542
|
}
|
|
540
543
|
|
|
541
|
-
class ListDiscoveredEndpointsCommand extends
|
|
544
|
+
class ListDiscoveredEndpointsCommand extends Command
|
|
542
545
|
.classBuilder()
|
|
543
546
|
.ep(commonParams)
|
|
544
547
|
.m(function (Command, cs, config, o) {
|
|
545
|
-
return [
|
|
548
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
546
549
|
})
|
|
547
550
|
.s("SecurityAgent", "ListDiscoveredEndpoints", {})
|
|
548
551
|
.n("SecurityAgentClient", "ListDiscoveredEndpointsCommand")
|
|
549
|
-
.sc(
|
|
552
|
+
.sc(ListDiscoveredEndpoints$)
|
|
550
553
|
.build() {
|
|
551
554
|
}
|
|
552
555
|
|
|
553
|
-
class ListFindingsCommand extends
|
|
556
|
+
class ListFindingsCommand extends Command
|
|
554
557
|
.classBuilder()
|
|
555
558
|
.ep(commonParams)
|
|
556
559
|
.m(function (Command, cs, config, o) {
|
|
557
|
-
return [
|
|
560
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
558
561
|
})
|
|
559
562
|
.s("SecurityAgent", "ListFindings", {})
|
|
560
563
|
.n("SecurityAgentClient", "ListFindingsCommand")
|
|
561
|
-
.sc(
|
|
564
|
+
.sc(ListFindings$)
|
|
562
565
|
.build() {
|
|
563
566
|
}
|
|
564
567
|
|
|
565
|
-
class ListIntegratedResourcesCommand extends
|
|
568
|
+
class ListIntegratedResourcesCommand extends Command
|
|
566
569
|
.classBuilder()
|
|
567
570
|
.ep(commonParams)
|
|
568
571
|
.m(function (Command, cs, config, o) {
|
|
569
|
-
return [
|
|
572
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
570
573
|
})
|
|
571
574
|
.s("SecurityAgent", "ListIntegratedResources", {})
|
|
572
575
|
.n("SecurityAgentClient", "ListIntegratedResourcesCommand")
|
|
573
|
-
.sc(
|
|
576
|
+
.sc(ListIntegratedResources$)
|
|
574
577
|
.build() {
|
|
575
578
|
}
|
|
576
579
|
|
|
577
|
-
class ListIntegrationsCommand extends
|
|
580
|
+
class ListIntegrationsCommand extends Command
|
|
578
581
|
.classBuilder()
|
|
579
582
|
.ep(commonParams)
|
|
580
583
|
.m(function (Command, cs, config, o) {
|
|
581
|
-
return [
|
|
584
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
582
585
|
})
|
|
583
586
|
.s("SecurityAgent", "ListIntegrations", {})
|
|
584
587
|
.n("SecurityAgentClient", "ListIntegrationsCommand")
|
|
585
|
-
.sc(
|
|
588
|
+
.sc(ListIntegrations$)
|
|
586
589
|
.build() {
|
|
587
590
|
}
|
|
588
591
|
|
|
589
|
-
class ListMembershipsCommand extends
|
|
592
|
+
class ListMembershipsCommand extends Command
|
|
590
593
|
.classBuilder()
|
|
591
594
|
.ep(commonParams)
|
|
592
595
|
.m(function (Command, cs, config, o) {
|
|
593
|
-
return [
|
|
596
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
594
597
|
})
|
|
595
598
|
.s("SecurityAgent", "ListMemberships", {})
|
|
596
599
|
.n("SecurityAgentClient", "ListMembershipsCommand")
|
|
597
|
-
.sc(
|
|
600
|
+
.sc(ListMemberships$)
|
|
598
601
|
.build() {
|
|
599
602
|
}
|
|
600
603
|
|
|
601
|
-
class ListPentestJobsForPentestCommand extends
|
|
604
|
+
class ListPentestJobsForPentestCommand extends Command
|
|
602
605
|
.classBuilder()
|
|
603
606
|
.ep(commonParams)
|
|
604
607
|
.m(function (Command, cs, config, o) {
|
|
605
|
-
return [
|
|
608
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
606
609
|
})
|
|
607
610
|
.s("SecurityAgent", "ListPentestJobsForPentest", {})
|
|
608
611
|
.n("SecurityAgentClient", "ListPentestJobsForPentestCommand")
|
|
609
|
-
.sc(
|
|
612
|
+
.sc(ListPentestJobsForPentest$)
|
|
610
613
|
.build() {
|
|
611
614
|
}
|
|
612
615
|
|
|
613
|
-
class ListPentestJobTasksCommand extends
|
|
616
|
+
class ListPentestJobTasksCommand extends Command
|
|
614
617
|
.classBuilder()
|
|
615
618
|
.ep(commonParams)
|
|
616
619
|
.m(function (Command, cs, config, o) {
|
|
617
|
-
return [
|
|
620
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
618
621
|
})
|
|
619
622
|
.s("SecurityAgent", "ListPentestJobTasks", {})
|
|
620
623
|
.n("SecurityAgentClient", "ListPentestJobTasksCommand")
|
|
621
|
-
.sc(
|
|
624
|
+
.sc(ListPentestJobTasks$)
|
|
622
625
|
.build() {
|
|
623
626
|
}
|
|
624
627
|
|
|
625
|
-
class ListPentestsCommand extends
|
|
628
|
+
class ListPentestsCommand extends Command
|
|
626
629
|
.classBuilder()
|
|
627
630
|
.ep(commonParams)
|
|
628
631
|
.m(function (Command, cs, config, o) {
|
|
629
|
-
return [
|
|
632
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
630
633
|
})
|
|
631
634
|
.s("SecurityAgent", "ListPentests", {})
|
|
632
635
|
.n("SecurityAgentClient", "ListPentestsCommand")
|
|
633
|
-
.sc(
|
|
636
|
+
.sc(ListPentests$)
|
|
634
637
|
.build() {
|
|
635
638
|
}
|
|
636
639
|
|
|
637
|
-
class ListTagsForResourceCommand extends
|
|
640
|
+
class ListTagsForResourceCommand extends Command
|
|
638
641
|
.classBuilder()
|
|
639
642
|
.ep(commonParams)
|
|
640
643
|
.m(function (Command, cs, config, o) {
|
|
641
|
-
return [
|
|
644
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
642
645
|
})
|
|
643
646
|
.s("SecurityAgent", "ListTagsForResource", {})
|
|
644
647
|
.n("SecurityAgentClient", "ListTagsForResourceCommand")
|
|
645
|
-
.sc(
|
|
648
|
+
.sc(ListTagsForResource$)
|
|
646
649
|
.build() {
|
|
647
650
|
}
|
|
648
651
|
|
|
649
|
-
class ListTargetDomainsCommand extends
|
|
652
|
+
class ListTargetDomainsCommand extends Command
|
|
650
653
|
.classBuilder()
|
|
651
654
|
.ep(commonParams)
|
|
652
655
|
.m(function (Command, cs, config, o) {
|
|
653
|
-
return [
|
|
656
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
654
657
|
})
|
|
655
658
|
.s("SecurityAgent", "ListTargetDomains", {})
|
|
656
659
|
.n("SecurityAgentClient", "ListTargetDomainsCommand")
|
|
657
|
-
.sc(
|
|
660
|
+
.sc(ListTargetDomains$)
|
|
658
661
|
.build() {
|
|
659
662
|
}
|
|
660
663
|
|
|
661
|
-
class StartCodeRemediationCommand extends
|
|
664
|
+
class StartCodeRemediationCommand extends Command
|
|
662
665
|
.classBuilder()
|
|
663
666
|
.ep(commonParams)
|
|
664
667
|
.m(function (Command, cs, config, o) {
|
|
665
|
-
return [
|
|
668
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
666
669
|
})
|
|
667
670
|
.s("SecurityAgent", "StartCodeRemediation", {})
|
|
668
671
|
.n("SecurityAgentClient", "StartCodeRemediationCommand")
|
|
669
|
-
.sc(
|
|
672
|
+
.sc(StartCodeRemediation$)
|
|
670
673
|
.build() {
|
|
671
674
|
}
|
|
672
675
|
|
|
673
|
-
class StartCodeReviewJobCommand extends
|
|
676
|
+
class StartCodeReviewJobCommand extends Command
|
|
674
677
|
.classBuilder()
|
|
675
678
|
.ep(commonParams)
|
|
676
679
|
.m(function (Command, cs, config, o) {
|
|
677
|
-
return [
|
|
680
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
678
681
|
})
|
|
679
682
|
.s("SecurityAgent", "StartCodeReviewJob", {})
|
|
680
683
|
.n("SecurityAgentClient", "StartCodeReviewJobCommand")
|
|
681
|
-
.sc(
|
|
684
|
+
.sc(StartCodeReviewJob$)
|
|
682
685
|
.build() {
|
|
683
686
|
}
|
|
684
687
|
|
|
685
|
-
class StartPentestJobCommand extends
|
|
688
|
+
class StartPentestJobCommand extends Command
|
|
686
689
|
.classBuilder()
|
|
687
690
|
.ep(commonParams)
|
|
688
691
|
.m(function (Command, cs, config, o) {
|
|
689
|
-
return [
|
|
692
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
690
693
|
})
|
|
691
694
|
.s("SecurityAgent", "StartPentestJob", {})
|
|
692
695
|
.n("SecurityAgentClient", "StartPentestJobCommand")
|
|
693
|
-
.sc(
|
|
696
|
+
.sc(StartPentestJob$)
|
|
694
697
|
.build() {
|
|
695
698
|
}
|
|
696
699
|
|
|
697
|
-
class StopCodeReviewJobCommand extends
|
|
700
|
+
class StopCodeReviewJobCommand extends Command
|
|
698
701
|
.classBuilder()
|
|
699
702
|
.ep(commonParams)
|
|
700
703
|
.m(function (Command, cs, config, o) {
|
|
701
|
-
return [
|
|
704
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
702
705
|
})
|
|
703
706
|
.s("SecurityAgent", "StopCodeReviewJob", {})
|
|
704
707
|
.n("SecurityAgentClient", "StopCodeReviewJobCommand")
|
|
705
|
-
.sc(
|
|
708
|
+
.sc(StopCodeReviewJob$)
|
|
706
709
|
.build() {
|
|
707
710
|
}
|
|
708
711
|
|
|
709
|
-
class StopPentestJobCommand extends
|
|
712
|
+
class StopPentestJobCommand extends Command
|
|
710
713
|
.classBuilder()
|
|
711
714
|
.ep(commonParams)
|
|
712
715
|
.m(function (Command, cs, config, o) {
|
|
713
|
-
return [
|
|
716
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
714
717
|
})
|
|
715
718
|
.s("SecurityAgent", "StopPentestJob", {})
|
|
716
719
|
.n("SecurityAgentClient", "StopPentestJobCommand")
|
|
717
|
-
.sc(
|
|
720
|
+
.sc(StopPentestJob$)
|
|
718
721
|
.build() {
|
|
719
722
|
}
|
|
720
723
|
|
|
721
|
-
class TagResourceCommand extends
|
|
724
|
+
class TagResourceCommand extends Command
|
|
722
725
|
.classBuilder()
|
|
723
726
|
.ep(commonParams)
|
|
724
727
|
.m(function (Command, cs, config, o) {
|
|
725
|
-
return [
|
|
728
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
726
729
|
})
|
|
727
730
|
.s("SecurityAgent", "TagResource", {})
|
|
728
731
|
.n("SecurityAgentClient", "TagResourceCommand")
|
|
729
|
-
.sc(
|
|
732
|
+
.sc(TagResource$)
|
|
730
733
|
.build() {
|
|
731
734
|
}
|
|
732
735
|
|
|
733
|
-
class UntagResourceCommand extends
|
|
736
|
+
class UntagResourceCommand extends Command
|
|
734
737
|
.classBuilder()
|
|
735
738
|
.ep(commonParams)
|
|
736
739
|
.m(function (Command, cs, config, o) {
|
|
737
|
-
return [
|
|
740
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
738
741
|
})
|
|
739
742
|
.s("SecurityAgent", "UntagResource", {})
|
|
740
743
|
.n("SecurityAgentClient", "UntagResourceCommand")
|
|
741
|
-
.sc(
|
|
744
|
+
.sc(UntagResource$)
|
|
742
745
|
.build() {
|
|
743
746
|
}
|
|
744
747
|
|
|
745
|
-
class UpdateAgentSpaceCommand extends
|
|
748
|
+
class UpdateAgentSpaceCommand extends Command
|
|
746
749
|
.classBuilder()
|
|
747
750
|
.ep(commonParams)
|
|
748
751
|
.m(function (Command, cs, config, o) {
|
|
749
|
-
return [
|
|
752
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
750
753
|
})
|
|
751
754
|
.s("SecurityAgent", "UpdateAgentSpace", {})
|
|
752
755
|
.n("SecurityAgentClient", "UpdateAgentSpaceCommand")
|
|
753
|
-
.sc(
|
|
756
|
+
.sc(UpdateAgentSpace$)
|
|
754
757
|
.build() {
|
|
755
758
|
}
|
|
756
759
|
|
|
757
|
-
class UpdateApplicationCommand extends
|
|
760
|
+
class UpdateApplicationCommand extends Command
|
|
758
761
|
.classBuilder()
|
|
759
762
|
.ep(commonParams)
|
|
760
763
|
.m(function (Command, cs, config, o) {
|
|
761
|
-
return [
|
|
764
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
762
765
|
})
|
|
763
766
|
.s("SecurityAgent", "UpdateApplication", {})
|
|
764
767
|
.n("SecurityAgentClient", "UpdateApplicationCommand")
|
|
765
|
-
.sc(
|
|
768
|
+
.sc(UpdateApplication$)
|
|
766
769
|
.build() {
|
|
767
770
|
}
|
|
768
771
|
|
|
769
|
-
class UpdateCodeReviewCommand extends
|
|
772
|
+
class UpdateCodeReviewCommand extends Command
|
|
770
773
|
.classBuilder()
|
|
771
774
|
.ep(commonParams)
|
|
772
775
|
.m(function (Command, cs, config, o) {
|
|
773
|
-
return [
|
|
776
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
774
777
|
})
|
|
775
778
|
.s("SecurityAgent", "UpdateCodeReview", {})
|
|
776
779
|
.n("SecurityAgentClient", "UpdateCodeReviewCommand")
|
|
777
|
-
.sc(
|
|
780
|
+
.sc(UpdateCodeReview$)
|
|
778
781
|
.build() {
|
|
779
782
|
}
|
|
780
783
|
|
|
781
|
-
class UpdateFindingCommand extends
|
|
784
|
+
class UpdateFindingCommand extends Command
|
|
782
785
|
.classBuilder()
|
|
783
786
|
.ep(commonParams)
|
|
784
787
|
.m(function (Command, cs, config, o) {
|
|
785
|
-
return [
|
|
788
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
786
789
|
})
|
|
787
790
|
.s("SecurityAgent", "UpdateFinding", {})
|
|
788
791
|
.n("SecurityAgentClient", "UpdateFindingCommand")
|
|
789
|
-
.sc(
|
|
792
|
+
.sc(UpdateFinding$)
|
|
790
793
|
.build() {
|
|
791
794
|
}
|
|
792
795
|
|
|
793
|
-
class UpdateIntegratedResourcesCommand extends
|
|
796
|
+
class UpdateIntegratedResourcesCommand extends Command
|
|
794
797
|
.classBuilder()
|
|
795
798
|
.ep(commonParams)
|
|
796
799
|
.m(function (Command, cs, config, o) {
|
|
797
|
-
return [
|
|
800
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
798
801
|
})
|
|
799
802
|
.s("SecurityAgent", "UpdateIntegratedResources", {})
|
|
800
803
|
.n("SecurityAgentClient", "UpdateIntegratedResourcesCommand")
|
|
801
|
-
.sc(
|
|
804
|
+
.sc(UpdateIntegratedResources$)
|
|
802
805
|
.build() {
|
|
803
806
|
}
|
|
804
807
|
|
|
805
|
-
class UpdatePentestCommand extends
|
|
808
|
+
class UpdatePentestCommand extends Command
|
|
806
809
|
.classBuilder()
|
|
807
810
|
.ep(commonParams)
|
|
808
811
|
.m(function (Command, cs, config, o) {
|
|
809
|
-
return [
|
|
812
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
810
813
|
})
|
|
811
814
|
.s("SecurityAgent", "UpdatePentest", {})
|
|
812
815
|
.n("SecurityAgentClient", "UpdatePentestCommand")
|
|
813
|
-
.sc(
|
|
816
|
+
.sc(UpdatePentest$)
|
|
814
817
|
.build() {
|
|
815
818
|
}
|
|
816
819
|
|
|
817
|
-
class UpdateTargetDomainCommand extends
|
|
820
|
+
class UpdateTargetDomainCommand extends Command
|
|
818
821
|
.classBuilder()
|
|
819
822
|
.ep(commonParams)
|
|
820
823
|
.m(function (Command, cs, config, o) {
|
|
821
|
-
return [
|
|
824
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
822
825
|
})
|
|
823
826
|
.s("SecurityAgent", "UpdateTargetDomain", {})
|
|
824
827
|
.n("SecurityAgentClient", "UpdateTargetDomainCommand")
|
|
825
|
-
.sc(
|
|
828
|
+
.sc(UpdateTargetDomain$)
|
|
826
829
|
.build() {
|
|
827
830
|
}
|
|
828
831
|
|
|
829
|
-
class VerifyTargetDomainCommand extends
|
|
832
|
+
class VerifyTargetDomainCommand extends Command
|
|
830
833
|
.classBuilder()
|
|
831
834
|
.ep(commonParams)
|
|
832
835
|
.m(function (Command, cs, config, o) {
|
|
833
|
-
return [
|
|
836
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
834
837
|
})
|
|
835
838
|
.s("SecurityAgent", "VerifyTargetDomain", {})
|
|
836
839
|
.n("SecurityAgentClient", "VerifyTargetDomainCommand")
|
|
837
|
-
.sc(
|
|
840
|
+
.sc(VerifyTargetDomain$)
|
|
838
841
|
.build() {
|
|
839
842
|
}
|
|
840
843
|
|
|
841
|
-
const paginateListAgentSpaces =
|
|
844
|
+
const paginateListAgentSpaces = createPaginator(SecurityAgentClient, ListAgentSpacesCommand, "nextToken", "nextToken", "maxResults");
|
|
842
845
|
|
|
843
|
-
const paginateListApplications =
|
|
846
|
+
const paginateListApplications = createPaginator(SecurityAgentClient, ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
844
847
|
|
|
845
|
-
const paginateListArtifacts =
|
|
848
|
+
const paginateListArtifacts = createPaginator(SecurityAgentClient, ListArtifactsCommand, "nextToken", "nextToken", "maxResults");
|
|
846
849
|
|
|
847
|
-
const paginateListCodeReviewJobsForCodeReview =
|
|
850
|
+
const paginateListCodeReviewJobsForCodeReview = createPaginator(SecurityAgentClient, ListCodeReviewJobsForCodeReviewCommand, "nextToken", "nextToken", "maxResults");
|
|
848
851
|
|
|
849
|
-
const paginateListCodeReviewJobTasks =
|
|
852
|
+
const paginateListCodeReviewJobTasks = createPaginator(SecurityAgentClient, ListCodeReviewJobTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
850
853
|
|
|
851
|
-
const paginateListCodeReviews =
|
|
854
|
+
const paginateListCodeReviews = createPaginator(SecurityAgentClient, ListCodeReviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
852
855
|
|
|
853
|
-
const paginateListDiscoveredEndpoints =
|
|
856
|
+
const paginateListDiscoveredEndpoints = createPaginator(SecurityAgentClient, ListDiscoveredEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
854
857
|
|
|
855
|
-
const paginateListFindings =
|
|
858
|
+
const paginateListFindings = createPaginator(SecurityAgentClient, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
856
859
|
|
|
857
|
-
const paginateListIntegratedResources =
|
|
860
|
+
const paginateListIntegratedResources = createPaginator(SecurityAgentClient, ListIntegratedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
858
861
|
|
|
859
|
-
const paginateListIntegrations =
|
|
862
|
+
const paginateListIntegrations = createPaginator(SecurityAgentClient, ListIntegrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
860
863
|
|
|
861
|
-
const paginateListMemberships =
|
|
864
|
+
const paginateListMemberships = createPaginator(SecurityAgentClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
862
865
|
|
|
863
|
-
const paginateListPentestJobsForPentest =
|
|
866
|
+
const paginateListPentestJobsForPentest = createPaginator(SecurityAgentClient, ListPentestJobsForPentestCommand, "nextToken", "nextToken", "maxResults");
|
|
864
867
|
|
|
865
|
-
const paginateListPentestJobTasks =
|
|
868
|
+
const paginateListPentestJobTasks = createPaginator(SecurityAgentClient, ListPentestJobTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
866
869
|
|
|
867
|
-
const paginateListPentests =
|
|
870
|
+
const paginateListPentests = createPaginator(SecurityAgentClient, ListPentestsCommand, "nextToken", "nextToken", "maxResults");
|
|
868
871
|
|
|
869
|
-
const paginateListTargetDomains =
|
|
872
|
+
const paginateListTargetDomains = createPaginator(SecurityAgentClient, ListTargetDomainsCommand, "nextToken", "nextToken", "maxResults");
|
|
870
873
|
|
|
871
874
|
const commands = {
|
|
872
875
|
AddArtifactCommand,
|
|
@@ -950,7 +953,7 @@ const paginators = {
|
|
|
950
953
|
};
|
|
951
954
|
class SecurityAgent extends SecurityAgentClient {
|
|
952
955
|
}
|
|
953
|
-
|
|
956
|
+
createAggregatedClient(commands, SecurityAgent, { paginators });
|
|
954
957
|
|
|
955
958
|
const AccessType = {
|
|
956
959
|
PRIVATE: "PRIVATE",
|
|
@@ -1116,9 +1119,6 @@ const MembershipTypeFilter = {
|
|
|
1116
1119
|
USER: "USER",
|
|
1117
1120
|
};
|
|
1118
1121
|
|
|
1119
|
-
exports.$Command = client.Command;
|
|
1120
|
-
exports.__Client = client.Client;
|
|
1121
|
-
exports.SecurityAgentServiceException = SecurityAgentServiceException.SecurityAgentServiceException;
|
|
1122
1122
|
exports.AccessType = AccessType;
|
|
1123
1123
|
exports.AddArtifactCommand = AddArtifactCommand;
|
|
1124
1124
|
exports.ArtifactType = ArtifactType;
|
|
@@ -1224,23 +1224,3 @@ exports.paginateListPentestJobTasks = paginateListPentestJobTasks;
|
|
|
1224
1224
|
exports.paginateListPentestJobsForPentest = paginateListPentestJobsForPentest;
|
|
1225
1225
|
exports.paginateListPentests = paginateListPentests;
|
|
1226
1226
|
exports.paginateListTargetDomains = paginateListTargetDomains;
|
|
1227
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
1228
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1229
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1230
|
-
enumerable: true,
|
|
1231
|
-
value: schemas_0['__proto__']
|
|
1232
|
-
});
|
|
1233
|
-
|
|
1234
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
1235
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
1236
|
-
});
|
|
1237
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
1238
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1239
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1240
|
-
enumerable: true,
|
|
1241
|
-
value: errors['__proto__']
|
|
1242
|
-
});
|
|
1243
|
-
|
|
1244
|
-
Object.keys(errors).forEach(function (k) {
|
|
1245
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
1246
|
-
});
|