@aws-sdk/client-inspector2 3.299.0 → 3.300.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 (33) hide show
  1. package/dist-types/commands/AssociateMemberCommand.d.ts +3 -0
  2. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +5 -0
  3. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +5 -0
  4. package/dist-types/commands/CancelFindingsReportCommand.d.ts +3 -0
  5. package/dist-types/commands/CreateFilterCommand.d.ts +266 -0
  6. package/dist-types/commands/CreateFindingsReportCommand.d.ts +265 -0
  7. package/dist-types/commands/DeleteFilterCommand.d.ts +3 -0
  8. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  9. package/dist-types/commands/DisableCommand.d.ts +8 -0
  10. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +3 -0
  11. package/dist-types/commands/DisassociateMemberCommand.d.ts +3 -0
  12. package/dist-types/commands/EnableCommand.d.ts +9 -0
  13. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +4 -0
  14. package/dist-types/commands/GetConfigurationCommand.d.ts +1 -0
  15. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -0
  16. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +3 -0
  17. package/dist-types/commands/GetMemberCommand.d.ts +3 -0
  18. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +5 -0
  19. package/dist-types/commands/ListCoverageCommand.d.ts +80 -0
  20. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +80 -0
  21. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +4 -0
  22. package/dist-types/commands/ListFiltersCommand.d.ts +8 -0
  23. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +208 -0
  24. package/dist-types/commands/ListFindingsCommand.d.ts +265 -0
  25. package/dist-types/commands/ListMembersCommand.d.ts +5 -0
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  27. package/dist-types/commands/ListUsageTotalsCommand.d.ts +7 -0
  28. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  29. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  30. package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -0
  31. package/dist-types/commands/UpdateFilterCommand.d.ts +264 -0
  32. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +7 -0
  33. package/package.json +8 -8
@@ -27,6 +27,7 @@ export interface GetDelegatedAdminAccountCommandOutput extends GetDelegatedAdmin
27
27
  * import { Inspector2Client, GetDelegatedAdminAccountCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
28
28
  * // const { Inspector2Client, GetDelegatedAdminAccountCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
29
29
  * const client = new Inspector2Client(config);
30
+ * const input = {};
30
31
  * const command = new GetDelegatedAdminAccountCommand(input);
31
32
  * const response = await client.send(command);
32
33
  * ```
@@ -26,6 +26,9 @@ export interface GetFindingsReportStatusCommandOutput extends GetFindingsReportS
26
26
  * import { Inspector2Client, GetFindingsReportStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, GetFindingsReportStatusCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * reportId: "STRING_VALUE",
31
+ * };
29
32
  * const command = new GetFindingsReportStatusCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
26
26
  * import { Inspector2Client, GetMemberCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, GetMemberCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * accountId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetMemberCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface ListAccountPermissionsCommandOutput extends ListAccountPermissi
26
26
  * import { Inspector2Client, ListAccountPermissionsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListAccountPermissionsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * service: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListAccountPermissionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,86 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
26
26
  * import { Inspector2Client, ListCoverageCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListCoverageCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * filterCriteria: {
33
+ * scanStatusCode: [
34
+ * {
35
+ * comparison: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * scanStatusReason: [
40
+ * {
41
+ * comparison: "STRING_VALUE", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * accountId: [
46
+ * {
47
+ * comparison: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * resourceId: [
52
+ * {
53
+ * comparison: "STRING_VALUE", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * resourceType: [
58
+ * {
59
+ * comparison: "STRING_VALUE", // required
60
+ * value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * scanType: [
64
+ * {
65
+ * comparison: "STRING_VALUE", // required
66
+ * value: "STRING_VALUE", // required
67
+ * },
68
+ * ],
69
+ * ecrRepositoryName: [
70
+ * {
71
+ * comparison: "STRING_VALUE", // required
72
+ * value: "STRING_VALUE", // required
73
+ * },
74
+ * ],
75
+ * ecrImageTags: [
76
+ * {
77
+ * comparison: "STRING_VALUE", // required
78
+ * value: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * ec2InstanceTags: [
82
+ * {
83
+ * comparison: "STRING_VALUE", // required
84
+ * key: "STRING_VALUE", // required
85
+ * value: "STRING_VALUE",
86
+ * },
87
+ * ],
88
+ * lambdaFunctionName: [
89
+ * {
90
+ * comparison: "STRING_VALUE", // required
91
+ * value: "STRING_VALUE", // required
92
+ * },
93
+ * ],
94
+ * lambdaFunctionTags: [
95
+ * {
96
+ * comparison: "STRING_VALUE", // required
97
+ * key: "STRING_VALUE", // required
98
+ * value: "STRING_VALUE",
99
+ * },
100
+ * ],
101
+ * lambdaFunctionRuntime: [
102
+ * {
103
+ * comparison: "STRING_VALUE", // required
104
+ * value: "STRING_VALUE", // required
105
+ * },
106
+ * ],
107
+ * },
108
+ * };
29
109
  * const command = new ListCoverageCommand(input);
30
110
  * const response = await client.send(command);
31
111
  * ```
@@ -26,6 +26,86 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
26
26
  * import { Inspector2Client, ListCoverageStatisticsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListCoverageStatisticsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * filterCriteria: {
31
+ * scanStatusCode: [
32
+ * {
33
+ * comparison: "STRING_VALUE", // required
34
+ * value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * scanStatusReason: [
38
+ * {
39
+ * comparison: "STRING_VALUE", // required
40
+ * value: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * accountId: [
44
+ * {
45
+ * comparison: "STRING_VALUE", // required
46
+ * value: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * resourceId: [
50
+ * {
51
+ * comparison: "STRING_VALUE", // required
52
+ * value: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * resourceType: [
56
+ * {
57
+ * comparison: "STRING_VALUE", // required
58
+ * value: "STRING_VALUE", // required
59
+ * },
60
+ * ],
61
+ * scanType: [
62
+ * {
63
+ * comparison: "STRING_VALUE", // required
64
+ * value: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * ecrRepositoryName: [
68
+ * {
69
+ * comparison: "STRING_VALUE", // required
70
+ * value: "STRING_VALUE", // required
71
+ * },
72
+ * ],
73
+ * ecrImageTags: [
74
+ * {
75
+ * comparison: "STRING_VALUE", // required
76
+ * value: "STRING_VALUE", // required
77
+ * },
78
+ * ],
79
+ * ec2InstanceTags: [
80
+ * {
81
+ * comparison: "STRING_VALUE", // required
82
+ * key: "STRING_VALUE", // required
83
+ * value: "STRING_VALUE",
84
+ * },
85
+ * ],
86
+ * lambdaFunctionName: [
87
+ * {
88
+ * comparison: "STRING_VALUE", // required
89
+ * value: "STRING_VALUE", // required
90
+ * },
91
+ * ],
92
+ * lambdaFunctionTags: [
93
+ * {
94
+ * comparison: "STRING_VALUE", // required
95
+ * key: "STRING_VALUE", // required
96
+ * value: "STRING_VALUE",
97
+ * },
98
+ * ],
99
+ * lambdaFunctionRuntime: [
100
+ * {
101
+ * comparison: "STRING_VALUE", // required
102
+ * value: "STRING_VALUE", // required
103
+ * },
104
+ * ],
105
+ * },
106
+ * groupBy: "STRING_VALUE",
107
+ * nextToken: "STRING_VALUE",
108
+ * };
29
109
  * const command = new ListCoverageStatisticsCommand(input);
30
110
  * const response = await client.send(command);
31
111
  * ```
@@ -27,6 +27,10 @@ export interface ListDelegatedAdminAccountsCommandOutput extends ListDelegatedAd
27
27
  * import { Inspector2Client, ListDelegatedAdminAccountsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
28
28
  * // const { Inspector2Client, ListDelegatedAdminAccountsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
29
29
  * const client = new Inspector2Client(config);
30
+ * const input = {
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
30
34
  * const command = new ListDelegatedAdminAccountsCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,14 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
26
26
  * import { Inspector2Client, ListFiltersCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListFiltersCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * arns: [
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * action: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
29
37
  * const command = new ListFiltersCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,214 @@ export interface ListFindingAggregationsCommandOutput extends ListFindingAggrega
26
26
  * import { Inspector2Client, ListFindingAggregationsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListFindingAggregationsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {
30
+ * aggregationType: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * accountIds: [
34
+ * {
35
+ * comparison: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * aggregationRequest: { // Union: only one key present
40
+ * accountAggregation: {
41
+ * findingType: "STRING_VALUE",
42
+ * resourceType: "STRING_VALUE",
43
+ * sortOrder: "STRING_VALUE",
44
+ * sortBy: "STRING_VALUE",
45
+ * },
46
+ * amiAggregation: {
47
+ * amis: [
48
+ * {
49
+ * comparison: "STRING_VALUE", // required
50
+ * value: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * sortOrder: "STRING_VALUE",
54
+ * sortBy: "STRING_VALUE",
55
+ * },
56
+ * awsEcrContainerAggregation: {
57
+ * resourceIds: [
58
+ * {
59
+ * comparison: "STRING_VALUE", // required
60
+ * value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * imageShas: [
64
+ * {
65
+ * comparison: "STRING_VALUE", // required
66
+ * value: "STRING_VALUE", // required
67
+ * },
68
+ * ],
69
+ * repositories: [
70
+ * {
71
+ * comparison: "STRING_VALUE", // required
72
+ * value: "STRING_VALUE", // required
73
+ * },
74
+ * ],
75
+ * architectures: [
76
+ * {
77
+ * comparison: "STRING_VALUE", // required
78
+ * value: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * imageTags: [
82
+ * {
83
+ * comparison: "STRING_VALUE", // required
84
+ * value: "STRING_VALUE", // required
85
+ * },
86
+ * ],
87
+ * sortOrder: "STRING_VALUE",
88
+ * sortBy: "STRING_VALUE",
89
+ * },
90
+ * ec2InstanceAggregation: {
91
+ * amis: [
92
+ * {
93
+ * comparison: "STRING_VALUE", // required
94
+ * value: "STRING_VALUE", // required
95
+ * },
96
+ * ],
97
+ * operatingSystems: [
98
+ * {
99
+ * comparison: "STRING_VALUE", // required
100
+ * value: "STRING_VALUE", // required
101
+ * },
102
+ * ],
103
+ * instanceIds: [
104
+ * {
105
+ * comparison: "STRING_VALUE", // required
106
+ * value: "STRING_VALUE", // required
107
+ * },
108
+ * ],
109
+ * instanceTags: [
110
+ * {
111
+ * comparison: "STRING_VALUE", // required
112
+ * key: "STRING_VALUE", // required
113
+ * value: "STRING_VALUE",
114
+ * },
115
+ * ],
116
+ * sortOrder: "STRING_VALUE",
117
+ * sortBy: "STRING_VALUE",
118
+ * },
119
+ * findingTypeAggregation: {
120
+ * findingType: "STRING_VALUE",
121
+ * resourceType: "STRING_VALUE",
122
+ * sortOrder: "STRING_VALUE",
123
+ * sortBy: "STRING_VALUE",
124
+ * },
125
+ * imageLayerAggregation: {
126
+ * repositories: [
127
+ * {
128
+ * comparison: "STRING_VALUE", // required
129
+ * value: "STRING_VALUE", // required
130
+ * },
131
+ * ],
132
+ * resourceIds: [
133
+ * {
134
+ * comparison: "STRING_VALUE", // required
135
+ * value: "STRING_VALUE", // required
136
+ * },
137
+ * ],
138
+ * layerHashes: [
139
+ * {
140
+ * comparison: "STRING_VALUE", // required
141
+ * value: "STRING_VALUE", // required
142
+ * },
143
+ * ],
144
+ * sortOrder: "STRING_VALUE",
145
+ * sortBy: "STRING_VALUE",
146
+ * },
147
+ * packageAggregation: {
148
+ * packageNames: [
149
+ * {
150
+ * comparison: "STRING_VALUE", // required
151
+ * value: "STRING_VALUE", // required
152
+ * },
153
+ * ],
154
+ * sortOrder: "STRING_VALUE",
155
+ * sortBy: "STRING_VALUE",
156
+ * },
157
+ * repositoryAggregation: {
158
+ * repositories: [
159
+ * {
160
+ * comparison: "STRING_VALUE", // required
161
+ * value: "STRING_VALUE", // required
162
+ * },
163
+ * ],
164
+ * sortOrder: "STRING_VALUE",
165
+ * sortBy: "STRING_VALUE",
166
+ * },
167
+ * titleAggregation: {
168
+ * titles: [
169
+ * {
170
+ * comparison: "STRING_VALUE", // required
171
+ * value: "STRING_VALUE", // required
172
+ * },
173
+ * ],
174
+ * vulnerabilityIds: [
175
+ * {
176
+ * comparison: "STRING_VALUE", // required
177
+ * value: "STRING_VALUE", // required
178
+ * },
179
+ * ],
180
+ * resourceType: "STRING_VALUE",
181
+ * sortOrder: "STRING_VALUE",
182
+ * sortBy: "STRING_VALUE",
183
+ * },
184
+ * lambdaLayerAggregation: {
185
+ * functionNames: [
186
+ * {
187
+ * comparison: "STRING_VALUE", // required
188
+ * value: "STRING_VALUE", // required
189
+ * },
190
+ * ],
191
+ * resourceIds: [
192
+ * {
193
+ * comparison: "STRING_VALUE", // required
194
+ * value: "STRING_VALUE", // required
195
+ * },
196
+ * ],
197
+ * layerArns: [
198
+ * {
199
+ * comparison: "STRING_VALUE", // required
200
+ * value: "STRING_VALUE", // required
201
+ * },
202
+ * ],
203
+ * sortOrder: "STRING_VALUE",
204
+ * sortBy: "STRING_VALUE",
205
+ * },
206
+ * lambdaFunctionAggregation: {
207
+ * resourceIds: [
208
+ * {
209
+ * comparison: "STRING_VALUE", // required
210
+ * value: "STRING_VALUE", // required
211
+ * },
212
+ * ],
213
+ * functionNames: [
214
+ * {
215
+ * comparison: "STRING_VALUE", // required
216
+ * value: "STRING_VALUE", // required
217
+ * },
218
+ * ],
219
+ * runtimes: [
220
+ * {
221
+ * comparison: "STRING_VALUE", // required
222
+ * value: "STRING_VALUE", // required
223
+ * },
224
+ * ],
225
+ * functionTags: [
226
+ * {
227
+ * comparison: "STRING_VALUE", // required
228
+ * key: "STRING_VALUE", // required
229
+ * value: "STRING_VALUE",
230
+ * },
231
+ * ],
232
+ * sortOrder: "STRING_VALUE",
233
+ * sortBy: "STRING_VALUE",
234
+ * },
235
+ * },
236
+ * };
29
237
  * const command = new ListFindingAggregationsCommand(input);
30
238
  * const response = await client.send(command);
31
239
  * ```