@aws-sdk/client-auditmanager 3.42.0 → 3.47.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 (78) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/AuditManager.js +90 -0
  3. package/dist-cjs/commands/GetInsightsByAssessmentCommand.js +36 -0
  4. package/dist-cjs/commands/GetInsightsCommand.js +36 -0
  5. package/dist-cjs/commands/ListAssessmentControlInsightsByControlDomainCommand.js +36 -0
  6. package/dist-cjs/commands/ListControlDomainInsightsByAssessmentCommand.js +36 -0
  7. package/dist-cjs/commands/ListControlDomainInsightsCommand.js +36 -0
  8. package/dist-cjs/commands/ListControlInsightsByControlDomainCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +1 -0
  11. package/dist-cjs/models/models_0.js +112 -28
  12. package/dist-cjs/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +35 -0
  13. package/dist-cjs/pagination/ListControlDomainInsightsByAssessmentPaginator.js +35 -0
  14. package/dist-cjs/pagination/ListControlDomainInsightsPaginator.js +35 -0
  15. package/dist-cjs/pagination/ListControlInsightsByControlDomainPaginator.js +35 -0
  16. package/dist-cjs/pagination/index.js +4 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +753 -86
  18. package/dist-cjs/runtimeConfig.browser.js +7 -2
  19. package/dist-cjs/runtimeConfig.js +9 -3
  20. package/dist-es/AuditManager.js +90 -0
  21. package/dist-es/commands/GetInsightsByAssessmentCommand.js +39 -0
  22. package/dist-es/commands/GetInsightsCommand.js +39 -0
  23. package/dist-es/commands/ListAssessmentControlInsightsByControlDomainCommand.js +39 -0
  24. package/dist-es/commands/ListControlDomainInsightsByAssessmentCommand.js +39 -0
  25. package/dist-es/commands/ListControlDomainInsightsCommand.js +39 -0
  26. package/dist-es/commands/ListControlInsightsByControlDomainCommand.js +39 -0
  27. package/dist-es/commands/index.js +6 -0
  28. package/dist-es/endpoints.js +1 -0
  29. package/dist-es/models/models_0.js +72 -16
  30. package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +74 -0
  31. package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +74 -0
  32. package/dist-es/pagination/ListControlDomainInsightsPaginator.js +74 -0
  33. package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +74 -0
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-es/protocols/Aws_restJson1.js +798 -34
  36. package/dist-es/runtimeConfig.browser.js +12 -3
  37. package/dist-es/runtimeConfig.js +13 -6
  38. package/dist-types/AuditManager.d.ts +69 -2
  39. package/dist-types/AuditManagerClient.d.ts +13 -3
  40. package/dist-types/commands/GetAssessmentCommand.d.ts +1 -1
  41. package/dist-types/commands/GetAssessmentFrameworkCommand.d.ts +1 -1
  42. package/dist-types/commands/GetInsightsByAssessmentCommand.d.ts +35 -0
  43. package/dist-types/commands/GetInsightsCommand.d.ts +35 -0
  44. package/dist-types/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +42 -0
  45. package/dist-types/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +40 -0
  46. package/dist-types/commands/ListControlDomainInsightsCommand.d.ts +41 -0
  47. package/dist-types/commands/ListControlInsightsByControlDomainCommand.d.ts +42 -0
  48. package/dist-types/commands/index.d.ts +6 -0
  49. package/dist-types/models/models_0.d.ts +521 -54
  50. package/dist-types/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +4 -0
  51. package/dist-types/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +4 -0
  52. package/dist-types/pagination/ListControlDomainInsightsPaginator.d.ts +4 -0
  53. package/dist-types/pagination/ListControlInsightsByControlDomainPaginator.d.ts +4 -0
  54. package/dist-types/pagination/index.d.ts +4 -0
  55. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  57. package/dist-types/runtimeConfig.d.ts +4 -3
  58. package/dist-types/runtimeConfig.native.d.ts +1 -0
  59. package/dist-types/ts3.4/AuditManager.d.ts +30 -0
  60. package/dist-types/ts3.4/AuditManagerClient.d.ts +11 -3
  61. package/dist-types/ts3.4/commands/GetInsightsByAssessmentCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListControlDomainInsightsCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListControlInsightsByControlDomainCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +224 -16
  69. package/dist-types/ts3.4/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +4 -0
  70. package/dist-types/ts3.4/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +4 -0
  71. package/dist-types/ts3.4/pagination/ListControlDomainInsightsPaginator.d.ts +4 -0
  72. package/dist-types/ts3.4/pagination/ListControlInsightsByControlDomainPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  78. package/package.json +38 -45
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
5
5
  $fault: "client";
6
6
  message: string | undefined;
7
7
  }
8
- export declare namespace AccessDeniedException {
9
-
10
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
- }
12
8
  export declare enum AccountStatus {
13
9
  ACTIVE = "ACTIVE",
14
10
  INACTIVE = "INACTIVE",
@@ -513,10 +509,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
513
509
  $fault: "server";
514
510
  message: string | undefined;
515
511
  }
516
- export declare namespace InternalServerException {
517
-
518
- const filterSensitiveLog: (obj: InternalServerException) => any;
519
- }
520
512
 
521
513
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
522
514
  name: "ResourceNotFoundException";
@@ -527,10 +519,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
527
519
 
528
520
  resourceType: string | undefined;
529
521
  }
530
- export declare namespace ResourceNotFoundException {
531
-
532
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
533
- }
534
522
 
535
523
  export interface ValidationExceptionField {
536
524
 
@@ -558,10 +546,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
558
546
 
559
547
  fields?: ValidationExceptionField[];
560
548
  }
561
- export declare namespace ValidationException {
562
-
563
- const filterSensitiveLog: (obj: ValidationException) => any;
564
- }
565
549
  export interface BatchAssociateAssessmentReportEvidenceRequest {
566
550
 
567
551
  assessmentId: string | undefined;
@@ -1494,6 +1478,76 @@ export declare namespace GetEvidenceFoldersByAssessmentControlResponse {
1494
1478
 
1495
1479
  const filterSensitiveLog: (obj: GetEvidenceFoldersByAssessmentControlResponse) => any;
1496
1480
  }
1481
+ export interface GetInsightsRequest {
1482
+ }
1483
+ export declare namespace GetInsightsRequest {
1484
+
1485
+ const filterSensitiveLog: (obj: GetInsightsRequest) => any;
1486
+ }
1487
+
1488
+ export interface Insights {
1489
+
1490
+ activeAssessmentsCount?: number;
1491
+
1492
+ noncompliantEvidenceCount?: number;
1493
+
1494
+ compliantEvidenceCount?: number;
1495
+
1496
+ inconclusiveEvidenceCount?: number;
1497
+
1498
+ assessmentControlsCountByNoncompliantEvidence?: number;
1499
+
1500
+ totalAssessmentControlsCount?: number;
1501
+
1502
+ lastUpdated?: Date;
1503
+ }
1504
+ export declare namespace Insights {
1505
+
1506
+ const filterSensitiveLog: (obj: Insights) => any;
1507
+ }
1508
+ export interface GetInsightsResponse {
1509
+
1510
+ insights?: Insights;
1511
+ }
1512
+ export declare namespace GetInsightsResponse {
1513
+
1514
+ const filterSensitiveLog: (obj: GetInsightsResponse) => any;
1515
+ }
1516
+ export interface GetInsightsByAssessmentRequest {
1517
+
1518
+ assessmentId: string | undefined;
1519
+ }
1520
+ export declare namespace GetInsightsByAssessmentRequest {
1521
+
1522
+ const filterSensitiveLog: (obj: GetInsightsByAssessmentRequest) => any;
1523
+ }
1524
+
1525
+ export interface InsightsByAssessment {
1526
+
1527
+ noncompliantEvidenceCount?: number;
1528
+
1529
+ compliantEvidenceCount?: number;
1530
+
1531
+ inconclusiveEvidenceCount?: number;
1532
+
1533
+ assessmentControlsCountByNoncompliantEvidence?: number;
1534
+
1535
+ totalAssessmentControlsCount?: number;
1536
+
1537
+ lastUpdated?: Date;
1538
+ }
1539
+ export declare namespace InsightsByAssessment {
1540
+
1541
+ const filterSensitiveLog: (obj: InsightsByAssessment) => any;
1542
+ }
1543
+ export interface GetInsightsByAssessmentResponse {
1544
+
1545
+ insights?: InsightsByAssessment;
1546
+ }
1547
+ export declare namespace GetInsightsByAssessmentResponse {
1548
+
1549
+ const filterSensitiveLog: (obj: GetInsightsByAssessmentResponse) => any;
1550
+ }
1497
1551
  export interface GetOrganizationAdminAccountRequest {
1498
1552
  }
1499
1553
  export declare namespace GetOrganizationAdminAccountRequest {
@@ -1579,6 +1633,60 @@ export declare namespace GetSettingsResponse {
1579
1633
 
1580
1634
  const filterSensitiveLog: (obj: GetSettingsResponse) => any;
1581
1635
  }
1636
+ export interface ListAssessmentControlInsightsByControlDomainRequest {
1637
+
1638
+ controlDomainId: string | undefined;
1639
+
1640
+ assessmentId: string | undefined;
1641
+
1642
+ nextToken?: string;
1643
+
1644
+ maxResults?: number;
1645
+ }
1646
+ export declare namespace ListAssessmentControlInsightsByControlDomainRequest {
1647
+
1648
+ const filterSensitiveLog: (obj: ListAssessmentControlInsightsByControlDomainRequest) => any;
1649
+ }
1650
+
1651
+ export interface EvidenceInsights {
1652
+
1653
+ noncompliantEvidenceCount?: number;
1654
+
1655
+ compliantEvidenceCount?: number;
1656
+
1657
+ inconclusiveEvidenceCount?: number;
1658
+ }
1659
+ export declare namespace EvidenceInsights {
1660
+
1661
+ const filterSensitiveLog: (obj: EvidenceInsights) => any;
1662
+ }
1663
+
1664
+ export interface ControlInsightsMetadataByAssessmentItem {
1665
+
1666
+ name?: string;
1667
+
1668
+ id?: string;
1669
+
1670
+ evidenceInsights?: EvidenceInsights;
1671
+
1672
+ controlSetName?: string;
1673
+
1674
+ lastUpdated?: Date;
1675
+ }
1676
+ export declare namespace ControlInsightsMetadataByAssessmentItem {
1677
+
1678
+ const filterSensitiveLog: (obj: ControlInsightsMetadataByAssessmentItem) => any;
1679
+ }
1680
+ export interface ListAssessmentControlInsightsByControlDomainResponse {
1681
+
1682
+ controlInsightsByAssessment?: ControlInsightsMetadataByAssessmentItem[];
1683
+
1684
+ nextToken?: string;
1685
+ }
1686
+ export declare namespace ListAssessmentControlInsightsByControlDomainResponse {
1687
+
1688
+ const filterSensitiveLog: (obj: ListAssessmentControlInsightsByControlDomainResponse) => any;
1689
+ }
1582
1690
  export interface ListAssessmentFrameworksRequest {
1583
1691
 
1584
1692
  frameworkType: FrameworkType | string | undefined;
@@ -1645,6 +1753,8 @@ export declare namespace ListAssessmentReportsResponse {
1645
1753
  }
1646
1754
  export interface ListAssessmentsRequest {
1647
1755
 
1756
+ status?: AssessmentStatus | string;
1757
+
1648
1758
  nextToken?: string;
1649
1759
 
1650
1760
  maxResults?: number;
@@ -1663,6 +1773,104 @@ export declare namespace ListAssessmentsResponse {
1663
1773
 
1664
1774
  const filterSensitiveLog: (obj: ListAssessmentsResponse) => any;
1665
1775
  }
1776
+ export interface ListControlDomainInsightsRequest {
1777
+
1778
+ nextToken?: string;
1779
+
1780
+ maxResults?: number;
1781
+ }
1782
+ export declare namespace ListControlDomainInsightsRequest {
1783
+
1784
+ const filterSensitiveLog: (obj: ListControlDomainInsightsRequest) => any;
1785
+ }
1786
+
1787
+ export interface ControlDomainInsights {
1788
+
1789
+ name?: string;
1790
+
1791
+ id?: string;
1792
+
1793
+ controlsCountByNoncompliantEvidence?: number;
1794
+
1795
+ totalControlsCount?: number;
1796
+
1797
+ evidenceInsights?: EvidenceInsights;
1798
+
1799
+ lastUpdated?: Date;
1800
+ }
1801
+ export declare namespace ControlDomainInsights {
1802
+
1803
+ const filterSensitiveLog: (obj: ControlDomainInsights) => any;
1804
+ }
1805
+ export interface ListControlDomainInsightsResponse {
1806
+
1807
+ controlDomainInsights?: ControlDomainInsights[];
1808
+
1809
+ nextToken?: string;
1810
+ }
1811
+ export declare namespace ListControlDomainInsightsResponse {
1812
+
1813
+ const filterSensitiveLog: (obj: ListControlDomainInsightsResponse) => any;
1814
+ }
1815
+ export interface ListControlDomainInsightsByAssessmentRequest {
1816
+
1817
+ assessmentId: string | undefined;
1818
+
1819
+ nextToken?: string;
1820
+
1821
+ maxResults?: number;
1822
+ }
1823
+ export declare namespace ListControlDomainInsightsByAssessmentRequest {
1824
+
1825
+ const filterSensitiveLog: (obj: ListControlDomainInsightsByAssessmentRequest) => any;
1826
+ }
1827
+ export interface ListControlDomainInsightsByAssessmentResponse {
1828
+
1829
+ controlDomainInsights?: ControlDomainInsights[];
1830
+
1831
+ nextToken?: string;
1832
+ }
1833
+ export declare namespace ListControlDomainInsightsByAssessmentResponse {
1834
+
1835
+ const filterSensitiveLog: (obj: ListControlDomainInsightsByAssessmentResponse) => any;
1836
+ }
1837
+ export interface ListControlInsightsByControlDomainRequest {
1838
+
1839
+ controlDomainId: string | undefined;
1840
+
1841
+ nextToken?: string;
1842
+
1843
+ maxResults?: number;
1844
+ }
1845
+ export declare namespace ListControlInsightsByControlDomainRequest {
1846
+
1847
+ const filterSensitiveLog: (obj: ListControlInsightsByControlDomainRequest) => any;
1848
+ }
1849
+
1850
+ export interface ControlInsightsMetadataItem {
1851
+
1852
+ name?: string;
1853
+
1854
+ id?: string;
1855
+
1856
+ evidenceInsights?: EvidenceInsights;
1857
+
1858
+ lastUpdated?: Date;
1859
+ }
1860
+ export declare namespace ControlInsightsMetadataItem {
1861
+
1862
+ const filterSensitiveLog: (obj: ControlInsightsMetadataItem) => any;
1863
+ }
1864
+ export interface ListControlInsightsByControlDomainResponse {
1865
+
1866
+ controlInsightsMetadata?: ControlInsightsMetadataItem[];
1867
+
1868
+ nextToken?: string;
1869
+ }
1870
+ export declare namespace ListControlInsightsByControlDomainResponse {
1871
+
1872
+ const filterSensitiveLog: (obj: ListControlInsightsByControlDomainResponse) => any;
1873
+ }
1666
1874
  export interface ListControlsRequest {
1667
1875
 
1668
1876
  controlType: ControlType | string | undefined;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAssessmentControlInsightsByControlDomainCommandInput, ListAssessmentControlInsightsByControlDomainCommandOutput } from "../commands/ListAssessmentControlInsightsByControlDomainCommand";
3
+ import { AuditManagerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAssessmentControlInsightsByControlDomain(config: AuditManagerPaginationConfiguration, input: ListAssessmentControlInsightsByControlDomainCommandInput, ...additionalArguments: any): Paginator<ListAssessmentControlInsightsByControlDomainCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListControlDomainInsightsByAssessmentCommandInput, ListControlDomainInsightsByAssessmentCommandOutput } from "../commands/ListControlDomainInsightsByAssessmentCommand";
3
+ import { AuditManagerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListControlDomainInsightsByAssessment(config: AuditManagerPaginationConfiguration, input: ListControlDomainInsightsByAssessmentCommandInput, ...additionalArguments: any): Paginator<ListControlDomainInsightsByAssessmentCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListControlDomainInsightsCommandInput, ListControlDomainInsightsCommandOutput } from "../commands/ListControlDomainInsightsCommand";
3
+ import { AuditManagerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListControlDomainInsights(config: AuditManagerPaginationConfiguration, input: ListControlDomainInsightsCommandInput, ...additionalArguments: any): Paginator<ListControlDomainInsightsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListControlInsightsByControlDomainCommandInput, ListControlInsightsByControlDomainCommandOutput } from "../commands/ListControlInsightsByControlDomainCommand";
3
+ import { AuditManagerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListControlInsightsByControlDomain(config: AuditManagerPaginationConfiguration, input: ListControlInsightsByControlDomainCommandInput, ...additionalArguments: any): Paginator<ListControlInsightsByControlDomainCommandOutput>;
@@ -4,10 +4,14 @@ export * from "./GetEvidenceByEvidenceFolderPaginator";
4
4
  export * from "./GetEvidenceFoldersByAssessmentControlPaginator";
5
5
  export * from "./GetEvidenceFoldersByAssessmentPaginator";
6
6
  export * from "./Interfaces";
7
+ export * from "./ListAssessmentControlInsightsByControlDomainPaginator";
7
8
  export * from "./ListAssessmentFrameworkShareRequestsPaginator";
8
9
  export * from "./ListAssessmentFrameworksPaginator";
9
10
  export * from "./ListAssessmentReportsPaginator";
10
11
  export * from "./ListAssessmentsPaginator";
12
+ export * from "./ListControlDomainInsightsByAssessmentPaginator";
13
+ export * from "./ListControlDomainInsightsPaginator";
14
+ export * from "./ListControlInsightsByControlDomainPaginator";
11
15
  export * from "./ListControlsPaginator";
12
16
  export * from "./ListKeywordsForDataSourcePaginator";
13
17
  export * from "./ListNotificationsPaginator";
@@ -30,13 +30,19 @@ import { GetEvidenceCommandInput, GetEvidenceCommandOutput } from "../commands/G
30
30
  import { GetEvidenceFolderCommandInput, GetEvidenceFolderCommandOutput } from "../commands/GetEvidenceFolderCommand";
31
31
  import { GetEvidenceFoldersByAssessmentCommandInput, GetEvidenceFoldersByAssessmentCommandOutput } from "../commands/GetEvidenceFoldersByAssessmentCommand";
32
32
  import { GetEvidenceFoldersByAssessmentControlCommandInput, GetEvidenceFoldersByAssessmentControlCommandOutput } from "../commands/GetEvidenceFoldersByAssessmentControlCommand";
33
+ import { GetInsightsByAssessmentCommandInput, GetInsightsByAssessmentCommandOutput } from "../commands/GetInsightsByAssessmentCommand";
34
+ import { GetInsightsCommandInput, GetInsightsCommandOutput } from "../commands/GetInsightsCommand";
33
35
  import { GetOrganizationAdminAccountCommandInput, GetOrganizationAdminAccountCommandOutput } from "../commands/GetOrganizationAdminAccountCommand";
34
36
  import { GetServicesInScopeCommandInput, GetServicesInScopeCommandOutput } from "../commands/GetServicesInScopeCommand";
35
37
  import { GetSettingsCommandInput, GetSettingsCommandOutput } from "../commands/GetSettingsCommand";
38
+ import { ListAssessmentControlInsightsByControlDomainCommandInput, ListAssessmentControlInsightsByControlDomainCommandOutput } from "../commands/ListAssessmentControlInsightsByControlDomainCommand";
36
39
  import { ListAssessmentFrameworksCommandInput, ListAssessmentFrameworksCommandOutput } from "../commands/ListAssessmentFrameworksCommand";
37
40
  import { ListAssessmentFrameworkShareRequestsCommandInput, ListAssessmentFrameworkShareRequestsCommandOutput } from "../commands/ListAssessmentFrameworkShareRequestsCommand";
38
41
  import { ListAssessmentReportsCommandInput, ListAssessmentReportsCommandOutput } from "../commands/ListAssessmentReportsCommand";
39
42
  import { ListAssessmentsCommandInput, ListAssessmentsCommandOutput } from "../commands/ListAssessmentsCommand";
43
+ import { ListControlDomainInsightsByAssessmentCommandInput, ListControlDomainInsightsByAssessmentCommandOutput } from "../commands/ListControlDomainInsightsByAssessmentCommand";
44
+ import { ListControlDomainInsightsCommandInput, ListControlDomainInsightsCommandOutput } from "../commands/ListControlDomainInsightsCommand";
45
+ import { ListControlInsightsByControlDomainCommandInput, ListControlInsightsByControlDomainCommandOutput } from "../commands/ListControlInsightsByControlDomainCommand";
40
46
  import { ListControlsCommandInput, ListControlsCommandOutput } from "../commands/ListControlsCommand";
41
47
  import { ListKeywordsForDataSourceCommandInput, ListKeywordsForDataSourceCommandOutput } from "../commands/ListKeywordsForDataSourceCommand";
42
48
  import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "../commands/ListNotificationsCommand";
@@ -85,13 +91,19 @@ export declare const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand: (
85
91
  export declare const serializeAws_restJson1GetEvidenceFolderCommand: (input: GetEvidenceFolderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
92
  export declare const serializeAws_restJson1GetEvidenceFoldersByAssessmentCommand: (input: GetEvidenceFoldersByAssessmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
93
  export declare const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand: (input: GetEvidenceFoldersByAssessmentControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
+ export declare const serializeAws_restJson1GetInsightsCommand: (input: GetInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
+ export declare const serializeAws_restJson1GetInsightsByAssessmentCommand: (input: GetInsightsByAssessmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
88
96
  export declare const serializeAws_restJson1GetOrganizationAdminAccountCommand: (input: GetOrganizationAdminAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
97
  export declare const serializeAws_restJson1GetServicesInScopeCommand: (input: GetServicesInScopeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
98
  export declare const serializeAws_restJson1GetSettingsCommand: (input: GetSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
+ export declare const serializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommand: (input: ListAssessmentControlInsightsByControlDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
100
  export declare const serializeAws_restJson1ListAssessmentFrameworksCommand: (input: ListAssessmentFrameworksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
101
  export declare const serializeAws_restJson1ListAssessmentFrameworkShareRequestsCommand: (input: ListAssessmentFrameworkShareRequestsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
102
  export declare const serializeAws_restJson1ListAssessmentReportsCommand: (input: ListAssessmentReportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
103
  export declare const serializeAws_restJson1ListAssessmentsCommand: (input: ListAssessmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
+ export declare const serializeAws_restJson1ListControlDomainInsightsCommand: (input: ListControlDomainInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
+ export declare const serializeAws_restJson1ListControlDomainInsightsByAssessmentCommand: (input: ListControlDomainInsightsByAssessmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
+ export declare const serializeAws_restJson1ListControlInsightsByControlDomainCommand: (input: ListControlInsightsByControlDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
107
  export declare const serializeAws_restJson1ListControlsCommand: (input: ListControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
108
  export declare const serializeAws_restJson1ListKeywordsForDataSourceCommand: (input: ListKeywordsForDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
109
  export declare const serializeAws_restJson1ListNotificationsCommand: (input: ListNotificationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -140,13 +152,19 @@ export declare const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand:
140
152
  export declare const deserializeAws_restJson1GetEvidenceFolderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEvidenceFolderCommandOutput>;
141
153
  export declare const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEvidenceFoldersByAssessmentCommandOutput>;
142
154
  export declare const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEvidenceFoldersByAssessmentControlCommandOutput>;
155
+ export declare const deserializeAws_restJson1GetInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInsightsCommandOutput>;
156
+ export declare const deserializeAws_restJson1GetInsightsByAssessmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInsightsByAssessmentCommandOutput>;
143
157
  export declare const deserializeAws_restJson1GetOrganizationAdminAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrganizationAdminAccountCommandOutput>;
144
158
  export declare const deserializeAws_restJson1GetServicesInScopeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServicesInScopeCommandOutput>;
145
159
  export declare const deserializeAws_restJson1GetSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSettingsCommandOutput>;
160
+ export declare const deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssessmentControlInsightsByControlDomainCommandOutput>;
146
161
  export declare const deserializeAws_restJson1ListAssessmentFrameworksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssessmentFrameworksCommandOutput>;
147
162
  export declare const deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssessmentFrameworkShareRequestsCommandOutput>;
148
163
  export declare const deserializeAws_restJson1ListAssessmentReportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssessmentReportsCommandOutput>;
149
164
  export declare const deserializeAws_restJson1ListAssessmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssessmentsCommandOutput>;
165
+ export declare const deserializeAws_restJson1ListControlDomainInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListControlDomainInsightsCommandOutput>;
166
+ export declare const deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListControlDomainInsightsByAssessmentCommandOutput>;
167
+ export declare const deserializeAws_restJson1ListControlInsightsByControlDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListControlInsightsByControlDomainCommandOutput>;
150
168
  export declare const deserializeAws_restJson1ListControlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListControlsCommandOutput>;
151
169
  export declare const deserializeAws_restJson1ListKeywordsForDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKeywordsForDataSourceCommandOutput>;
152
170
  export declare const deserializeAws_restJson1ListNotificationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListNotificationsCommandOutput>;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { AuditManagerClientConfig } from "./AuditManagerClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { AuditManagerClientConfig } from "./AuditManagerClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auditmanager",
3
3
  "description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
4
- "version": "3.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,48 +18,44 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {