@aws-sdk/client-inspector2 3.300.0 → 3.301.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 (30) hide show
  1. package/dist-types/commands/AssociateMemberCommand.d.ts +1 -1
  2. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +2 -2
  3. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -2
  4. package/dist-types/commands/CancelFindingsReportCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateFilterCommand.d.ts +45 -183
  6. package/dist-types/commands/CreateFindingsReportCommand.d.ts +45 -183
  7. package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
  8. package/dist-types/commands/DisableCommand.d.ts +3 -3
  9. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +1 -1
  10. package/dist-types/commands/DisassociateMemberCommand.d.ts +1 -1
  11. package/dist-types/commands/EnableCommand.d.ts +3 -3
  12. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +1 -1
  13. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  14. package/dist-types/commands/GetMemberCommand.d.ts +1 -1
  15. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListCoverageCommand.d.ts +11 -36
  17. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +11 -36
  18. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListFiltersCommand.d.ts +2 -2
  20. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -125
  21. package/dist-types/commands/ListFindingsCommand.d.ts +45 -183
  22. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -2
  25. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  27. package/dist-types/commands/UpdateConfigurationCommand.d.ts +2 -2
  28. package/dist-types/commands/UpdateFilterCommand.d.ts +44 -182
  29. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -2
  30. package/package.json +3 -3
@@ -26,7 +26,7 @@ export interface EnableDelegatedAdminAccountCommandOutput extends EnableDelegate
26
26
  * import { Inspector2Client, EnableDelegatedAdminAccountCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, EnableDelegatedAdminAccountCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
- * const input = {
29
+ * const input = { // EnableDelegatedAdminAccountRequest
30
30
  * delegatedAdminAccountId: "STRING_VALUE", // required
31
31
  * clientToken: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetFindingsReportStatusRequest
30
30
  * reportId: "STRING_VALUE",
31
31
  * };
32
32
  * const command = new GetFindingsReportStatusCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetMemberRequest
30
30
  * accountId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetMemberCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListAccountPermissionsRequest
30
30
  * service: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * nextToken: "STRING_VALUE",
@@ -26,12 +26,12 @@ 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 = {
29
+ * const input = { // ListCoverageRequest
30
30
  * maxResults: Number("int"),
31
31
  * nextToken: "STRING_VALUE",
32
- * filterCriteria: {
33
- * scanStatusCode: [
34
- * {
32
+ * filterCriteria: { // CoverageFilterCriteria
33
+ * scanStatusCode: [ // CoverageStringFilterList
34
+ * { // CoverageStringFilter
35
35
  * comparison: "STRING_VALUE", // required
36
36
  * value: "STRING_VALUE", // required
37
37
  * },
@@ -60,37 +60,17 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
60
60
  * value: "STRING_VALUE", // required
61
61
  * },
62
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
- * {
63
+ * scanType: "<CoverageStringFilterList>",
64
+ * ecrRepositoryName: "<CoverageStringFilterList>",
65
+ * ecrImageTags: "<CoverageStringFilterList>",
66
+ * ec2InstanceTags: [ // CoverageMapFilterList
67
+ * { // CoverageMapFilter
83
68
  * comparison: "STRING_VALUE", // required
84
69
  * key: "STRING_VALUE", // required
85
70
  * value: "STRING_VALUE",
86
71
  * },
87
72
  * ],
88
- * lambdaFunctionName: [
89
- * {
90
- * comparison: "STRING_VALUE", // required
91
- * value: "STRING_VALUE", // required
92
- * },
93
- * ],
73
+ * lambdaFunctionName: "<CoverageStringFilterList>",
94
74
  * lambdaFunctionTags: [
95
75
  * {
96
76
  * comparison: "STRING_VALUE", // required
@@ -98,12 +78,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
98
78
  * value: "STRING_VALUE",
99
79
  * },
100
80
  * ],
101
- * lambdaFunctionRuntime: [
102
- * {
103
- * comparison: "STRING_VALUE", // required
104
- * value: "STRING_VALUE", // required
105
- * },
106
- * ],
81
+ * lambdaFunctionRuntime: "<CoverageStringFilterList>",
107
82
  * },
108
83
  * };
109
84
  * const command = new ListCoverageCommand(input);
@@ -26,10 +26,10 @@ 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
- * {
29
+ * const input = { // ListCoverageStatisticsRequest
30
+ * filterCriteria: { // CoverageFilterCriteria
31
+ * scanStatusCode: [ // CoverageStringFilterList
32
+ * { // CoverageStringFilter
33
33
  * comparison: "STRING_VALUE", // required
34
34
  * value: "STRING_VALUE", // required
35
35
  * },
@@ -58,37 +58,17 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
58
58
  * value: "STRING_VALUE", // required
59
59
  * },
60
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
- * {
61
+ * scanType: "<CoverageStringFilterList>",
62
+ * ecrRepositoryName: "<CoverageStringFilterList>",
63
+ * ecrImageTags: "<CoverageStringFilterList>",
64
+ * ec2InstanceTags: [ // CoverageMapFilterList
65
+ * { // CoverageMapFilter
81
66
  * comparison: "STRING_VALUE", // required
82
67
  * key: "STRING_VALUE", // required
83
68
  * value: "STRING_VALUE",
84
69
  * },
85
70
  * ],
86
- * lambdaFunctionName: [
87
- * {
88
- * comparison: "STRING_VALUE", // required
89
- * value: "STRING_VALUE", // required
90
- * },
91
- * ],
71
+ * lambdaFunctionName: "<CoverageStringFilterList>",
92
72
  * lambdaFunctionTags: [
93
73
  * {
94
74
  * comparison: "STRING_VALUE", // required
@@ -96,12 +76,7 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
96
76
  * value: "STRING_VALUE",
97
77
  * },
98
78
  * ],
99
- * lambdaFunctionRuntime: [
100
- * {
101
- * comparison: "STRING_VALUE", // required
102
- * value: "STRING_VALUE", // required
103
- * },
104
- * ],
79
+ * lambdaFunctionRuntime: "<CoverageStringFilterList>",
105
80
  * },
106
81
  * groupBy: "STRING_VALUE",
107
82
  * nextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // ListDelegatedAdminAccountsRequest
31
31
  * maxResults: Number("int"),
32
32
  * nextToken: "STRING_VALUE",
33
33
  * };
@@ -26,8 +26,8 @@ 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: [
29
+ * const input = { // ListFiltersRequest
30
+ * arns: [ // FilterArnList
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * action: "STRING_VALUE",
@@ -26,24 +26,24 @@ 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 = {
29
+ * const input = { // ListFindingAggregationsRequest
30
30
  * aggregationType: "STRING_VALUE", // required
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
33
- * accountIds: [
34
- * {
33
+ * accountIds: [ // StringFilterList
34
+ * { // StringFilter
35
35
  * comparison: "STRING_VALUE", // required
36
36
  * value: "STRING_VALUE", // required
37
37
  * },
38
38
  * ],
39
- * aggregationRequest: { // Union: only one key present
40
- * accountAggregation: {
39
+ * aggregationRequest: { // AggregationRequest Union: only one key present
40
+ * accountAggregation: { // AccountAggregation
41
41
  * findingType: "STRING_VALUE",
42
42
  * resourceType: "STRING_VALUE",
43
43
  * sortOrder: "STRING_VALUE",
44
44
  * sortBy: "STRING_VALUE",
45
45
  * },
46
- * amiAggregation: {
46
+ * amiAggregation: { // AmiAggregation
47
47
  * amis: [
48
48
  * {
49
49
  * comparison: "STRING_VALUE", // required
@@ -53,7 +53,7 @@ export interface ListFindingAggregationsCommandOutput extends ListFindingAggrega
53
53
  * sortOrder: "STRING_VALUE",
54
54
  * sortBy: "STRING_VALUE",
55
55
  * },
56
- * awsEcrContainerAggregation: {
56
+ * awsEcrContainerAggregation: { // AwsEcrContainerAggregation
57
57
  * resourceIds: [
58
58
  * {
59
59
  * comparison: "STRING_VALUE", // required
@@ -72,42 +72,17 @@ export interface ListFindingAggregationsCommandOutput extends ListFindingAggrega
72
72
  * value: "STRING_VALUE", // required
73
73
  * },
74
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
- * ],
75
+ * architectures: "<StringFilterList>",
76
+ * imageTags: "<StringFilterList>",
87
77
  * sortOrder: "STRING_VALUE",
88
78
  * sortBy: "STRING_VALUE",
89
79
  * },
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
- * {
80
+ * ec2InstanceAggregation: { // Ec2InstanceAggregation
81
+ * amis: "<StringFilterList>",
82
+ * operatingSystems: "<StringFilterList>",
83
+ * instanceIds: "<StringFilterList>",
84
+ * instanceTags: [ // MapFilterList
85
+ * { // MapFilter
111
86
  * comparison: "STRING_VALUE", // required
112
87
  * key: "STRING_VALUE", // required
113
88
  * value: "STRING_VALUE",
@@ -116,112 +91,47 @@ export interface ListFindingAggregationsCommandOutput extends ListFindingAggrega
116
91
  * sortOrder: "STRING_VALUE",
117
92
  * sortBy: "STRING_VALUE",
118
93
  * },
119
- * findingTypeAggregation: {
94
+ * findingTypeAggregation: { // FindingTypeAggregation
120
95
  * findingType: "STRING_VALUE",
121
96
  * resourceType: "STRING_VALUE",
122
97
  * sortOrder: "STRING_VALUE",
123
98
  * sortBy: "STRING_VALUE",
124
99
  * },
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
- * ],
100
+ * imageLayerAggregation: { // ImageLayerAggregation
101
+ * repositories: "<StringFilterList>",
102
+ * resourceIds: "<StringFilterList>",
103
+ * layerHashes: "<StringFilterList>",
144
104
  * sortOrder: "STRING_VALUE",
145
105
  * sortBy: "STRING_VALUE",
146
106
  * },
147
- * packageAggregation: {
148
- * packageNames: [
149
- * {
150
- * comparison: "STRING_VALUE", // required
151
- * value: "STRING_VALUE", // required
152
- * },
153
- * ],
107
+ * packageAggregation: { // PackageAggregation
108
+ * packageNames: "<StringFilterList>",
154
109
  * sortOrder: "STRING_VALUE",
155
110
  * sortBy: "STRING_VALUE",
156
111
  * },
157
- * repositoryAggregation: {
158
- * repositories: [
159
- * {
160
- * comparison: "STRING_VALUE", // required
161
- * value: "STRING_VALUE", // required
162
- * },
163
- * ],
112
+ * repositoryAggregation: { // RepositoryAggregation
113
+ * repositories: "<StringFilterList>",
164
114
  * sortOrder: "STRING_VALUE",
165
115
  * sortBy: "STRING_VALUE",
166
116
  * },
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
- * ],
117
+ * titleAggregation: { // TitleAggregation
118
+ * titles: "<StringFilterList>",
119
+ * vulnerabilityIds: "<StringFilterList>",
180
120
  * resourceType: "STRING_VALUE",
181
121
  * sortOrder: "STRING_VALUE",
182
122
  * sortBy: "STRING_VALUE",
183
123
  * },
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
- * ],
124
+ * lambdaLayerAggregation: { // LambdaLayerAggregation
125
+ * functionNames: "<StringFilterList>",
126
+ * resourceIds: "<StringFilterList>",
127
+ * layerArns: "<StringFilterList>",
203
128
  * sortOrder: "STRING_VALUE",
204
129
  * sortBy: "STRING_VALUE",
205
130
  * },
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
- * ],
131
+ * lambdaFunctionAggregation: { // LambdaFunctionAggregation
132
+ * resourceIds: "<StringFilterList>",
133
+ * functionNames: "<StringFilterList>",
134
+ * runtimes: "<StringFilterList>",
225
135
  * functionTags: [
226
136
  * {
227
137
  * comparison: "STRING_VALUE", // required