@aws-sdk/client-macie2 3.216.0 → 3.219.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 (155) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/Macie2.js +195 -0
  3. package/dist-cjs/commands/GetAutomatedDiscoveryConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/GetClassificationScopeCommand.js +46 -0
  5. package/dist-cjs/commands/GetResourceProfileCommand.js +46 -0
  6. package/dist-cjs/commands/GetSensitivityInspectionTemplateCommand.js +46 -0
  7. package/dist-cjs/commands/ListClassificationScopesCommand.js +46 -0
  8. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  9. package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +3 -3
  10. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  11. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  12. package/dist-cjs/commands/ListResourceProfileArtifactsCommand.js +46 -0
  13. package/dist-cjs/commands/ListResourceProfileDetectionsCommand.js +46 -0
  14. package/dist-cjs/commands/ListSensitivityInspectionTemplatesCommand.js +46 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  16. package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
  18. package/dist-cjs/commands/SearchResourcesCommand.js +3 -3
  19. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  20. package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
  21. package/dist-cjs/commands/UntagResourceCommand.js +1 -2
  22. package/dist-cjs/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +46 -0
  23. package/dist-cjs/commands/UpdateClassificationScopeCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateResourceProfileCommand.js +46 -0
  25. package/dist-cjs/commands/UpdateResourceProfileDetectionsCommand.js +46 -0
  26. package/dist-cjs/commands/UpdateSensitivityInspectionTemplateCommand.js +46 -0
  27. package/dist-cjs/commands/index.js +13 -0
  28. package/dist-cjs/endpoint/ruleset.js +1 -1
  29. package/dist-cjs/models/models_0.js +113 -109
  30. package/dist-cjs/models/models_1.js +177 -1
  31. package/dist-cjs/pagination/ListAllowListsPaginator.js +36 -0
  32. package/dist-cjs/pagination/ListClassificationScopesPaginator.js +35 -0
  33. package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +35 -0
  34. package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +35 -0
  35. package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +36 -0
  36. package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +36 -0
  37. package/dist-cjs/pagination/index.js +6 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +1216 -71
  39. package/dist-es/Macie2.js +195 -0
  40. package/dist-es/commands/GetAutomatedDiscoveryConfigurationCommand.js +42 -0
  41. package/dist-es/commands/GetClassificationScopeCommand.js +42 -0
  42. package/dist-es/commands/GetResourceProfileCommand.js +42 -0
  43. package/dist-es/commands/GetSensitivityInspectionTemplateCommand.js +42 -0
  44. package/dist-es/commands/ListClassificationScopesCommand.js +42 -0
  45. package/dist-es/commands/ListInvitationsCommand.js +1 -1
  46. package/dist-es/commands/ListManagedDataIdentifiersCommand.js +1 -1
  47. package/dist-es/commands/ListMembersCommand.js +1 -1
  48. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +1 -1
  49. package/dist-es/commands/ListResourceProfileArtifactsCommand.js +42 -0
  50. package/dist-es/commands/ListResourceProfileDetectionsCommand.js +42 -0
  51. package/dist-es/commands/ListSensitivityInspectionTemplatesCommand.js +42 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  53. package/dist-es/commands/PutClassificationExportConfigurationCommand.js +1 -1
  54. package/dist-es/commands/PutFindingsPublicationConfigurationCommand.js +1 -1
  55. package/dist-es/commands/SearchResourcesCommand.js +1 -1
  56. package/dist-es/commands/TagResourceCommand.js +1 -1
  57. package/dist-es/commands/TestCustomDataIdentifierCommand.js +1 -1
  58. package/dist-es/commands/UntagResourceCommand.js +1 -2
  59. package/dist-es/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +42 -0
  60. package/dist-es/commands/UpdateClassificationScopeCommand.js +42 -0
  61. package/dist-es/commands/UpdateResourceProfileCommand.js +42 -0
  62. package/dist-es/commands/UpdateResourceProfileDetectionsCommand.js +42 -0
  63. package/dist-es/commands/UpdateSensitivityInspectionTemplateCommand.js +42 -0
  64. package/dist-es/commands/index.js +13 -0
  65. package/dist-es/endpoint/ruleset.js +1 -1
  66. package/dist-es/models/models_0.js +85 -79
  67. package/dist-es/models/models_1.js +133 -0
  68. package/dist-es/pagination/ListAllowListsPaginator.js +32 -0
  69. package/dist-es/pagination/ListClassificationScopesPaginator.js +31 -0
  70. package/dist-es/pagination/ListManagedDataIdentifiersPaginator.js +31 -0
  71. package/dist-es/pagination/ListResourceProfileArtifactsPaginator.js +31 -0
  72. package/dist-es/pagination/ListResourceProfileDetectionsPaginator.js +32 -0
  73. package/dist-es/pagination/ListSensitivityInspectionTemplatesPaginator.js +32 -0
  74. package/dist-es/pagination/index.js +6 -0
  75. package/dist-es/protocols/Aws_restJson1.js +1204 -86
  76. package/dist-types/Macie2.d.ts +95 -4
  77. package/dist-types/Macie2Client.d.ts +16 -3
  78. package/dist-types/commands/DescribeBucketsCommand.d.ts +1 -1
  79. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
  80. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +1 -1
  81. package/dist-types/commands/GetClassificationScopeCommand.d.ts +37 -0
  82. package/dist-types/commands/GetMacieSessionCommand.d.ts +1 -1
  83. package/dist-types/commands/GetResourceProfileCommand.d.ts +37 -0
  84. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +37 -0
  85. package/dist-types/commands/ListClassificationScopesCommand.d.ts +37 -0
  86. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  87. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
  88. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  89. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  90. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +37 -0
  91. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +37 -0
  92. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +37 -0
  93. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  94. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  95. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/SearchResourcesCommand.d.ts +1 -1
  97. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  99. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  100. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
  101. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +37 -0
  102. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +37 -0
  103. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +37 -0
  104. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +37 -0
  105. package/dist-types/commands/index.d.ts +13 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  107. package/dist-types/models/models_0.d.ts +501 -372
  108. package/dist-types/models/models_1.d.ts +559 -6
  109. package/dist-types/pagination/ListAllowListsPaginator.d.ts +4 -0
  110. package/dist-types/pagination/ListClassificationScopesPaginator.d.ts +4 -0
  111. package/dist-types/pagination/ListManagedDataIdentifiersPaginator.d.ts +4 -0
  112. package/dist-types/pagination/ListResourceProfileArtifactsPaginator.d.ts +4 -0
  113. package/dist-types/pagination/ListResourceProfileDetectionsPaginator.d.ts +4 -0
  114. package/dist-types/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +4 -0
  115. package/dist-types/pagination/index.d.ts +6 -0
  116. package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
  117. package/dist-types/ts3.4/Macie2.d.ts +245 -0
  118. package/dist-types/ts3.4/Macie2Client.d.ts +80 -2
  119. package/dist-types/ts3.4/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/GetClassificationScopeCommand.d.ts +41 -0
  121. package/dist-types/ts3.4/commands/GetResourceProfileCommand.d.ts +38 -0
  122. package/dist-types/ts3.4/commands/GetSensitivityInspectionTemplateCommand.d.ts +41 -0
  123. package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +41 -0
  124. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListResourceProfileArtifactsCommand.d.ts +41 -0
  129. package/dist-types/ts3.4/commands/ListResourceProfileDetectionsCommand.d.ts +41 -0
  130. package/dist-types/ts3.4/commands/ListSensitivityInspectionTemplatesCommand.d.ts +41 -0
  131. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -2
  138. package/dist-types/ts3.4/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
  139. package/dist-types/ts3.4/commands/UpdateClassificationScopeCommand.d.ts +41 -0
  140. package/dist-types/ts3.4/commands/UpdateResourceProfileCommand.d.ts +41 -0
  141. package/dist-types/ts3.4/commands/UpdateResourceProfileDetectionsCommand.d.ts +41 -0
  142. package/dist-types/ts3.4/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +41 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  144. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  145. package/dist-types/ts3.4/models/models_0.d.ts +194 -169
  146. package/dist-types/ts3.4/models/models_1.d.ts +297 -1
  147. package/dist-types/ts3.4/pagination/ListAllowListsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListClassificationScopesPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/ListManagedDataIdentifiersPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListResourceProfileArtifactsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListResourceProfileDetectionsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  154. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  155. package/package.json +3 -3
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native.
11
11
 
12
- <p>Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.</p>
12
+ <p>Amazon Macie</p>
13
13
 
14
14
  ## Installing
15
15
 
@@ -28,8 +28,10 @@ const EnableMacieCommand_1 = require("./commands/EnableMacieCommand");
28
28
  const EnableOrganizationAdminAccountCommand_1 = require("./commands/EnableOrganizationAdminAccountCommand");
29
29
  const GetAdministratorAccountCommand_1 = require("./commands/GetAdministratorAccountCommand");
30
30
  const GetAllowListCommand_1 = require("./commands/GetAllowListCommand");
31
+ const GetAutomatedDiscoveryConfigurationCommand_1 = require("./commands/GetAutomatedDiscoveryConfigurationCommand");
31
32
  const GetBucketStatisticsCommand_1 = require("./commands/GetBucketStatisticsCommand");
32
33
  const GetClassificationExportConfigurationCommand_1 = require("./commands/GetClassificationExportConfigurationCommand");
34
+ const GetClassificationScopeCommand_1 = require("./commands/GetClassificationScopeCommand");
33
35
  const GetCustomDataIdentifierCommand_1 = require("./commands/GetCustomDataIdentifierCommand");
34
36
  const GetFindingsCommand_1 = require("./commands/GetFindingsCommand");
35
37
  const GetFindingsFilterCommand_1 = require("./commands/GetFindingsFilterCommand");
@@ -39,13 +41,16 @@ const GetInvitationsCountCommand_1 = require("./commands/GetInvitationsCountComm
39
41
  const GetMacieSessionCommand_1 = require("./commands/GetMacieSessionCommand");
40
42
  const GetMasterAccountCommand_1 = require("./commands/GetMasterAccountCommand");
41
43
  const GetMemberCommand_1 = require("./commands/GetMemberCommand");
44
+ const GetResourceProfileCommand_1 = require("./commands/GetResourceProfileCommand");
42
45
  const GetRevealConfigurationCommand_1 = require("./commands/GetRevealConfigurationCommand");
43
46
  const GetSensitiveDataOccurrencesAvailabilityCommand_1 = require("./commands/GetSensitiveDataOccurrencesAvailabilityCommand");
44
47
  const GetSensitiveDataOccurrencesCommand_1 = require("./commands/GetSensitiveDataOccurrencesCommand");
48
+ const GetSensitivityInspectionTemplateCommand_1 = require("./commands/GetSensitivityInspectionTemplateCommand");
45
49
  const GetUsageStatisticsCommand_1 = require("./commands/GetUsageStatisticsCommand");
46
50
  const GetUsageTotalsCommand_1 = require("./commands/GetUsageTotalsCommand");
47
51
  const ListAllowListsCommand_1 = require("./commands/ListAllowListsCommand");
48
52
  const ListClassificationJobsCommand_1 = require("./commands/ListClassificationJobsCommand");
53
+ const ListClassificationScopesCommand_1 = require("./commands/ListClassificationScopesCommand");
49
54
  const ListCustomDataIdentifiersCommand_1 = require("./commands/ListCustomDataIdentifiersCommand");
50
55
  const ListFindingsCommand_1 = require("./commands/ListFindingsCommand");
51
56
  const ListFindingsFiltersCommand_1 = require("./commands/ListFindingsFiltersCommand");
@@ -53,6 +58,9 @@ const ListInvitationsCommand_1 = require("./commands/ListInvitationsCommand");
53
58
  const ListManagedDataIdentifiersCommand_1 = require("./commands/ListManagedDataIdentifiersCommand");
54
59
  const ListMembersCommand_1 = require("./commands/ListMembersCommand");
55
60
  const ListOrganizationAdminAccountsCommand_1 = require("./commands/ListOrganizationAdminAccountsCommand");
61
+ const ListResourceProfileArtifactsCommand_1 = require("./commands/ListResourceProfileArtifactsCommand");
62
+ const ListResourceProfileDetectionsCommand_1 = require("./commands/ListResourceProfileDetectionsCommand");
63
+ const ListSensitivityInspectionTemplatesCommand_1 = require("./commands/ListSensitivityInspectionTemplatesCommand");
56
64
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
57
65
  const PutClassificationExportConfigurationCommand_1 = require("./commands/PutClassificationExportConfigurationCommand");
58
66
  const PutFindingsPublicationConfigurationCommand_1 = require("./commands/PutFindingsPublicationConfigurationCommand");
@@ -61,12 +69,17 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
61
69
  const TestCustomDataIdentifierCommand_1 = require("./commands/TestCustomDataIdentifierCommand");
62
70
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
63
71
  const UpdateAllowListCommand_1 = require("./commands/UpdateAllowListCommand");
72
+ const UpdateAutomatedDiscoveryConfigurationCommand_1 = require("./commands/UpdateAutomatedDiscoveryConfigurationCommand");
64
73
  const UpdateClassificationJobCommand_1 = require("./commands/UpdateClassificationJobCommand");
74
+ const UpdateClassificationScopeCommand_1 = require("./commands/UpdateClassificationScopeCommand");
65
75
  const UpdateFindingsFilterCommand_1 = require("./commands/UpdateFindingsFilterCommand");
66
76
  const UpdateMacieSessionCommand_1 = require("./commands/UpdateMacieSessionCommand");
67
77
  const UpdateMemberSessionCommand_1 = require("./commands/UpdateMemberSessionCommand");
68
78
  const UpdateOrganizationConfigurationCommand_1 = require("./commands/UpdateOrganizationConfigurationCommand");
79
+ const UpdateResourceProfileCommand_1 = require("./commands/UpdateResourceProfileCommand");
80
+ const UpdateResourceProfileDetectionsCommand_1 = require("./commands/UpdateResourceProfileDetectionsCommand");
69
81
  const UpdateRevealConfigurationCommand_1 = require("./commands/UpdateRevealConfigurationCommand");
82
+ const UpdateSensitivityInspectionTemplateCommand_1 = require("./commands/UpdateSensitivityInspectionTemplateCommand");
70
83
  const Macie2Client_1 = require("./Macie2Client");
71
84
  class Macie2 extends Macie2Client_1.Macie2Client {
72
85
  acceptInvitation(args, optionsOrCb, cb) {
@@ -447,6 +460,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
447
460
  return this.send(command, optionsOrCb);
448
461
  }
449
462
  }
463
+ getAutomatedDiscoveryConfiguration(args, optionsOrCb, cb) {
464
+ const command = new GetAutomatedDiscoveryConfigurationCommand_1.GetAutomatedDiscoveryConfigurationCommand(args);
465
+ if (typeof optionsOrCb === "function") {
466
+ this.send(command, optionsOrCb);
467
+ }
468
+ else if (typeof cb === "function") {
469
+ if (typeof optionsOrCb !== "object")
470
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
471
+ this.send(command, optionsOrCb || {}, cb);
472
+ }
473
+ else {
474
+ return this.send(command, optionsOrCb);
475
+ }
476
+ }
450
477
  getBucketStatistics(args, optionsOrCb, cb) {
451
478
  const command = new GetBucketStatisticsCommand_1.GetBucketStatisticsCommand(args);
452
479
  if (typeof optionsOrCb === "function") {
@@ -475,6 +502,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
475
502
  return this.send(command, optionsOrCb);
476
503
  }
477
504
  }
505
+ getClassificationScope(args, optionsOrCb, cb) {
506
+ const command = new GetClassificationScopeCommand_1.GetClassificationScopeCommand(args);
507
+ if (typeof optionsOrCb === "function") {
508
+ this.send(command, optionsOrCb);
509
+ }
510
+ else if (typeof cb === "function") {
511
+ if (typeof optionsOrCb !== "object")
512
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
513
+ this.send(command, optionsOrCb || {}, cb);
514
+ }
515
+ else {
516
+ return this.send(command, optionsOrCb);
517
+ }
518
+ }
478
519
  getCustomDataIdentifier(args, optionsOrCb, cb) {
479
520
  const command = new GetCustomDataIdentifierCommand_1.GetCustomDataIdentifierCommand(args);
480
521
  if (typeof optionsOrCb === "function") {
@@ -601,6 +642,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
601
642
  return this.send(command, optionsOrCb);
602
643
  }
603
644
  }
645
+ getResourceProfile(args, optionsOrCb, cb) {
646
+ const command = new GetResourceProfileCommand_1.GetResourceProfileCommand(args);
647
+ if (typeof optionsOrCb === "function") {
648
+ this.send(command, optionsOrCb);
649
+ }
650
+ else if (typeof cb === "function") {
651
+ if (typeof optionsOrCb !== "object")
652
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
653
+ this.send(command, optionsOrCb || {}, cb);
654
+ }
655
+ else {
656
+ return this.send(command, optionsOrCb);
657
+ }
658
+ }
604
659
  getRevealConfiguration(args, optionsOrCb, cb) {
605
660
  const command = new GetRevealConfigurationCommand_1.GetRevealConfigurationCommand(args);
606
661
  if (typeof optionsOrCb === "function") {
@@ -643,6 +698,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
643
698
  return this.send(command, optionsOrCb);
644
699
  }
645
700
  }
701
+ getSensitivityInspectionTemplate(args, optionsOrCb, cb) {
702
+ const command = new GetSensitivityInspectionTemplateCommand_1.GetSensitivityInspectionTemplateCommand(args);
703
+ if (typeof optionsOrCb === "function") {
704
+ this.send(command, optionsOrCb);
705
+ }
706
+ else if (typeof cb === "function") {
707
+ if (typeof optionsOrCb !== "object")
708
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
709
+ this.send(command, optionsOrCb || {}, cb);
710
+ }
711
+ else {
712
+ return this.send(command, optionsOrCb);
713
+ }
714
+ }
646
715
  getUsageStatistics(args, optionsOrCb, cb) {
647
716
  const command = new GetUsageStatisticsCommand_1.GetUsageStatisticsCommand(args);
648
717
  if (typeof optionsOrCb === "function") {
@@ -699,6 +768,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
699
768
  return this.send(command, optionsOrCb);
700
769
  }
701
770
  }
771
+ listClassificationScopes(args, optionsOrCb, cb) {
772
+ const command = new ListClassificationScopesCommand_1.ListClassificationScopesCommand(args);
773
+ if (typeof optionsOrCb === "function") {
774
+ this.send(command, optionsOrCb);
775
+ }
776
+ else if (typeof cb === "function") {
777
+ if (typeof optionsOrCb !== "object")
778
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
779
+ this.send(command, optionsOrCb || {}, cb);
780
+ }
781
+ else {
782
+ return this.send(command, optionsOrCb);
783
+ }
784
+ }
702
785
  listCustomDataIdentifiers(args, optionsOrCb, cb) {
703
786
  const command = new ListCustomDataIdentifiersCommand_1.ListCustomDataIdentifiersCommand(args);
704
787
  if (typeof optionsOrCb === "function") {
@@ -797,6 +880,48 @@ class Macie2 extends Macie2Client_1.Macie2Client {
797
880
  return this.send(command, optionsOrCb);
798
881
  }
799
882
  }
883
+ listResourceProfileArtifacts(args, optionsOrCb, cb) {
884
+ const command = new ListResourceProfileArtifactsCommand_1.ListResourceProfileArtifactsCommand(args);
885
+ if (typeof optionsOrCb === "function") {
886
+ this.send(command, optionsOrCb);
887
+ }
888
+ else if (typeof cb === "function") {
889
+ if (typeof optionsOrCb !== "object")
890
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
891
+ this.send(command, optionsOrCb || {}, cb);
892
+ }
893
+ else {
894
+ return this.send(command, optionsOrCb);
895
+ }
896
+ }
897
+ listResourceProfileDetections(args, optionsOrCb, cb) {
898
+ const command = new ListResourceProfileDetectionsCommand_1.ListResourceProfileDetectionsCommand(args);
899
+ if (typeof optionsOrCb === "function") {
900
+ this.send(command, optionsOrCb);
901
+ }
902
+ else if (typeof cb === "function") {
903
+ if (typeof optionsOrCb !== "object")
904
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
905
+ this.send(command, optionsOrCb || {}, cb);
906
+ }
907
+ else {
908
+ return this.send(command, optionsOrCb);
909
+ }
910
+ }
911
+ listSensitivityInspectionTemplates(args, optionsOrCb, cb) {
912
+ const command = new ListSensitivityInspectionTemplatesCommand_1.ListSensitivityInspectionTemplatesCommand(args);
913
+ if (typeof optionsOrCb === "function") {
914
+ this.send(command, optionsOrCb);
915
+ }
916
+ else if (typeof cb === "function") {
917
+ if (typeof optionsOrCb !== "object")
918
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
919
+ this.send(command, optionsOrCb || {}, cb);
920
+ }
921
+ else {
922
+ return this.send(command, optionsOrCb);
923
+ }
924
+ }
800
925
  listTagsForResource(args, optionsOrCb, cb) {
801
926
  const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
802
927
  if (typeof optionsOrCb === "function") {
@@ -909,6 +1034,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
909
1034
  return this.send(command, optionsOrCb);
910
1035
  }
911
1036
  }
1037
+ updateAutomatedDiscoveryConfiguration(args, optionsOrCb, cb) {
1038
+ const command = new UpdateAutomatedDiscoveryConfigurationCommand_1.UpdateAutomatedDiscoveryConfigurationCommand(args);
1039
+ if (typeof optionsOrCb === "function") {
1040
+ this.send(command, optionsOrCb);
1041
+ }
1042
+ else if (typeof cb === "function") {
1043
+ if (typeof optionsOrCb !== "object")
1044
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1045
+ this.send(command, optionsOrCb || {}, cb);
1046
+ }
1047
+ else {
1048
+ return this.send(command, optionsOrCb);
1049
+ }
1050
+ }
912
1051
  updateClassificationJob(args, optionsOrCb, cb) {
913
1052
  const command = new UpdateClassificationJobCommand_1.UpdateClassificationJobCommand(args);
914
1053
  if (typeof optionsOrCb === "function") {
@@ -923,6 +1062,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
923
1062
  return this.send(command, optionsOrCb);
924
1063
  }
925
1064
  }
1065
+ updateClassificationScope(args, optionsOrCb, cb) {
1066
+ const command = new UpdateClassificationScopeCommand_1.UpdateClassificationScopeCommand(args);
1067
+ if (typeof optionsOrCb === "function") {
1068
+ this.send(command, optionsOrCb);
1069
+ }
1070
+ else if (typeof cb === "function") {
1071
+ if (typeof optionsOrCb !== "object")
1072
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1073
+ this.send(command, optionsOrCb || {}, cb);
1074
+ }
1075
+ else {
1076
+ return this.send(command, optionsOrCb);
1077
+ }
1078
+ }
926
1079
  updateFindingsFilter(args, optionsOrCb, cb) {
927
1080
  const command = new UpdateFindingsFilterCommand_1.UpdateFindingsFilterCommand(args);
928
1081
  if (typeof optionsOrCb === "function") {
@@ -979,6 +1132,34 @@ class Macie2 extends Macie2Client_1.Macie2Client {
979
1132
  return this.send(command, optionsOrCb);
980
1133
  }
981
1134
  }
1135
+ updateResourceProfile(args, optionsOrCb, cb) {
1136
+ const command = new UpdateResourceProfileCommand_1.UpdateResourceProfileCommand(args);
1137
+ if (typeof optionsOrCb === "function") {
1138
+ this.send(command, optionsOrCb);
1139
+ }
1140
+ else if (typeof cb === "function") {
1141
+ if (typeof optionsOrCb !== "object")
1142
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1143
+ this.send(command, optionsOrCb || {}, cb);
1144
+ }
1145
+ else {
1146
+ return this.send(command, optionsOrCb);
1147
+ }
1148
+ }
1149
+ updateResourceProfileDetections(args, optionsOrCb, cb) {
1150
+ const command = new UpdateResourceProfileDetectionsCommand_1.UpdateResourceProfileDetectionsCommand(args);
1151
+ if (typeof optionsOrCb === "function") {
1152
+ this.send(command, optionsOrCb);
1153
+ }
1154
+ else if (typeof cb === "function") {
1155
+ if (typeof optionsOrCb !== "object")
1156
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1157
+ this.send(command, optionsOrCb || {}, cb);
1158
+ }
1159
+ else {
1160
+ return this.send(command, optionsOrCb);
1161
+ }
1162
+ }
982
1163
  updateRevealConfiguration(args, optionsOrCb, cb) {
983
1164
  const command = new UpdateRevealConfigurationCommand_1.UpdateRevealConfigurationCommand(args);
984
1165
  if (typeof optionsOrCb === "function") {
@@ -993,5 +1174,19 @@ class Macie2 extends Macie2Client_1.Macie2Client {
993
1174
  return this.send(command, optionsOrCb);
994
1175
  }
995
1176
  }
1177
+ updateSensitivityInspectionTemplate(args, optionsOrCb, cb) {
1178
+ const command = new UpdateSensitivityInspectionTemplateCommand_1.UpdateSensitivityInspectionTemplateCommand(args);
1179
+ if (typeof optionsOrCb === "function") {
1180
+ this.send(command, optionsOrCb);
1181
+ }
1182
+ else if (typeof cb === "function") {
1183
+ if (typeof optionsOrCb !== "object")
1184
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1185
+ this.send(command, optionsOrCb || {}, cb);
1186
+ }
1187
+ else {
1188
+ return this.send(command, optionsOrCb);
1189
+ }
1190
+ }
996
1191
  }
997
1192
  exports.Macie2 = Macie2;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAutomatedDiscoveryConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetAutomatedDiscoveryConfigurationCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAutomatedDiscoveryConfigurationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Macie2Client";
28
+ const commandName = "GetAutomatedDiscoveryConfigurationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetAutomatedDiscoveryConfigurationRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetAutomatedDiscoveryConfigurationResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetAutomatedDiscoveryConfigurationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetAutomatedDiscoveryConfigurationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetAutomatedDiscoveryConfigurationCommand = GetAutomatedDiscoveryConfigurationCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetClassificationScopeCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetClassificationScopeCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetClassificationScopeCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Macie2Client";
28
+ const commandName = "GetClassificationScopeCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetClassificationScopeRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetClassificationScopeResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetClassificationScopeCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetClassificationScopeCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetClassificationScopeCommand = GetClassificationScopeCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetResourceProfileCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetResourceProfileCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetResourceProfileCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Macie2Client";
28
+ const commandName = "GetResourceProfileCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetResourceProfileRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetResourceProfileResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetResourceProfileCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetResourceProfileCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetResourceProfileCommand = GetResourceProfileCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSensitivityInspectionTemplateCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetSensitivityInspectionTemplateCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSensitivityInspectionTemplateCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Macie2Client";
28
+ const commandName = "GetSensitivityInspectionTemplateCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetSensitivityInspectionTemplateRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetSensitivityInspectionTemplateResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetSensitivityInspectionTemplateCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetSensitivityInspectionTemplateCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetSensitivityInspectionTemplateCommand = GetSensitivityInspectionTemplateCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListClassificationScopesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListClassificationScopesCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListClassificationScopesCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Macie2Client";
28
+ const commandName = "ListClassificationScopesCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListClassificationScopesRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListClassificationScopesResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListClassificationScopesCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListClassificationScopesCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListClassificationScopesCommand = ListClassificationScopesCommand;
@@ -4,7 +4,7 @@ exports.ListInvitationsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ListInvitationsCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class ListInvitationsCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.ListInvitationsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.ListInvitationsResponseFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.ListInvitationsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.ListInvitationsResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.ListManagedDataIdentifiersCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ListManagedDataIdentifiersCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class ListManagedDataIdentifiersCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.ListManagedDataIdentifiersRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.ListManagedDataIdentifiersResponseFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.ListManagedDataIdentifiersRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.ListManagedDataIdentifiersResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.ListMembersCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ListMembersCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class ListMembersCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.ListMembersRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.ListMembersResponseFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.ListMembersRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.ListMembersResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.ListOrganizationAdminAccountsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ListOrganizationAdminAccountsCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class ListOrganizationAdminAccountsCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.ListOrganizationAdminAccountsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.ListOrganizationAdminAccountsResponseFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.ListOrganizationAdminAccountsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.ListOrganizationAdminAccountsResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);