@aws-sdk/client-inspector2 3.828.0 → 3.831.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 (141) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +1297 -313
  3. package/dist-es/Inspector2.js +30 -0
  4. package/dist-es/commands/BatchAssociateCodeSecurityScanConfigurationCommand.js +22 -0
  5. package/dist-es/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.js +22 -0
  6. package/dist-es/commands/CreateCodeSecurityIntegrationCommand.js +23 -0
  7. package/dist-es/commands/CreateCodeSecurityScanConfigurationCommand.js +22 -0
  8. package/dist-es/commands/DeleteCodeSecurityIntegrationCommand.js +22 -0
  9. package/dist-es/commands/DeleteCodeSecurityScanConfigurationCommand.js +22 -0
  10. package/dist-es/commands/GetCodeSecurityIntegrationCommand.js +23 -0
  11. package/dist-es/commands/GetCodeSecurityScanCommand.js +22 -0
  12. package/dist-es/commands/GetCodeSecurityScanConfigurationCommand.js +22 -0
  13. package/dist-es/commands/ListCodeSecurityIntegrationsCommand.js +22 -0
  14. package/dist-es/commands/ListCodeSecurityScanConfigurationAssociationsCommand.js +22 -0
  15. package/dist-es/commands/ListCodeSecurityScanConfigurationsCommand.js +22 -0
  16. package/dist-es/commands/StartCodeSecurityScanCommand.js +22 -0
  17. package/dist-es/commands/UpdateCodeSecurityIntegrationCommand.js +23 -0
  18. package/dist-es/commands/UpdateCodeSecurityScanConfigurationCommand.js +22 -0
  19. package/dist-es/commands/index.js +15 -0
  20. package/dist-es/models/models_0.js +153 -120
  21. package/dist-es/models/models_1.js +110 -0
  22. package/dist-es/protocols/Aws_restJson1.js +509 -3
  23. package/dist-types/Inspector2.d.ts +107 -0
  24. package/dist-types/Inspector2Client.d.ts +17 -2
  25. package/dist-types/commands/AssociateMemberCommand.d.ts +6 -1
  26. package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
  27. package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
  28. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -1
  29. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +4 -1
  30. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -0
  31. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -0
  32. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
  33. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
  34. package/dist-types/commands/CancelFindingsReportCommand.d.ts +4 -1
  35. package/dist-types/commands/CancelSbomExportCommand.d.ts +4 -1
  36. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -0
  37. package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +111 -0
  38. package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +116 -0
  39. package/dist-types/commands/CreateFilterCommand.d.ts +6 -1
  40. package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -2
  41. package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -1
  42. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +4 -1
  43. package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +91 -0
  44. package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +91 -0
  45. package/dist-types/commands/DeleteFilterCommand.d.ts +4 -1
  46. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -0
  47. package/dist-types/commands/DisableCommand.d.ts +8 -3
  48. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -2
  49. package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -0
  50. package/dist-types/commands/EnableCommand.d.ts +6 -1
  51. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -2
  52. package/dist-types/commands/GetCisScanReportCommand.d.ts +5 -2
  53. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +3 -1
  54. package/dist-types/commands/GetClustersForImageCommand.d.ts +3 -1
  55. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +104 -0
  56. package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +107 -0
  57. package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +115 -0
  58. package/dist-types/commands/GetConfigurationCommand.d.ts +3 -2
  59. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +5 -2
  60. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +7 -4
  61. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +5 -2
  62. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +7 -2
  63. package/dist-types/commands/GetMemberCommand.d.ts +5 -2
  64. package/dist-types/commands/GetSbomExportCommand.d.ts +5 -3
  65. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +2 -0
  66. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -0
  67. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -0
  68. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +2 -0
  69. package/dist-types/commands/ListCisScansCommand.d.ts +2 -0
  70. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +102 -0
  71. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +101 -0
  72. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +113 -0
  73. package/dist-types/commands/ListCoverageCommand.d.ts +37 -0
  74. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +4 -0
  75. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +3 -2
  76. package/dist-types/commands/ListFiltersCommand.d.ts +4 -0
  77. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +16 -0
  78. package/dist-types/commands/ListFindingsCommand.d.ts +7 -0
  79. package/dist-types/commands/ListMembersCommand.d.ts +2 -0
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  81. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -0
  82. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -2
  83. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -0
  84. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +7 -6
  85. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +7 -6
  86. package/dist-types/commands/StartCisSessionCommand.d.ts +7 -6
  87. package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +99 -0
  88. package/dist-types/commands/StopCisSessionCommand.d.ts +7 -6
  89. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  90. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  91. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +4 -1
  92. package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +109 -0
  93. package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +109 -0
  94. package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -1
  95. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +4 -1
  96. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -2
  97. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -1
  98. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +4 -1
  99. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  100. package/dist-types/commands/index.d.ts +15 -0
  101. package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
  102. package/dist-types/models/models_0.d.ts +2059 -1859
  103. package/dist-types/models/models_1.d.ts +1582 -49
  104. package/dist-types/protocols/Aws_restJson1.d.ts +135 -0
  105. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  106. package/dist-types/runtimeConfig.native.d.ts +2 -2
  107. package/dist-types/ts3.4/Inspector2.d.ts +299 -0
  108. package/dist-types/ts3.4/Inspector2Client.d.ts +90 -0
  109. package/dist-types/ts3.4/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/CreateCodeSecurityIntegrationCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/DeleteCodeSecurityIntegrationCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +4 -2
  128. package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/StartCodeSecurityScanCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/UpdateCodeSecurityIntegrationCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  135. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
  136. package/dist-types/ts3.4/models/models_0.d.ts +420 -328
  137. package/dist-types/ts3.4/models/models_1.d.ts +445 -6
  138. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +180 -0
  139. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  141. package/package.json +2 -2
@@ -40,6 +40,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
40
40
  * ecr: true || false, // required
41
41
  * lambda: true || false,
42
42
  * lambdaCode: true || false,
43
+ * codeRepository: true || false,
43
44
  * },
44
45
  * };
45
46
  * const command = new UpdateOrganizationConfigurationCommand(input);
@@ -50,6 +51,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
50
51
  * // ecr: true || false, // required
51
52
  * // lambda: true || false,
52
53
  * // lambdaCode: true || false,
54
+ * // codeRepository: true || false,
53
55
  * // },
54
56
  * // };
55
57
  *
@@ -63,6 +65,8 @@ declare const UpdateOrganizationConfigurationCommand_base: {
63
65
  *
64
66
  * @throws {@link AccessDeniedException} (client fault)
65
67
  * <p>You do not have sufficient access to perform this action.</p>
68
+ * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
69
+ * unsupported Amazon Web Services Region. </p>
66
70
  *
67
71
  * @throws {@link InternalServerException} (server fault)
68
72
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -1,4 +1,6 @@
1
1
  export * from "./AssociateMemberCommand";
2
+ export * from "./BatchAssociateCodeSecurityScanConfigurationCommand";
3
+ export * from "./BatchDisassociateCodeSecurityScanConfigurationCommand";
2
4
  export * from "./BatchGetAccountStatusCommand";
3
5
  export * from "./BatchGetCodeSnippetCommand";
4
6
  export * from "./BatchGetFindingDetailsCommand";
@@ -8,10 +10,14 @@ export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";
8
10
  export * from "./CancelFindingsReportCommand";
9
11
  export * from "./CancelSbomExportCommand";
10
12
  export * from "./CreateCisScanConfigurationCommand";
13
+ export * from "./CreateCodeSecurityIntegrationCommand";
14
+ export * from "./CreateCodeSecurityScanConfigurationCommand";
11
15
  export * from "./CreateFilterCommand";
12
16
  export * from "./CreateFindingsReportCommand";
13
17
  export * from "./CreateSbomExportCommand";
14
18
  export * from "./DeleteCisScanConfigurationCommand";
19
+ export * from "./DeleteCodeSecurityIntegrationCommand";
20
+ export * from "./DeleteCodeSecurityScanConfigurationCommand";
15
21
  export * from "./DeleteFilterCommand";
16
22
  export * from "./DescribeOrganizationConfigurationCommand";
17
23
  export * from "./DisableCommand";
@@ -22,6 +28,9 @@ export * from "./EnableDelegatedAdminAccountCommand";
22
28
  export * from "./GetCisScanReportCommand";
23
29
  export * from "./GetCisScanResultDetailsCommand";
24
30
  export * from "./GetClustersForImageCommand";
31
+ export * from "./GetCodeSecurityIntegrationCommand";
32
+ export * from "./GetCodeSecurityScanCommand";
33
+ export * from "./GetCodeSecurityScanConfigurationCommand";
25
34
  export * from "./GetConfigurationCommand";
26
35
  export * from "./GetDelegatedAdminAccountCommand";
27
36
  export * from "./GetEc2DeepInspectionConfigurationCommand";
@@ -34,6 +43,9 @@ export * from "./ListCisScanConfigurationsCommand";
34
43
  export * from "./ListCisScanResultsAggregatedByChecksCommand";
35
44
  export * from "./ListCisScanResultsAggregatedByTargetResourceCommand";
36
45
  export * from "./ListCisScansCommand";
46
+ export * from "./ListCodeSecurityIntegrationsCommand";
47
+ export * from "./ListCodeSecurityScanConfigurationAssociationsCommand";
48
+ export * from "./ListCodeSecurityScanConfigurationsCommand";
37
49
  export * from "./ListCoverageCommand";
38
50
  export * from "./ListCoverageStatisticsCommand";
39
51
  export * from "./ListDelegatedAdminAccountsCommand";
@@ -48,10 +60,13 @@ export * from "./SearchVulnerabilitiesCommand";
48
60
  export * from "./SendCisSessionHealthCommand";
49
61
  export * from "./SendCisSessionTelemetryCommand";
50
62
  export * from "./StartCisSessionCommand";
63
+ export * from "./StartCodeSecurityScanCommand";
51
64
  export * from "./StopCisSessionCommand";
52
65
  export * from "./TagResourceCommand";
53
66
  export * from "./UntagResourceCommand";
54
67
  export * from "./UpdateCisScanConfigurationCommand";
68
+ export * from "./UpdateCodeSecurityIntegrationCommand";
69
+ export * from "./UpdateCodeSecurityScanConfigurationCommand";
55
70
  export * from "./UpdateConfigurationCommand";
56
71
  export * from "./UpdateEc2DeepInspectionConfigurationCommand";
57
72
  export * from "./UpdateEncryptionKeyCommand";
@@ -3,9 +3,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
- UseDualStack?: boolean;
36
- UseFIPS?: boolean;
37
- Endpoint?: string;
34
+ Region?: string | undefined;
35
+ UseDualStack?: boolean | undefined;
36
+ UseFIPS?: boolean | undefined;
37
+ Endpoint?: string | undefined;
38
38
  }