@aws-sdk/client-inspector2 3.1079.0 → 3.1081.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 (101) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +967 -133
  3. package/dist-es/Inspector2.js +25 -1
  4. package/dist-es/commands/CreateConnectorCommand.js +4 -0
  5. package/dist-es/commands/DeleteConnectorCommand.js +4 -0
  6. package/dist-es/commands/ListConnectorScanConfigurationsCommand.js +4 -0
  7. package/dist-es/commands/ListConnectorsCommand.js +4 -0
  8. package/dist-es/commands/UpdateConnectorCommand.js +4 -0
  9. package/dist-es/commands/UpdateConnectorScanConfigurationCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/index.js +1 -0
  12. package/dist-es/models/enums.js +130 -0
  13. package/dist-es/pagination/ListConnectorScanConfigurationsPaginator.js +4 -0
  14. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +542 -130
  17. package/dist-es/waiters/index.js +3 -0
  18. package/dist-es/waiters/waitForConnectorConnected.js +69 -0
  19. package/dist-es/waiters/waitForConnectorDeleted.js +46 -0
  20. package/dist-es/waiters/waitForConnectorEnabled.js +69 -0
  21. package/dist-types/Inspector2.d.ts +78 -1
  22. package/dist-types/Inspector2Client.d.ts +8 -2
  23. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateConnectorCommand.d.ts +167 -0
  25. package/dist-types/commands/CreateFilterCommand.d.ts +24 -0
  26. package/dist-types/commands/CreateFindingsReportCommand.d.ts +24 -0
  27. package/dist-types/commands/DeleteConnectorCommand.d.ts +105 -0
  28. package/dist-types/commands/GetConfigurationCommand.d.ts +18 -3
  29. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +24 -0
  30. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +135 -0
  33. package/dist-types/commands/ListConnectorsCommand.d.ts +226 -0
  34. package/dist-types/commands/ListCoverageCommand.d.ts +59 -1
  35. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +24 -1
  36. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListFiltersCommand.d.ts +25 -1
  38. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +149 -2
  39. package/dist-types/commands/ListFindingsCommand.d.ts +86 -1
  40. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  42. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -1
  43. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  44. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  45. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +1 -1
  46. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateConfigurationCommand.d.ts +11 -3
  48. package/dist-types/commands/UpdateConnectorCommand.d.ts +146 -0
  49. package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +117 -0
  50. package/dist-types/commands/UpdateFilterCommand.d.ts +24 -0
  51. package/dist-types/commands/index.d.ts +6 -0
  52. package/dist-types/index.d.ts +1 -0
  53. package/dist-types/models/enums.d.ts +282 -0
  54. package/dist-types/models/models_0.d.ts +3359 -1910
  55. package/dist-types/models/models_1.d.ts +932 -2
  56. package/dist-types/pagination/ListConnectorScanConfigurationsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/schemas/schemas_0.d.ts +51 -0
  60. package/dist-types/ts3.4/Inspector2.d.ts +147 -0
  61. package/dist-types/ts3.4/Inspector2Client.d.ts +36 -0
  62. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
  63. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
  64. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListConnectorScanConfigurationsCommand.d.ts +44 -0
  68. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
  69. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
  83. package/dist-types/ts3.4/commands/UpdateConnectorScanConfigurationCommand.d.ts +44 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  85. package/dist-types/ts3.4/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/enums.d.ts +162 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +571 -166
  88. package/dist-types/ts3.4/models/models_1.d.ts +248 -1
  89. package/dist-types/ts3.4/pagination/ListConnectorScanConfigurationsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
  93. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  94. package/dist-types/ts3.4/waiters/waitForConnectorConnected.d.ts +17 -0
  95. package/dist-types/ts3.4/waiters/waitForConnectorDeleted.d.ts +17 -0
  96. package/dist-types/ts3.4/waiters/waitForConnectorEnabled.d.ts +17 -0
  97. package/dist-types/waiters/index.d.ts +3 -0
  98. package/dist-types/waiters/waitForConnectorConnected.d.ts +15 -0
  99. package/dist-types/waiters/waitForConnectorDeleted.d.ts +15 -0
  100. package/dist-types/waiters/waitForConnectorEnabled.d.ts +15 -0
  101. package/package.json +3 -3
@@ -173,6 +173,30 @@ declare const CreateFindingsReportCommand_base: {
173
173
  * ],
174
174
  * codeRepositoryProjectName: "<StringFilterList>",
175
175
  * codeRepositoryProviderType: "<StringFilterList>",
176
+ * cloudProvider: "<StringFilterList>",
177
+ * cloudProviderRegion: "<StringFilterList>",
178
+ * cloudProviderAccountId: "<StringFilterList>",
179
+ * cloudProviderOrgId: "<StringFilterList>",
180
+ * cloudVmImageReference: "<StringFilterList>",
181
+ * cloudVmNetworkId: "<StringFilterList>",
182
+ * cloudVmSubnetIds: "<StringFilterList>",
183
+ * cloudImageRepositoryName: "<StringFilterList>",
184
+ * cloudImageRegistry: "<StringFilterList>",
185
+ * cloudImageDigest: "<StringFilterList>",
186
+ * cloudImageTags: "<StringFilterList>",
187
+ * cloudImagePushedAt: "<DateFilterList>",
188
+ * cloudImageArchitecture: "<StringFilterList>",
189
+ * cloudImageLastInUseAt: "<DateFilterList>",
190
+ * cloudImageInUseCount: [
191
+ * {
192
+ * upperInclusive: Number("double"),
193
+ * lowerInclusive: Number("double"),
194
+ * },
195
+ * ],
196
+ * cloudServerlessFunctionName: "<StringFilterList>",
197
+ * cloudServerlessFunctionRuntime: "<StringFilterList>",
198
+ * cloudServerlessFunctionLastModifiedAt: "<DateFilterList>",
199
+ * cloudServerlessFunctionExecutionRole: "<StringFilterList>",
176
200
  * },
177
201
  * reportFormat: "STRING_VALUE", // required
178
202
  * s3Destination: { // Destination
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteConnectorCommand}.
11
+ */
12
+ export interface DeleteConnectorCommandInput extends DeleteConnectorRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteConnectorCommand}.
18
+ */
19
+ export interface DeleteConnectorCommandOutput extends DeleteConnectorResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteConnectorCommand_base: {
22
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a connector from your account.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { Inspector2Client, DeleteConnectorCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
32
+ * // const { Inspector2Client, DeleteConnectorCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
33
+ * // import type { Inspector2ClientConfig } from "@aws-sdk/client-inspector2";
34
+ * const config = {}; // type is Inspector2ClientConfig
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // DeleteConnectorRequest
37
+ * connectorArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteConnectorCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteConnectorCommandInput - {@link DeleteConnectorCommandInput}
46
+ * @returns {@link DeleteConnectorCommandOutput}
47
+ * @see {@link DeleteConnectorCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
49
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient access to perform this action.</p>
53
+ * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
54
+ * unsupported Amazon Web Services Region. </p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by
58
+ * concurrent requests.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified
65
+ * correctly.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The limit on the number of requests per second was exceeded.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The request has failed validation due to missing required fields or having invalid
72
+ * inputs.</p>
73
+ *
74
+ * @throws {@link Inspector2ServiceException}
75
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
76
+ *
77
+ *
78
+ * @example Delete a customer-managed connector
79
+ * ```javascript
80
+ * //
81
+ * const input = {
82
+ * connectorArn: "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
83
+ * };
84
+ * const command = new DeleteConnectorCommand(input);
85
+ * const response = await client.send(command);
86
+ * /* response is
87
+ * { /* empty *\/ }
88
+ * *\/
89
+ * ```
90
+ *
91
+ * @public
92
+ */
93
+ export declare class DeleteConnectorCommand extends DeleteConnectorCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: DeleteConnectorRequest;
98
+ output: {};
99
+ };
100
+ sdk: {
101
+ input: DeleteConnectorCommandInput;
102
+ output: DeleteConnectorCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -24,7 +24,11 @@ declare const GetConfigurationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves setting configurations for Inspector scans.</p>
27
+ * <p>Retrieves setting configurations for Amazon Inspector scans. If you specify an
28
+ * <code>accountId</code>, this operation returns the scan configuration for that member
29
+ * account. You must be the delegated administrator for the specified member account.
30
+ * If you do not specify an <code>accountId</code>, this operation returns your own
31
+ * scan configuration.</p>
28
32
  * @example
29
33
  * Use a bare-bones client and the command you need to make an API call.
30
34
  * ```javascript
@@ -33,7 +37,9 @@ declare const GetConfigurationCommand_base: {
33
37
  * // import type { Inspector2ClientConfig } from "@aws-sdk/client-inspector2";
34
38
  * const config = {}; // type is Inspector2ClientConfig
35
39
  * const client = new Inspector2Client(config);
36
- * const input = {};
40
+ * const input = { // GetConfigurationRequest
41
+ * accountId: "STRING_VALUE",
42
+ * };
37
43
  * const command = new GetConfigurationCommand(input);
38
44
  * const response = await client.send(command);
39
45
  * // { // GetConfigurationResponse
@@ -67,6 +73,11 @@ declare const GetConfigurationCommand_base: {
67
73
  * @see {@link GetConfigurationCommandOutput} for command's `response` shape.
68
74
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
69
75
  *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>You do not have sufficient access to perform this action.</p>
78
+ * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
79
+ * unsupported Amazon Web Services Region. </p>
80
+ *
70
81
  * @throws {@link InternalServerException} (server fault)
71
82
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
72
83
  *
@@ -77,6 +88,10 @@ declare const GetConfigurationCommand_base: {
77
88
  * @throws {@link ThrottlingException} (client fault)
78
89
  * <p>The limit on the number of requests per second was exceeded.</p>
79
90
  *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The request has failed validation due to missing required fields or having invalid
93
+ * inputs.</p>
94
+ *
80
95
  * @throws {@link Inspector2ServiceException}
81
96
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
82
97
  *
@@ -87,7 +102,7 @@ export declare class GetConfigurationCommand extends GetConfigurationCommand_bas
87
102
  /** @internal type navigation helper, not in runtime. */
88
103
  protected static __types: {
89
104
  api: {
90
- input: {};
105
+ input: GetConfigurationRequest;
91
106
  output: GetConfigurationResponse;
92
107
  };
93
108
  sdk: {
@@ -185,6 +185,30 @@ declare const GetFindingsReportStatusCommand_base: {
185
185
  * // ],
186
186
  * // codeRepositoryProjectName: "<StringFilterList>",
187
187
  * // codeRepositoryProviderType: "<StringFilterList>",
188
+ * // cloudProvider: "<StringFilterList>",
189
+ * // cloudProviderRegion: "<StringFilterList>",
190
+ * // cloudProviderAccountId: "<StringFilterList>",
191
+ * // cloudProviderOrgId: "<StringFilterList>",
192
+ * // cloudVmImageReference: "<StringFilterList>",
193
+ * // cloudVmNetworkId: "<StringFilterList>",
194
+ * // cloudVmSubnetIds: "<StringFilterList>",
195
+ * // cloudImageRepositoryName: "<StringFilterList>",
196
+ * // cloudImageRegistry: "<StringFilterList>",
197
+ * // cloudImageDigest: "<StringFilterList>",
198
+ * // cloudImageTags: "<StringFilterList>",
199
+ * // cloudImagePushedAt: "<DateFilterList>",
200
+ * // cloudImageArchitecture: "<StringFilterList>",
201
+ * // cloudImageLastInUseAt: "<DateFilterList>",
202
+ * // cloudImageInUseCount: [
203
+ * // {
204
+ * // upperInclusive: Number("double"),
205
+ * // lowerInclusive: Number("double"),
206
+ * // },
207
+ * // ],
208
+ * // cloudServerlessFunctionName: "<StringFilterList>",
209
+ * // cloudServerlessFunctionRuntime: "<StringFilterList>",
210
+ * // cloudServerlessFunctionLastModifiedAt: "<DateFilterList>",
211
+ * // cloudServerlessFunctionExecutionRole: "<StringFilterList>",
188
212
  * // },
189
213
  * // };
190
214
  *
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListCodeSecurityScanConfigurationAssociationsRequest, ListCodeSecurityScanConfigurationAssociationsResponse } from "../models/models_0";
2
+ import type { ListCodeSecurityScanConfigurationAssociationsRequest } from "../models/models_0";
3
+ import type { ListCodeSecurityScanConfigurationAssociationsResponse } from "../models/models_1";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListCodeSecurityScanConfigurationsRequest, ListCodeSecurityScanConfigurationsResponse } from "../models/models_0";
2
+ import type { ListCodeSecurityScanConfigurationsRequest, ListCodeSecurityScanConfigurationsResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,135 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListConnectorScanConfigurationsRequest, ListConnectorScanConfigurationsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListConnectorScanConfigurationsCommand}.
11
+ */
12
+ export interface ListConnectorScanConfigurationsCommandInput extends ListConnectorScanConfigurationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListConnectorScanConfigurationsCommand}.
18
+ */
19
+ export interface ListConnectorScanConfigurationsCommandOutput extends ListConnectorScanConfigurationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListConnectorScanConfigurationsCommand_base: {
22
+ new (input: ListConnectorScanConfigurationsCommandInput): import("@smithy/core/client").CommandImpl<ListConnectorScanConfigurationsCommandInput, ListConnectorScanConfigurationsCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListConnectorScanConfigurationsCommandInput]): import("@smithy/core/client").CommandImpl<ListConnectorScanConfigurationsCommandInput, ListConnectorScanConfigurationsCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists scan configurations for Amazon Web Services Config connectors. Results are paginated. Use the <code>nextToken</code> parameter to retrieve the next page of results.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { Inspector2Client, ListConnectorScanConfigurationsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
32
+ * // const { Inspector2Client, ListConnectorScanConfigurationsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
33
+ * // import type { Inspector2ClientConfig } from "@aws-sdk/client-inspector2";
34
+ * const config = {}; // type is Inspector2ClientConfig
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListConnectorScanConfigurationsRequest
37
+ * awsConfigConnectorArns: [ // AwsConfigConnectorArnList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListConnectorScanConfigurationsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListConnectorScanConfigurationsResponse
46
+ * // scanConfigurations: [ // ConnectorScanConfigurationItemList // required
47
+ * // { // ConnectorScanConfigurationItem
48
+ * // awsConfigConnectorArn: "STRING_VALUE", // required
49
+ * // connectorArns: [ // ConnectorArnList // required
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // scanConfiguration: { // ConnectorScanConfiguration
53
+ * // containerImageScanning: { // ConnectorContainerImageScanConfiguration
54
+ * // pushDuration: "STRING_VALUE",
55
+ * // pullDuration: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListConnectorScanConfigurationsCommandInput - {@link ListConnectorScanConfigurationsCommandInput}
66
+ * @returns {@link ListConnectorScanConfigurationsCommandOutput}
67
+ * @see {@link ListConnectorScanConfigurationsCommandInput} for command's `input` shape.
68
+ * @see {@link ListConnectorScanConfigurationsCommandOutput} for command's `response` shape.
69
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You do not have sufficient access to perform this action.</p>
73
+ * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
74
+ * unsupported Amazon Web Services Region. </p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The limit on the number of requests per second was exceeded.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The request has failed validation due to missing required fields or having invalid
84
+ * inputs.</p>
85
+ *
86
+ * @throws {@link Inspector2ServiceException}
87
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
88
+ *
89
+ *
90
+ * @example List scan configurations for a specific AWS Config connector
91
+ * ```javascript
92
+ * //
93
+ * const input = {
94
+ * awsConfigConnectorArns: [
95
+ * "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae"
96
+ * ],
97
+ * maxResults: 10
98
+ * };
99
+ * const command = new ListConnectorScanConfigurationsCommand(input);
100
+ * const response = await client.send(command);
101
+ * /* response is
102
+ * {
103
+ * scanConfigurations: [
104
+ * {
105
+ * awsConfigConnectorArn: "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae",
106
+ * connectorArns: [
107
+ * "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
108
+ * ],
109
+ * scanConfiguration: {
110
+ * containerImageScanning: {
111
+ * pullDuration: "DAYS_14",
112
+ * pushDuration: "DAYS_30"
113
+ * }
114
+ * }
115
+ * }
116
+ * ]
117
+ * }
118
+ * *\/
119
+ * ```
120
+ *
121
+ * @public
122
+ */
123
+ export declare class ListConnectorScanConfigurationsCommand extends ListConnectorScanConfigurationsCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: ListConnectorScanConfigurationsRequest;
128
+ output: ListConnectorScanConfigurationsResponse;
129
+ };
130
+ sdk: {
131
+ input: ListConnectorScanConfigurationsCommandInput;
132
+ output: ListConnectorScanConfigurationsCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -0,0 +1,226 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListConnectorsRequest, ListConnectorsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListConnectorsCommand}.
11
+ */
12
+ export interface ListConnectorsCommandInput extends ListConnectorsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListConnectorsCommand}.
18
+ */
19
+ export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListConnectorsCommand_base: {
22
+ new (input: ListConnectorsCommandInput): import("@smithy/core/client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListConnectorsCommandInput]): import("@smithy/core/client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists connectors in your account. Results are paginated. Use the <code>nextToken</code> parameter to retrieve the next page of results.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { Inspector2Client, ListConnectorsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
32
+ * // const { Inspector2Client, ListConnectorsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
33
+ * // import type { Inspector2ClientConfig } from "@aws-sdk/client-inspector2";
34
+ * const config = {}; // type is Inspector2ClientConfig
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListConnectorsRequest
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * filterCriteria: { // ConnectorFilterCriteria
40
+ * connectorArns: [ // ConnectorArnFilterList
41
+ * { // ConnectorArnFilter
42
+ * comparison: "EQUALS", // required
43
+ * value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * accounts: [ // StringFilterList
47
+ * { // StringFilter
48
+ * comparison: "STRING_VALUE", // required
49
+ * value: "STRING_VALUE", // required
50
+ * },
51
+ * ],
52
+ * awsConfigConnectorArns: [ // AwsConfigConnectorArnFilterList
53
+ * { // AwsConfigConnectorArnFilter
54
+ * comparison: "EQUALS", // required
55
+ * value: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * connectorType: [ // ConnectorTypeFilterList
59
+ * { // ConnectorTypeFilter
60
+ * comparison: "EQUALS", // required
61
+ * value: "CUSTOMER_MANAGED" || "SERVICE_LINKED", // required
62
+ * },
63
+ * ],
64
+ * provider: [ // ProviderFilterList
65
+ * { // ProviderFilter
66
+ * comparison: "EQUALS", // required
67
+ * value: "AZURE", // required
68
+ * },
69
+ * ],
70
+ * },
71
+ * };
72
+ * const command = new ListConnectorsCommand(input);
73
+ * const response = await client.send(command);
74
+ * // { // ListConnectorsResponse
75
+ * // items: [ // ConnectorList // required
76
+ * // { // Connector
77
+ * // connectorArn: "STRING_VALUE", // required
78
+ * // name: "STRING_VALUE",
79
+ * // description: "STRING_VALUE",
80
+ * // provider: "AZURE", // required
81
+ * // enablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "DELETED" || "FAILED_TO_DELETE",
82
+ * // enablementStatusReason: "STRING_VALUE",
83
+ * // health: { // ConnectorHealth
84
+ * // connectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN", // required
85
+ * // lastCheckedAt: new Date("TIMESTAMP"), // required
86
+ * // message: "STRING_VALUE",
87
+ * // },
88
+ * // createdAt: new Date("TIMESTAMP"), // required
89
+ * // updatedAt: new Date("TIMESTAMP"), // required
90
+ * // azureRegions: [ // AzureRegionList
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // awsConfigConnectorArn: "STRING_VALUE",
94
+ * // scopeConfiguration: { // AzureScopeConfiguration
95
+ * // vmScanning: { // ScopeConfiguration
96
+ * // scopeType: "TENANT" || "SUBSCRIPTION", // required
97
+ * // scopeValues: [ // ScopeValueList
98
+ * // "STRING_VALUE",
99
+ * // ],
100
+ * // state: "ACTIVE" || "PENDING" || "ERROR" || "DISABLED",
101
+ * // stateReason: "STRING_VALUE",
102
+ * // },
103
+ * // containerImageScanning: {
104
+ * // scopeType: "TENANT" || "SUBSCRIPTION", // required
105
+ * // scopeValues: [
106
+ * // "STRING_VALUE",
107
+ * // ],
108
+ * // state: "ACTIVE" || "PENDING" || "ERROR" || "DISABLED",
109
+ * // stateReason: "STRING_VALUE",
110
+ * // },
111
+ * // serverlessScanning: {
112
+ * // scopeType: "TENANT" || "SUBSCRIPTION", // required
113
+ * // scopeValues: [
114
+ * // "STRING_VALUE",
115
+ * // ],
116
+ * // state: "ACTIVE" || "PENDING" || "ERROR" || "DISABLED",
117
+ * // stateReason: "STRING_VALUE",
118
+ * // },
119
+ * // },
120
+ * // tags: { // ConnectorTagMap
121
+ * // "<keys>": "STRING_VALUE",
122
+ * // },
123
+ * // autoInstallVMScanner: true || false,
124
+ * // },
125
+ * // ],
126
+ * // nextToken: "STRING_VALUE",
127
+ * // };
128
+ *
129
+ * ```
130
+ *
131
+ * @param ListConnectorsCommandInput - {@link ListConnectorsCommandInput}
132
+ * @returns {@link ListConnectorsCommandOutput}
133
+ * @see {@link ListConnectorsCommandInput} for command's `input` shape.
134
+ * @see {@link ListConnectorsCommandOutput} for command's `response` shape.
135
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
136
+ *
137
+ * @throws {@link AccessDeniedException} (client fault)
138
+ * <p>You do not have sufficient access to perform this action.</p>
139
+ * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
140
+ * unsupported Amazon Web Services Region. </p>
141
+ *
142
+ * @throws {@link InternalServerException} (server fault)
143
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
144
+ *
145
+ * @throws {@link ThrottlingException} (client fault)
146
+ * <p>The limit on the number of requests per second was exceeded.</p>
147
+ *
148
+ * @throws {@link ValidationException} (client fault)
149
+ * <p>The request has failed validation due to missing required fields or having invalid
150
+ * inputs.</p>
151
+ *
152
+ * @throws {@link Inspector2ServiceException}
153
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
154
+ *
155
+ *
156
+ * @example List all Azure customer-managed connectors
157
+ * ```javascript
158
+ * //
159
+ * const input = {
160
+ * filterCriteria: {
161
+ * connectorType: [
162
+ * {
163
+ * comparison: "EQUALS",
164
+ * value: "CUSTOMER_MANAGED"
165
+ * }
166
+ * ],
167
+ * provider: [
168
+ * {
169
+ * comparison: "EQUALS",
170
+ * value: "AZURE"
171
+ * }
172
+ * ]
173
+ * },
174
+ * maxResults: 10
175
+ * };
176
+ * const command = new ListConnectorsCommand(input);
177
+ * const response = await client.send(command);
178
+ * /* response is
179
+ * {
180
+ * items: [
181
+ * {
182
+ * awsConfigConnectorArn: "arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae",
183
+ * azureRegions: [
184
+ * "eastus"
185
+ * ],
186
+ * connectorArn: "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a",
187
+ * createdAt: "2026-04-20T21:00:00.000Z",
188
+ * description: "Azure subscription scanner",
189
+ * enablementStatus: "ENABLED",
190
+ * health: {
191
+ * connectorStatus: "CONNECTED",
192
+ * lastCheckedAt: "2026-04-20T21:57:06.400Z"
193
+ * },
194
+ * name: "my-azure-connector",
195
+ * provider: "AZURE",
196
+ * scopeConfiguration: {
197
+ * vmScanning: {
198
+ * scopeType: "SUBSCRIPTION",
199
+ * scopeValues: [
200
+ * "552802f5-1492-4184-bbae-7291c9939b16"
201
+ * ],
202
+ * state: "ACTIVE"
203
+ * }
204
+ * },
205
+ * updatedAt: "2026-04-20T21:57:06.400Z"
206
+ * }
207
+ * ]
208
+ * }
209
+ * *\/
210
+ * ```
211
+ *
212
+ * @public
213
+ */
214
+ export declare class ListConnectorsCommand extends ListConnectorsCommand_base {
215
+ /** @internal type navigation helper, not in runtime. */
216
+ protected static __types: {
217
+ api: {
218
+ input: ListConnectorsRequest;
219
+ output: ListConnectorsResponse;
220
+ };
221
+ sdk: {
222
+ input: ListConnectorsCommandInput;
223
+ output: ListConnectorsCommandOutput;
224
+ };
225
+ };
226
+ }