@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.
Files changed (53) hide show
  1. package/dist-cjs/index.js +1012 -1228
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SecurityIRClient.js +2 -0
  4. package/dist-es/commands/BatchGetMemberAccountDetailsCommand.js +3 -9
  5. package/dist-es/commands/CancelMembershipCommand.js +3 -9
  6. package/dist-es/commands/CloseCaseCommand.js +3 -9
  7. package/dist-es/commands/CreateCaseCommand.js +3 -10
  8. package/dist-es/commands/CreateCaseCommentCommand.js +3 -10
  9. package/dist-es/commands/CreateMembershipCommand.js +3 -10
  10. package/dist-es/commands/GetCaseAttachmentDownloadUrlCommand.js +3 -10
  11. package/dist-es/commands/GetCaseAttachmentUploadUrlCommand.js +3 -10
  12. package/dist-es/commands/GetCaseCommand.js +3 -10
  13. package/dist-es/commands/GetMembershipCommand.js +3 -10
  14. package/dist-es/commands/ListCaseEditsCommand.js +3 -9
  15. package/dist-es/commands/ListCasesCommand.js +3 -10
  16. package/dist-es/commands/ListCommentsCommand.js +3 -10
  17. package/dist-es/commands/ListMembershipsCommand.js +3 -9
  18. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  19. package/dist-es/commands/TagResourceCommand.js +3 -9
  20. package/dist-es/commands/UntagResourceCommand.js +3 -9
  21. package/dist-es/commands/UpdateCaseCommand.js +3 -10
  22. package/dist-es/commands/UpdateCaseCommentCommand.js +3 -10
  23. package/dist-es/commands/UpdateCaseStatusCommand.js +3 -9
  24. package/dist-es/commands/UpdateMembershipCommand.js +3 -10
  25. package/dist-es/commands/UpdateResolverTypeCommand.js +3 -9
  26. package/dist-es/models/models_0.js +19 -118
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-es/schemas/schemas_0.js +929 -0
  29. package/dist-types/SecurityIRClient.d.ts +10 -1
  30. package/dist-types/commands/CreateCaseCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateMembershipCommand.d.ts +3 -0
  32. package/dist-types/commands/GetCaseCommand.d.ts +1 -1
  33. package/dist-types/commands/GetMembershipCommand.d.ts +4 -1
  34. package/dist-types/commands/ListMembershipsCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateCaseCommand.d.ts +2 -2
  36. package/dist-types/commands/UpdateMembershipCommand.d.ts +3 -0
  37. package/dist-types/models/models_0.d.ts +32 -80
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +124 -0
  43. package/dist-types/ts3.4/SecurityIRClient.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +22 -58
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +130 -0
  50. package/package.json +5 -6
  51. package/dist-es/protocols/Aws_restJson1.js +0 -913
  52. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { SecurityIRServiceException as __BaseException } from "./SecurityIRServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -24,6 +23,7 @@ export const AwsRegion = {
24
23
  AP_SOUTHEAST_3: "ap-southeast-3",
25
24
  AP_SOUTHEAST_4: "ap-southeast-4",
26
25
  AP_SOUTHEAST_5: "ap-southeast-5",
26
+ AP_SOUTHEAST_6: "ap-southeast-6",
27
27
  AP_SOUTHEAST_7: "ap-southeast-7",
28
28
  AP_SOUTH_1: "ap-south-1",
29
29
  AP_SOUTH_2: "ap-south-2",
@@ -227,6 +227,24 @@ export const SelfManagedCaseStatus = {
227
227
  POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
228
228
  SUBMITTED: "Submitted",
229
229
  };
230
+ export const CommunicationType = {
231
+ CASE_ACKNOWLEDGED: "Case Acknowledged",
232
+ CASE_ATTACHMENT_URL_UPLOADED: "Case Attachment Url Uploaded",
233
+ CASE_CLOSED: "Case Closed",
234
+ CASE_COMMENT_ADDED: "Case Comment Added",
235
+ CASE_COMMENT_UPDATED: "Case Comment Updated",
236
+ CASE_CREATED: "Case Created",
237
+ CASE_PENDING_CUSTOMER_ACTION_REMINDER: "Case Pending Customer Action Reminder",
238
+ CASE_UPDATED: "Case Updated",
239
+ CASE_UPDATED_TO_SERVICE_MANAGED: "Case Updated To Service Managed",
240
+ CASE_UPDATE_CASE_STATUS: "Case Status Updated",
241
+ DEREGISTER_DELEGATED_ADMINISTRATOR: "Deregister Delegated Administrator",
242
+ DISABLE_AWS_SERVICE_ACCESS: "Disable AWS Service Access",
243
+ MEMBERSHIP_CANCELLED: "Membership Cancelled",
244
+ MEMBERSHIP_CREATED: "Membership Created",
245
+ MEMBERSHIP_UPDATED: "Membership Updated",
246
+ REGISTER_DELEGATED_ADMINISTRATOR: "Register Delegated Administrator",
247
+ };
230
248
  export const OptInFeatureName = {
231
249
  TRIAGE: "Triage",
232
250
  };
@@ -239,120 +257,3 @@ export const MembershipStatus = {
239
257
  CANCELLED: "Cancelled",
240
258
  TERMINATED: "Terminated",
241
259
  };
242
- export const ThreatActorIpFilterSensitiveLog = (obj) => ({
243
- ...obj,
244
- ...(obj.ipAddress && { ipAddress: SENSITIVE_STRING }),
245
- });
246
- export const WatcherFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- ...(obj.email && { email: SENSITIVE_STRING }),
249
- ...(obj.name && { name: SENSITIVE_STRING }),
250
- ...(obj.jobTitle && { jobTitle: SENSITIVE_STRING }),
251
- });
252
- export const CreateCaseRequestFilterSensitiveLog = (obj) => ({
253
- ...obj,
254
- ...(obj.title && { title: SENSITIVE_STRING }),
255
- ...(obj.description && { description: SENSITIVE_STRING }),
256
- ...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
257
- ...(obj.threatActorIpAddresses && {
258
- threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
259
- }),
260
- });
261
- export const CreateCaseCommentRequestFilterSensitiveLog = (obj) => ({
262
- ...obj,
263
- ...(obj.body && { body: SENSITIVE_STRING }),
264
- });
265
- export const CaseAttachmentAttributesFilterSensitiveLog = (obj) => ({
266
- ...obj,
267
- ...(obj.fileName && { fileName: SENSITIVE_STRING }),
268
- });
269
- export const GetCaseResponseFilterSensitiveLog = (obj) => ({
270
- ...obj,
271
- ...(obj.title && { title: SENSITIVE_STRING }),
272
- ...(obj.description && { description: SENSITIVE_STRING }),
273
- ...(obj.threatActorIpAddresses && {
274
- threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
275
- }),
276
- ...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
277
- ...(obj.caseAttachments && {
278
- caseAttachments: obj.caseAttachments.map((item) => CaseAttachmentAttributesFilterSensitiveLog(item)),
279
- }),
280
- });
281
- export const GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = (obj) => ({
282
- ...obj,
283
- ...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: SENSITIVE_STRING }),
284
- });
285
- export const GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = (obj) => ({
286
- ...obj,
287
- ...(obj.fileName && { fileName: SENSITIVE_STRING }),
288
- });
289
- export const GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = (obj) => ({
290
- ...obj,
291
- ...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: SENSITIVE_STRING }),
292
- });
293
- export const ListCasesItemFilterSensitiveLog = (obj) => ({
294
- ...obj,
295
- ...(obj.title && { title: SENSITIVE_STRING }),
296
- });
297
- export const ListCasesResponseFilterSensitiveLog = (obj) => ({
298
- ...obj,
299
- ...(obj.items && { items: obj.items.map((item) => ListCasesItemFilterSensitiveLog(item)) }),
300
- });
301
- export const ListCommentsItemFilterSensitiveLog = (obj) => ({
302
- ...obj,
303
- ...(obj.body && { body: SENSITIVE_STRING }),
304
- });
305
- export const ListCommentsResponseFilterSensitiveLog = (obj) => ({
306
- ...obj,
307
- ...(obj.items && { items: obj.items.map((item) => ListCommentsItemFilterSensitiveLog(item)) }),
308
- });
309
- export const UpdateCaseRequestFilterSensitiveLog = (obj) => ({
310
- ...obj,
311
- ...(obj.title && { title: SENSITIVE_STRING }),
312
- ...(obj.description && { description: SENSITIVE_STRING }),
313
- ...(obj.watchersToAdd && { watchersToAdd: obj.watchersToAdd.map((item) => WatcherFilterSensitiveLog(item)) }),
314
- ...(obj.watchersToDelete && {
315
- watchersToDelete: obj.watchersToDelete.map((item) => WatcherFilterSensitiveLog(item)),
316
- }),
317
- ...(obj.threatActorIpAddressesToAdd && {
318
- threatActorIpAddressesToAdd: obj.threatActorIpAddressesToAdd.map((item) => ThreatActorIpFilterSensitiveLog(item)),
319
- }),
320
- ...(obj.threatActorIpAddressesToDelete && {
321
- threatActorIpAddressesToDelete: obj.threatActorIpAddressesToDelete.map((item) => ThreatActorIpFilterSensitiveLog(item)),
322
- }),
323
- });
324
- export const UpdateCaseCommentRequestFilterSensitiveLog = (obj) => ({
325
- ...obj,
326
- ...(obj.body && { body: SENSITIVE_STRING }),
327
- });
328
- export const UpdateCaseCommentResponseFilterSensitiveLog = (obj) => ({
329
- ...obj,
330
- ...(obj.body && { body: SENSITIVE_STRING }),
331
- });
332
- export const IncidentResponderFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- ...(obj.name && { name: SENSITIVE_STRING }),
335
- ...(obj.jobTitle && { jobTitle: SENSITIVE_STRING }),
336
- ...(obj.email && { email: SENSITIVE_STRING }),
337
- });
338
- export const CreateMembershipRequestFilterSensitiveLog = (obj) => ({
339
- ...obj,
340
- ...(obj.membershipName && { membershipName: SENSITIVE_STRING }),
341
- ...(obj.incidentResponseTeam && {
342
- incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
343
- }),
344
- });
345
- export const GetMembershipResponseFilterSensitiveLog = (obj) => ({
346
- ...obj,
347
- ...(obj.membershipName && { membershipName: SENSITIVE_STRING }),
348
- ...(obj.incidentResponseTeam && {
349
- incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
350
- }),
351
- });
352
- export const UpdateMembershipRequestFilterSensitiveLog = (obj) => ({
353
- ...obj,
354
- ...(obj.membershipName && { membershipName: SENSITIVE_STRING }),
355
- ...(obj.incidentResponseTeam && {
356
- incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
357
- }),
358
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.securityir" }),
25
27
  serviceId: config?.serviceId ?? "Security IR",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,