@aws-sdk/client-security-ir 3.927.0 → 3.929.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/index.js +1012 -1228
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SecurityIRClient.js +2 -0
- package/dist-es/commands/BatchGetMemberAccountDetailsCommand.js +3 -9
- package/dist-es/commands/CancelMembershipCommand.js +3 -9
- package/dist-es/commands/CloseCaseCommand.js +3 -9
- package/dist-es/commands/CreateCaseCommand.js +3 -10
- package/dist-es/commands/CreateCaseCommentCommand.js +3 -10
- package/dist-es/commands/CreateMembershipCommand.js +3 -10
- package/dist-es/commands/GetCaseAttachmentDownloadUrlCommand.js +3 -10
- package/dist-es/commands/GetCaseAttachmentUploadUrlCommand.js +3 -10
- package/dist-es/commands/GetCaseCommand.js +3 -10
- package/dist-es/commands/GetMembershipCommand.js +3 -10
- package/dist-es/commands/ListCaseEditsCommand.js +3 -9
- package/dist-es/commands/ListCasesCommand.js +3 -10
- package/dist-es/commands/ListCommentsCommand.js +3 -10
- package/dist-es/commands/ListMembershipsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateCaseCommand.js +3 -10
- package/dist-es/commands/UpdateCaseCommentCommand.js +3 -10
- package/dist-es/commands/UpdateCaseStatusCommand.js +3 -9
- package/dist-es/commands/UpdateMembershipCommand.js +3 -10
- package/dist-es/commands/UpdateResolverTypeCommand.js +3 -9
- package/dist-es/models/models_0.js +19 -118
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +929 -0
- package/dist-types/SecurityIRClient.d.ts +10 -1
- package/dist-types/commands/CreateCaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateMembershipCommand.d.ts +3 -0
- package/dist-types/commands/GetCaseCommand.d.ts +1 -1
- package/dist-types/commands/GetMembershipCommand.d.ts +4 -1
- package/dist-types/commands/ListMembershipsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCaseCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMembershipCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +32 -80
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +124 -0
- package/dist-types/ts3.4/SecurityIRClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -58
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +130 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -913
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -90,6 +88,7 @@ class SecurityIRClient extends smithyClient.Client {
|
|
|
90
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
91
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
92
90
|
this.config = _config_8;
|
|
91
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
93
92
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
94
93
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -109,14 +108,14 @@ class SecurityIRClient extends smithyClient.Client {
|
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
110
|
|
|
112
|
-
class SecurityIRServiceException extends smithyClient.ServiceException {
|
|
111
|
+
let SecurityIRServiceException$1 = class SecurityIRServiceException extends smithyClient.ServiceException {
|
|
113
112
|
constructor(options) {
|
|
114
113
|
super(options);
|
|
115
114
|
Object.setPrototypeOf(this, SecurityIRServiceException.prototype);
|
|
116
115
|
}
|
|
117
|
-
}
|
|
116
|
+
};
|
|
118
117
|
|
|
119
|
-
class AccessDeniedException extends SecurityIRServiceException {
|
|
118
|
+
let AccessDeniedException$1 = class AccessDeniedException extends SecurityIRServiceException$1 {
|
|
120
119
|
name = "AccessDeniedException";
|
|
121
120
|
$fault = "client";
|
|
122
121
|
constructor(opts) {
|
|
@@ -127,7 +126,7 @@ class AccessDeniedException extends SecurityIRServiceException {
|
|
|
127
126
|
});
|
|
128
127
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
129
128
|
}
|
|
130
|
-
}
|
|
129
|
+
};
|
|
131
130
|
const AwsRegion = {
|
|
132
131
|
AF_SOUTH_1: "af-south-1",
|
|
133
132
|
AP_EAST_1: "ap-east-1",
|
|
@@ -140,6 +139,7 @@ const AwsRegion = {
|
|
|
140
139
|
AP_SOUTHEAST_3: "ap-southeast-3",
|
|
141
140
|
AP_SOUTHEAST_4: "ap-southeast-4",
|
|
142
141
|
AP_SOUTHEAST_5: "ap-southeast-5",
|
|
142
|
+
AP_SOUTHEAST_6: "ap-southeast-6",
|
|
143
143
|
AP_SOUTHEAST_7: "ap-southeast-7",
|
|
144
144
|
AP_SOUTH_1: "ap-south-1",
|
|
145
145
|
AP_SOUTH_2: "ap-south-2",
|
|
@@ -174,7 +174,7 @@ const MembershipAccountRelationshipType = {
|
|
|
174
174
|
ORGANIZATION: "Organization",
|
|
175
175
|
UNRELATED: "Unrelated",
|
|
176
176
|
};
|
|
177
|
-
class ConflictException extends SecurityIRServiceException {
|
|
177
|
+
let ConflictException$1 = class ConflictException extends SecurityIRServiceException$1 {
|
|
178
178
|
name = "ConflictException";
|
|
179
179
|
$fault = "client";
|
|
180
180
|
resourceId;
|
|
@@ -189,8 +189,8 @@ class ConflictException extends SecurityIRServiceException {
|
|
|
189
189
|
this.resourceId = opts.resourceId;
|
|
190
190
|
this.resourceType = opts.resourceType;
|
|
191
191
|
}
|
|
192
|
-
}
|
|
193
|
-
class InternalServerException extends SecurityIRServiceException {
|
|
192
|
+
};
|
|
193
|
+
let InternalServerException$1 = class InternalServerException extends SecurityIRServiceException$1 {
|
|
194
194
|
name = "InternalServerException";
|
|
195
195
|
$fault = "server";
|
|
196
196
|
$retryable = {};
|
|
@@ -204,8 +204,8 @@ class InternalServerException extends SecurityIRServiceException {
|
|
|
204
204
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
205
205
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
206
206
|
}
|
|
207
|
-
}
|
|
208
|
-
class InvalidTokenException extends SecurityIRServiceException {
|
|
207
|
+
};
|
|
208
|
+
let InvalidTokenException$1 = class InvalidTokenException extends SecurityIRServiceException$1 {
|
|
209
209
|
name = "InvalidTokenException";
|
|
210
210
|
$fault = "client";
|
|
211
211
|
$retryable = {};
|
|
@@ -217,8 +217,8 @@ class InvalidTokenException extends SecurityIRServiceException {
|
|
|
217
217
|
});
|
|
218
218
|
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
219
219
|
}
|
|
220
|
-
}
|
|
221
|
-
class ResourceNotFoundException extends SecurityIRServiceException {
|
|
220
|
+
};
|
|
221
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends SecurityIRServiceException$1 {
|
|
222
222
|
name = "ResourceNotFoundException";
|
|
223
223
|
$fault = "client";
|
|
224
224
|
constructor(opts) {
|
|
@@ -229,8 +229,8 @@ class ResourceNotFoundException extends SecurityIRServiceException {
|
|
|
229
229
|
});
|
|
230
230
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
231
231
|
}
|
|
232
|
-
}
|
|
233
|
-
class SecurityIncidentResponseNotActiveException extends SecurityIRServiceException {
|
|
232
|
+
};
|
|
233
|
+
let SecurityIncidentResponseNotActiveException$1 = class SecurityIncidentResponseNotActiveException extends SecurityIRServiceException$1 {
|
|
234
234
|
name = "SecurityIncidentResponseNotActiveException";
|
|
235
235
|
$fault = "client";
|
|
236
236
|
constructor(opts) {
|
|
@@ -241,8 +241,8 @@ class SecurityIncidentResponseNotActiveException extends SecurityIRServiceExcept
|
|
|
241
241
|
});
|
|
242
242
|
Object.setPrototypeOf(this, SecurityIncidentResponseNotActiveException.prototype);
|
|
243
243
|
}
|
|
244
|
-
}
|
|
245
|
-
class ServiceQuotaExceededException extends SecurityIRServiceException {
|
|
244
|
+
};
|
|
245
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SecurityIRServiceException$1 {
|
|
246
246
|
name = "ServiceQuotaExceededException";
|
|
247
247
|
$fault = "client";
|
|
248
248
|
resourceId;
|
|
@@ -261,8 +261,8 @@ class ServiceQuotaExceededException extends SecurityIRServiceException {
|
|
|
261
261
|
this.serviceCode = opts.serviceCode;
|
|
262
262
|
this.quotaCode = opts.quotaCode;
|
|
263
263
|
}
|
|
264
|
-
}
|
|
265
|
-
class ThrottlingException extends SecurityIRServiceException {
|
|
264
|
+
};
|
|
265
|
+
let ThrottlingException$1 = class ThrottlingException extends SecurityIRServiceException$1 {
|
|
266
266
|
name = "ThrottlingException";
|
|
267
267
|
$fault = "client";
|
|
268
268
|
$retryable = {
|
|
@@ -282,14 +282,14 @@ class ThrottlingException extends SecurityIRServiceException {
|
|
|
282
282
|
this.quotaCode = opts.quotaCode;
|
|
283
283
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
284
284
|
}
|
|
285
|
-
}
|
|
285
|
+
};
|
|
286
286
|
const ValidationExceptionReason = {
|
|
287
287
|
CANNOT_PARSE: "CANNOT_PARSE",
|
|
288
288
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
289
289
|
OTHER: "OTHER",
|
|
290
290
|
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
291
291
|
};
|
|
292
|
-
class ValidationException extends SecurityIRServiceException {
|
|
292
|
+
let ValidationException$1 = class ValidationException extends SecurityIRServiceException$1 {
|
|
293
293
|
name = "ValidationException";
|
|
294
294
|
$fault = "client";
|
|
295
295
|
reason;
|
|
@@ -304,7 +304,7 @@ class ValidationException extends SecurityIRServiceException {
|
|
|
304
304
|
this.reason = opts.reason;
|
|
305
305
|
this.fieldList = opts.fieldList;
|
|
306
306
|
}
|
|
307
|
-
}
|
|
307
|
+
};
|
|
308
308
|
const CaseStatus = {
|
|
309
309
|
ACKNOWLEDGED: "Acknowledged",
|
|
310
310
|
CLOSED: "Closed",
|
|
@@ -343,6 +343,24 @@ const SelfManagedCaseStatus = {
|
|
|
343
343
|
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
344
344
|
SUBMITTED: "Submitted",
|
|
345
345
|
};
|
|
346
|
+
const CommunicationType = {
|
|
347
|
+
CASE_ACKNOWLEDGED: "Case Acknowledged",
|
|
348
|
+
CASE_ATTACHMENT_URL_UPLOADED: "Case Attachment Url Uploaded",
|
|
349
|
+
CASE_CLOSED: "Case Closed",
|
|
350
|
+
CASE_COMMENT_ADDED: "Case Comment Added",
|
|
351
|
+
CASE_COMMENT_UPDATED: "Case Comment Updated",
|
|
352
|
+
CASE_CREATED: "Case Created",
|
|
353
|
+
CASE_PENDING_CUSTOMER_ACTION_REMINDER: "Case Pending Customer Action Reminder",
|
|
354
|
+
CASE_UPDATED: "Case Updated",
|
|
355
|
+
CASE_UPDATED_TO_SERVICE_MANAGED: "Case Updated To Service Managed",
|
|
356
|
+
CASE_UPDATE_CASE_STATUS: "Case Status Updated",
|
|
357
|
+
DEREGISTER_DELEGATED_ADMINISTRATOR: "Deregister Delegated Administrator",
|
|
358
|
+
DISABLE_AWS_SERVICE_ACCESS: "Disable AWS Service Access",
|
|
359
|
+
MEMBERSHIP_CANCELLED: "Membership Cancelled",
|
|
360
|
+
MEMBERSHIP_CREATED: "Membership Created",
|
|
361
|
+
MEMBERSHIP_UPDATED: "Membership Updated",
|
|
362
|
+
REGISTER_DELEGATED_ADMINISTRATOR: "Register Delegated Administrator",
|
|
363
|
+
};
|
|
346
364
|
const OptInFeatureName = {
|
|
347
365
|
TRIAGE: "Triage",
|
|
348
366
|
};
|
|
@@ -355,1045 +373,935 @@ const MembershipStatus = {
|
|
|
355
373
|
CANCELLED: "Cancelled",
|
|
356
374
|
TERMINATED: "Terminated",
|
|
357
375
|
};
|
|
358
|
-
const ThreatActorIpFilterSensitiveLog = (obj) => ({
|
|
359
|
-
...obj,
|
|
360
|
-
...(obj.ipAddress && { ipAddress: smithyClient.SENSITIVE_STRING }),
|
|
361
|
-
});
|
|
362
|
-
const WatcherFilterSensitiveLog = (obj) => ({
|
|
363
|
-
...obj,
|
|
364
|
-
...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
|
|
365
|
-
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
366
|
-
...(obj.jobTitle && { jobTitle: smithyClient.SENSITIVE_STRING }),
|
|
367
|
-
});
|
|
368
|
-
const CreateCaseRequestFilterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
371
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
372
|
-
...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
|
|
373
|
-
...(obj.threatActorIpAddresses && {
|
|
374
|
-
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
375
|
-
}),
|
|
376
|
-
});
|
|
377
|
-
const CreateCaseCommentRequestFilterSensitiveLog = (obj) => ({
|
|
378
|
-
...obj,
|
|
379
|
-
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
380
|
-
});
|
|
381
|
-
const CaseAttachmentAttributesFilterSensitiveLog = (obj) => ({
|
|
382
|
-
...obj,
|
|
383
|
-
...(obj.fileName && { fileName: smithyClient.SENSITIVE_STRING }),
|
|
384
|
-
});
|
|
385
|
-
const GetCaseResponseFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
388
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
389
|
-
...(obj.threatActorIpAddresses && {
|
|
390
|
-
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
391
|
-
}),
|
|
392
|
-
...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
|
|
393
|
-
...(obj.caseAttachments && {
|
|
394
|
-
caseAttachments: obj.caseAttachments.map((item) => CaseAttachmentAttributesFilterSensitiveLog(item)),
|
|
395
|
-
}),
|
|
396
|
-
});
|
|
397
|
-
const GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
398
|
-
...obj,
|
|
399
|
-
...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: smithyClient.SENSITIVE_STRING }),
|
|
400
|
-
});
|
|
401
|
-
const GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = (obj) => ({
|
|
402
|
-
...obj,
|
|
403
|
-
...(obj.fileName && { fileName: smithyClient.SENSITIVE_STRING }),
|
|
404
|
-
});
|
|
405
|
-
const GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: smithyClient.SENSITIVE_STRING }),
|
|
408
|
-
});
|
|
409
|
-
const ListCasesItemFilterSensitiveLog = (obj) => ({
|
|
410
|
-
...obj,
|
|
411
|
-
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
412
|
-
});
|
|
413
|
-
const ListCasesResponseFilterSensitiveLog = (obj) => ({
|
|
414
|
-
...obj,
|
|
415
|
-
...(obj.items && { items: obj.items.map((item) => ListCasesItemFilterSensitiveLog(item)) }),
|
|
416
|
-
});
|
|
417
|
-
const ListCommentsItemFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
420
|
-
});
|
|
421
|
-
const ListCommentsResponseFilterSensitiveLog = (obj) => ({
|
|
422
|
-
...obj,
|
|
423
|
-
...(obj.items && { items: obj.items.map((item) => ListCommentsItemFilterSensitiveLog(item)) }),
|
|
424
|
-
});
|
|
425
|
-
const UpdateCaseRequestFilterSensitiveLog = (obj) => ({
|
|
426
|
-
...obj,
|
|
427
|
-
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
428
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
429
|
-
...(obj.watchersToAdd && { watchersToAdd: obj.watchersToAdd.map((item) => WatcherFilterSensitiveLog(item)) }),
|
|
430
|
-
...(obj.watchersToDelete && {
|
|
431
|
-
watchersToDelete: obj.watchersToDelete.map((item) => WatcherFilterSensitiveLog(item)),
|
|
432
|
-
}),
|
|
433
|
-
...(obj.threatActorIpAddressesToAdd && {
|
|
434
|
-
threatActorIpAddressesToAdd: obj.threatActorIpAddressesToAdd.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
435
|
-
}),
|
|
436
|
-
...(obj.threatActorIpAddressesToDelete && {
|
|
437
|
-
threatActorIpAddressesToDelete: obj.threatActorIpAddressesToDelete.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
438
|
-
}),
|
|
439
|
-
});
|
|
440
|
-
const UpdateCaseCommentRequestFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
443
|
-
});
|
|
444
|
-
const UpdateCaseCommentResponseFilterSensitiveLog = (obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
447
|
-
});
|
|
448
|
-
const IncidentResponderFilterSensitiveLog = (obj) => ({
|
|
449
|
-
...obj,
|
|
450
|
-
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
451
|
-
...(obj.jobTitle && { jobTitle: smithyClient.SENSITIVE_STRING }),
|
|
452
|
-
...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
|
|
453
|
-
});
|
|
454
|
-
const CreateMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
455
|
-
...obj,
|
|
456
|
-
...(obj.membershipName && { membershipName: smithyClient.SENSITIVE_STRING }),
|
|
457
|
-
...(obj.incidentResponseTeam && {
|
|
458
|
-
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
|
|
459
|
-
}),
|
|
460
|
-
});
|
|
461
|
-
const GetMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
462
|
-
...obj,
|
|
463
|
-
...(obj.membershipName && { membershipName: smithyClient.SENSITIVE_STRING }),
|
|
464
|
-
...(obj.incidentResponseTeam && {
|
|
465
|
-
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
|
|
466
|
-
}),
|
|
467
|
-
});
|
|
468
|
-
const UpdateMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
469
|
-
...obj,
|
|
470
|
-
...(obj.membershipName && { membershipName: smithyClient.SENSITIVE_STRING }),
|
|
471
|
-
...(obj.incidentResponseTeam && {
|
|
472
|
-
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
|
|
473
|
-
}),
|
|
474
|
-
});
|
|
475
376
|
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
const
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
const
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
const
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
const
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
const
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
const
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
const
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
const
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
const
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
const
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
return b.build();
|
|
666
|
-
};
|
|
667
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
668
|
-
const b = core.requestBuilder(input, context);
|
|
669
|
-
const headers = {};
|
|
670
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
671
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
672
|
-
let body;
|
|
673
|
-
b.m("GET").h(headers).b(body);
|
|
674
|
-
return b.build();
|
|
675
|
-
};
|
|
676
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
677
|
-
const b = core.requestBuilder(input, context);
|
|
678
|
-
const headers = {
|
|
679
|
-
"content-type": "application/json",
|
|
680
|
-
};
|
|
681
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
682
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
683
|
-
let body;
|
|
684
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
685
|
-
tags: (_) => smithyClient._json(_),
|
|
686
|
-
}));
|
|
687
|
-
b.m("POST").h(headers).b(body);
|
|
688
|
-
return b.build();
|
|
689
|
-
};
|
|
690
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
691
|
-
const b = core.requestBuilder(input, context);
|
|
692
|
-
const headers = {};
|
|
693
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
694
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
695
|
-
const query = smithyClient.map({
|
|
696
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
697
|
-
});
|
|
698
|
-
let body;
|
|
699
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
700
|
-
return b.build();
|
|
701
|
-
};
|
|
702
|
-
const se_UpdateCaseCommand = async (input, context) => {
|
|
703
|
-
const b = core.requestBuilder(input, context);
|
|
704
|
-
const headers = {
|
|
705
|
-
"content-type": "application/json",
|
|
706
|
-
};
|
|
707
|
-
b.bp("/v1/cases/{caseId}/update-case");
|
|
708
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
709
|
-
let body;
|
|
710
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
711
|
-
actualIncidentStartDate: (_) => _.getTime() / 1_000,
|
|
712
|
-
description: [],
|
|
713
|
-
engagementType: [],
|
|
714
|
-
impactedAccountsToAdd: (_) => smithyClient._json(_),
|
|
715
|
-
impactedAccountsToDelete: (_) => smithyClient._json(_),
|
|
716
|
-
impactedAwsRegionsToAdd: (_) => smithyClient._json(_),
|
|
717
|
-
impactedAwsRegionsToDelete: (_) => smithyClient._json(_),
|
|
718
|
-
impactedServicesToAdd: (_) => smithyClient._json(_),
|
|
719
|
-
impactedServicesToDelete: (_) => smithyClient._json(_),
|
|
720
|
-
reportedIncidentStartDate: (_) => _.getTime() / 1_000,
|
|
721
|
-
threatActorIpAddressesToAdd: (_) => smithyClient._json(_),
|
|
722
|
-
threatActorIpAddressesToDelete: (_) => smithyClient._json(_),
|
|
723
|
-
title: [],
|
|
724
|
-
watchersToAdd: (_) => smithyClient._json(_),
|
|
725
|
-
watchersToDelete: (_) => smithyClient._json(_),
|
|
726
|
-
}));
|
|
727
|
-
b.m("POST").h(headers).b(body);
|
|
728
|
-
return b.build();
|
|
729
|
-
};
|
|
730
|
-
const se_UpdateCaseCommentCommand = async (input, context) => {
|
|
731
|
-
const b = core.requestBuilder(input, context);
|
|
732
|
-
const headers = {
|
|
733
|
-
"content-type": "application/json",
|
|
734
|
-
};
|
|
735
|
-
b.bp("/v1/cases/{caseId}/update-case-comment/{commentId}");
|
|
736
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
737
|
-
b.p("commentId", () => input.commentId, "{commentId}", false);
|
|
738
|
-
let body;
|
|
739
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
740
|
-
body: [],
|
|
741
|
-
}));
|
|
742
|
-
b.m("PUT").h(headers).b(body);
|
|
743
|
-
return b.build();
|
|
744
|
-
};
|
|
745
|
-
const se_UpdateCaseStatusCommand = async (input, context) => {
|
|
746
|
-
const b = core.requestBuilder(input, context);
|
|
747
|
-
const headers = {
|
|
748
|
-
"content-type": "application/json",
|
|
749
|
-
};
|
|
750
|
-
b.bp("/v1/cases/{caseId}/update-case-status");
|
|
751
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
752
|
-
let body;
|
|
753
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
754
|
-
caseStatus: [],
|
|
755
|
-
}));
|
|
756
|
-
b.m("POST").h(headers).b(body);
|
|
757
|
-
return b.build();
|
|
758
|
-
};
|
|
759
|
-
const se_UpdateMembershipCommand = async (input, context) => {
|
|
760
|
-
const b = core.requestBuilder(input, context);
|
|
761
|
-
const headers = {
|
|
762
|
-
"content-type": "application/json",
|
|
763
|
-
};
|
|
764
|
-
b.bp("/v1/membership/{membershipId}/update-membership");
|
|
765
|
-
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
766
|
-
let body;
|
|
767
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
768
|
-
incidentResponseTeam: (_) => smithyClient._json(_),
|
|
769
|
-
membershipAccountsConfigurationsUpdate: (_) => smithyClient._json(_),
|
|
770
|
-
membershipName: [],
|
|
771
|
-
optInFeatures: (_) => smithyClient._json(_),
|
|
772
|
-
undoMembershipCancellation: [],
|
|
773
|
-
}));
|
|
774
|
-
b.m("PUT").h(headers).b(body);
|
|
775
|
-
return b.build();
|
|
776
|
-
};
|
|
777
|
-
const se_UpdateResolverTypeCommand = async (input, context) => {
|
|
778
|
-
const b = core.requestBuilder(input, context);
|
|
779
|
-
const headers = {
|
|
780
|
-
"content-type": "application/json",
|
|
781
|
-
};
|
|
782
|
-
b.bp("/v1/cases/{caseId}/update-resolver-type");
|
|
783
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
784
|
-
let body;
|
|
785
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
786
|
-
resolverType: [],
|
|
787
|
-
}));
|
|
788
|
-
b.m("POST").h(headers).b(body);
|
|
789
|
-
return b.build();
|
|
790
|
-
};
|
|
791
|
-
const de_BatchGetMemberAccountDetailsCommand = async (output, context) => {
|
|
792
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
793
|
-
return de_CommandError(output, context);
|
|
794
|
-
}
|
|
795
|
-
const contents = smithyClient.map({
|
|
796
|
-
$metadata: deserializeMetadata(output),
|
|
797
|
-
});
|
|
798
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
799
|
-
const doc = smithyClient.take(data, {
|
|
800
|
-
errors: smithyClient._json,
|
|
801
|
-
items: smithyClient._json,
|
|
802
|
-
});
|
|
803
|
-
Object.assign(contents, doc);
|
|
804
|
-
return contents;
|
|
805
|
-
};
|
|
806
|
-
const de_CancelMembershipCommand = async (output, context) => {
|
|
807
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
-
return de_CommandError(output, context);
|
|
809
|
-
}
|
|
810
|
-
const contents = smithyClient.map({
|
|
811
|
-
$metadata: deserializeMetadata(output),
|
|
812
|
-
});
|
|
813
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
814
|
-
const doc = smithyClient.take(data, {
|
|
815
|
-
membershipId: smithyClient.expectString,
|
|
816
|
-
});
|
|
817
|
-
Object.assign(contents, doc);
|
|
818
|
-
return contents;
|
|
819
|
-
};
|
|
820
|
-
const de_CloseCaseCommand = async (output, context) => {
|
|
821
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
822
|
-
return de_CommandError(output, context);
|
|
823
|
-
}
|
|
824
|
-
const contents = smithyClient.map({
|
|
825
|
-
$metadata: deserializeMetadata(output),
|
|
826
|
-
});
|
|
827
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
828
|
-
const doc = smithyClient.take(data, {
|
|
829
|
-
caseStatus: smithyClient.expectString,
|
|
830
|
-
closedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
831
|
-
});
|
|
832
|
-
Object.assign(contents, doc);
|
|
833
|
-
return contents;
|
|
834
|
-
};
|
|
835
|
-
const de_CreateCaseCommand = async (output, context) => {
|
|
836
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
837
|
-
return de_CommandError(output, context);
|
|
838
|
-
}
|
|
839
|
-
const contents = smithyClient.map({
|
|
840
|
-
$metadata: deserializeMetadata(output),
|
|
841
|
-
});
|
|
842
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
843
|
-
const doc = smithyClient.take(data, {
|
|
844
|
-
caseId: smithyClient.expectString,
|
|
845
|
-
});
|
|
846
|
-
Object.assign(contents, doc);
|
|
847
|
-
return contents;
|
|
848
|
-
};
|
|
849
|
-
const de_CreateCaseCommentCommand = async (output, context) => {
|
|
850
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
851
|
-
return de_CommandError(output, context);
|
|
852
|
-
}
|
|
853
|
-
const contents = smithyClient.map({
|
|
854
|
-
$metadata: deserializeMetadata(output),
|
|
855
|
-
});
|
|
856
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
857
|
-
const doc = smithyClient.take(data, {
|
|
858
|
-
commentId: smithyClient.expectString,
|
|
859
|
-
});
|
|
860
|
-
Object.assign(contents, doc);
|
|
861
|
-
return contents;
|
|
862
|
-
};
|
|
863
|
-
const de_CreateMembershipCommand = async (output, context) => {
|
|
864
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
865
|
-
return de_CommandError(output, context);
|
|
866
|
-
}
|
|
867
|
-
const contents = smithyClient.map({
|
|
868
|
-
$metadata: deserializeMetadata(output),
|
|
869
|
-
});
|
|
870
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
871
|
-
const doc = smithyClient.take(data, {
|
|
872
|
-
membershipId: smithyClient.expectString,
|
|
873
|
-
});
|
|
874
|
-
Object.assign(contents, doc);
|
|
875
|
-
return contents;
|
|
876
|
-
};
|
|
877
|
-
const de_GetCaseCommand = async (output, context) => {
|
|
878
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
879
|
-
return de_CommandError(output, context);
|
|
880
|
-
}
|
|
881
|
-
const contents = smithyClient.map({
|
|
882
|
-
$metadata: deserializeMetadata(output),
|
|
883
|
-
});
|
|
884
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
885
|
-
const doc = smithyClient.take(data, {
|
|
886
|
-
actualIncidentStartDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
887
|
-
caseArn: smithyClient.expectString,
|
|
888
|
-
caseAttachments: (_) => de_CaseAttachmentsList(_),
|
|
889
|
-
caseStatus: smithyClient.expectString,
|
|
890
|
-
closedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
891
|
-
closureCode: smithyClient.expectString,
|
|
892
|
-
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
893
|
-
description: smithyClient.expectString,
|
|
894
|
-
engagementType: smithyClient.expectString,
|
|
895
|
-
impactedAccounts: smithyClient._json,
|
|
896
|
-
impactedAwsRegions: smithyClient._json,
|
|
897
|
-
impactedServices: smithyClient._json,
|
|
898
|
-
lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
899
|
-
pendingAction: smithyClient.expectString,
|
|
900
|
-
reportedIncidentStartDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
901
|
-
resolverType: smithyClient.expectString,
|
|
902
|
-
threatActorIpAddresses: smithyClient._json,
|
|
903
|
-
title: smithyClient.expectString,
|
|
904
|
-
watchers: smithyClient._json,
|
|
905
|
-
});
|
|
906
|
-
Object.assign(contents, doc);
|
|
907
|
-
return contents;
|
|
908
|
-
};
|
|
909
|
-
const de_GetCaseAttachmentDownloadUrlCommand = async (output, context) => {
|
|
910
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
911
|
-
return de_CommandError(output, context);
|
|
912
|
-
}
|
|
913
|
-
const contents = smithyClient.map({
|
|
914
|
-
$metadata: deserializeMetadata(output),
|
|
915
|
-
});
|
|
916
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
917
|
-
const doc = smithyClient.take(data, {
|
|
918
|
-
attachmentPresignedUrl: smithyClient.expectString,
|
|
919
|
-
});
|
|
920
|
-
Object.assign(contents, doc);
|
|
921
|
-
return contents;
|
|
922
|
-
};
|
|
923
|
-
const de_GetCaseAttachmentUploadUrlCommand = async (output, context) => {
|
|
924
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
925
|
-
return de_CommandError(output, context);
|
|
926
|
-
}
|
|
927
|
-
const contents = smithyClient.map({
|
|
928
|
-
$metadata: deserializeMetadata(output),
|
|
929
|
-
});
|
|
930
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
931
|
-
const doc = smithyClient.take(data, {
|
|
932
|
-
attachmentPresignedUrl: smithyClient.expectString,
|
|
933
|
-
});
|
|
934
|
-
Object.assign(contents, doc);
|
|
935
|
-
return contents;
|
|
936
|
-
};
|
|
937
|
-
const de_GetMembershipCommand = async (output, context) => {
|
|
938
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
939
|
-
return de_CommandError(output, context);
|
|
940
|
-
}
|
|
941
|
-
const contents = smithyClient.map({
|
|
942
|
-
$metadata: deserializeMetadata(output),
|
|
943
|
-
});
|
|
944
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
945
|
-
const doc = smithyClient.take(data, {
|
|
946
|
-
accountId: smithyClient.expectString,
|
|
947
|
-
customerType: smithyClient.expectString,
|
|
948
|
-
incidentResponseTeam: smithyClient._json,
|
|
949
|
-
membershipAccountsConfigurations: smithyClient._json,
|
|
950
|
-
membershipActivationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
951
|
-
membershipArn: smithyClient.expectString,
|
|
952
|
-
membershipDeactivationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
953
|
-
membershipId: smithyClient.expectString,
|
|
954
|
-
membershipName: smithyClient.expectString,
|
|
955
|
-
membershipStatus: smithyClient.expectString,
|
|
956
|
-
numberOfAccountsCovered: smithyClient.expectLong,
|
|
957
|
-
optInFeatures: smithyClient._json,
|
|
958
|
-
region: smithyClient.expectString,
|
|
959
|
-
});
|
|
960
|
-
Object.assign(contents, doc);
|
|
961
|
-
return contents;
|
|
962
|
-
};
|
|
963
|
-
const de_ListCaseEditsCommand = async (output, context) => {
|
|
964
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
965
|
-
return de_CommandError(output, context);
|
|
966
|
-
}
|
|
967
|
-
const contents = smithyClient.map({
|
|
968
|
-
$metadata: deserializeMetadata(output),
|
|
969
|
-
});
|
|
970
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
971
|
-
const doc = smithyClient.take(data, {
|
|
972
|
-
items: (_) => de_CaseEditItems(_),
|
|
973
|
-
nextToken: smithyClient.expectString,
|
|
974
|
-
total: smithyClient.expectInt32,
|
|
975
|
-
});
|
|
976
|
-
Object.assign(contents, doc);
|
|
977
|
-
return contents;
|
|
978
|
-
};
|
|
979
|
-
const de_ListCasesCommand = async (output, context) => {
|
|
980
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
981
|
-
return de_CommandError(output, context);
|
|
982
|
-
}
|
|
983
|
-
const contents = smithyClient.map({
|
|
984
|
-
$metadata: deserializeMetadata(output),
|
|
985
|
-
});
|
|
986
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
987
|
-
const doc = smithyClient.take(data, {
|
|
988
|
-
items: (_) => de_ListCasesItems(_),
|
|
989
|
-
nextToken: smithyClient.expectString,
|
|
990
|
-
total: smithyClient.expectLong,
|
|
991
|
-
});
|
|
992
|
-
Object.assign(contents, doc);
|
|
993
|
-
return contents;
|
|
994
|
-
};
|
|
995
|
-
const de_ListCommentsCommand = async (output, context) => {
|
|
996
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
|
-
return de_CommandError(output, context);
|
|
998
|
-
}
|
|
999
|
-
const contents = smithyClient.map({
|
|
1000
|
-
$metadata: deserializeMetadata(output),
|
|
1001
|
-
});
|
|
1002
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1003
|
-
const doc = smithyClient.take(data, {
|
|
1004
|
-
items: (_) => de_ListCommentsItems(_),
|
|
1005
|
-
nextToken: smithyClient.expectString,
|
|
1006
|
-
total: smithyClient.expectInt32,
|
|
1007
|
-
});
|
|
1008
|
-
Object.assign(contents, doc);
|
|
1009
|
-
return contents;
|
|
1010
|
-
};
|
|
1011
|
-
const de_ListMembershipsCommand = async (output, context) => {
|
|
1012
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1013
|
-
return de_CommandError(output, context);
|
|
1014
|
-
}
|
|
1015
|
-
const contents = smithyClient.map({
|
|
1016
|
-
$metadata: deserializeMetadata(output),
|
|
1017
|
-
});
|
|
1018
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1019
|
-
const doc = smithyClient.take(data, {
|
|
1020
|
-
items: smithyClient._json,
|
|
1021
|
-
nextToken: smithyClient.expectString,
|
|
1022
|
-
});
|
|
1023
|
-
Object.assign(contents, doc);
|
|
1024
|
-
return contents;
|
|
1025
|
-
};
|
|
1026
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1027
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1028
|
-
return de_CommandError(output, context);
|
|
1029
|
-
}
|
|
1030
|
-
const contents = smithyClient.map({
|
|
1031
|
-
$metadata: deserializeMetadata(output),
|
|
1032
|
-
});
|
|
1033
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1034
|
-
const doc = smithyClient.take(data, {
|
|
1035
|
-
tags: smithyClient._json,
|
|
1036
|
-
});
|
|
1037
|
-
Object.assign(contents, doc);
|
|
1038
|
-
return contents;
|
|
1039
|
-
};
|
|
1040
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
1041
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1042
|
-
return de_CommandError(output, context);
|
|
1043
|
-
}
|
|
1044
|
-
const contents = smithyClient.map({
|
|
1045
|
-
$metadata: deserializeMetadata(output),
|
|
1046
|
-
});
|
|
1047
|
-
await smithyClient.collectBody(output.body, context);
|
|
1048
|
-
return contents;
|
|
1049
|
-
};
|
|
1050
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
1051
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
-
return de_CommandError(output, context);
|
|
1053
|
-
}
|
|
1054
|
-
const contents = smithyClient.map({
|
|
1055
|
-
$metadata: deserializeMetadata(output),
|
|
1056
|
-
});
|
|
1057
|
-
await smithyClient.collectBody(output.body, context);
|
|
1058
|
-
return contents;
|
|
1059
|
-
};
|
|
1060
|
-
const de_UpdateCaseCommand = async (output, context) => {
|
|
1061
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1062
|
-
return de_CommandError(output, context);
|
|
1063
|
-
}
|
|
1064
|
-
const contents = smithyClient.map({
|
|
1065
|
-
$metadata: deserializeMetadata(output),
|
|
1066
|
-
});
|
|
1067
|
-
await smithyClient.collectBody(output.body, context);
|
|
1068
|
-
return contents;
|
|
1069
|
-
};
|
|
1070
|
-
const de_UpdateCaseCommentCommand = async (output, context) => {
|
|
1071
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1072
|
-
return de_CommandError(output, context);
|
|
1073
|
-
}
|
|
1074
|
-
const contents = smithyClient.map({
|
|
1075
|
-
$metadata: deserializeMetadata(output),
|
|
1076
|
-
});
|
|
1077
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1078
|
-
const doc = smithyClient.take(data, {
|
|
1079
|
-
body: smithyClient.expectString,
|
|
1080
|
-
commentId: smithyClient.expectString,
|
|
1081
|
-
});
|
|
1082
|
-
Object.assign(contents, doc);
|
|
1083
|
-
return contents;
|
|
1084
|
-
};
|
|
1085
|
-
const de_UpdateCaseStatusCommand = async (output, context) => {
|
|
1086
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1087
|
-
return de_CommandError(output, context);
|
|
1088
|
-
}
|
|
1089
|
-
const contents = smithyClient.map({
|
|
1090
|
-
$metadata: deserializeMetadata(output),
|
|
1091
|
-
});
|
|
1092
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1093
|
-
const doc = smithyClient.take(data, {
|
|
1094
|
-
caseStatus: smithyClient.expectString,
|
|
1095
|
-
});
|
|
1096
|
-
Object.assign(contents, doc);
|
|
1097
|
-
return contents;
|
|
1098
|
-
};
|
|
1099
|
-
const de_UpdateMembershipCommand = async (output, context) => {
|
|
1100
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1101
|
-
return de_CommandError(output, context);
|
|
1102
|
-
}
|
|
1103
|
-
const contents = smithyClient.map({
|
|
1104
|
-
$metadata: deserializeMetadata(output),
|
|
1105
|
-
});
|
|
1106
|
-
await smithyClient.collectBody(output.body, context);
|
|
1107
|
-
return contents;
|
|
1108
|
-
};
|
|
1109
|
-
const de_UpdateResolverTypeCommand = async (output, context) => {
|
|
1110
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1111
|
-
return de_CommandError(output, context);
|
|
1112
|
-
}
|
|
1113
|
-
const contents = smithyClient.map({
|
|
1114
|
-
$metadata: deserializeMetadata(output),
|
|
1115
|
-
});
|
|
1116
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1117
|
-
const doc = smithyClient.take(data, {
|
|
1118
|
-
caseId: smithyClient.expectString,
|
|
1119
|
-
caseStatus: smithyClient.expectString,
|
|
1120
|
-
resolverType: smithyClient.expectString,
|
|
1121
|
-
});
|
|
1122
|
-
Object.assign(contents, doc);
|
|
1123
|
-
return contents;
|
|
1124
|
-
};
|
|
1125
|
-
const de_CommandError = async (output, context) => {
|
|
1126
|
-
const parsedOutput = {
|
|
1127
|
-
...output,
|
|
1128
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1129
|
-
};
|
|
1130
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1131
|
-
switch (errorCode) {
|
|
1132
|
-
case "AccessDeniedException":
|
|
1133
|
-
case "com.amazonaws.securityir#AccessDeniedException":
|
|
1134
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1135
|
-
case "ConflictException":
|
|
1136
|
-
case "com.amazonaws.securityir#ConflictException":
|
|
1137
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1138
|
-
case "InternalServerException":
|
|
1139
|
-
case "com.amazonaws.securityir#InternalServerException":
|
|
1140
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1141
|
-
case "InvalidTokenException":
|
|
1142
|
-
case "com.amazonaws.securityir#InvalidTokenException":
|
|
1143
|
-
throw await de_InvalidTokenExceptionRes(parsedOutput);
|
|
1144
|
-
case "ResourceNotFoundException":
|
|
1145
|
-
case "com.amazonaws.securityir#ResourceNotFoundException":
|
|
1146
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1147
|
-
case "SecurityIncidentResponseNotActiveException":
|
|
1148
|
-
case "com.amazonaws.securityir#SecurityIncidentResponseNotActiveException":
|
|
1149
|
-
throw await de_SecurityIncidentResponseNotActiveExceptionRes(parsedOutput);
|
|
1150
|
-
case "ServiceQuotaExceededException":
|
|
1151
|
-
case "com.amazonaws.securityir#ServiceQuotaExceededException":
|
|
1152
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1153
|
-
case "ThrottlingException":
|
|
1154
|
-
case "com.amazonaws.securityir#ThrottlingException":
|
|
1155
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1156
|
-
case "ValidationException":
|
|
1157
|
-
case "com.amazonaws.securityir#ValidationException":
|
|
1158
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1159
|
-
default:
|
|
1160
|
-
const parsedBody = parsedOutput.body;
|
|
1161
|
-
return throwDefaultError({
|
|
1162
|
-
output,
|
|
1163
|
-
parsedBody,
|
|
1164
|
-
errorCode,
|
|
1165
|
-
});
|
|
1166
|
-
}
|
|
1167
|
-
};
|
|
1168
|
-
const throwDefaultError = smithyClient.withBaseException(SecurityIRServiceException);
|
|
1169
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1170
|
-
const contents = smithyClient.map({});
|
|
1171
|
-
const data = parsedOutput.body;
|
|
1172
|
-
const doc = smithyClient.take(data, {
|
|
1173
|
-
message: smithyClient.expectString,
|
|
1174
|
-
});
|
|
1175
|
-
Object.assign(contents, doc);
|
|
1176
|
-
const exception = new AccessDeniedException({
|
|
1177
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1178
|
-
...contents,
|
|
1179
|
-
});
|
|
1180
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1181
|
-
};
|
|
1182
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1183
|
-
const contents = smithyClient.map({});
|
|
1184
|
-
const data = parsedOutput.body;
|
|
1185
|
-
const doc = smithyClient.take(data, {
|
|
1186
|
-
message: smithyClient.expectString,
|
|
1187
|
-
resourceId: smithyClient.expectString,
|
|
1188
|
-
resourceType: smithyClient.expectString,
|
|
1189
|
-
});
|
|
1190
|
-
Object.assign(contents, doc);
|
|
1191
|
-
const exception = new ConflictException({
|
|
1192
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1193
|
-
...contents,
|
|
1194
|
-
});
|
|
1195
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1196
|
-
};
|
|
1197
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1198
|
-
const contents = smithyClient.map({
|
|
1199
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1200
|
-
});
|
|
1201
|
-
const data = parsedOutput.body;
|
|
1202
|
-
const doc = smithyClient.take(data, {
|
|
1203
|
-
message: smithyClient.expectString,
|
|
1204
|
-
});
|
|
1205
|
-
Object.assign(contents, doc);
|
|
1206
|
-
const exception = new InternalServerException({
|
|
1207
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1208
|
-
...contents,
|
|
1209
|
-
});
|
|
1210
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1211
|
-
};
|
|
1212
|
-
const de_InvalidTokenExceptionRes = async (parsedOutput, context) => {
|
|
1213
|
-
const contents = smithyClient.map({});
|
|
1214
|
-
const data = parsedOutput.body;
|
|
1215
|
-
const doc = smithyClient.take(data, {
|
|
1216
|
-
message: smithyClient.expectString,
|
|
1217
|
-
});
|
|
1218
|
-
Object.assign(contents, doc);
|
|
1219
|
-
const exception = new InvalidTokenException({
|
|
1220
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1221
|
-
...contents,
|
|
1222
|
-
});
|
|
1223
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1224
|
-
};
|
|
1225
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1226
|
-
const contents = smithyClient.map({});
|
|
1227
|
-
const data = parsedOutput.body;
|
|
1228
|
-
const doc = smithyClient.take(data, {
|
|
1229
|
-
message: smithyClient.expectString,
|
|
1230
|
-
});
|
|
1231
|
-
Object.assign(contents, doc);
|
|
1232
|
-
const exception = new ResourceNotFoundException({
|
|
1233
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
|
-
...contents,
|
|
1235
|
-
});
|
|
1236
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1237
|
-
};
|
|
1238
|
-
const de_SecurityIncidentResponseNotActiveExceptionRes = async (parsedOutput, context) => {
|
|
1239
|
-
const contents = smithyClient.map({});
|
|
1240
|
-
const data = parsedOutput.body;
|
|
1241
|
-
const doc = smithyClient.take(data, {
|
|
1242
|
-
message: smithyClient.expectString,
|
|
1243
|
-
});
|
|
1244
|
-
Object.assign(contents, doc);
|
|
1245
|
-
const exception = new SecurityIncidentResponseNotActiveException({
|
|
1246
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1247
|
-
...contents,
|
|
1248
|
-
});
|
|
1249
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1250
|
-
};
|
|
1251
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1252
|
-
const contents = smithyClient.map({});
|
|
1253
|
-
const data = parsedOutput.body;
|
|
1254
|
-
const doc = smithyClient.take(data, {
|
|
1255
|
-
message: smithyClient.expectString,
|
|
1256
|
-
quotaCode: smithyClient.expectString,
|
|
1257
|
-
resourceId: smithyClient.expectString,
|
|
1258
|
-
resourceType: smithyClient.expectString,
|
|
1259
|
-
serviceCode: smithyClient.expectString,
|
|
1260
|
-
});
|
|
1261
|
-
Object.assign(contents, doc);
|
|
1262
|
-
const exception = new ServiceQuotaExceededException({
|
|
1263
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1264
|
-
...contents,
|
|
1265
|
-
});
|
|
1266
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1267
|
-
};
|
|
1268
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1269
|
-
const contents = smithyClient.map({
|
|
1270
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1271
|
-
});
|
|
1272
|
-
const data = parsedOutput.body;
|
|
1273
|
-
const doc = smithyClient.take(data, {
|
|
1274
|
-
message: smithyClient.expectString,
|
|
1275
|
-
quotaCode: smithyClient.expectString,
|
|
1276
|
-
serviceCode: smithyClient.expectString,
|
|
1277
|
-
});
|
|
1278
|
-
Object.assign(contents, doc);
|
|
1279
|
-
const exception = new ThrottlingException({
|
|
1280
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1281
|
-
...contents,
|
|
1282
|
-
});
|
|
1283
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1284
|
-
};
|
|
1285
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1286
|
-
const contents = smithyClient.map({});
|
|
1287
|
-
const data = parsedOutput.body;
|
|
1288
|
-
const doc = smithyClient.take(data, {
|
|
1289
|
-
fieldList: smithyClient._json,
|
|
1290
|
-
message: smithyClient.expectString,
|
|
1291
|
-
reason: smithyClient.expectString,
|
|
1292
|
-
});
|
|
1293
|
-
Object.assign(contents, doc);
|
|
1294
|
-
const exception = new ValidationException({
|
|
1295
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
|
-
...contents,
|
|
1297
|
-
});
|
|
1298
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1299
|
-
};
|
|
1300
|
-
const de_CaseAttachmentAttributes = (output, context) => {
|
|
1301
|
-
return smithyClient.take(output, {
|
|
1302
|
-
attachmentId: smithyClient.expectString,
|
|
1303
|
-
attachmentStatus: smithyClient.expectString,
|
|
1304
|
-
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1305
|
-
creator: smithyClient.expectString,
|
|
1306
|
-
fileName: smithyClient.expectString,
|
|
1307
|
-
});
|
|
1308
|
-
};
|
|
1309
|
-
const de_CaseAttachmentsList = (output, context) => {
|
|
1310
|
-
const retVal = (output || [])
|
|
1311
|
-
.filter((e) => e != null)
|
|
1312
|
-
.map((entry) => {
|
|
1313
|
-
return de_CaseAttachmentAttributes(entry);
|
|
1314
|
-
});
|
|
1315
|
-
return retVal;
|
|
1316
|
-
};
|
|
1317
|
-
const de_CaseEditItem = (output, context) => {
|
|
1318
|
-
return smithyClient.take(output, {
|
|
1319
|
-
action: smithyClient.expectString,
|
|
1320
|
-
eventTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1321
|
-
message: smithyClient.expectString,
|
|
1322
|
-
principal: smithyClient.expectString,
|
|
1323
|
-
});
|
|
1324
|
-
};
|
|
1325
|
-
const de_CaseEditItems = (output, context) => {
|
|
1326
|
-
const retVal = (output || [])
|
|
1327
|
-
.filter((e) => e != null)
|
|
1328
|
-
.map((entry) => {
|
|
1329
|
-
return de_CaseEditItem(entry);
|
|
1330
|
-
});
|
|
1331
|
-
return retVal;
|
|
1332
|
-
};
|
|
1333
|
-
const de_ListCasesItem = (output, context) => {
|
|
1334
|
-
return smithyClient.take(output, {
|
|
1335
|
-
caseArn: smithyClient.expectString,
|
|
1336
|
-
caseId: smithyClient.expectString,
|
|
1337
|
-
caseStatus: smithyClient.expectString,
|
|
1338
|
-
closedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1339
|
-
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1340
|
-
engagementType: smithyClient.expectString,
|
|
1341
|
-
lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1342
|
-
pendingAction: smithyClient.expectString,
|
|
1343
|
-
resolverType: smithyClient.expectString,
|
|
1344
|
-
title: smithyClient.expectString,
|
|
1345
|
-
});
|
|
1346
|
-
};
|
|
1347
|
-
const de_ListCasesItems = (output, context) => {
|
|
1348
|
-
const retVal = (output || [])
|
|
1349
|
-
.filter((e) => e != null)
|
|
1350
|
-
.map((entry) => {
|
|
1351
|
-
return de_ListCasesItem(entry);
|
|
1352
|
-
});
|
|
1353
|
-
return retVal;
|
|
1354
|
-
};
|
|
1355
|
-
const de_ListCommentsItem = (output, context) => {
|
|
1356
|
-
return smithyClient.take(output, {
|
|
1357
|
-
body: smithyClient.expectString,
|
|
1358
|
-
commentId: smithyClient.expectString,
|
|
1359
|
-
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1360
|
-
creator: smithyClient.expectString,
|
|
1361
|
-
lastUpdatedBy: smithyClient.expectString,
|
|
1362
|
-
lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1363
|
-
});
|
|
1364
|
-
};
|
|
1365
|
-
const de_ListCommentsItems = (output, context) => {
|
|
1366
|
-
const retVal = (output || [])
|
|
1367
|
-
.filter((e) => e != null)
|
|
1368
|
-
.map((entry) => {
|
|
1369
|
-
return de_ListCommentsItem(entry);
|
|
1370
|
-
});
|
|
1371
|
-
return retVal;
|
|
1372
|
-
};
|
|
1373
|
-
const deserializeMetadata = (output) => ({
|
|
1374
|
-
httpStatusCode: output.statusCode,
|
|
1375
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1376
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1377
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1378
|
-
});
|
|
377
|
+
const _ADE = "AccessDeniedException";
|
|
378
|
+
const _BGMAD = "BatchGetMemberAccountDetails";
|
|
379
|
+
const _BGMADR = "BatchGetMemberAccountDetailsRequest";
|
|
380
|
+
const _BGMADRa = "BatchGetMemberAccountDetailsResponse";
|
|
381
|
+
const _CAA = "CaseAttachmentAttributes";
|
|
382
|
+
const _CAL = "CaseAttachmentsList";
|
|
383
|
+
const _CB = "CommentBody";
|
|
384
|
+
const _CC = "CloseCase";
|
|
385
|
+
const _CCC = "CreateCaseComment";
|
|
386
|
+
const _CCCR = "CreateCaseCommentRequest";
|
|
387
|
+
const _CCCRr = "CreateCaseCommentResponse";
|
|
388
|
+
const _CCR = "CloseCaseRequest";
|
|
389
|
+
const _CCRl = "CloseCaseResponse";
|
|
390
|
+
const _CCRr = "CreateCaseRequest";
|
|
391
|
+
const _CCRre = "CreateCaseResponse";
|
|
392
|
+
const _CCr = "CreateCase";
|
|
393
|
+
const _CD = "CaseDescription";
|
|
394
|
+
const _CE = "ConflictException";
|
|
395
|
+
const _CEI = "CaseEditItem";
|
|
396
|
+
const _CEIa = "CaseEditItems";
|
|
397
|
+
const _CM = "CancelMembership";
|
|
398
|
+
const _CMR = "CancelMembershipRequest";
|
|
399
|
+
const _CMRa = "CancelMembershipResponse";
|
|
400
|
+
const _CMRr = "CreateMembershipRequest";
|
|
401
|
+
const _CMRre = "CreateMembershipResponse";
|
|
402
|
+
const _CMr = "CreateMembership";
|
|
403
|
+
const _CT = "CaseTitle";
|
|
404
|
+
const _EA = "EmailAddress";
|
|
405
|
+
const _FN = "FileName";
|
|
406
|
+
const _GC = "GetCase";
|
|
407
|
+
const _GCADU = "GetCaseAttachmentDownloadUrl";
|
|
408
|
+
const _GCADUR = "GetCaseAttachmentDownloadUrlRequest";
|
|
409
|
+
const _GCADURe = "GetCaseAttachmentDownloadUrlResponse";
|
|
410
|
+
const _GCAUU = "GetCaseAttachmentUploadUrl";
|
|
411
|
+
const _GCAUUR = "GetCaseAttachmentUploadUrlRequest";
|
|
412
|
+
const _GCAUURe = "GetCaseAttachmentUploadUrlResponse";
|
|
413
|
+
const _GCR = "GetCaseRequest";
|
|
414
|
+
const _GCRe = "GetCaseResponse";
|
|
415
|
+
const _GM = "GetMembership";
|
|
416
|
+
const _GMADE = "GetMembershipAccountDetailError";
|
|
417
|
+
const _GMADEe = "GetMembershipAccountDetailErrors";
|
|
418
|
+
const _GMADI = "GetMembershipAccountDetailItem";
|
|
419
|
+
const _GMADIe = "GetMembershipAccountDetailItems";
|
|
420
|
+
const _GMR = "GetMembershipRequest";
|
|
421
|
+
const _GMRe = "GetMembershipResponse";
|
|
422
|
+
const _IAR = "ImpactedAwsRegion";
|
|
423
|
+
const _IARL = "ImpactedAwsRegionList";
|
|
424
|
+
const _IPA = "IPAddress";
|
|
425
|
+
const _IR = "IncidentResponder";
|
|
426
|
+
const _IRN = "IncidentResponderName";
|
|
427
|
+
const _IRT = "IncidentResponseTeam";
|
|
428
|
+
const _ISE = "InternalServerException";
|
|
429
|
+
const _ITE = "InvalidTokenException";
|
|
430
|
+
const _JT = "JobTitle";
|
|
431
|
+
const _LC = "ListCases";
|
|
432
|
+
const _LCE = "ListCaseEdits";
|
|
433
|
+
const _LCER = "ListCaseEditsRequest";
|
|
434
|
+
const _LCERi = "ListCaseEditsResponse";
|
|
435
|
+
const _LCI = "ListCasesItem";
|
|
436
|
+
const _LCIi = "ListCommentsItem";
|
|
437
|
+
const _LCIis = "ListCasesItems";
|
|
438
|
+
const _LCIist = "ListCommentsItems";
|
|
439
|
+
const _LCR = "ListCasesRequest";
|
|
440
|
+
const _LCRi = "ListCasesResponse";
|
|
441
|
+
const _LCRis = "ListCommentsRequest";
|
|
442
|
+
const _LCRist = "ListCommentsResponse";
|
|
443
|
+
const _LCi = "ListComments";
|
|
444
|
+
const _LM = "ListMemberships";
|
|
445
|
+
const _LMI = "ListMembershipItem";
|
|
446
|
+
const _LMIi = "ListMembershipItems";
|
|
447
|
+
const _LMR = "ListMembershipsRequest";
|
|
448
|
+
const _LMRi = "ListMembershipsResponse";
|
|
449
|
+
const _LTFR = "ListTagsForResource";
|
|
450
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
451
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
452
|
+
const _MAC = "MembershipAccountsConfigurations";
|
|
453
|
+
const _MACU = "MembershipAccountsConfigurationsUpdate";
|
|
454
|
+
const _MN = "MembershipName";
|
|
455
|
+
const _OIF = "OptInFeature";
|
|
456
|
+
const _OIFp = "OptInFeatures";
|
|
457
|
+
const _PN = "PersonName";
|
|
458
|
+
const _RA = "Retry-After";
|
|
459
|
+
const _RNFE = "ResourceNotFoundException";
|
|
460
|
+
const _SIRNAE = "SecurityIncidentResponseNotActiveException";
|
|
461
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
462
|
+
const _TAI = "ThreatActorIp";
|
|
463
|
+
const _TAIL = "ThreatActorIpList";
|
|
464
|
+
const _TE = "ThrottlingException";
|
|
465
|
+
const _TR = "TagResource";
|
|
466
|
+
const _TRI = "TagResourceInput";
|
|
467
|
+
const _TRO = "TagResourceOutput";
|
|
468
|
+
const _U = "Url";
|
|
469
|
+
const _UC = "UpdateCase";
|
|
470
|
+
const _UCC = "UpdateCaseComment";
|
|
471
|
+
const _UCCR = "UpdateCaseCommentRequest";
|
|
472
|
+
const _UCCRp = "UpdateCaseCommentResponse";
|
|
473
|
+
const _UCR = "UpdateCaseRequest";
|
|
474
|
+
const _UCRp = "UpdateCaseResponse";
|
|
475
|
+
const _UCS = "UpdateCaseStatus";
|
|
476
|
+
const _UCSR = "UpdateCaseStatusRequest";
|
|
477
|
+
const _UCSRp = "UpdateCaseStatusResponse";
|
|
478
|
+
const _UM = "UpdateMembership";
|
|
479
|
+
const _UMR = "UpdateMembershipRequest";
|
|
480
|
+
const _UMRp = "UpdateMembershipResponse";
|
|
481
|
+
const _UR = "UntagResource";
|
|
482
|
+
const _URI = "UntagResourceInput";
|
|
483
|
+
const _URO = "UntagResourceOutput";
|
|
484
|
+
const _URT = "UpdateResolverType";
|
|
485
|
+
const _URTR = "UpdateResolverTypeRequest";
|
|
486
|
+
const _URTRp = "UpdateResolverTypeResponse";
|
|
487
|
+
const _VE = "ValidationException";
|
|
488
|
+
const _VEF = "ValidationExceptionField";
|
|
489
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
490
|
+
const _W = "Watcher";
|
|
491
|
+
const _Wa = "Watchers";
|
|
492
|
+
const _a = "action";
|
|
493
|
+
const _aI = "accountIds";
|
|
494
|
+
const _aISD = "actualIncidentStartDate";
|
|
495
|
+
const _aIc = "accountId";
|
|
496
|
+
const _aIt = "attachmentId";
|
|
497
|
+
const _aPU = "attachmentPresignedUrl";
|
|
498
|
+
const _aS = "attachmentStatus";
|
|
499
|
+
const _b = "body";
|
|
500
|
+
const _c = "client";
|
|
501
|
+
const _cA = "caseArn";
|
|
502
|
+
const _cAa = "caseAttachments";
|
|
503
|
+
const _cC = "closureCode";
|
|
504
|
+
const _cD = "createdDate";
|
|
505
|
+
const _cDl = "closedDate";
|
|
506
|
+
const _cEO = "coverEntireOrganization";
|
|
507
|
+
const _cI = "caseId";
|
|
508
|
+
const _cIo = "commentId";
|
|
509
|
+
const _cL = "contentLength";
|
|
510
|
+
const _cP = "communicationPreferences";
|
|
511
|
+
const _cS = "caseStatus";
|
|
512
|
+
const _cT = "clientToken";
|
|
513
|
+
const _cTu = "customerType";
|
|
514
|
+
const _cr = "creator";
|
|
515
|
+
const _d = "description";
|
|
516
|
+
const _e = "error";
|
|
517
|
+
const _eT = "eventTimestamp";
|
|
518
|
+
const _eTn = "engagementType";
|
|
519
|
+
const _em = "email";
|
|
520
|
+
const _er = "errors";
|
|
521
|
+
const _fL = "fieldList";
|
|
522
|
+
const _fN = "fileName";
|
|
523
|
+
const _fNe = "featureName";
|
|
524
|
+
const _h = "http";
|
|
525
|
+
const _hE = "httpError";
|
|
526
|
+
const _hH = "httpHeader";
|
|
527
|
+
const _hQ = "httpQuery";
|
|
528
|
+
const _i = "items";
|
|
529
|
+
const _iA = "impactedAccounts";
|
|
530
|
+
const _iAR = "impactedAwsRegions";
|
|
531
|
+
const _iARTA = "impactedAwsRegionsToAdd";
|
|
532
|
+
const _iARTD = "impactedAwsRegionsToDelete";
|
|
533
|
+
const _iATA = "impactedAccountsToAdd";
|
|
534
|
+
const _iATD = "impactedAccountsToDelete";
|
|
535
|
+
const _iAp = "ipAddress";
|
|
536
|
+
const _iE = "isEnabled";
|
|
537
|
+
const _iRT = "incidentResponseTeam";
|
|
538
|
+
const _iS = "impactedServices";
|
|
539
|
+
const _iSTA = "impactedServicesToAdd";
|
|
540
|
+
const _iSTD = "impactedServicesToDelete";
|
|
541
|
+
const _jT = "jobTitle";
|
|
542
|
+
const _lUB = "lastUpdatedBy";
|
|
543
|
+
const _lUD = "lastUpdatedDate";
|
|
544
|
+
const _m = "message";
|
|
545
|
+
const _mA = "membershipArn";
|
|
546
|
+
const _mAC = "membershipAccountsConfigurations";
|
|
547
|
+
const _mACU = "membershipAccountsConfigurationsUpdate";
|
|
548
|
+
const _mAT = "membershipActivationTimestamp";
|
|
549
|
+
const _mDT = "membershipDeactivationTimestamp";
|
|
550
|
+
const _mI = "membershipId";
|
|
551
|
+
const _mN = "membershipName";
|
|
552
|
+
const _mR = "maxResults";
|
|
553
|
+
const _mS = "membershipStatus";
|
|
554
|
+
const _n = "name";
|
|
555
|
+
const _nOAC = "numberOfAccountsCovered";
|
|
556
|
+
const _nT = "nextToken";
|
|
557
|
+
const _oIF = "optInFeatures";
|
|
558
|
+
const _oU = "organizationalUnits";
|
|
559
|
+
const _oUTA = "organizationalUnitsToAdd";
|
|
560
|
+
const _oUTR = "organizationalUnitsToRemove";
|
|
561
|
+
const _p = "principal";
|
|
562
|
+
const _pA = "pendingAction";
|
|
563
|
+
const _qC = "quotaCode";
|
|
564
|
+
const _r = "region";
|
|
565
|
+
const _rA = "resourceArn";
|
|
1379
566
|
const _rAS = "retryAfterSeconds";
|
|
1380
|
-
const
|
|
567
|
+
const _rI = "resourceId";
|
|
568
|
+
const _rISD = "reportedIncidentStartDate";
|
|
569
|
+
const _rS = "relationshipStatus";
|
|
570
|
+
const _rT = "resourceType";
|
|
571
|
+
const _rTe = "resolverType";
|
|
572
|
+
const _rTel = "relationshipType";
|
|
573
|
+
const _re = "reason";
|
|
574
|
+
const _s = "server";
|
|
575
|
+
const _sC = "serviceCode";
|
|
576
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.securityir";
|
|
577
|
+
const _t = "title";
|
|
578
|
+
const _tAIA = "threatActorIpAddresses";
|
|
579
|
+
const _tAIATA = "threatActorIpAddressesToAdd";
|
|
580
|
+
const _tAIATD = "threatActorIpAddressesToDelete";
|
|
1381
581
|
const _tK = "tagKeys";
|
|
582
|
+
const _ta = "tags";
|
|
583
|
+
const _to = "total";
|
|
584
|
+
const _uA = "userAgent";
|
|
585
|
+
const _uMC = "undoMembershipCancellation";
|
|
586
|
+
const _w = "watchers";
|
|
587
|
+
const _wTA = "watchersToAdd";
|
|
588
|
+
const _wTD = "watchersToDelete";
|
|
589
|
+
const n0 = "com.amazonaws.securityir";
|
|
590
|
+
var CaseDescription = [0, n0, _CD, 8, 0];
|
|
591
|
+
var CaseTitle = [0, n0, _CT, 8, 0];
|
|
592
|
+
var CommentBody = [0, n0, _CB, 8, 0];
|
|
593
|
+
var EmailAddress = [0, n0, _EA, 8, 0];
|
|
594
|
+
var FileName = [0, n0, _FN, 8, 0];
|
|
595
|
+
var IncidentResponderName = [0, n0, _IRN, 8, 0];
|
|
596
|
+
var IPAddress = [0, n0, _IPA, 8, 0];
|
|
597
|
+
var JobTitle = [0, n0, _JT, 8, 0];
|
|
598
|
+
var MembershipName = [0, n0, _MN, 8, 0];
|
|
599
|
+
var PersonName = [0, n0, _PN, 8, 0];
|
|
600
|
+
var Url = [0, n0, _U, 8, 0];
|
|
601
|
+
var AccessDeniedException = [
|
|
602
|
+
-3,
|
|
603
|
+
n0,
|
|
604
|
+
_ADE,
|
|
605
|
+
{
|
|
606
|
+
[_e]: _c,
|
|
607
|
+
[_hE]: 403,
|
|
608
|
+
},
|
|
609
|
+
[_m],
|
|
610
|
+
[0],
|
|
611
|
+
];
|
|
612
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
613
|
+
var BatchGetMemberAccountDetailsRequest = [
|
|
614
|
+
3,
|
|
615
|
+
n0,
|
|
616
|
+
_BGMADR,
|
|
617
|
+
0,
|
|
618
|
+
[_mI, _aI],
|
|
619
|
+
[[0, 1], 64 | 0],
|
|
620
|
+
];
|
|
621
|
+
var BatchGetMemberAccountDetailsResponse = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_BGMADRa,
|
|
625
|
+
0,
|
|
626
|
+
[_i, _er],
|
|
627
|
+
[() => GetMembershipAccountDetailItems, () => GetMembershipAccountDetailErrors],
|
|
628
|
+
];
|
|
629
|
+
var CancelMembershipRequest = [3, n0, _CMR, 0, [_mI], [[0, 1]]];
|
|
630
|
+
var CancelMembershipResponse = [3, n0, _CMRa, 0, [_mI], [0]];
|
|
631
|
+
var CaseAttachmentAttributes = [
|
|
632
|
+
3,
|
|
633
|
+
n0,
|
|
634
|
+
_CAA,
|
|
635
|
+
0,
|
|
636
|
+
[_aIt, _fN, _aS, _cr, _cD],
|
|
637
|
+
[0, [() => FileName, 0], 0, 0, 4],
|
|
638
|
+
];
|
|
639
|
+
var CaseEditItem = [3, n0, _CEI, 0, [_eT, _p, _a, _m], [4, 0, 0, 0]];
|
|
640
|
+
var CloseCaseRequest = [3, n0, _CCR, 0, [_cI], [[0, 1]]];
|
|
641
|
+
var CloseCaseResponse = [3, n0, _CCRl, 0, [_cS, _cDl], [0, 4]];
|
|
642
|
+
var ConflictException = [
|
|
643
|
+
-3,
|
|
644
|
+
n0,
|
|
645
|
+
_CE,
|
|
646
|
+
{
|
|
647
|
+
[_e]: _c,
|
|
648
|
+
[_hE]: 409,
|
|
649
|
+
},
|
|
650
|
+
[_m, _rI, _rT],
|
|
651
|
+
[0, 0, 0],
|
|
652
|
+
];
|
|
653
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
654
|
+
var CreateCaseCommentRequest = [
|
|
655
|
+
3,
|
|
656
|
+
n0,
|
|
657
|
+
_CCCR,
|
|
658
|
+
0,
|
|
659
|
+
[_cI, _cT, _b],
|
|
660
|
+
[
|
|
661
|
+
[0, 1],
|
|
662
|
+
[0, 4],
|
|
663
|
+
[() => CommentBody, 0],
|
|
664
|
+
],
|
|
665
|
+
];
|
|
666
|
+
var CreateCaseCommentResponse = [3, n0, _CCCRr, 0, [_cIo], [0]];
|
|
667
|
+
var CreateCaseRequest = [
|
|
668
|
+
3,
|
|
669
|
+
n0,
|
|
670
|
+
_CCRr,
|
|
671
|
+
0,
|
|
672
|
+
[_cT, _rTe, _t, _d, _eTn, _rISD, _iA, _w, _tAIA, _iS, _iAR, _ta],
|
|
673
|
+
[
|
|
674
|
+
[0, 4],
|
|
675
|
+
0,
|
|
676
|
+
[() => CaseTitle, 0],
|
|
677
|
+
[() => CaseDescription, 0],
|
|
678
|
+
0,
|
|
679
|
+
4,
|
|
680
|
+
64 | 0,
|
|
681
|
+
[() => Watchers, 0],
|
|
682
|
+
[() => ThreatActorIpList, 0],
|
|
683
|
+
64 | 0,
|
|
684
|
+
() => ImpactedAwsRegionList,
|
|
685
|
+
128 | 0,
|
|
686
|
+
],
|
|
687
|
+
];
|
|
688
|
+
var CreateCaseResponse = [3, n0, _CCRre, 0, [_cI], [0]];
|
|
689
|
+
var CreateMembershipRequest = [
|
|
690
|
+
3,
|
|
691
|
+
n0,
|
|
692
|
+
_CMRr,
|
|
693
|
+
0,
|
|
694
|
+
[_cT, _mN, _iRT, _oIF, _ta, _cEO],
|
|
695
|
+
[[0, 4], [() => MembershipName, 0], [() => IncidentResponseTeam, 0], () => OptInFeatures, 128 | 0, 2],
|
|
696
|
+
];
|
|
697
|
+
var CreateMembershipResponse = [3, n0, _CMRre, 0, [_mI], [0]];
|
|
698
|
+
var GetCaseAttachmentDownloadUrlRequest = [
|
|
699
|
+
3,
|
|
700
|
+
n0,
|
|
701
|
+
_GCADUR,
|
|
702
|
+
0,
|
|
703
|
+
[_cI, _aIt],
|
|
704
|
+
[
|
|
705
|
+
[0, 1],
|
|
706
|
+
[0, 1],
|
|
707
|
+
],
|
|
708
|
+
];
|
|
709
|
+
var GetCaseAttachmentDownloadUrlResponse = [3, n0, _GCADURe, 0, [_aPU], [[() => Url, 0]]];
|
|
710
|
+
var GetCaseAttachmentUploadUrlRequest = [
|
|
711
|
+
3,
|
|
712
|
+
n0,
|
|
713
|
+
_GCAUUR,
|
|
714
|
+
0,
|
|
715
|
+
[_cI, _fN, _cL, _cT],
|
|
716
|
+
[[0, 1], [() => FileName, 0], 1, [0, 4]],
|
|
717
|
+
];
|
|
718
|
+
var GetCaseAttachmentUploadUrlResponse = [3, n0, _GCAUURe, 0, [_aPU], [[() => Url, 0]]];
|
|
719
|
+
var GetCaseRequest = [3, n0, _GCR, 0, [_cI], [[0, 1]]];
|
|
720
|
+
var GetCaseResponse = [
|
|
721
|
+
3,
|
|
722
|
+
n0,
|
|
723
|
+
_GCRe,
|
|
724
|
+
0,
|
|
725
|
+
[_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl],
|
|
726
|
+
[
|
|
727
|
+
[() => CaseTitle, 0],
|
|
728
|
+
0,
|
|
729
|
+
[() => CaseDescription, 0],
|
|
730
|
+
0,
|
|
731
|
+
0,
|
|
732
|
+
4,
|
|
733
|
+
4,
|
|
734
|
+
() => ImpactedAwsRegionList,
|
|
735
|
+
[() => ThreatActorIpList, 0],
|
|
736
|
+
0,
|
|
737
|
+
64 | 0,
|
|
738
|
+
[() => Watchers, 0],
|
|
739
|
+
4,
|
|
740
|
+
4,
|
|
741
|
+
0,
|
|
742
|
+
0,
|
|
743
|
+
64 | 0,
|
|
744
|
+
[() => CaseAttachmentsList, 0],
|
|
745
|
+
4,
|
|
746
|
+
],
|
|
747
|
+
];
|
|
748
|
+
var GetMembershipAccountDetailError = [3, n0, _GMADE, 0, [_aIc, _e, _m], [0, 0, 0]];
|
|
749
|
+
var GetMembershipAccountDetailItem = [3, n0, _GMADI, 0, [_aIc, _rS, _rTel], [0, 0, 0]];
|
|
750
|
+
var GetMembershipRequest = [3, n0, _GMR, 0, [_mI], [[0, 1]]];
|
|
751
|
+
var GetMembershipResponse = [
|
|
752
|
+
3,
|
|
753
|
+
n0,
|
|
754
|
+
_GMRe,
|
|
755
|
+
0,
|
|
756
|
+
[_mI, _aIc, _r, _mN, _mA, _mS, _mAT, _mDT, _cTu, _nOAC, _iRT, _oIF, _mAC],
|
|
757
|
+
[
|
|
758
|
+
0,
|
|
759
|
+
0,
|
|
760
|
+
0,
|
|
761
|
+
[() => MembershipName, 0],
|
|
762
|
+
0,
|
|
763
|
+
0,
|
|
764
|
+
4,
|
|
765
|
+
4,
|
|
766
|
+
0,
|
|
767
|
+
1,
|
|
768
|
+
[() => IncidentResponseTeam, 0],
|
|
769
|
+
() => OptInFeatures,
|
|
770
|
+
() => MembershipAccountsConfigurations,
|
|
771
|
+
],
|
|
772
|
+
];
|
|
773
|
+
var ImpactedAwsRegion = [3, n0, _IAR, 0, [_r], [0]];
|
|
774
|
+
var IncidentResponder = [
|
|
775
|
+
3,
|
|
776
|
+
n0,
|
|
777
|
+
_IR,
|
|
778
|
+
0,
|
|
779
|
+
[_n, _jT, _em, _cP],
|
|
780
|
+
[[() => IncidentResponderName, 0], [() => JobTitle, 0], [() => EmailAddress, 0], 64 | 0],
|
|
781
|
+
];
|
|
782
|
+
var InternalServerException = [
|
|
783
|
+
-3,
|
|
784
|
+
n0,
|
|
785
|
+
_ISE,
|
|
786
|
+
{
|
|
787
|
+
[_e]: _s,
|
|
788
|
+
[_hE]: 500,
|
|
789
|
+
},
|
|
790
|
+
[_m, _rAS],
|
|
791
|
+
[
|
|
792
|
+
0,
|
|
793
|
+
[
|
|
794
|
+
1,
|
|
795
|
+
{
|
|
796
|
+
[_hH]: _RA,
|
|
797
|
+
},
|
|
798
|
+
],
|
|
799
|
+
],
|
|
800
|
+
];
|
|
801
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
802
|
+
var InvalidTokenException = [
|
|
803
|
+
-3,
|
|
804
|
+
n0,
|
|
805
|
+
_ITE,
|
|
806
|
+
{
|
|
807
|
+
[_e]: _c,
|
|
808
|
+
[_hE]: 423,
|
|
809
|
+
},
|
|
810
|
+
[_m],
|
|
811
|
+
[0],
|
|
812
|
+
];
|
|
813
|
+
schema.TypeRegistry.for(n0).registerError(InvalidTokenException, InvalidTokenException$1);
|
|
814
|
+
var ListCaseEditsRequest = [3, n0, _LCER, 0, [_nT, _mR, _cI], [0, 1, [0, 1]]];
|
|
815
|
+
var ListCaseEditsResponse = [
|
|
816
|
+
3,
|
|
817
|
+
n0,
|
|
818
|
+
_LCERi,
|
|
819
|
+
0,
|
|
820
|
+
[_nT, _i, _to],
|
|
821
|
+
[0, () => CaseEditItems, 1],
|
|
822
|
+
];
|
|
823
|
+
var ListCasesItem = [
|
|
824
|
+
3,
|
|
825
|
+
n0,
|
|
826
|
+
_LCI,
|
|
827
|
+
0,
|
|
828
|
+
[_cI, _lUD, _t, _cA, _eTn, _cS, _cD, _cDl, _rTe, _pA],
|
|
829
|
+
[0, 4, [() => CaseTitle, 0], 0, 0, 0, 4, 4, 0, 0],
|
|
830
|
+
];
|
|
831
|
+
var ListCasesRequest = [3, n0, _LCR, 0, [_nT, _mR], [0, 1]];
|
|
832
|
+
var ListCasesResponse = [
|
|
833
|
+
3,
|
|
834
|
+
n0,
|
|
835
|
+
_LCRi,
|
|
836
|
+
0,
|
|
837
|
+
[_nT, _i, _to],
|
|
838
|
+
[0, [() => ListCasesItems, 0], 1],
|
|
839
|
+
];
|
|
840
|
+
var ListCommentsItem = [
|
|
841
|
+
3,
|
|
842
|
+
n0,
|
|
843
|
+
_LCIi,
|
|
844
|
+
0,
|
|
845
|
+
[_cIo, _cD, _lUD, _cr, _lUB, _b],
|
|
846
|
+
[0, 4, 4, 0, 0, [() => CommentBody, 0]],
|
|
847
|
+
];
|
|
848
|
+
var ListCommentsRequest = [3, n0, _LCRis, 0, [_nT, _mR, _cI], [0, 1, [0, 1]]];
|
|
849
|
+
var ListCommentsResponse = [
|
|
850
|
+
3,
|
|
851
|
+
n0,
|
|
852
|
+
_LCRist,
|
|
853
|
+
0,
|
|
854
|
+
[_nT, _i, _to],
|
|
855
|
+
[0, [() => ListCommentsItems, 0], 1],
|
|
856
|
+
];
|
|
857
|
+
var ListMembershipItem = [3, n0, _LMI, 0, [_mI, _aIc, _r, _mA, _mS], [0, 0, 0, 0, 0]];
|
|
858
|
+
var ListMembershipsRequest = [3, n0, _LMR, 0, [_nT, _mR], [0, 1]];
|
|
859
|
+
var ListMembershipsResponse = [
|
|
860
|
+
3,
|
|
861
|
+
n0,
|
|
862
|
+
_LMRi,
|
|
863
|
+
0,
|
|
864
|
+
[_nT, _i],
|
|
865
|
+
[0, () => ListMembershipItems],
|
|
866
|
+
];
|
|
867
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
|
|
868
|
+
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_ta], [128 | 0]];
|
|
869
|
+
var MembershipAccountsConfigurations = [3, n0, _MAC, 0, [_cEO, _oU], [2, 64 | 0]];
|
|
870
|
+
var MembershipAccountsConfigurationsUpdate = [
|
|
871
|
+
3,
|
|
872
|
+
n0,
|
|
873
|
+
_MACU,
|
|
874
|
+
0,
|
|
875
|
+
[_cEO, _oUTA, _oUTR],
|
|
876
|
+
[2, 64 | 0, 64 | 0],
|
|
877
|
+
];
|
|
878
|
+
var OptInFeature = [3, n0, _OIF, 0, [_fNe, _iE], [0, 2]];
|
|
879
|
+
var ResourceNotFoundException = [
|
|
880
|
+
-3,
|
|
881
|
+
n0,
|
|
882
|
+
_RNFE,
|
|
883
|
+
{
|
|
884
|
+
[_e]: _c,
|
|
885
|
+
[_hE]: 404,
|
|
886
|
+
},
|
|
887
|
+
[_m],
|
|
888
|
+
[0],
|
|
889
|
+
];
|
|
890
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
891
|
+
var SecurityIncidentResponseNotActiveException = [
|
|
892
|
+
-3,
|
|
893
|
+
n0,
|
|
894
|
+
_SIRNAE,
|
|
895
|
+
{
|
|
896
|
+
[_e]: _c,
|
|
897
|
+
[_hE]: 400,
|
|
898
|
+
},
|
|
899
|
+
[_m],
|
|
900
|
+
[0],
|
|
901
|
+
];
|
|
902
|
+
schema.TypeRegistry.for(n0).registerError(SecurityIncidentResponseNotActiveException, SecurityIncidentResponseNotActiveException$1);
|
|
903
|
+
var ServiceQuotaExceededException = [
|
|
904
|
+
-3,
|
|
905
|
+
n0,
|
|
906
|
+
_SQEE,
|
|
907
|
+
{
|
|
908
|
+
[_e]: _c,
|
|
909
|
+
[_hE]: 402,
|
|
910
|
+
},
|
|
911
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
912
|
+
[0, 0, 0, 0, 0],
|
|
913
|
+
];
|
|
914
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
915
|
+
var TagResourceInput = [3, n0, _TRI, 0, [_rA, _ta], [[0, 1], 128 | 0]];
|
|
916
|
+
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
917
|
+
var ThreatActorIp = [3, n0, _TAI, 0, [_iAp, _uA], [[() => IPAddress, 0], 0]];
|
|
918
|
+
var ThrottlingException = [
|
|
919
|
+
-3,
|
|
920
|
+
n0,
|
|
921
|
+
_TE,
|
|
922
|
+
{
|
|
923
|
+
[_e]: _c,
|
|
924
|
+
[_hE]: 429,
|
|
925
|
+
},
|
|
926
|
+
[_m, _sC, _qC, _rAS],
|
|
927
|
+
[
|
|
928
|
+
0,
|
|
929
|
+
0,
|
|
930
|
+
0,
|
|
931
|
+
[
|
|
932
|
+
1,
|
|
933
|
+
{
|
|
934
|
+
[_hH]: _RA,
|
|
935
|
+
},
|
|
936
|
+
],
|
|
937
|
+
],
|
|
938
|
+
];
|
|
939
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
940
|
+
var UntagResourceInput = [
|
|
941
|
+
3,
|
|
942
|
+
n0,
|
|
943
|
+
_URI,
|
|
944
|
+
0,
|
|
945
|
+
[_rA, _tK],
|
|
946
|
+
[
|
|
947
|
+
[0, 1],
|
|
948
|
+
[
|
|
949
|
+
64 | 0,
|
|
950
|
+
{
|
|
951
|
+
[_hQ]: _tK,
|
|
952
|
+
},
|
|
953
|
+
],
|
|
954
|
+
],
|
|
955
|
+
];
|
|
956
|
+
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
957
|
+
var UpdateCaseCommentRequest = [
|
|
958
|
+
3,
|
|
959
|
+
n0,
|
|
960
|
+
_UCCR,
|
|
961
|
+
0,
|
|
962
|
+
[_cI, _cIo, _b],
|
|
963
|
+
[
|
|
964
|
+
[0, 1],
|
|
965
|
+
[0, 1],
|
|
966
|
+
[() => CommentBody, 0],
|
|
967
|
+
],
|
|
968
|
+
];
|
|
969
|
+
var UpdateCaseCommentResponse = [
|
|
970
|
+
3,
|
|
971
|
+
n0,
|
|
972
|
+
_UCCRp,
|
|
973
|
+
0,
|
|
974
|
+
[_cIo, _b],
|
|
975
|
+
[0, [() => CommentBody, 0]],
|
|
976
|
+
];
|
|
977
|
+
var UpdateCaseRequest = [
|
|
978
|
+
3,
|
|
979
|
+
n0,
|
|
980
|
+
_UCR,
|
|
981
|
+
0,
|
|
982
|
+
[_cI, _t, _d, _rISD, _aISD, _eTn, _wTA, _wTD, _tAIATA, _tAIATD, _iSTA, _iSTD, _iARTA, _iARTD, _iATA, _iATD],
|
|
983
|
+
[
|
|
984
|
+
[0, 1],
|
|
985
|
+
[() => CaseTitle, 0],
|
|
986
|
+
[() => CaseDescription, 0],
|
|
987
|
+
4,
|
|
988
|
+
4,
|
|
989
|
+
0,
|
|
990
|
+
[() => Watchers, 0],
|
|
991
|
+
[() => Watchers, 0],
|
|
992
|
+
[() => ThreatActorIpList, 0],
|
|
993
|
+
[() => ThreatActorIpList, 0],
|
|
994
|
+
64 | 0,
|
|
995
|
+
64 | 0,
|
|
996
|
+
() => ImpactedAwsRegionList,
|
|
997
|
+
() => ImpactedAwsRegionList,
|
|
998
|
+
64 | 0,
|
|
999
|
+
64 | 0,
|
|
1000
|
+
],
|
|
1001
|
+
];
|
|
1002
|
+
var UpdateCaseResponse = [3, n0, _UCRp, 0, [], []];
|
|
1003
|
+
var UpdateCaseStatusRequest = [3, n0, _UCSR, 0, [_cI, _cS], [[0, 1], 0]];
|
|
1004
|
+
var UpdateCaseStatusResponse = [3, n0, _UCSRp, 0, [_cS], [0]];
|
|
1005
|
+
var UpdateMembershipRequest = [
|
|
1006
|
+
3,
|
|
1007
|
+
n0,
|
|
1008
|
+
_UMR,
|
|
1009
|
+
0,
|
|
1010
|
+
[_mI, _mN, _iRT, _oIF, _mACU, _uMC],
|
|
1011
|
+
[
|
|
1012
|
+
[0, 1],
|
|
1013
|
+
[() => MembershipName, 0],
|
|
1014
|
+
[() => IncidentResponseTeam, 0],
|
|
1015
|
+
() => OptInFeatures,
|
|
1016
|
+
() => MembershipAccountsConfigurationsUpdate,
|
|
1017
|
+
2,
|
|
1018
|
+
],
|
|
1019
|
+
];
|
|
1020
|
+
var UpdateMembershipResponse = [3, n0, _UMRp, 0, [], []];
|
|
1021
|
+
var UpdateResolverTypeRequest = [3, n0, _URTR, 0, [_cI, _rTe], [[0, 1], 0]];
|
|
1022
|
+
var UpdateResolverTypeResponse = [3, n0, _URTRp, 0, [_cI, _cS, _rTe], [0, 0, 0]];
|
|
1023
|
+
var ValidationException = [
|
|
1024
|
+
-3,
|
|
1025
|
+
n0,
|
|
1026
|
+
_VE,
|
|
1027
|
+
{
|
|
1028
|
+
[_e]: _c,
|
|
1029
|
+
[_hE]: 400,
|
|
1030
|
+
},
|
|
1031
|
+
[_m, _re, _fL],
|
|
1032
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
1033
|
+
];
|
|
1034
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1035
|
+
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
1036
|
+
var Watcher = [
|
|
1037
|
+
3,
|
|
1038
|
+
n0,
|
|
1039
|
+
_W,
|
|
1040
|
+
0,
|
|
1041
|
+
[_em, _n, _jT],
|
|
1042
|
+
[
|
|
1043
|
+
[() => EmailAddress, 0],
|
|
1044
|
+
[() => PersonName, 0],
|
|
1045
|
+
[() => JobTitle, 0],
|
|
1046
|
+
],
|
|
1047
|
+
];
|
|
1048
|
+
var SecurityIRServiceException = [-3, _sm, "SecurityIRServiceException", 0, [], []];
|
|
1049
|
+
schema.TypeRegistry.for(_sm).registerError(SecurityIRServiceException, SecurityIRServiceException$1);
|
|
1050
|
+
var CaseAttachmentsList = [1, n0, _CAL, 0, [() => CaseAttachmentAttributes, 0]];
|
|
1051
|
+
var CaseEditItems = [1, n0, _CEIa, 0, () => CaseEditItem];
|
|
1052
|
+
var GetMembershipAccountDetailErrors = [
|
|
1053
|
+
1,
|
|
1054
|
+
n0,
|
|
1055
|
+
_GMADEe,
|
|
1056
|
+
0,
|
|
1057
|
+
() => GetMembershipAccountDetailError,
|
|
1058
|
+
];
|
|
1059
|
+
var GetMembershipAccountDetailItems = [
|
|
1060
|
+
1,
|
|
1061
|
+
n0,
|
|
1062
|
+
_GMADIe,
|
|
1063
|
+
0,
|
|
1064
|
+
() => GetMembershipAccountDetailItem,
|
|
1065
|
+
];
|
|
1066
|
+
var ImpactedAwsRegionList = [1, n0, _IARL, 0, () => ImpactedAwsRegion];
|
|
1067
|
+
var IncidentResponseTeam = [1, n0, _IRT, 0, [() => IncidentResponder, 0]];
|
|
1068
|
+
var ListCasesItems = [1, n0, _LCIis, 0, [() => ListCasesItem, 0]];
|
|
1069
|
+
var ListCommentsItems = [1, n0, _LCIist, 0, [() => ListCommentsItem, 0]];
|
|
1070
|
+
var ListMembershipItems = [1, n0, _LMIi, 0, () => ListMembershipItem];
|
|
1071
|
+
var OptInFeatures = [1, n0, _OIFp, 0, () => OptInFeature];
|
|
1072
|
+
var ThreatActorIpList = [1, n0, _TAIL, 0, [() => ThreatActorIp, 0]];
|
|
1073
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
1074
|
+
var Watchers = [1, n0, _Wa, 0, [() => Watcher, 0]];
|
|
1075
|
+
var BatchGetMemberAccountDetails = [
|
|
1076
|
+
9,
|
|
1077
|
+
n0,
|
|
1078
|
+
_BGMAD,
|
|
1079
|
+
{
|
|
1080
|
+
[_h]: ["POST", "/v1/membership/{membershipId}/batch-member-details", 200],
|
|
1081
|
+
},
|
|
1082
|
+
() => BatchGetMemberAccountDetailsRequest,
|
|
1083
|
+
() => BatchGetMemberAccountDetailsResponse,
|
|
1084
|
+
];
|
|
1085
|
+
var CancelMembership = [
|
|
1086
|
+
9,
|
|
1087
|
+
n0,
|
|
1088
|
+
_CM,
|
|
1089
|
+
{
|
|
1090
|
+
[_h]: ["PUT", "/v1/membership/{membershipId}", 200],
|
|
1091
|
+
},
|
|
1092
|
+
() => CancelMembershipRequest,
|
|
1093
|
+
() => CancelMembershipResponse,
|
|
1094
|
+
];
|
|
1095
|
+
var CloseCase = [
|
|
1096
|
+
9,
|
|
1097
|
+
n0,
|
|
1098
|
+
_CC,
|
|
1099
|
+
{
|
|
1100
|
+
[_h]: ["POST", "/v1/cases/{caseId}/close-case", 200],
|
|
1101
|
+
},
|
|
1102
|
+
() => CloseCaseRequest,
|
|
1103
|
+
() => CloseCaseResponse,
|
|
1104
|
+
];
|
|
1105
|
+
var CreateCase = [
|
|
1106
|
+
9,
|
|
1107
|
+
n0,
|
|
1108
|
+
_CCr,
|
|
1109
|
+
{
|
|
1110
|
+
[_h]: ["POST", "/v1/create-case", 201],
|
|
1111
|
+
},
|
|
1112
|
+
() => CreateCaseRequest,
|
|
1113
|
+
() => CreateCaseResponse,
|
|
1114
|
+
];
|
|
1115
|
+
var CreateCaseComment = [
|
|
1116
|
+
9,
|
|
1117
|
+
n0,
|
|
1118
|
+
_CCC,
|
|
1119
|
+
{
|
|
1120
|
+
[_h]: ["POST", "/v1/cases/{caseId}/create-comment", 201],
|
|
1121
|
+
},
|
|
1122
|
+
() => CreateCaseCommentRequest,
|
|
1123
|
+
() => CreateCaseCommentResponse,
|
|
1124
|
+
];
|
|
1125
|
+
var CreateMembership = [
|
|
1126
|
+
9,
|
|
1127
|
+
n0,
|
|
1128
|
+
_CMr,
|
|
1129
|
+
{
|
|
1130
|
+
[_h]: ["POST", "/v1/membership", 201],
|
|
1131
|
+
},
|
|
1132
|
+
() => CreateMembershipRequest,
|
|
1133
|
+
() => CreateMembershipResponse,
|
|
1134
|
+
];
|
|
1135
|
+
var GetCase = [
|
|
1136
|
+
9,
|
|
1137
|
+
n0,
|
|
1138
|
+
_GC,
|
|
1139
|
+
{
|
|
1140
|
+
[_h]: ["GET", "/v1/cases/{caseId}/get-case", 200],
|
|
1141
|
+
},
|
|
1142
|
+
() => GetCaseRequest,
|
|
1143
|
+
() => GetCaseResponse,
|
|
1144
|
+
];
|
|
1145
|
+
var GetCaseAttachmentDownloadUrl = [
|
|
1146
|
+
9,
|
|
1147
|
+
n0,
|
|
1148
|
+
_GCADU,
|
|
1149
|
+
{
|
|
1150
|
+
[_h]: ["GET", "/v1/cases/{caseId}/get-presigned-url/{attachmentId}", 201],
|
|
1151
|
+
},
|
|
1152
|
+
() => GetCaseAttachmentDownloadUrlRequest,
|
|
1153
|
+
() => GetCaseAttachmentDownloadUrlResponse,
|
|
1154
|
+
];
|
|
1155
|
+
var GetCaseAttachmentUploadUrl = [
|
|
1156
|
+
9,
|
|
1157
|
+
n0,
|
|
1158
|
+
_GCAUU,
|
|
1159
|
+
{
|
|
1160
|
+
[_h]: ["POST", "/v1/cases/{caseId}/get-presigned-url", 201],
|
|
1161
|
+
},
|
|
1162
|
+
() => GetCaseAttachmentUploadUrlRequest,
|
|
1163
|
+
() => GetCaseAttachmentUploadUrlResponse,
|
|
1164
|
+
];
|
|
1165
|
+
var GetMembership = [
|
|
1166
|
+
9,
|
|
1167
|
+
n0,
|
|
1168
|
+
_GM,
|
|
1169
|
+
{
|
|
1170
|
+
[_h]: ["GET", "/v1/membership/{membershipId}", 200],
|
|
1171
|
+
},
|
|
1172
|
+
() => GetMembershipRequest,
|
|
1173
|
+
() => GetMembershipResponse,
|
|
1174
|
+
];
|
|
1175
|
+
var ListCaseEdits = [
|
|
1176
|
+
9,
|
|
1177
|
+
n0,
|
|
1178
|
+
_LCE,
|
|
1179
|
+
{
|
|
1180
|
+
[_h]: ["POST", "/v1/cases/{caseId}/list-case-edits", 200],
|
|
1181
|
+
},
|
|
1182
|
+
() => ListCaseEditsRequest,
|
|
1183
|
+
() => ListCaseEditsResponse,
|
|
1184
|
+
];
|
|
1185
|
+
var ListCases = [
|
|
1186
|
+
9,
|
|
1187
|
+
n0,
|
|
1188
|
+
_LC,
|
|
1189
|
+
{
|
|
1190
|
+
[_h]: ["POST", "/v1/list-cases", 200],
|
|
1191
|
+
},
|
|
1192
|
+
() => ListCasesRequest,
|
|
1193
|
+
() => ListCasesResponse,
|
|
1194
|
+
];
|
|
1195
|
+
var ListComments = [
|
|
1196
|
+
9,
|
|
1197
|
+
n0,
|
|
1198
|
+
_LCi,
|
|
1199
|
+
{
|
|
1200
|
+
[_h]: ["POST", "/v1/cases/{caseId}/list-comments", 200],
|
|
1201
|
+
},
|
|
1202
|
+
() => ListCommentsRequest,
|
|
1203
|
+
() => ListCommentsResponse,
|
|
1204
|
+
];
|
|
1205
|
+
var ListMemberships = [
|
|
1206
|
+
9,
|
|
1207
|
+
n0,
|
|
1208
|
+
_LM,
|
|
1209
|
+
{
|
|
1210
|
+
[_h]: ["POST", "/v1/memberships", 200],
|
|
1211
|
+
},
|
|
1212
|
+
() => ListMembershipsRequest,
|
|
1213
|
+
() => ListMembershipsResponse,
|
|
1214
|
+
];
|
|
1215
|
+
var ListTagsForResource = [
|
|
1216
|
+
9,
|
|
1217
|
+
n0,
|
|
1218
|
+
_LTFR,
|
|
1219
|
+
{
|
|
1220
|
+
[_h]: ["GET", "/v1/tags/{resourceArn}", 200],
|
|
1221
|
+
},
|
|
1222
|
+
() => ListTagsForResourceInput,
|
|
1223
|
+
() => ListTagsForResourceOutput,
|
|
1224
|
+
];
|
|
1225
|
+
var TagResource = [
|
|
1226
|
+
9,
|
|
1227
|
+
n0,
|
|
1228
|
+
_TR,
|
|
1229
|
+
{
|
|
1230
|
+
[_h]: ["POST", "/v1/tags/{resourceArn}", 204],
|
|
1231
|
+
},
|
|
1232
|
+
() => TagResourceInput,
|
|
1233
|
+
() => TagResourceOutput,
|
|
1234
|
+
];
|
|
1235
|
+
var UntagResource = [
|
|
1236
|
+
9,
|
|
1237
|
+
n0,
|
|
1238
|
+
_UR,
|
|
1239
|
+
{
|
|
1240
|
+
[_h]: ["DELETE", "/v1/tags/{resourceArn}", 200],
|
|
1241
|
+
},
|
|
1242
|
+
() => UntagResourceInput,
|
|
1243
|
+
() => UntagResourceOutput,
|
|
1244
|
+
];
|
|
1245
|
+
var UpdateCase = [
|
|
1246
|
+
9,
|
|
1247
|
+
n0,
|
|
1248
|
+
_UC,
|
|
1249
|
+
{
|
|
1250
|
+
[_h]: ["POST", "/v1/cases/{caseId}/update-case", 200],
|
|
1251
|
+
},
|
|
1252
|
+
() => UpdateCaseRequest,
|
|
1253
|
+
() => UpdateCaseResponse,
|
|
1254
|
+
];
|
|
1255
|
+
var UpdateCaseComment = [
|
|
1256
|
+
9,
|
|
1257
|
+
n0,
|
|
1258
|
+
_UCC,
|
|
1259
|
+
{
|
|
1260
|
+
[_h]: ["PUT", "/v1/cases/{caseId}/update-case-comment/{commentId}", 200],
|
|
1261
|
+
},
|
|
1262
|
+
() => UpdateCaseCommentRequest,
|
|
1263
|
+
() => UpdateCaseCommentResponse,
|
|
1264
|
+
];
|
|
1265
|
+
var UpdateCaseStatus = [
|
|
1266
|
+
9,
|
|
1267
|
+
n0,
|
|
1268
|
+
_UCS,
|
|
1269
|
+
{
|
|
1270
|
+
[_h]: ["POST", "/v1/cases/{caseId}/update-case-status", 201],
|
|
1271
|
+
},
|
|
1272
|
+
() => UpdateCaseStatusRequest,
|
|
1273
|
+
() => UpdateCaseStatusResponse,
|
|
1274
|
+
];
|
|
1275
|
+
var UpdateMembership = [
|
|
1276
|
+
9,
|
|
1277
|
+
n0,
|
|
1278
|
+
_UM,
|
|
1279
|
+
{
|
|
1280
|
+
[_h]: ["PUT", "/v1/membership/{membershipId}/update-membership", 200],
|
|
1281
|
+
},
|
|
1282
|
+
() => UpdateMembershipRequest,
|
|
1283
|
+
() => UpdateMembershipResponse,
|
|
1284
|
+
];
|
|
1285
|
+
var UpdateResolverType = [
|
|
1286
|
+
9,
|
|
1287
|
+
n0,
|
|
1288
|
+
_URT,
|
|
1289
|
+
{
|
|
1290
|
+
[_h]: ["POST", "/v1/cases/{caseId}/update-resolver-type", 200],
|
|
1291
|
+
},
|
|
1292
|
+
() => UpdateResolverTypeRequest,
|
|
1293
|
+
() => UpdateResolverTypeResponse,
|
|
1294
|
+
];
|
|
1382
1295
|
|
|
1383
1296
|
class BatchGetMemberAccountDetailsCommand extends smithyClient.Command
|
|
1384
1297
|
.classBuilder()
|
|
1385
1298
|
.ep(commonParams)
|
|
1386
1299
|
.m(function (Command, cs, config, o) {
|
|
1387
|
-
return [
|
|
1388
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1389
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1390
|
-
];
|
|
1300
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1391
1301
|
})
|
|
1392
1302
|
.s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
|
|
1393
1303
|
.n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
|
|
1394
|
-
.
|
|
1395
|
-
.ser(se_BatchGetMemberAccountDetailsCommand)
|
|
1396
|
-
.de(de_BatchGetMemberAccountDetailsCommand)
|
|
1304
|
+
.sc(BatchGetMemberAccountDetails)
|
|
1397
1305
|
.build() {
|
|
1398
1306
|
}
|
|
1399
1307
|
|
|
@@ -1401,16 +1309,11 @@ class CancelMembershipCommand extends smithyClient.Command
|
|
|
1401
1309
|
.classBuilder()
|
|
1402
1310
|
.ep(commonParams)
|
|
1403
1311
|
.m(function (Command, cs, config, o) {
|
|
1404
|
-
return [
|
|
1405
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1406
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1407
|
-
];
|
|
1312
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1408
1313
|
})
|
|
1409
1314
|
.s("SecurityIncidentResponse", "CancelMembership", {})
|
|
1410
1315
|
.n("SecurityIRClient", "CancelMembershipCommand")
|
|
1411
|
-
.
|
|
1412
|
-
.ser(se_CancelMembershipCommand)
|
|
1413
|
-
.de(de_CancelMembershipCommand)
|
|
1316
|
+
.sc(CancelMembership)
|
|
1414
1317
|
.build() {
|
|
1415
1318
|
}
|
|
1416
1319
|
|
|
@@ -1418,16 +1321,11 @@ class CloseCaseCommand extends smithyClient.Command
|
|
|
1418
1321
|
.classBuilder()
|
|
1419
1322
|
.ep(commonParams)
|
|
1420
1323
|
.m(function (Command, cs, config, o) {
|
|
1421
|
-
return [
|
|
1422
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1423
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1424
|
-
];
|
|
1324
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1425
1325
|
})
|
|
1426
1326
|
.s("SecurityIncidentResponse", "CloseCase", {})
|
|
1427
1327
|
.n("SecurityIRClient", "CloseCaseCommand")
|
|
1428
|
-
.
|
|
1429
|
-
.ser(se_CloseCaseCommand)
|
|
1430
|
-
.de(de_CloseCaseCommand)
|
|
1328
|
+
.sc(CloseCase)
|
|
1431
1329
|
.build() {
|
|
1432
1330
|
}
|
|
1433
1331
|
|
|
@@ -1435,16 +1333,11 @@ class CreateCaseCommand extends smithyClient.Command
|
|
|
1435
1333
|
.classBuilder()
|
|
1436
1334
|
.ep(commonParams)
|
|
1437
1335
|
.m(function (Command, cs, config, o) {
|
|
1438
|
-
return [
|
|
1439
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1440
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1441
|
-
];
|
|
1336
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1442
1337
|
})
|
|
1443
1338
|
.s("SecurityIncidentResponse", "CreateCase", {})
|
|
1444
1339
|
.n("SecurityIRClient", "CreateCaseCommand")
|
|
1445
|
-
.
|
|
1446
|
-
.ser(se_CreateCaseCommand)
|
|
1447
|
-
.de(de_CreateCaseCommand)
|
|
1340
|
+
.sc(CreateCase)
|
|
1448
1341
|
.build() {
|
|
1449
1342
|
}
|
|
1450
1343
|
|
|
@@ -1452,16 +1345,11 @@ class CreateCaseCommentCommand extends smithyClient.Command
|
|
|
1452
1345
|
.classBuilder()
|
|
1453
1346
|
.ep(commonParams)
|
|
1454
1347
|
.m(function (Command, cs, config, o) {
|
|
1455
|
-
return [
|
|
1456
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1457
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1458
|
-
];
|
|
1348
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1459
1349
|
})
|
|
1460
1350
|
.s("SecurityIncidentResponse", "CreateCaseComment", {})
|
|
1461
1351
|
.n("SecurityIRClient", "CreateCaseCommentCommand")
|
|
1462
|
-
.
|
|
1463
|
-
.ser(se_CreateCaseCommentCommand)
|
|
1464
|
-
.de(de_CreateCaseCommentCommand)
|
|
1352
|
+
.sc(CreateCaseComment)
|
|
1465
1353
|
.build() {
|
|
1466
1354
|
}
|
|
1467
1355
|
|
|
@@ -1469,16 +1357,11 @@ class CreateMembershipCommand extends smithyClient.Command
|
|
|
1469
1357
|
.classBuilder()
|
|
1470
1358
|
.ep(commonParams)
|
|
1471
1359
|
.m(function (Command, cs, config, o) {
|
|
1472
|
-
return [
|
|
1473
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1474
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1475
|
-
];
|
|
1360
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1476
1361
|
})
|
|
1477
1362
|
.s("SecurityIncidentResponse", "CreateMembership", {})
|
|
1478
1363
|
.n("SecurityIRClient", "CreateMembershipCommand")
|
|
1479
|
-
.
|
|
1480
|
-
.ser(se_CreateMembershipCommand)
|
|
1481
|
-
.de(de_CreateMembershipCommand)
|
|
1364
|
+
.sc(CreateMembership)
|
|
1482
1365
|
.build() {
|
|
1483
1366
|
}
|
|
1484
1367
|
|
|
@@ -1486,16 +1369,11 @@ class GetCaseAttachmentDownloadUrlCommand extends smithyClient.Command
|
|
|
1486
1369
|
.classBuilder()
|
|
1487
1370
|
.ep(commonParams)
|
|
1488
1371
|
.m(function (Command, cs, config, o) {
|
|
1489
|
-
return [
|
|
1490
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1491
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1492
|
-
];
|
|
1372
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1493
1373
|
})
|
|
1494
1374
|
.s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
|
|
1495
1375
|
.n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
|
|
1496
|
-
.
|
|
1497
|
-
.ser(se_GetCaseAttachmentDownloadUrlCommand)
|
|
1498
|
-
.de(de_GetCaseAttachmentDownloadUrlCommand)
|
|
1376
|
+
.sc(GetCaseAttachmentDownloadUrl)
|
|
1499
1377
|
.build() {
|
|
1500
1378
|
}
|
|
1501
1379
|
|
|
@@ -1503,16 +1381,11 @@ class GetCaseAttachmentUploadUrlCommand extends smithyClient.Command
|
|
|
1503
1381
|
.classBuilder()
|
|
1504
1382
|
.ep(commonParams)
|
|
1505
1383
|
.m(function (Command, cs, config, o) {
|
|
1506
|
-
return [
|
|
1507
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1508
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1509
|
-
];
|
|
1384
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1510
1385
|
})
|
|
1511
1386
|
.s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
|
|
1512
1387
|
.n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
|
|
1513
|
-
.
|
|
1514
|
-
.ser(se_GetCaseAttachmentUploadUrlCommand)
|
|
1515
|
-
.de(de_GetCaseAttachmentUploadUrlCommand)
|
|
1388
|
+
.sc(GetCaseAttachmentUploadUrl)
|
|
1516
1389
|
.build() {
|
|
1517
1390
|
}
|
|
1518
1391
|
|
|
@@ -1520,16 +1393,11 @@ class GetCaseCommand extends smithyClient.Command
|
|
|
1520
1393
|
.classBuilder()
|
|
1521
1394
|
.ep(commonParams)
|
|
1522
1395
|
.m(function (Command, cs, config, o) {
|
|
1523
|
-
return [
|
|
1524
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1525
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1526
|
-
];
|
|
1396
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1527
1397
|
})
|
|
1528
1398
|
.s("SecurityIncidentResponse", "GetCase", {})
|
|
1529
1399
|
.n("SecurityIRClient", "GetCaseCommand")
|
|
1530
|
-
.
|
|
1531
|
-
.ser(se_GetCaseCommand)
|
|
1532
|
-
.de(de_GetCaseCommand)
|
|
1400
|
+
.sc(GetCase)
|
|
1533
1401
|
.build() {
|
|
1534
1402
|
}
|
|
1535
1403
|
|
|
@@ -1537,16 +1405,11 @@ class GetMembershipCommand extends smithyClient.Command
|
|
|
1537
1405
|
.classBuilder()
|
|
1538
1406
|
.ep(commonParams)
|
|
1539
1407
|
.m(function (Command, cs, config, o) {
|
|
1540
|
-
return [
|
|
1541
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1542
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1543
|
-
];
|
|
1408
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1544
1409
|
})
|
|
1545
1410
|
.s("SecurityIncidentResponse", "GetMembership", {})
|
|
1546
1411
|
.n("SecurityIRClient", "GetMembershipCommand")
|
|
1547
|
-
.
|
|
1548
|
-
.ser(se_GetMembershipCommand)
|
|
1549
|
-
.de(de_GetMembershipCommand)
|
|
1412
|
+
.sc(GetMembership)
|
|
1550
1413
|
.build() {
|
|
1551
1414
|
}
|
|
1552
1415
|
|
|
@@ -1554,16 +1417,11 @@ class ListCaseEditsCommand extends smithyClient.Command
|
|
|
1554
1417
|
.classBuilder()
|
|
1555
1418
|
.ep(commonParams)
|
|
1556
1419
|
.m(function (Command, cs, config, o) {
|
|
1557
|
-
return [
|
|
1558
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1559
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1560
|
-
];
|
|
1420
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1561
1421
|
})
|
|
1562
1422
|
.s("SecurityIncidentResponse", "ListCaseEdits", {})
|
|
1563
1423
|
.n("SecurityIRClient", "ListCaseEditsCommand")
|
|
1564
|
-
.
|
|
1565
|
-
.ser(se_ListCaseEditsCommand)
|
|
1566
|
-
.de(de_ListCaseEditsCommand)
|
|
1424
|
+
.sc(ListCaseEdits)
|
|
1567
1425
|
.build() {
|
|
1568
1426
|
}
|
|
1569
1427
|
|
|
@@ -1571,16 +1429,11 @@ class ListCasesCommand extends smithyClient.Command
|
|
|
1571
1429
|
.classBuilder()
|
|
1572
1430
|
.ep(commonParams)
|
|
1573
1431
|
.m(function (Command, cs, config, o) {
|
|
1574
|
-
return [
|
|
1575
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1576
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1577
|
-
];
|
|
1432
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1578
1433
|
})
|
|
1579
1434
|
.s("SecurityIncidentResponse", "ListCases", {})
|
|
1580
1435
|
.n("SecurityIRClient", "ListCasesCommand")
|
|
1581
|
-
.
|
|
1582
|
-
.ser(se_ListCasesCommand)
|
|
1583
|
-
.de(de_ListCasesCommand)
|
|
1436
|
+
.sc(ListCases)
|
|
1584
1437
|
.build() {
|
|
1585
1438
|
}
|
|
1586
1439
|
|
|
@@ -1588,16 +1441,11 @@ class ListCommentsCommand extends smithyClient.Command
|
|
|
1588
1441
|
.classBuilder()
|
|
1589
1442
|
.ep(commonParams)
|
|
1590
1443
|
.m(function (Command, cs, config, o) {
|
|
1591
|
-
return [
|
|
1592
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1593
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1594
|
-
];
|
|
1444
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1595
1445
|
})
|
|
1596
1446
|
.s("SecurityIncidentResponse", "ListComments", {})
|
|
1597
1447
|
.n("SecurityIRClient", "ListCommentsCommand")
|
|
1598
|
-
.
|
|
1599
|
-
.ser(se_ListCommentsCommand)
|
|
1600
|
-
.de(de_ListCommentsCommand)
|
|
1448
|
+
.sc(ListComments)
|
|
1601
1449
|
.build() {
|
|
1602
1450
|
}
|
|
1603
1451
|
|
|
@@ -1605,16 +1453,11 @@ class ListMembershipsCommand extends smithyClient.Command
|
|
|
1605
1453
|
.classBuilder()
|
|
1606
1454
|
.ep(commonParams)
|
|
1607
1455
|
.m(function (Command, cs, config, o) {
|
|
1608
|
-
return [
|
|
1609
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1610
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1611
|
-
];
|
|
1456
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1612
1457
|
})
|
|
1613
1458
|
.s("SecurityIncidentResponse", "ListMemberships", {})
|
|
1614
1459
|
.n("SecurityIRClient", "ListMembershipsCommand")
|
|
1615
|
-
.
|
|
1616
|
-
.ser(se_ListMembershipsCommand)
|
|
1617
|
-
.de(de_ListMembershipsCommand)
|
|
1460
|
+
.sc(ListMemberships)
|
|
1618
1461
|
.build() {
|
|
1619
1462
|
}
|
|
1620
1463
|
|
|
@@ -1622,16 +1465,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1622
1465
|
.classBuilder()
|
|
1623
1466
|
.ep(commonParams)
|
|
1624
1467
|
.m(function (Command, cs, config, o) {
|
|
1625
|
-
return [
|
|
1626
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1627
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1628
|
-
];
|
|
1468
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1629
1469
|
})
|
|
1630
1470
|
.s("SecurityIncidentResponse", "ListTagsForResource", {})
|
|
1631
1471
|
.n("SecurityIRClient", "ListTagsForResourceCommand")
|
|
1632
|
-
.
|
|
1633
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1634
|
-
.de(de_ListTagsForResourceCommand)
|
|
1472
|
+
.sc(ListTagsForResource)
|
|
1635
1473
|
.build() {
|
|
1636
1474
|
}
|
|
1637
1475
|
|
|
@@ -1639,16 +1477,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1639
1477
|
.classBuilder()
|
|
1640
1478
|
.ep(commonParams)
|
|
1641
1479
|
.m(function (Command, cs, config, o) {
|
|
1642
|
-
return [
|
|
1643
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1644
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1645
|
-
];
|
|
1480
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1646
1481
|
})
|
|
1647
1482
|
.s("SecurityIncidentResponse", "TagResource", {})
|
|
1648
1483
|
.n("SecurityIRClient", "TagResourceCommand")
|
|
1649
|
-
.
|
|
1650
|
-
.ser(se_TagResourceCommand)
|
|
1651
|
-
.de(de_TagResourceCommand)
|
|
1484
|
+
.sc(TagResource)
|
|
1652
1485
|
.build() {
|
|
1653
1486
|
}
|
|
1654
1487
|
|
|
@@ -1656,16 +1489,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1656
1489
|
.classBuilder()
|
|
1657
1490
|
.ep(commonParams)
|
|
1658
1491
|
.m(function (Command, cs, config, o) {
|
|
1659
|
-
return [
|
|
1660
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1661
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1662
|
-
];
|
|
1492
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1663
1493
|
})
|
|
1664
1494
|
.s("SecurityIncidentResponse", "UntagResource", {})
|
|
1665
1495
|
.n("SecurityIRClient", "UntagResourceCommand")
|
|
1666
|
-
.
|
|
1667
|
-
.ser(se_UntagResourceCommand)
|
|
1668
|
-
.de(de_UntagResourceCommand)
|
|
1496
|
+
.sc(UntagResource)
|
|
1669
1497
|
.build() {
|
|
1670
1498
|
}
|
|
1671
1499
|
|
|
@@ -1673,16 +1501,11 @@ class UpdateCaseCommand extends smithyClient.Command
|
|
|
1673
1501
|
.classBuilder()
|
|
1674
1502
|
.ep(commonParams)
|
|
1675
1503
|
.m(function (Command, cs, config, o) {
|
|
1676
|
-
return [
|
|
1677
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1678
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1679
|
-
];
|
|
1504
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1680
1505
|
})
|
|
1681
1506
|
.s("SecurityIncidentResponse", "UpdateCase", {})
|
|
1682
1507
|
.n("SecurityIRClient", "UpdateCaseCommand")
|
|
1683
|
-
.
|
|
1684
|
-
.ser(se_UpdateCaseCommand)
|
|
1685
|
-
.de(de_UpdateCaseCommand)
|
|
1508
|
+
.sc(UpdateCase)
|
|
1686
1509
|
.build() {
|
|
1687
1510
|
}
|
|
1688
1511
|
|
|
@@ -1690,16 +1513,11 @@ class UpdateCaseCommentCommand extends smithyClient.Command
|
|
|
1690
1513
|
.classBuilder()
|
|
1691
1514
|
.ep(commonParams)
|
|
1692
1515
|
.m(function (Command, cs, config, o) {
|
|
1693
|
-
return [
|
|
1694
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1695
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1696
|
-
];
|
|
1516
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1697
1517
|
})
|
|
1698
1518
|
.s("SecurityIncidentResponse", "UpdateCaseComment", {})
|
|
1699
1519
|
.n("SecurityIRClient", "UpdateCaseCommentCommand")
|
|
1700
|
-
.
|
|
1701
|
-
.ser(se_UpdateCaseCommentCommand)
|
|
1702
|
-
.de(de_UpdateCaseCommentCommand)
|
|
1520
|
+
.sc(UpdateCaseComment)
|
|
1703
1521
|
.build() {
|
|
1704
1522
|
}
|
|
1705
1523
|
|
|
@@ -1707,16 +1525,11 @@ class UpdateCaseStatusCommand extends smithyClient.Command
|
|
|
1707
1525
|
.classBuilder()
|
|
1708
1526
|
.ep(commonParams)
|
|
1709
1527
|
.m(function (Command, cs, config, o) {
|
|
1710
|
-
return [
|
|
1711
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1712
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1713
|
-
];
|
|
1528
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1714
1529
|
})
|
|
1715
1530
|
.s("SecurityIncidentResponse", "UpdateCaseStatus", {})
|
|
1716
1531
|
.n("SecurityIRClient", "UpdateCaseStatusCommand")
|
|
1717
|
-
.
|
|
1718
|
-
.ser(se_UpdateCaseStatusCommand)
|
|
1719
|
-
.de(de_UpdateCaseStatusCommand)
|
|
1532
|
+
.sc(UpdateCaseStatus)
|
|
1720
1533
|
.build() {
|
|
1721
1534
|
}
|
|
1722
1535
|
|
|
@@ -1724,16 +1537,11 @@ class UpdateMembershipCommand extends smithyClient.Command
|
|
|
1724
1537
|
.classBuilder()
|
|
1725
1538
|
.ep(commonParams)
|
|
1726
1539
|
.m(function (Command, cs, config, o) {
|
|
1727
|
-
return [
|
|
1728
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1729
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1730
|
-
];
|
|
1540
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1731
1541
|
})
|
|
1732
1542
|
.s("SecurityIncidentResponse", "UpdateMembership", {})
|
|
1733
1543
|
.n("SecurityIRClient", "UpdateMembershipCommand")
|
|
1734
|
-
.
|
|
1735
|
-
.ser(se_UpdateMembershipCommand)
|
|
1736
|
-
.de(de_UpdateMembershipCommand)
|
|
1544
|
+
.sc(UpdateMembership)
|
|
1737
1545
|
.build() {
|
|
1738
1546
|
}
|
|
1739
1547
|
|
|
@@ -1741,16 +1549,11 @@ class UpdateResolverTypeCommand extends smithyClient.Command
|
|
|
1741
1549
|
.classBuilder()
|
|
1742
1550
|
.ep(commonParams)
|
|
1743
1551
|
.m(function (Command, cs, config, o) {
|
|
1744
|
-
return [
|
|
1745
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1746
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1747
|
-
];
|
|
1552
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1748
1553
|
})
|
|
1749
1554
|
.s("SecurityIncidentResponse", "UpdateResolverType", {})
|
|
1750
1555
|
.n("SecurityIRClient", "UpdateResolverTypeCommand")
|
|
1751
|
-
.
|
|
1752
|
-
.ser(se_UpdateResolverTypeCommand)
|
|
1753
|
-
.de(de_UpdateResolverTypeCommand)
|
|
1556
|
+
.sc(UpdateResolverType)
|
|
1754
1557
|
.build() {
|
|
1755
1558
|
}
|
|
1756
1559
|
|
|
@@ -1798,43 +1601,30 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1798
1601
|
enumerable: true,
|
|
1799
1602
|
get: function () { return smithyClient.Client; }
|
|
1800
1603
|
});
|
|
1801
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1604
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1802
1605
|
exports.AwsRegion = AwsRegion;
|
|
1803
1606
|
exports.BatchGetMemberAccountDetailsCommand = BatchGetMemberAccountDetailsCommand;
|
|
1804
1607
|
exports.CancelMembershipCommand = CancelMembershipCommand;
|
|
1805
|
-
exports.CaseAttachmentAttributesFilterSensitiveLog = CaseAttachmentAttributesFilterSensitiveLog;
|
|
1806
1608
|
exports.CaseAttachmentStatus = CaseAttachmentStatus;
|
|
1807
1609
|
exports.CaseStatus = CaseStatus;
|
|
1808
1610
|
exports.CloseCaseCommand = CloseCaseCommand;
|
|
1809
1611
|
exports.ClosureCode = ClosureCode;
|
|
1810
|
-
exports.
|
|
1612
|
+
exports.CommunicationType = CommunicationType;
|
|
1613
|
+
exports.ConflictException = ConflictException$1;
|
|
1811
1614
|
exports.CreateCaseCommand = CreateCaseCommand;
|
|
1812
1615
|
exports.CreateCaseCommentCommand = CreateCaseCommentCommand;
|
|
1813
|
-
exports.CreateCaseCommentRequestFilterSensitiveLog = CreateCaseCommentRequestFilterSensitiveLog;
|
|
1814
|
-
exports.CreateCaseRequestFilterSensitiveLog = CreateCaseRequestFilterSensitiveLog;
|
|
1815
1616
|
exports.CreateMembershipCommand = CreateMembershipCommand;
|
|
1816
|
-
exports.CreateMembershipRequestFilterSensitiveLog = CreateMembershipRequestFilterSensitiveLog;
|
|
1817
1617
|
exports.CustomerType = CustomerType;
|
|
1818
1618
|
exports.EngagementType = EngagementType;
|
|
1819
1619
|
exports.GetCaseAttachmentDownloadUrlCommand = GetCaseAttachmentDownloadUrlCommand;
|
|
1820
|
-
exports.GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog;
|
|
1821
1620
|
exports.GetCaseAttachmentUploadUrlCommand = GetCaseAttachmentUploadUrlCommand;
|
|
1822
|
-
exports.GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = GetCaseAttachmentUploadUrlRequestFilterSensitiveLog;
|
|
1823
|
-
exports.GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = GetCaseAttachmentUploadUrlResponseFilterSensitiveLog;
|
|
1824
1621
|
exports.GetCaseCommand = GetCaseCommand;
|
|
1825
|
-
exports.GetCaseResponseFilterSensitiveLog = GetCaseResponseFilterSensitiveLog;
|
|
1826
1622
|
exports.GetMembershipCommand = GetMembershipCommand;
|
|
1827
|
-
exports.
|
|
1828
|
-
exports.
|
|
1829
|
-
exports.InternalServerException = InternalServerException;
|
|
1830
|
-
exports.InvalidTokenException = InvalidTokenException;
|
|
1623
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1624
|
+
exports.InvalidTokenException = InvalidTokenException$1;
|
|
1831
1625
|
exports.ListCaseEditsCommand = ListCaseEditsCommand;
|
|
1832
1626
|
exports.ListCasesCommand = ListCasesCommand;
|
|
1833
|
-
exports.ListCasesItemFilterSensitiveLog = ListCasesItemFilterSensitiveLog;
|
|
1834
|
-
exports.ListCasesResponseFilterSensitiveLog = ListCasesResponseFilterSensitiveLog;
|
|
1835
1627
|
exports.ListCommentsCommand = ListCommentsCommand;
|
|
1836
|
-
exports.ListCommentsItemFilterSensitiveLog = ListCommentsItemFilterSensitiveLog;
|
|
1837
|
-
exports.ListCommentsResponseFilterSensitiveLog = ListCommentsResponseFilterSensitiveLog;
|
|
1838
1628
|
exports.ListMembershipsCommand = ListMembershipsCommand;
|
|
1839
1629
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1840
1630
|
exports.MembershipAccountRelationshipStatus = MembershipAccountRelationshipStatus;
|
|
@@ -1843,29 +1633,23 @@ exports.MembershipStatus = MembershipStatus;
|
|
|
1843
1633
|
exports.OptInFeatureName = OptInFeatureName;
|
|
1844
1634
|
exports.PendingAction = PendingAction;
|
|
1845
1635
|
exports.ResolverType = ResolverType;
|
|
1846
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1636
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1847
1637
|
exports.SecurityIR = SecurityIR;
|
|
1848
1638
|
exports.SecurityIRClient = SecurityIRClient;
|
|
1849
|
-
exports.SecurityIRServiceException = SecurityIRServiceException;
|
|
1850
|
-
exports.SecurityIncidentResponseNotActiveException = SecurityIncidentResponseNotActiveException;
|
|
1639
|
+
exports.SecurityIRServiceException = SecurityIRServiceException$1;
|
|
1640
|
+
exports.SecurityIncidentResponseNotActiveException = SecurityIncidentResponseNotActiveException$1;
|
|
1851
1641
|
exports.SelfManagedCaseStatus = SelfManagedCaseStatus;
|
|
1852
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1642
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1853
1643
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1854
|
-
exports.
|
|
1855
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1644
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1856
1645
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1857
1646
|
exports.UpdateCaseCommand = UpdateCaseCommand;
|
|
1858
1647
|
exports.UpdateCaseCommentCommand = UpdateCaseCommentCommand;
|
|
1859
|
-
exports.UpdateCaseCommentRequestFilterSensitiveLog = UpdateCaseCommentRequestFilterSensitiveLog;
|
|
1860
|
-
exports.UpdateCaseCommentResponseFilterSensitiveLog = UpdateCaseCommentResponseFilterSensitiveLog;
|
|
1861
|
-
exports.UpdateCaseRequestFilterSensitiveLog = UpdateCaseRequestFilterSensitiveLog;
|
|
1862
1648
|
exports.UpdateCaseStatusCommand = UpdateCaseStatusCommand;
|
|
1863
1649
|
exports.UpdateMembershipCommand = UpdateMembershipCommand;
|
|
1864
|
-
exports.UpdateMembershipRequestFilterSensitiveLog = UpdateMembershipRequestFilterSensitiveLog;
|
|
1865
1650
|
exports.UpdateResolverTypeCommand = UpdateResolverTypeCommand;
|
|
1866
|
-
exports.ValidationException = ValidationException;
|
|
1651
|
+
exports.ValidationException = ValidationException$1;
|
|
1867
1652
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1868
|
-
exports.WatcherFilterSensitiveLog = WatcherFilterSensitiveLog;
|
|
1869
1653
|
exports.paginateListCaseEdits = paginateListCaseEdits;
|
|
1870
1654
|
exports.paginateListCases = paginateListCases;
|
|
1871
1655
|
exports.paginateListComments = paginateListComments;
|