@aws-sdk/client-security-ir 3.1074.0 → 3.1076.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 CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultSecurityIRHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { BatchGetMemberAccountDetails$, CancelMembership$, CloseCase$, CreateCase$, CreateCaseComment$, CreateMembership$, GetCaseAttachmentDownloadUrl$, GetCaseAttachmentUploadUrl$, GetCase$, GetMembership$, ListCaseEdits$, ListCases$, ListComments$, ListInvestigations$, ListMemberships$, ListTagsForResource$, SendFeedback$, TagResource$, UntagResource$, UpdateCase$, UpdateCaseComment$, UpdateCaseStatus$, UpdateMembership$, UpdateResolverType$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { SecurityIRServiceException } = require("./models/SecurityIRServiceException");
18
- exports.SecurityIRServiceException = SecurityIRServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultSecurityIRHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "security-ir",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultSecurityIRHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -29,6 +65,1027 @@ const commonParams = {
29
65
  Region: { type: "builtInParams", name: "region" },
30
66
  };
31
67
 
68
+ var version = "3.1075.0";
69
+ var packageInfo = {
70
+ version: version};
71
+
72
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
73
+ const _data = {
74
+ conditions: [
75
+ [a, [b]],
76
+ [a, c],
77
+ ["aws.partition", c, "PartitionResult"],
78
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
79
+ ],
80
+ results: [
81
+ [-1],
82
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
83
+ [b, {}],
84
+ ["https://security-ir-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
85
+ ["https://security-ir.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
86
+ [-1, "Invalid Configuration: Missing Region"]
87
+ ]
88
+ };
89
+ const root = 2;
90
+ const r = 100_000_000;
91
+ const nodes = new Int32Array([
92
+ -1, 1, -1,
93
+ 0, 6, 3,
94
+ 1, 4, r + 5,
95
+ 2, 5, r + 5,
96
+ 3, r + 3, r + 4,
97
+ 3, r + 1, r + 2,
98
+ ]);
99
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
100
+
101
+ const cache = new EndpointCache({
102
+ size: 50,
103
+ params: ["Endpoint", "Region", "UseFIPS"],
104
+ });
105
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
106
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
107
+ endpointParams: endpointParams,
108
+ logger: context.logger,
109
+ }));
110
+ };
111
+ customEndpointFunctions.aws = awsEndpointFunctions;
112
+
113
+ class SecurityIRServiceException extends ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, SecurityIRServiceException.prototype);
117
+ }
118
+ }
119
+
120
+ class AccessDeniedException extends SecurityIRServiceException {
121
+ name = "AccessDeniedException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "AccessDeniedException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
+ }
131
+ }
132
+ class ConflictException extends SecurityIRServiceException {
133
+ name = "ConflictException";
134
+ $fault = "client";
135
+ resourceId;
136
+ resourceType;
137
+ constructor(opts) {
138
+ super({
139
+ name: "ConflictException",
140
+ $fault: "client",
141
+ ...opts,
142
+ });
143
+ Object.setPrototypeOf(this, ConflictException.prototype);
144
+ this.resourceId = opts.resourceId;
145
+ this.resourceType = opts.resourceType;
146
+ }
147
+ }
148
+ class InternalServerException extends SecurityIRServiceException {
149
+ name = "InternalServerException";
150
+ $fault = "server";
151
+ $retryable = {};
152
+ retryAfterSeconds;
153
+ constructor(opts) {
154
+ super({
155
+ name: "InternalServerException",
156
+ $fault: "server",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, InternalServerException.prototype);
160
+ this.retryAfterSeconds = opts.retryAfterSeconds;
161
+ }
162
+ }
163
+ class InvalidTokenException extends SecurityIRServiceException {
164
+ name = "InvalidTokenException";
165
+ $fault = "client";
166
+ $retryable = {};
167
+ constructor(opts) {
168
+ super({
169
+ name: "InvalidTokenException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, InvalidTokenException.prototype);
174
+ }
175
+ }
176
+ class ResourceNotFoundException extends SecurityIRServiceException {
177
+ name = "ResourceNotFoundException";
178
+ $fault = "client";
179
+ constructor(opts) {
180
+ super({
181
+ name: "ResourceNotFoundException",
182
+ $fault: "client",
183
+ ...opts,
184
+ });
185
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
186
+ }
187
+ }
188
+ class SecurityIncidentResponseNotActiveException extends SecurityIRServiceException {
189
+ name = "SecurityIncidentResponseNotActiveException";
190
+ $fault = "client";
191
+ constructor(opts) {
192
+ super({
193
+ name: "SecurityIncidentResponseNotActiveException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, SecurityIncidentResponseNotActiveException.prototype);
198
+ }
199
+ }
200
+ class ServiceQuotaExceededException extends SecurityIRServiceException {
201
+ name = "ServiceQuotaExceededException";
202
+ $fault = "client";
203
+ resourceId;
204
+ resourceType;
205
+ serviceCode;
206
+ quotaCode;
207
+ constructor(opts) {
208
+ super({
209
+ name: "ServiceQuotaExceededException",
210
+ $fault: "client",
211
+ ...opts,
212
+ });
213
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
214
+ this.resourceId = opts.resourceId;
215
+ this.resourceType = opts.resourceType;
216
+ this.serviceCode = opts.serviceCode;
217
+ this.quotaCode = opts.quotaCode;
218
+ }
219
+ }
220
+ class ThrottlingException extends SecurityIRServiceException {
221
+ name = "ThrottlingException";
222
+ $fault = "client";
223
+ $retryable = {
224
+ throttling: true,
225
+ };
226
+ serviceCode;
227
+ quotaCode;
228
+ retryAfterSeconds;
229
+ constructor(opts) {
230
+ super({
231
+ name: "ThrottlingException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
236
+ this.serviceCode = opts.serviceCode;
237
+ this.quotaCode = opts.quotaCode;
238
+ this.retryAfterSeconds = opts.retryAfterSeconds;
239
+ }
240
+ }
241
+ class ValidationException extends SecurityIRServiceException {
242
+ name = "ValidationException";
243
+ $fault = "client";
244
+ reason;
245
+ fieldList;
246
+ constructor(opts) {
247
+ super({
248
+ name: "ValidationException",
249
+ $fault: "client",
250
+ ...opts,
251
+ });
252
+ Object.setPrototypeOf(this, ValidationException.prototype);
253
+ this.reason = opts.reason;
254
+ this.fieldList = opts.fieldList;
255
+ }
256
+ }
257
+
258
+ const _ADE = "AccessDeniedException";
259
+ const _BGMAD = "BatchGetMemberAccountDetails";
260
+ const _BGMADR = "BatchGetMemberAccountDetailsRequest";
261
+ const _BGMADRa = "BatchGetMemberAccountDetailsResponse";
262
+ const _CAA = "CaseAttachmentAttributes";
263
+ const _CAL = "CaseAttachmentsList";
264
+ const _CB = "CommentBody";
265
+ const _CC = "CloseCase";
266
+ const _CCC = "CreateCaseComment";
267
+ const _CCCR = "CreateCaseCommentRequest";
268
+ const _CCCRr = "CreateCaseCommentResponse";
269
+ const _CCR = "CloseCaseRequest";
270
+ const _CCRl = "CloseCaseResponse";
271
+ const _CCRr = "CreateCaseRequest";
272
+ const _CCRre = "CreateCaseResponse";
273
+ const _CCr = "CreateCase";
274
+ const _CD = "CaseDescription";
275
+ const _CE = "ConflictException";
276
+ const _CEI = "CaseEditItem";
277
+ const _CEIa = "CaseEditItems";
278
+ const _CM = "CaseMetadata";
279
+ const _CME = "CaseMetadataEntry";
280
+ const _CMR = "CancelMembershipRequest";
281
+ const _CMRa = "CancelMembershipResponse";
282
+ const _CMRr = "CreateMembershipRequest";
283
+ const _CMRre = "CreateMembershipResponse";
284
+ const _CMa = "CancelMembership";
285
+ const _CMr = "CreateMembership";
286
+ const _CT = "CaseTitle";
287
+ const _EA = "EmailAddress";
288
+ const _FN = "FileName";
289
+ const _GC = "GetCase";
290
+ const _GCADU = "GetCaseAttachmentDownloadUrl";
291
+ const _GCADUR = "GetCaseAttachmentDownloadUrlRequest";
292
+ const _GCADURe = "GetCaseAttachmentDownloadUrlResponse";
293
+ const _GCAUU = "GetCaseAttachmentUploadUrl";
294
+ const _GCAUUR = "GetCaseAttachmentUploadUrlRequest";
295
+ const _GCAUURe = "GetCaseAttachmentUploadUrlResponse";
296
+ const _GCR = "GetCaseRequest";
297
+ const _GCRe = "GetCaseResponse";
298
+ const _GM = "GetMembership";
299
+ const _GMADE = "GetMembershipAccountDetailError";
300
+ const _GMADEe = "GetMembershipAccountDetailErrors";
301
+ const _GMADI = "GetMembershipAccountDetailItem";
302
+ const _GMADIe = "GetMembershipAccountDetailItems";
303
+ const _GMR = "GetMembershipRequest";
304
+ const _GMRe = "GetMembershipResponse";
305
+ const _IA = "InvestigationAction";
306
+ const _IAL = "InvestigationActionList";
307
+ const _IAR = "ImpactedAwsRegion";
308
+ const _IARL = "ImpactedAwsRegionList";
309
+ const _IF = "InvestigationFeedback";
310
+ const _IPA = "IPAddress";
311
+ const _IR = "IncidentResponder";
312
+ const _IRN = "IncidentResponderName";
313
+ const _IRT = "IncidentResponseTeam";
314
+ const _ISE = "InternalServerException";
315
+ const _ITE = "InvalidTokenException";
316
+ const _JT = "JobTitle";
317
+ const _LC = "ListCases";
318
+ const _LCE = "ListCaseEdits";
319
+ const _LCER = "ListCaseEditsRequest";
320
+ const _LCERi = "ListCaseEditsResponse";
321
+ const _LCI = "ListCasesItem";
322
+ const _LCIi = "ListCommentsItem";
323
+ const _LCIis = "ListCasesItems";
324
+ const _LCIist = "ListCommentsItems";
325
+ const _LCR = "ListCasesRequest";
326
+ const _LCRi = "ListCasesResponse";
327
+ const _LCRis = "ListCommentsRequest";
328
+ const _LCRist = "ListCommentsResponse";
329
+ const _LCi = "ListComments";
330
+ const _LI = "ListInvestigations";
331
+ const _LIR = "ListInvestigationsRequest";
332
+ const _LIRi = "ListInvestigationsResponse";
333
+ const _LM = "ListMemberships";
334
+ const _LMI = "ListMembershipItem";
335
+ const _LMIi = "ListMembershipItems";
336
+ const _LMR = "ListMembershipsRequest";
337
+ const _LMRi = "ListMembershipsResponse";
338
+ const _LTFR = "ListTagsForResource";
339
+ const _LTFRI = "ListTagsForResourceInput";
340
+ const _LTFRO = "ListTagsForResourceOutput";
341
+ const _MAC = "MembershipAccountsConfigurations";
342
+ const _MACU = "MembershipAccountsConfigurationsUpdate";
343
+ const _MN = "MembershipName";
344
+ const _OIF = "OptInFeature";
345
+ const _OIFp = "OptInFeatures";
346
+ const _PN = "PersonName";
347
+ const _RA = "Retry-After";
348
+ const _RNFE = "ResourceNotFoundException";
349
+ const _SF = "SendFeedback";
350
+ const _SFR = "SendFeedbackRequest";
351
+ const _SFRe = "SendFeedbackResponse";
352
+ const _SIRNAE = "SecurityIncidentResponseNotActiveException";
353
+ const _SQEE = "ServiceQuotaExceededException";
354
+ const _TAI = "ThreatActorIp";
355
+ const _TAIL = "ThreatActorIpList";
356
+ const _TE = "ThrottlingException";
357
+ const _TR = "TagResource";
358
+ const _TRI = "TagResourceInput";
359
+ const _TRO = "TagResourceOutput";
360
+ const _U = "Url";
361
+ const _UC = "UpdateCase";
362
+ const _UCC = "UpdateCaseComment";
363
+ const _UCCR = "UpdateCaseCommentRequest";
364
+ const _UCCRp = "UpdateCaseCommentResponse";
365
+ const _UCR = "UpdateCaseRequest";
366
+ const _UCRp = "UpdateCaseResponse";
367
+ const _UCS = "UpdateCaseStatus";
368
+ const _UCSR = "UpdateCaseStatusRequest";
369
+ const _UCSRp = "UpdateCaseStatusResponse";
370
+ const _UM = "UpdateMembership";
371
+ const _UMR = "UpdateMembershipRequest";
372
+ const _UMRp = "UpdateMembershipResponse";
373
+ const _UR = "UntagResource";
374
+ const _URI = "UntagResourceInput";
375
+ const _URO = "UntagResourceOutput";
376
+ const _URT = "UpdateResolverType";
377
+ const _URTR = "UpdateResolverTypeRequest";
378
+ const _URTRp = "UpdateResolverTypeResponse";
379
+ const _VE = "ValidationException";
380
+ const _VEF = "ValidationExceptionField";
381
+ const _VEFL = "ValidationExceptionFieldList";
382
+ const _W = "Watcher";
383
+ const _Wa = "Watchers";
384
+ const _a = "action";
385
+ const _aI = "accountIds";
386
+ const _aISD = "actualIncidentStartDate";
387
+ const _aIc = "accountId";
388
+ const _aIt = "attachmentId";
389
+ const _aPU = "attachmentPresignedUrl";
390
+ const _aS = "attachmentStatus";
391
+ const _aT = "actionType";
392
+ const _b = "body";
393
+ const _c = "client";
394
+ const _cA = "caseArn";
395
+ const _cAa = "caseAttachments";
396
+ const _cC = "closureCode";
397
+ const _cD = "createdDate";
398
+ const _cDl = "closedDate";
399
+ const _cEO = "coverEntireOrganization";
400
+ const _cI = "caseId";
401
+ const _cIo = "commentId";
402
+ const _cL = "contentLength";
403
+ const _cM = "caseMetadata";
404
+ const _cP = "communicationPreferences";
405
+ const _cS = "caseStatus";
406
+ const _cT = "clientToken";
407
+ const _cTu = "customerType";
408
+ const _co = "content";
409
+ const _com = "comment";
410
+ const _cr = "creator";
411
+ const _d = "description";
412
+ const _e = "error";
413
+ const _eT = "eventTimestamp";
414
+ const _eTn = "engagementType";
415
+ const _em = "email";
416
+ const _er = "errors";
417
+ const _f = "feedback";
418
+ const _fL = "fieldList";
419
+ const _fN = "fileName";
420
+ const _fNe = "featureName";
421
+ const _h = "http";
422
+ const _hE = "httpError";
423
+ const _hH = "httpHeader";
424
+ const _hQ = "httpQuery";
425
+ const _i = "items";
426
+ const _iA = "impactedAccounts";
427
+ const _iAR = "impactedAwsRegions";
428
+ const _iARTA = "impactedAwsRegionsToAdd";
429
+ const _iARTD = "impactedAwsRegionsToDelete";
430
+ const _iATA = "impactedAccountsToAdd";
431
+ const _iATD = "impactedAccountsToDelete";
432
+ const _iAn = "investigationActions";
433
+ const _iAp = "ipAddress";
434
+ const _iE = "isEnabled";
435
+ const _iI = "investigationId";
436
+ const _iRT = "incidentResponseTeam";
437
+ const _iS = "impactedServices";
438
+ const _iSTA = "impactedServicesToAdd";
439
+ const _iSTD = "impactedServicesToDelete";
440
+ const _jT = "jobTitle";
441
+ const _k = "key";
442
+ const _lU = "lastUpdated";
443
+ const _lUB = "lastUpdatedBy";
444
+ const _lUD = "lastUpdatedDate";
445
+ const _m = "message";
446
+ const _mA = "membershipArn";
447
+ const _mAC = "membershipAccountsConfigurations";
448
+ const _mACU = "membershipAccountsConfigurationsUpdate";
449
+ const _mAT = "membershipActivationTimestamp";
450
+ const _mDT = "membershipDeactivationTimestamp";
451
+ const _mI = "membershipId";
452
+ const _mN = "membershipName";
453
+ const _mR = "maxResults";
454
+ const _mS = "membershipStatus";
455
+ const _n = "name";
456
+ const _nOAC = "numberOfAccountsCovered";
457
+ const _nT = "nextToken";
458
+ const _oIF = "optInFeatures";
459
+ const _oU = "organizationalUnits";
460
+ const _oUTA = "organizationalUnitsToAdd";
461
+ const _oUTR = "organizationalUnitsToRemove";
462
+ const _p = "principal";
463
+ const _pA = "pendingAction";
464
+ const _qC = "quotaCode";
465
+ const _r = "reason";
466
+ const _rA = "resourceArn";
467
+ const _rAS = "retryAfterSeconds";
468
+ const _rI = "resourceId";
469
+ const _rISD = "reportedIncidentStartDate";
470
+ const _rIe = "resultId";
471
+ const _rS = "relationshipStatus";
472
+ const _rT = "resourceType";
473
+ const _rTe = "resolverType";
474
+ const _rTel = "relationshipType";
475
+ const _re = "region";
476
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.securityir";
477
+ const _sA = "submittedAt";
478
+ const _sC = "serviceCode";
479
+ const _se = "server";
480
+ const _st = "status";
481
+ const _t = "title";
482
+ const _tAIA = "threatActorIpAddresses";
483
+ const _tAIATA = "threatActorIpAddressesToAdd";
484
+ const _tAIATD = "threatActorIpAddressesToDelete";
485
+ const _tK = "tagKeys";
486
+ const _ta = "tags";
487
+ const _to = "total";
488
+ const _u = "usefulness";
489
+ const _uA = "userAgent";
490
+ const _uMC = "undoMembershipCancellation";
491
+ const _v = "value";
492
+ const _w = "watchers";
493
+ const _wTA = "watchersToAdd";
494
+ const _wTD = "watchersToDelete";
495
+ const n0 = "com.amazonaws.securityir";
496
+ const _s_registry = TypeRegistry.for(_s);
497
+ var SecurityIRServiceException$ = [-3, _s, "SecurityIRServiceException", 0, [], []];
498
+ _s_registry.registerError(SecurityIRServiceException$, SecurityIRServiceException);
499
+ const n0_registry = TypeRegistry.for(n0);
500
+ var AccessDeniedException$ = [-3, n0, _ADE,
501
+ { [_e]: _c, [_hE]: 403 },
502
+ [_m],
503
+ [0], 1
504
+ ];
505
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
506
+ var ConflictException$ = [-3, n0, _CE,
507
+ { [_e]: _c, [_hE]: 409 },
508
+ [_m, _rI, _rT],
509
+ [0, 0, 0], 3
510
+ ];
511
+ n0_registry.registerError(ConflictException$, ConflictException);
512
+ var InternalServerException$ = [-3, n0, _ISE,
513
+ { [_e]: _se, [_hE]: 500 },
514
+ [_m, _rAS],
515
+ [0, [1, { [_hH]: _RA }]], 1
516
+ ];
517
+ n0_registry.registerError(InternalServerException$, InternalServerException);
518
+ var InvalidTokenException$ = [-3, n0, _ITE,
519
+ { [_e]: _c, [_hE]: 423 },
520
+ [_m],
521
+ [0], 1
522
+ ];
523
+ n0_registry.registerError(InvalidTokenException$, InvalidTokenException);
524
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
525
+ { [_e]: _c, [_hE]: 404 },
526
+ [_m],
527
+ [0], 1
528
+ ];
529
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
530
+ var SecurityIncidentResponseNotActiveException$ = [-3, n0, _SIRNAE,
531
+ { [_e]: _c, [_hE]: 400 },
532
+ [_m],
533
+ [0], 1
534
+ ];
535
+ n0_registry.registerError(SecurityIncidentResponseNotActiveException$, SecurityIncidentResponseNotActiveException);
536
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
537
+ { [_e]: _c, [_hE]: 402 },
538
+ [_m, _rI, _rT, _sC, _qC],
539
+ [0, 0, 0, 0, 0], 5
540
+ ];
541
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
542
+ var ThrottlingException$ = [-3, n0, _TE,
543
+ { [_e]: _c, [_hE]: 429 },
544
+ [_m, _sC, _qC, _rAS],
545
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
546
+ ];
547
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
548
+ var ValidationException$ = [-3, n0, _VE,
549
+ { [_e]: _c, [_hE]: 400 },
550
+ [_m, _r, _fL],
551
+ [0, 0, () => ValidationExceptionFieldList], 2
552
+ ];
553
+ n0_registry.registerError(ValidationException$, ValidationException);
554
+ const errorTypeRegistries = [
555
+ _s_registry,
556
+ n0_registry,
557
+ ];
558
+ var CaseDescription = [0, n0, _CD, 8, 0];
559
+ var CaseTitle = [0, n0, _CT, 8, 0];
560
+ var CommentBody = [0, n0, _CB, 8, 0];
561
+ var EmailAddress = [0, n0, _EA, 8, 0];
562
+ var FileName = [0, n0, _FN, 8, 0];
563
+ var IncidentResponderName = [0, n0, _IRN, 8, 0];
564
+ var IPAddress = [0, n0, _IPA, 8, 0];
565
+ var JobTitle = [0, n0, _JT, 8, 0];
566
+ var MembershipName = [0, n0, _MN, 8, 0];
567
+ var PersonName = [0, n0, _PN, 8, 0];
568
+ var Url = [0, n0, _U, 8, 0];
569
+ var BatchGetMemberAccountDetailsRequest$ = [3, n0, _BGMADR,
570
+ 0,
571
+ [_mI, _aI],
572
+ [[0, 1], 64 | 0], 2
573
+ ];
574
+ var BatchGetMemberAccountDetailsResponse$ = [3, n0, _BGMADRa,
575
+ 0,
576
+ [_i, _er],
577
+ [() => GetMembershipAccountDetailItems, () => GetMembershipAccountDetailErrors]
578
+ ];
579
+ var CancelMembershipRequest$ = [3, n0, _CMR,
580
+ 0,
581
+ [_mI],
582
+ [[0, 1]], 1
583
+ ];
584
+ var CancelMembershipResponse$ = [3, n0, _CMRa,
585
+ 0,
586
+ [_mI],
587
+ [0], 1
588
+ ];
589
+ var CaseAttachmentAttributes$ = [3, n0, _CAA,
590
+ 0,
591
+ [_aIt, _fN, _aS, _cr, _cD],
592
+ [0, [() => FileName, 0], 0, 0, 4], 5
593
+ ];
594
+ var CaseEditItem$ = [3, n0, _CEI,
595
+ 0,
596
+ [_eT, _p, _a, _m],
597
+ [4, 0, 0, 0]
598
+ ];
599
+ var CaseMetadataEntry$ = [3, n0, _CME,
600
+ 0,
601
+ [_k, _v],
602
+ [0, 0], 2
603
+ ];
604
+ var CloseCaseRequest$ = [3, n0, _CCR,
605
+ 0,
606
+ [_cI],
607
+ [[0, 1]], 1
608
+ ];
609
+ var CloseCaseResponse$ = [3, n0, _CCRl,
610
+ 0,
611
+ [_cS, _cDl],
612
+ [0, 4]
613
+ ];
614
+ var CreateCaseCommentRequest$ = [3, n0, _CCCR,
615
+ 0,
616
+ [_cI, _b, _cT],
617
+ [[0, 1], [() => CommentBody, 0], [0, 4]], 2
618
+ ];
619
+ var CreateCaseCommentResponse$ = [3, n0, _CCCRr,
620
+ 0,
621
+ [_cIo],
622
+ [0], 1
623
+ ];
624
+ var CreateCaseRequest$ = [3, n0, _CCRr,
625
+ 0,
626
+ [_rTe, _t, _d, _eTn, _rISD, _iA, _w, _cT, _tAIA, _iS, _iAR, _ta],
627
+ [0, [() => CaseTitle, 0], [() => CaseDescription, 0], 0, 4, 64 | 0, [() => Watchers, 0], [0, 4], [() => ThreatActorIpList, 0], 64 | 0, () => ImpactedAwsRegionList, 128 | 0], 7
628
+ ];
629
+ var CreateCaseResponse$ = [3, n0, _CCRre,
630
+ 0,
631
+ [_cI],
632
+ [0], 1
633
+ ];
634
+ var CreateMembershipRequest$ = [3, n0, _CMRr,
635
+ 0,
636
+ [_mN, _iRT, _cT, _oIF, _ta, _cEO],
637
+ [[() => MembershipName, 0], [() => IncidentResponseTeam, 0], [0, 4], () => OptInFeatures, 128 | 0, 2], 2
638
+ ];
639
+ var CreateMembershipResponse$ = [3, n0, _CMRre,
640
+ 0,
641
+ [_mI],
642
+ [0], 1
643
+ ];
644
+ var GetCaseAttachmentDownloadUrlRequest$ = [3, n0, _GCADUR,
645
+ 0,
646
+ [_cI, _aIt],
647
+ [[0, 1], [0, 1]], 2
648
+ ];
649
+ var GetCaseAttachmentDownloadUrlResponse$ = [3, n0, _GCADURe,
650
+ 0,
651
+ [_aPU],
652
+ [[() => Url, 0]], 1
653
+ ];
654
+ var GetCaseAttachmentUploadUrlRequest$ = [3, n0, _GCAUUR,
655
+ 0,
656
+ [_cI, _fN, _cL, _cT],
657
+ [[0, 1], [() => FileName, 0], 1, [0, 4]], 3
658
+ ];
659
+ var GetCaseAttachmentUploadUrlResponse$ = [3, n0, _GCAUURe,
660
+ 0,
661
+ [_aPU],
662
+ [[() => Url, 0]], 1
663
+ ];
664
+ var GetCaseRequest$ = [3, n0, _GCR,
665
+ 0,
666
+ [_cI],
667
+ [[0, 1]], 1
668
+ ];
669
+ var GetCaseResponse$ = [3, n0, _GCRe,
670
+ 0,
671
+ [_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl, _cM],
672
+ [[() => CaseTitle, 0], 0, [() => CaseDescription, 0], 0, 0, 4, 4, () => ImpactedAwsRegionList, [() => ThreatActorIpList, 0], 0, 64 | 0, [() => Watchers, 0], 4, 4, 0, 0, 64 | 0, [() => CaseAttachmentsList, 0], 4, () => CaseMetadata]
673
+ ];
674
+ var GetMembershipAccountDetailError$ = [3, n0, _GMADE,
675
+ 0,
676
+ [_aIc, _e, _m],
677
+ [0, 0, 0], 3
678
+ ];
679
+ var GetMembershipAccountDetailItem$ = [3, n0, _GMADI,
680
+ 0,
681
+ [_aIc, _rS, _rTel],
682
+ [0, 0, 0]
683
+ ];
684
+ var GetMembershipRequest$ = [3, n0, _GMR,
685
+ 0,
686
+ [_mI],
687
+ [[0, 1]], 1
688
+ ];
689
+ var GetMembershipResponse$ = [3, n0, _GMRe,
690
+ 0,
691
+ [_mI, _aIc, _re, _mN, _mA, _mS, _mAT, _mDT, _cTu, _nOAC, _iRT, _oIF, _mAC],
692
+ [0, 0, 0, [() => MembershipName, 0], 0, 0, 4, 4, 0, 1, [() => IncidentResponseTeam, 0], () => OptInFeatures, () => MembershipAccountsConfigurations$], 1
693
+ ];
694
+ var ImpactedAwsRegion$ = [3, n0, _IAR,
695
+ 0,
696
+ [_re],
697
+ [0], 1
698
+ ];
699
+ var IncidentResponder$ = [3, n0, _IR,
700
+ 0,
701
+ [_n, _jT, _em, _cP],
702
+ [[() => IncidentResponderName, 0], [() => JobTitle, 0], [() => EmailAddress, 0], 64 | 0], 3
703
+ ];
704
+ var InvestigationAction$ = [3, n0, _IA,
705
+ 0,
706
+ [_iI, _aT, _t, _co, _st, _lU, _f],
707
+ [0, 0, 0, 0, 0, 4, () => InvestigationFeedback$], 6
708
+ ];
709
+ var InvestigationFeedback$ = [3, n0, _IF,
710
+ 0,
711
+ [_u, _com, _sA],
712
+ [0, 0, 4]
713
+ ];
714
+ var ListCaseEditsRequest$ = [3, n0, _LCER,
715
+ 0,
716
+ [_cI, _nT, _mR],
717
+ [[0, 1], 0, 1], 1
718
+ ];
719
+ var ListCaseEditsResponse$ = [3, n0, _LCERi,
720
+ 0,
721
+ [_nT, _i, _to],
722
+ [0, () => CaseEditItems, 1]
723
+ ];
724
+ var ListCasesItem$ = [3, n0, _LCI,
725
+ 0,
726
+ [_cI, _lUD, _t, _cA, _eTn, _cS, _cD, _cDl, _rTe, _pA],
727
+ [0, 4, [() => CaseTitle, 0], 0, 0, 0, 4, 4, 0, 0], 1
728
+ ];
729
+ var ListCasesRequest$ = [3, n0, _LCR,
730
+ 0,
731
+ [_nT, _mR],
732
+ [0, 1]
733
+ ];
734
+ var ListCasesResponse$ = [3, n0, _LCRi,
735
+ 0,
736
+ [_nT, _i, _to],
737
+ [0, [() => ListCasesItems, 0], 1]
738
+ ];
739
+ var ListCommentsItem$ = [3, n0, _LCIi,
740
+ 0,
741
+ [_cIo, _cD, _lUD, _cr, _lUB, _b],
742
+ [0, 4, 4, 0, 0, [() => CommentBody, 0]], 1
743
+ ];
744
+ var ListCommentsRequest$ = [3, n0, _LCRis,
745
+ 0,
746
+ [_cI, _nT, _mR],
747
+ [[0, 1], 0, 1], 1
748
+ ];
749
+ var ListCommentsResponse$ = [3, n0, _LCRist,
750
+ 0,
751
+ [_nT, _i, _to],
752
+ [0, [() => ListCommentsItems, 0], 1]
753
+ ];
754
+ var ListInvestigationsRequest$ = [3, n0, _LIR,
755
+ 0,
756
+ [_cI, _nT, _mR],
757
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
758
+ ];
759
+ var ListInvestigationsResponse$ = [3, n0, _LIRi,
760
+ 0,
761
+ [_iAn, _nT],
762
+ [() => InvestigationActionList, 0], 1
763
+ ];
764
+ var ListMembershipItem$ = [3, n0, _LMI,
765
+ 0,
766
+ [_mI, _aIc, _re, _mA, _mS],
767
+ [0, 0, 0, 0, 0], 1
768
+ ];
769
+ var ListMembershipsRequest$ = [3, n0, _LMR,
770
+ 0,
771
+ [_nT, _mR],
772
+ [0, 1]
773
+ ];
774
+ var ListMembershipsResponse$ = [3, n0, _LMRi,
775
+ 0,
776
+ [_nT, _i],
777
+ [0, () => ListMembershipItems]
778
+ ];
779
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
780
+ 0,
781
+ [_rA],
782
+ [[0, 1]], 1
783
+ ];
784
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
785
+ 0,
786
+ [_ta],
787
+ [128 | 0], 1
788
+ ];
789
+ var MembershipAccountsConfigurations$ = [3, n0, _MAC,
790
+ 0,
791
+ [_cEO, _oU],
792
+ [2, 64 | 0]
793
+ ];
794
+ var MembershipAccountsConfigurationsUpdate$ = [3, n0, _MACU,
795
+ 0,
796
+ [_cEO, _oUTA, _oUTR],
797
+ [2, 64 | 0, 64 | 0]
798
+ ];
799
+ var OptInFeature$ = [3, n0, _OIF,
800
+ 0,
801
+ [_fNe, _iE],
802
+ [0, 2], 2
803
+ ];
804
+ var SendFeedbackRequest$ = [3, n0, _SFR,
805
+ 0,
806
+ [_cI, _rIe, _u, _com],
807
+ [[0, 1], [0, 1], 0, 0], 3
808
+ ];
809
+ var SendFeedbackResponse$ = [3, n0, _SFRe,
810
+ 0,
811
+ [],
812
+ []
813
+ ];
814
+ var TagResourceInput$ = [3, n0, _TRI,
815
+ 0,
816
+ [_rA, _ta],
817
+ [[0, 1], 128 | 0], 2
818
+ ];
819
+ var TagResourceOutput$ = [3, n0, _TRO,
820
+ 0,
821
+ [],
822
+ []
823
+ ];
824
+ var ThreatActorIp$ = [3, n0, _TAI,
825
+ 0,
826
+ [_iAp, _uA],
827
+ [[() => IPAddress, 0], 0], 1
828
+ ];
829
+ var UntagResourceInput$ = [3, n0, _URI,
830
+ 0,
831
+ [_rA, _tK],
832
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
833
+ ];
834
+ var UntagResourceOutput$ = [3, n0, _URO,
835
+ 0,
836
+ [],
837
+ []
838
+ ];
839
+ var UpdateCaseCommentRequest$ = [3, n0, _UCCR,
840
+ 0,
841
+ [_cI, _cIo, _b],
842
+ [[0, 1], [0, 1], [() => CommentBody, 0]], 3
843
+ ];
844
+ var UpdateCaseCommentResponse$ = [3, n0, _UCCRp,
845
+ 0,
846
+ [_cIo, _b],
847
+ [0, [() => CommentBody, 0]], 1
848
+ ];
849
+ var UpdateCaseRequest$ = [3, n0, _UCR,
850
+ 0,
851
+ [_cI, _t, _d, _rISD, _aISD, _eTn, _wTA, _wTD, _tAIATA, _tAIATD, _iSTA, _iSTD, _iARTA, _iARTD, _iATA, _iATD, _cM],
852
+ [[0, 1], [() => CaseTitle, 0], [() => CaseDescription, 0], 4, 4, 0, [() => Watchers, 0], [() => Watchers, 0], [() => ThreatActorIpList, 0], [() => ThreatActorIpList, 0], 64 | 0, 64 | 0, () => ImpactedAwsRegionList, () => ImpactedAwsRegionList, 64 | 0, 64 | 0, () => CaseMetadata], 1
853
+ ];
854
+ var UpdateCaseResponse$ = [3, n0, _UCRp,
855
+ 0,
856
+ [],
857
+ []
858
+ ];
859
+ var UpdateCaseStatusRequest$ = [3, n0, _UCSR,
860
+ 0,
861
+ [_cI, _cS],
862
+ [[0, 1], 0], 2
863
+ ];
864
+ var UpdateCaseStatusResponse$ = [3, n0, _UCSRp,
865
+ 0,
866
+ [_cS],
867
+ [0]
868
+ ];
869
+ var UpdateMembershipRequest$ = [3, n0, _UMR,
870
+ 0,
871
+ [_mI, _mN, _iRT, _oIF, _mACU, _uMC],
872
+ [[0, 1], [() => MembershipName, 0], [() => IncidentResponseTeam, 0], () => OptInFeatures, () => MembershipAccountsConfigurationsUpdate$, 2], 1
873
+ ];
874
+ var UpdateMembershipResponse$ = [3, n0, _UMRp,
875
+ 0,
876
+ [],
877
+ []
878
+ ];
879
+ var UpdateResolverTypeRequest$ = [3, n0, _URTR,
880
+ 0,
881
+ [_cI, _rTe],
882
+ [[0, 1], 0], 2
883
+ ];
884
+ var UpdateResolverTypeResponse$ = [3, n0, _URTRp,
885
+ 0,
886
+ [_cI, _cS, _rTe],
887
+ [0, 0, 0], 1
888
+ ];
889
+ var ValidationExceptionField$ = [3, n0, _VEF,
890
+ 0,
891
+ [_n, _m],
892
+ [0, 0], 2
893
+ ];
894
+ var Watcher$ = [3, n0, _W,
895
+ 0,
896
+ [_em, _n, _jT],
897
+ [[() => EmailAddress, 0], [() => PersonName, 0], [() => JobTitle, 0]], 1
898
+ ];
899
+ var CaseAttachmentsList = [1, n0, _CAL,
900
+ 0, [() => CaseAttachmentAttributes$,
901
+ 0]
902
+ ];
903
+ var CaseEditItems = [1, n0, _CEIa,
904
+ 0, () => CaseEditItem$
905
+ ];
906
+ var CaseMetadata = [1, n0, _CM,
907
+ 0, () => CaseMetadataEntry$
908
+ ];
909
+ var GetMembershipAccountDetailErrors = [1, n0, _GMADEe,
910
+ 0, () => GetMembershipAccountDetailError$
911
+ ];
912
+ var GetMembershipAccountDetailItems = [1, n0, _GMADIe,
913
+ 0, () => GetMembershipAccountDetailItem$
914
+ ];
915
+ var ImpactedAwsRegionList = [1, n0, _IARL,
916
+ 0, () => ImpactedAwsRegion$
917
+ ];
918
+ var IncidentResponseTeam = [1, n0, _IRT,
919
+ 0, [() => IncidentResponder$,
920
+ 0]
921
+ ];
922
+ var InvestigationActionList = [1, n0, _IAL,
923
+ 0, () => InvestigationAction$
924
+ ];
925
+ var ListCasesItems = [1, n0, _LCIis,
926
+ 0, [() => ListCasesItem$,
927
+ 0]
928
+ ];
929
+ var ListCommentsItems = [1, n0, _LCIist,
930
+ 0, [() => ListCommentsItem$,
931
+ 0]
932
+ ];
933
+ var ListMembershipItems = [1, n0, _LMIi,
934
+ 0, () => ListMembershipItem$
935
+ ];
936
+ var OptInFeatures = [1, n0, _OIFp,
937
+ 0, () => OptInFeature$
938
+ ];
939
+ var ThreatActorIpList = [1, n0, _TAIL,
940
+ 0, [() => ThreatActorIp$,
941
+ 0]
942
+ ];
943
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
944
+ 0, () => ValidationExceptionField$
945
+ ];
946
+ var Watchers = [1, n0, _Wa,
947
+ 0, [() => Watcher$,
948
+ 0]
949
+ ];
950
+ var BatchGetMemberAccountDetails$ = [9, n0, _BGMAD,
951
+ { [_h]: ["POST", "/v1/membership/{membershipId}/batch-member-details", 200] }, () => BatchGetMemberAccountDetailsRequest$, () => BatchGetMemberAccountDetailsResponse$
952
+ ];
953
+ var CancelMembership$ = [9, n0, _CMa,
954
+ { [_h]: ["PUT", "/v1/membership/{membershipId}", 200] }, () => CancelMembershipRequest$, () => CancelMembershipResponse$
955
+ ];
956
+ var CloseCase$ = [9, n0, _CC,
957
+ { [_h]: ["POST", "/v1/cases/{caseId}/close-case", 200] }, () => CloseCaseRequest$, () => CloseCaseResponse$
958
+ ];
959
+ var CreateCase$ = [9, n0, _CCr,
960
+ { [_h]: ["POST", "/v1/create-case", 201] }, () => CreateCaseRequest$, () => CreateCaseResponse$
961
+ ];
962
+ var CreateCaseComment$ = [9, n0, _CCC,
963
+ { [_h]: ["POST", "/v1/cases/{caseId}/create-comment", 201] }, () => CreateCaseCommentRequest$, () => CreateCaseCommentResponse$
964
+ ];
965
+ var CreateMembership$ = [9, n0, _CMr,
966
+ { [_h]: ["POST", "/v1/membership", 201] }, () => CreateMembershipRequest$, () => CreateMembershipResponse$
967
+ ];
968
+ var GetCase$ = [9, n0, _GC,
969
+ { [_h]: ["GET", "/v1/cases/{caseId}/get-case", 200] }, () => GetCaseRequest$, () => GetCaseResponse$
970
+ ];
971
+ var GetCaseAttachmentDownloadUrl$ = [9, n0, _GCADU,
972
+ { [_h]: ["GET", "/v1/cases/{caseId}/get-presigned-url/{attachmentId}", 201] }, () => GetCaseAttachmentDownloadUrlRequest$, () => GetCaseAttachmentDownloadUrlResponse$
973
+ ];
974
+ var GetCaseAttachmentUploadUrl$ = [9, n0, _GCAUU,
975
+ { [_h]: ["POST", "/v1/cases/{caseId}/get-presigned-url", 201] }, () => GetCaseAttachmentUploadUrlRequest$, () => GetCaseAttachmentUploadUrlResponse$
976
+ ];
977
+ var GetMembership$ = [9, n0, _GM,
978
+ { [_h]: ["GET", "/v1/membership/{membershipId}", 200] }, () => GetMembershipRequest$, () => GetMembershipResponse$
979
+ ];
980
+ var ListCaseEdits$ = [9, n0, _LCE,
981
+ { [_h]: ["POST", "/v1/cases/{caseId}/list-case-edits", 200] }, () => ListCaseEditsRequest$, () => ListCaseEditsResponse$
982
+ ];
983
+ var ListCases$ = [9, n0, _LC,
984
+ { [_h]: ["POST", "/v1/list-cases", 200] }, () => ListCasesRequest$, () => ListCasesResponse$
985
+ ];
986
+ var ListComments$ = [9, n0, _LCi,
987
+ { [_h]: ["POST", "/v1/cases/{caseId}/list-comments", 200] }, () => ListCommentsRequest$, () => ListCommentsResponse$
988
+ ];
989
+ var ListInvestigations$ = [9, n0, _LI,
990
+ { [_h]: ["GET", "/v1/cases/{caseId}/list-investigations", 200] }, () => ListInvestigationsRequest$, () => ListInvestigationsResponse$
991
+ ];
992
+ var ListMemberships$ = [9, n0, _LM,
993
+ { [_h]: ["POST", "/v1/memberships", 200] }, () => ListMembershipsRequest$, () => ListMembershipsResponse$
994
+ ];
995
+ var ListTagsForResource$ = [9, n0, _LTFR,
996
+ { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
997
+ ];
998
+ var SendFeedback$ = [9, n0, _SF,
999
+ { [_h]: ["POST", "/v1/cases/{caseId}/feedback/{resultId}/send-feedback", 200] }, () => SendFeedbackRequest$, () => SendFeedbackResponse$
1000
+ ];
1001
+ var TagResource$ = [9, n0, _TR,
1002
+ { [_h]: ["POST", "/v1/tags/{resourceArn}", 204] }, () => TagResourceInput$, () => TagResourceOutput$
1003
+ ];
1004
+ var UntagResource$ = [9, n0, _UR,
1005
+ { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
1006
+ ];
1007
+ var UpdateCase$ = [9, n0, _UC,
1008
+ { [_h]: ["POST", "/v1/cases/{caseId}/update-case", 200] }, () => UpdateCaseRequest$, () => UpdateCaseResponse$
1009
+ ];
1010
+ var UpdateCaseComment$ = [9, n0, _UCC,
1011
+ { [_h]: ["PUT", "/v1/cases/{caseId}/update-case-comment/{commentId}", 200] }, () => UpdateCaseCommentRequest$, () => UpdateCaseCommentResponse$
1012
+ ];
1013
+ var UpdateCaseStatus$ = [9, n0, _UCS,
1014
+ { [_h]: ["POST", "/v1/cases/{caseId}/update-case-status", 201] }, () => UpdateCaseStatusRequest$, () => UpdateCaseStatusResponse$
1015
+ ];
1016
+ var UpdateMembership$ = [9, n0, _UM,
1017
+ { [_h]: ["PUT", "/v1/membership/{membershipId}/update-membership", 200] }, () => UpdateMembershipRequest$, () => UpdateMembershipResponse$
1018
+ ];
1019
+ var UpdateResolverType$ = [9, n0, _URT,
1020
+ { [_h]: ["POST", "/v1/cases/{caseId}/update-resolver-type", 200] }, () => UpdateResolverTypeRequest$, () => UpdateResolverTypeResponse$
1021
+ ];
1022
+
1023
+ const getRuntimeConfig$1 = (config) => {
1024
+ return {
1025
+ apiVersion: "2018-05-10",
1026
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1027
+ base64Encoder: config?.base64Encoder ?? toBase64,
1028
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1029
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1030
+ extensions: config?.extensions ?? [],
1031
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSecurityIRHttpAuthSchemeProvider,
1032
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1033
+ {
1034
+ schemeId: "aws.auth#sigv4",
1035
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1036
+ signer: new AwsSdkSigV4Signer(),
1037
+ },
1038
+ ],
1039
+ logger: config?.logger ?? new NoOpLogger(),
1040
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1041
+ protocolSettings: config?.protocolSettings ?? {
1042
+ defaultNamespace: "com.amazonaws.securityir",
1043
+ errorTypeRegistries,
1044
+ version: "2018-05-10",
1045
+ serviceTarget: "SecurityIncidentResponse",
1046
+ },
1047
+ serviceId: config?.serviceId ?? "Security IR",
1048
+ urlParser: config?.urlParser ?? parseUrl,
1049
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1050
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1051
+ };
1052
+ };
1053
+
1054
+ const getRuntimeConfig = (config) => {
1055
+ emitWarningIfUnsupportedVersion(process.version);
1056
+ const defaultsMode = resolveDefaultsModeConfig(config);
1057
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1058
+ const clientSharedValues = getRuntimeConfig$1(config);
1059
+ emitWarningIfUnsupportedVersion$1(process.version);
1060
+ const loaderConfig = {
1061
+ profile: config?.profile,
1062
+ logger: clientSharedValues.logger,
1063
+ };
1064
+ return {
1065
+ ...clientSharedValues,
1066
+ ...config,
1067
+ runtime: "node",
1068
+ defaultsMode,
1069
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1070
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1071
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1072
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1073
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1074
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1075
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1076
+ retryMode: config?.retryMode ??
1077
+ loadConfig({
1078
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1079
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1080
+ }, config),
1081
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1082
+ streamCollector: config?.streamCollector ?? streamCollector,
1083
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1084
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1085
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1086
+ };
1087
+ };
1088
+
32
1089
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
33
1090
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
34
1091
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -583,50 +1640,161 @@ const MembershipStatus = {
583
1640
  TERMINATED: "Terminated",
584
1641
  };
585
1642
 
1643
+ exports.AccessDeniedException = AccessDeniedException;
1644
+ exports.AccessDeniedException$ = AccessDeniedException$;
586
1645
  exports.ActionType = ActionType;
587
1646
  exports.AwsRegion = AwsRegion;
1647
+ exports.BatchGetMemberAccountDetails$ = BatchGetMemberAccountDetails$;
588
1648
  exports.BatchGetMemberAccountDetailsCommand = BatchGetMemberAccountDetailsCommand;
1649
+ exports.BatchGetMemberAccountDetailsRequest$ = BatchGetMemberAccountDetailsRequest$;
1650
+ exports.BatchGetMemberAccountDetailsResponse$ = BatchGetMemberAccountDetailsResponse$;
1651
+ exports.CancelMembership$ = CancelMembership$;
589
1652
  exports.CancelMembershipCommand = CancelMembershipCommand;
1653
+ exports.CancelMembershipRequest$ = CancelMembershipRequest$;
1654
+ exports.CancelMembershipResponse$ = CancelMembershipResponse$;
1655
+ exports.CaseAttachmentAttributes$ = CaseAttachmentAttributes$;
590
1656
  exports.CaseAttachmentStatus = CaseAttachmentStatus;
1657
+ exports.CaseEditItem$ = CaseEditItem$;
1658
+ exports.CaseMetadataEntry$ = CaseMetadataEntry$;
591
1659
  exports.CaseStatus = CaseStatus;
1660
+ exports.CloseCase$ = CloseCase$;
592
1661
  exports.CloseCaseCommand = CloseCaseCommand;
1662
+ exports.CloseCaseRequest$ = CloseCaseRequest$;
1663
+ exports.CloseCaseResponse$ = CloseCaseResponse$;
593
1664
  exports.ClosureCode = ClosureCode;
594
1665
  exports.CommunicationType = CommunicationType;
1666
+ exports.ConflictException = ConflictException;
1667
+ exports.ConflictException$ = ConflictException$;
1668
+ exports.CreateCase$ = CreateCase$;
595
1669
  exports.CreateCaseCommand = CreateCaseCommand;
1670
+ exports.CreateCaseComment$ = CreateCaseComment$;
596
1671
  exports.CreateCaseCommentCommand = CreateCaseCommentCommand;
1672
+ exports.CreateCaseCommentRequest$ = CreateCaseCommentRequest$;
1673
+ exports.CreateCaseCommentResponse$ = CreateCaseCommentResponse$;
1674
+ exports.CreateCaseRequest$ = CreateCaseRequest$;
1675
+ exports.CreateCaseResponse$ = CreateCaseResponse$;
1676
+ exports.CreateMembership$ = CreateMembership$;
597
1677
  exports.CreateMembershipCommand = CreateMembershipCommand;
1678
+ exports.CreateMembershipRequest$ = CreateMembershipRequest$;
1679
+ exports.CreateMembershipResponse$ = CreateMembershipResponse$;
598
1680
  exports.CustomerType = CustomerType;
599
1681
  exports.EngagementType = EngagementType;
600
1682
  exports.ExecutionStatus = ExecutionStatus;
1683
+ exports.GetCase$ = GetCase$;
1684
+ exports.GetCaseAttachmentDownloadUrl$ = GetCaseAttachmentDownloadUrl$;
601
1685
  exports.GetCaseAttachmentDownloadUrlCommand = GetCaseAttachmentDownloadUrlCommand;
1686
+ exports.GetCaseAttachmentDownloadUrlRequest$ = GetCaseAttachmentDownloadUrlRequest$;
1687
+ exports.GetCaseAttachmentDownloadUrlResponse$ = GetCaseAttachmentDownloadUrlResponse$;
1688
+ exports.GetCaseAttachmentUploadUrl$ = GetCaseAttachmentUploadUrl$;
602
1689
  exports.GetCaseAttachmentUploadUrlCommand = GetCaseAttachmentUploadUrlCommand;
1690
+ exports.GetCaseAttachmentUploadUrlRequest$ = GetCaseAttachmentUploadUrlRequest$;
1691
+ exports.GetCaseAttachmentUploadUrlResponse$ = GetCaseAttachmentUploadUrlResponse$;
603
1692
  exports.GetCaseCommand = GetCaseCommand;
1693
+ exports.GetCaseRequest$ = GetCaseRequest$;
1694
+ exports.GetCaseResponse$ = GetCaseResponse$;
1695
+ exports.GetMembership$ = GetMembership$;
1696
+ exports.GetMembershipAccountDetailError$ = GetMembershipAccountDetailError$;
1697
+ exports.GetMembershipAccountDetailItem$ = GetMembershipAccountDetailItem$;
604
1698
  exports.GetMembershipCommand = GetMembershipCommand;
1699
+ exports.GetMembershipRequest$ = GetMembershipRequest$;
1700
+ exports.GetMembershipResponse$ = GetMembershipResponse$;
1701
+ exports.ImpactedAwsRegion$ = ImpactedAwsRegion$;
1702
+ exports.IncidentResponder$ = IncidentResponder$;
1703
+ exports.InternalServerException = InternalServerException;
1704
+ exports.InternalServerException$ = InternalServerException$;
1705
+ exports.InvalidTokenException = InvalidTokenException;
1706
+ exports.InvalidTokenException$ = InvalidTokenException$;
1707
+ exports.InvestigationAction$ = InvestigationAction$;
1708
+ exports.InvestigationFeedback$ = InvestigationFeedback$;
1709
+ exports.ListCaseEdits$ = ListCaseEdits$;
605
1710
  exports.ListCaseEditsCommand = ListCaseEditsCommand;
1711
+ exports.ListCaseEditsRequest$ = ListCaseEditsRequest$;
1712
+ exports.ListCaseEditsResponse$ = ListCaseEditsResponse$;
1713
+ exports.ListCases$ = ListCases$;
606
1714
  exports.ListCasesCommand = ListCasesCommand;
1715
+ exports.ListCasesItem$ = ListCasesItem$;
1716
+ exports.ListCasesRequest$ = ListCasesRequest$;
1717
+ exports.ListCasesResponse$ = ListCasesResponse$;
1718
+ exports.ListComments$ = ListComments$;
607
1719
  exports.ListCommentsCommand = ListCommentsCommand;
1720
+ exports.ListCommentsItem$ = ListCommentsItem$;
1721
+ exports.ListCommentsRequest$ = ListCommentsRequest$;
1722
+ exports.ListCommentsResponse$ = ListCommentsResponse$;
1723
+ exports.ListInvestigations$ = ListInvestigations$;
608
1724
  exports.ListInvestigationsCommand = ListInvestigationsCommand;
1725
+ exports.ListInvestigationsRequest$ = ListInvestigationsRequest$;
1726
+ exports.ListInvestigationsResponse$ = ListInvestigationsResponse$;
1727
+ exports.ListMembershipItem$ = ListMembershipItem$;
1728
+ exports.ListMemberships$ = ListMemberships$;
609
1729
  exports.ListMembershipsCommand = ListMembershipsCommand;
1730
+ exports.ListMembershipsRequest$ = ListMembershipsRequest$;
1731
+ exports.ListMembershipsResponse$ = ListMembershipsResponse$;
1732
+ exports.ListTagsForResource$ = ListTagsForResource$;
610
1733
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1734
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1735
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
611
1736
  exports.MembershipAccountRelationshipStatus = MembershipAccountRelationshipStatus;
612
1737
  exports.MembershipAccountRelationshipType = MembershipAccountRelationshipType;
1738
+ exports.MembershipAccountsConfigurations$ = MembershipAccountsConfigurations$;
1739
+ exports.MembershipAccountsConfigurationsUpdate$ = MembershipAccountsConfigurationsUpdate$;
613
1740
  exports.MembershipStatus = MembershipStatus;
1741
+ exports.OptInFeature$ = OptInFeature$;
614
1742
  exports.OptInFeatureName = OptInFeatureName;
615
1743
  exports.PendingAction = PendingAction;
616
1744
  exports.ResolverType = ResolverType;
1745
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1746
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
617
1747
  exports.SecurityIR = SecurityIR;
618
1748
  exports.SecurityIRClient = SecurityIRClient;
1749
+ exports.SecurityIRServiceException = SecurityIRServiceException;
1750
+ exports.SecurityIRServiceException$ = SecurityIRServiceException$;
1751
+ exports.SecurityIncidentResponseNotActiveException = SecurityIncidentResponseNotActiveException;
1752
+ exports.SecurityIncidentResponseNotActiveException$ = SecurityIncidentResponseNotActiveException$;
619
1753
  exports.SelfManagedCaseStatus = SelfManagedCaseStatus;
1754
+ exports.SendFeedback$ = SendFeedback$;
620
1755
  exports.SendFeedbackCommand = SendFeedbackCommand;
1756
+ exports.SendFeedbackRequest$ = SendFeedbackRequest$;
1757
+ exports.SendFeedbackResponse$ = SendFeedbackResponse$;
1758
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1759
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1760
+ exports.TagResource$ = TagResource$;
621
1761
  exports.TagResourceCommand = TagResourceCommand;
1762
+ exports.TagResourceInput$ = TagResourceInput$;
1763
+ exports.TagResourceOutput$ = TagResourceOutput$;
1764
+ exports.ThreatActorIp$ = ThreatActorIp$;
1765
+ exports.ThrottlingException = ThrottlingException;
1766
+ exports.ThrottlingException$ = ThrottlingException$;
1767
+ exports.UntagResource$ = UntagResource$;
622
1768
  exports.UntagResourceCommand = UntagResourceCommand;
1769
+ exports.UntagResourceInput$ = UntagResourceInput$;
1770
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
1771
+ exports.UpdateCase$ = UpdateCase$;
623
1772
  exports.UpdateCaseCommand = UpdateCaseCommand;
1773
+ exports.UpdateCaseComment$ = UpdateCaseComment$;
624
1774
  exports.UpdateCaseCommentCommand = UpdateCaseCommentCommand;
1775
+ exports.UpdateCaseCommentRequest$ = UpdateCaseCommentRequest$;
1776
+ exports.UpdateCaseCommentResponse$ = UpdateCaseCommentResponse$;
1777
+ exports.UpdateCaseRequest$ = UpdateCaseRequest$;
1778
+ exports.UpdateCaseResponse$ = UpdateCaseResponse$;
1779
+ exports.UpdateCaseStatus$ = UpdateCaseStatus$;
625
1780
  exports.UpdateCaseStatusCommand = UpdateCaseStatusCommand;
1781
+ exports.UpdateCaseStatusRequest$ = UpdateCaseStatusRequest$;
1782
+ exports.UpdateCaseStatusResponse$ = UpdateCaseStatusResponse$;
1783
+ exports.UpdateMembership$ = UpdateMembership$;
626
1784
  exports.UpdateMembershipCommand = UpdateMembershipCommand;
1785
+ exports.UpdateMembershipRequest$ = UpdateMembershipRequest$;
1786
+ exports.UpdateMembershipResponse$ = UpdateMembershipResponse$;
1787
+ exports.UpdateResolverType$ = UpdateResolverType$;
627
1788
  exports.UpdateResolverTypeCommand = UpdateResolverTypeCommand;
1789
+ exports.UpdateResolverTypeRequest$ = UpdateResolverTypeRequest$;
1790
+ exports.UpdateResolverTypeResponse$ = UpdateResolverTypeResponse$;
628
1791
  exports.UsefulnessRating = UsefulnessRating;
1792
+ exports.ValidationException = ValidationException;
1793
+ exports.ValidationException$ = ValidationException$;
1794
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
629
1795
  exports.ValidationExceptionReason = ValidationExceptionReason;
1796
+ exports.Watcher$ = Watcher$;
1797
+ exports.errorTypeRegistries = errorTypeRegistries;
630
1798
  exports.paginateListCaseEdits = paginateListCaseEdits;
631
1799
  exports.paginateListCases = paginateListCases;
632
1800
  exports.paginateListComments = paginateListComments;