@aws-sdk/client-inspector2 3.321.1 → 3.326.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 (76) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Inspector2.js +10 -0
  3. package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +45 -0
  4. package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +45 -0
  5. package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +45 -0
  6. package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +45 -0
  7. package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +15 -2
  11. package/dist-cjs/protocols/Aws_restJson1.js +327 -2
  12. package/dist-es/Inspector2.js +10 -0
  13. package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +41 -0
  14. package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +41 -0
  15. package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +41 -0
  16. package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +41 -0
  17. package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +41 -0
  18. package/dist-es/commands/index.js +5 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +13 -0
  21. package/dist-es/protocols/Aws_restJson1.js +315 -0
  22. package/dist-types/Inspector2.d.ts +35 -0
  23. package/dist-types/Inspector2Client.d.ts +7 -2
  24. package/dist-types/commands/AssociateMemberCommand.d.ts +7 -1
  25. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +45 -0
  26. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +25 -0
  27. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +97 -0
  28. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +100 -0
  29. package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -0
  30. package/dist-types/commands/CreateFilterCommand.d.ts +6 -0
  31. package/dist-types/commands/CreateFindingsReportCommand.d.ts +7 -1
  32. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -0
  33. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +11 -0
  34. package/dist-types/commands/DisableCommand.d.ts +29 -0
  35. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -0
  36. package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -0
  37. package/dist-types/commands/EnableCommand.d.ts +29 -0
  38. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -0
  39. package/dist-types/commands/GetConfigurationCommand.d.ts +12 -0
  40. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +9 -0
  41. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +87 -0
  42. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +133 -0
  43. package/dist-types/commands/GetMemberCommand.d.ts +11 -0
  44. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +12 -0
  45. package/dist-types/commands/ListCoverageCommand.d.ts +46 -0
  46. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +13 -0
  47. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -0
  48. package/dist-types/commands/ListFiltersCommand.d.ts +140 -0
  49. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +114 -0
  50. package/dist-types/commands/ListFindingsCommand.d.ts +164 -0
  51. package/dist-types/commands/ListMembersCommand.d.ts +14 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  53. package/dist-types/commands/ListUsageTotalsCommand.d.ts +19 -0
  54. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  55. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  56. package/dist-types/commands/UpdateConfigurationCommand.d.ts +4 -0
  57. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +92 -0
  58. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -0
  59. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +82 -0
  60. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -0
  61. package/dist-types/commands/index.d.ts +5 -0
  62. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  63. package/dist-types/models/models_0.d.ts +200 -3
  64. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  65. package/dist-types/ts3.4/Inspector2.d.ts +115 -0
  66. package/dist-types/ts3.4/Inspector2Client.d.ts +30 -0
  67. package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
  68. package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
  69. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +41 -0
  70. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +41 -0
  71. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +41 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  73. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  74. package/dist-types/ts3.4/models/models_0.d.ts +64 -0
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  76. package/package.json +16 -16
@@ -0,0 +1,87 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
+ import { GetEc2DeepInspectionConfigurationRequest, GetEc2DeepInspectionConfigurationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetEc2DeepInspectionConfigurationCommand}.
10
+ */
11
+ export interface GetEc2DeepInspectionConfigurationCommandInput extends GetEc2DeepInspectionConfigurationRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetEc2DeepInspectionConfigurationCommand}.
17
+ */
18
+ export interface GetEc2DeepInspectionConfigurationCommandOutput extends GetEc2DeepInspectionConfigurationResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
23
+ * </p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { Inspector2Client, GetEc2DeepInspectionConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
28
+ * // const { Inspector2Client, GetEc2DeepInspectionConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
29
+ * const client = new Inspector2Client(config);
30
+ * const input = {};
31
+ * const command = new GetEc2DeepInspectionConfigurationCommand(input);
32
+ * const response = await client.send(command);
33
+ * // { // GetEc2DeepInspectionConfigurationResponse
34
+ * // packagePaths: [ // PathList
35
+ * // "STRING_VALUE",
36
+ * // ],
37
+ * // orgPackagePaths: [
38
+ * // "STRING_VALUE",
39
+ * // ],
40
+ * // status: "STRING_VALUE",
41
+ * // errorMessage: "STRING_VALUE",
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param GetEc2DeepInspectionConfigurationCommandInput - {@link GetEc2DeepInspectionConfigurationCommandInput}
47
+ * @returns {@link GetEc2DeepInspectionConfigurationCommandOutput}
48
+ * @see {@link GetEc2DeepInspectionConfigurationCommandInput} for command's `input` shape.
49
+ * @see {@link GetEc2DeepInspectionConfigurationCommandOutput} for command's `response` shape.
50
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>The limit on the number of requests per second was exceeded.</p>
63
+ *
64
+ * @throws {@link Inspector2ServiceException}
65
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
66
+ *
67
+ */
68
+ export declare class GetEc2DeepInspectionConfigurationCommand extends $Command<GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
69
+ readonly input: GetEc2DeepInspectionConfigurationCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: GetEc2DeepInspectionConfigurationCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -31,6 +31,137 @@ export interface GetFindingsReportStatusCommandOutput extends GetFindingsReportS
31
31
  * };
32
32
  * const command = new GetFindingsReportStatusCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetFindingsReportStatusResponse
35
+ * // reportId: "STRING_VALUE",
36
+ * // status: "STRING_VALUE",
37
+ * // errorCode: "STRING_VALUE",
38
+ * // errorMessage: "STRING_VALUE",
39
+ * // destination: { // Destination
40
+ * // bucketName: "STRING_VALUE", // required
41
+ * // keyPrefix: "STRING_VALUE",
42
+ * // kmsKeyArn: "STRING_VALUE", // required
43
+ * // },
44
+ * // filterCriteria: { // FilterCriteria
45
+ * // findingArn: [ // StringFilterList
46
+ * // { // StringFilter
47
+ * // comparison: "STRING_VALUE", // required
48
+ * // value: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // awsAccountId: [
52
+ * // {
53
+ * // comparison: "STRING_VALUE", // required
54
+ * // value: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // findingType: [
58
+ * // {
59
+ * // comparison: "STRING_VALUE", // required
60
+ * // value: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // severity: [
64
+ * // {
65
+ * // comparison: "STRING_VALUE", // required
66
+ * // value: "STRING_VALUE", // required
67
+ * // },
68
+ * // ],
69
+ * // firstObservedAt: [ // DateFilterList
70
+ * // { // DateFilter
71
+ * // startInclusive: new Date("TIMESTAMP"),
72
+ * // endInclusive: new Date("TIMESTAMP"),
73
+ * // },
74
+ * // ],
75
+ * // lastObservedAt: [
76
+ * // {
77
+ * // startInclusive: new Date("TIMESTAMP"),
78
+ * // endInclusive: new Date("TIMESTAMP"),
79
+ * // },
80
+ * // ],
81
+ * // updatedAt: [
82
+ * // {
83
+ * // startInclusive: new Date("TIMESTAMP"),
84
+ * // endInclusive: new Date("TIMESTAMP"),
85
+ * // },
86
+ * // ],
87
+ * // findingStatus: [
88
+ * // {
89
+ * // comparison: "STRING_VALUE", // required
90
+ * // value: "STRING_VALUE", // required
91
+ * // },
92
+ * // ],
93
+ * // title: "<StringFilterList>",
94
+ * // inspectorScore: [ // NumberFilterList
95
+ * // { // NumberFilter
96
+ * // upperInclusive: Number("double"),
97
+ * // lowerInclusive: Number("double"),
98
+ * // },
99
+ * // ],
100
+ * // resourceType: "<StringFilterList>",
101
+ * // resourceId: "<StringFilterList>",
102
+ * // resourceTags: [ // MapFilterList
103
+ * // { // MapFilter
104
+ * // comparison: "STRING_VALUE", // required
105
+ * // key: "STRING_VALUE", // required
106
+ * // value: "STRING_VALUE",
107
+ * // },
108
+ * // ],
109
+ * // ec2InstanceImageId: "<StringFilterList>",
110
+ * // ec2InstanceVpcId: "<StringFilterList>",
111
+ * // ec2InstanceSubnetId: "<StringFilterList>",
112
+ * // ecrImagePushedAt: [
113
+ * // {
114
+ * // startInclusive: new Date("TIMESTAMP"),
115
+ * // endInclusive: new Date("TIMESTAMP"),
116
+ * // },
117
+ * // ],
118
+ * // ecrImageArchitecture: "<StringFilterList>",
119
+ * // ecrImageRegistry: "<StringFilterList>",
120
+ * // ecrImageRepositoryName: "<StringFilterList>",
121
+ * // ecrImageTags: "<StringFilterList>",
122
+ * // ecrImageHash: "<StringFilterList>",
123
+ * // portRange: [ // PortRangeFilterList
124
+ * // { // PortRangeFilter
125
+ * // beginInclusive: Number("int"),
126
+ * // endInclusive: Number("int"),
127
+ * // },
128
+ * // ],
129
+ * // networkProtocol: "<StringFilterList>",
130
+ * // componentId: "<StringFilterList>",
131
+ * // componentType: "<StringFilterList>",
132
+ * // vulnerabilityId: "<StringFilterList>",
133
+ * // vulnerabilitySource: "<StringFilterList>",
134
+ * // vendorSeverity: "<StringFilterList>",
135
+ * // vulnerablePackages: [ // PackageFilterList
136
+ * // { // PackageFilter
137
+ * // name: "<StringFilter>",
138
+ * // version: "<StringFilter>",
139
+ * // epoch: {
140
+ * // upperInclusive: Number("double"),
141
+ * // lowerInclusive: Number("double"),
142
+ * // },
143
+ * // release: "<StringFilter>",
144
+ * // architecture: "<StringFilter>",
145
+ * // sourceLayerHash: "<StringFilter>",
146
+ * // sourceLambdaLayerArn: "<StringFilter>",
147
+ * // },
148
+ * // ],
149
+ * // relatedVulnerabilities: "<StringFilterList>",
150
+ * // fixAvailable: "<StringFilterList>",
151
+ * // lambdaFunctionName: "<StringFilterList>",
152
+ * // lambdaFunctionLayers: "<StringFilterList>",
153
+ * // lambdaFunctionRuntime: "<StringFilterList>",
154
+ * // lambdaFunctionLastModifiedAt: [
155
+ * // {
156
+ * // startInclusive: new Date("TIMESTAMP"),
157
+ * // endInclusive: new Date("TIMESTAMP"),
158
+ * // },
159
+ * // ],
160
+ * // lambdaFunctionExecutionRoleArn: "<StringFilterList>",
161
+ * // exploitAvailable: "<StringFilterList>",
162
+ * // },
163
+ * // };
164
+ *
34
165
  * ```
35
166
  *
36
167
  * @param GetFindingsReportStatusCommandInput - {@link GetFindingsReportStatusCommandInput}
@@ -55,6 +186,8 @@ export interface GetFindingsReportStatusCommandOutput extends GetFindingsReportS
55
186
  * <p>The request has failed validation due to missing required fields or having invalid
56
187
  * inputs.</p>
57
188
  *
189
+ * @throws {@link Inspector2ServiceException}
190
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
58
191
  *
59
192
  */
60
193
  export declare class GetFindingsReportStatusCommand extends $Command<GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput, Inspector2ClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
31
31
  * };
32
32
  * const command = new GetMemberCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetMemberResponse
35
+ * // member: { // Member
36
+ * // accountId: "STRING_VALUE",
37
+ * // relationshipStatus: "STRING_VALUE",
38
+ * // delegatedAdminAccountId: "STRING_VALUE",
39
+ * // updatedAt: new Date("TIMESTAMP"),
40
+ * // },
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param GetMemberCommandInput - {@link GetMemberCommandInput}
@@ -55,6 +64,8 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
55
64
  * <p>The request has failed validation due to missing required fields or having invalid
56
65
  * inputs.</p>
57
66
  *
67
+ * @throws {@link Inspector2ServiceException}
68
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
58
69
  *
59
70
  */
60
71
  export declare class GetMemberCommand extends $Command<GetMemberCommandInput, GetMemberCommandOutput, Inspector2ClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface ListAccountPermissionsCommandOutput extends ListAccountPermissi
33
33
  * };
34
34
  * const command = new ListAccountPermissionsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListAccountPermissionsResponse
37
+ * // permissions: [ // Permissions // required
38
+ * // { // Permission
39
+ * // service: "STRING_VALUE", // required
40
+ * // operation: "STRING_VALUE", // required
41
+ * // },
42
+ * // ],
43
+ * // nextToken: "STRING_VALUE",
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param ListAccountPermissionsCommandInput - {@link ListAccountPermissionsCommandInput}
@@ -54,6 +64,8 @@ export interface ListAccountPermissionsCommandOutput extends ListAccountPermissi
54
64
  * <p>The request has failed validation due to missing required fields or having invalid
55
65
  * inputs.</p>
56
66
  *
67
+ * @throws {@link Inspector2ServiceException}
68
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListAccountPermissionsCommand extends $Command<ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput, Inspector2ClientResolvedConfig> {
@@ -83,6 +83,50 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
83
83
  * };
84
84
  * const command = new ListCoverageCommand(input);
85
85
  * const response = await client.send(command);
86
+ * // { // ListCoverageResponse
87
+ * // nextToken: "STRING_VALUE",
88
+ * // coveredResources: [ // CoveredResources
89
+ * // { // CoveredResource
90
+ * // resourceType: "STRING_VALUE", // required
91
+ * // resourceId: "STRING_VALUE", // required
92
+ * // accountId: "STRING_VALUE", // required
93
+ * // scanType: "STRING_VALUE", // required
94
+ * // scanStatus: { // ScanStatus
95
+ * // statusCode: "STRING_VALUE", // required
96
+ * // reason: "STRING_VALUE", // required
97
+ * // },
98
+ * // resourceMetadata: { // ResourceScanMetadata
99
+ * // ecrRepository: { // EcrRepositoryMetadata
100
+ * // name: "STRING_VALUE",
101
+ * // scanFrequency: "STRING_VALUE",
102
+ * // },
103
+ * // ecrImage: { // EcrContainerImageMetadata
104
+ * // tags: [ // TagList
105
+ * // "STRING_VALUE",
106
+ * // ],
107
+ * // },
108
+ * // ec2: { // Ec2Metadata
109
+ * // tags: { // TagMap
110
+ * // "<keys>": "STRING_VALUE",
111
+ * // },
112
+ * // amiId: "STRING_VALUE",
113
+ * // platform: "STRING_VALUE",
114
+ * // },
115
+ * // lambdaFunction: { // LambdaFunctionMetadata
116
+ * // functionTags: {
117
+ * // "<keys>": "STRING_VALUE",
118
+ * // },
119
+ * // layers: [ // LambdaLayerList
120
+ * // "STRING_VALUE",
121
+ * // ],
122
+ * // functionName: "STRING_VALUE",
123
+ * // runtime: "STRING_VALUE",
124
+ * // },
125
+ * // },
126
+ * // },
127
+ * // ],
128
+ * // };
129
+ *
86
130
  * ```
87
131
  *
88
132
  * @param ListCoverageCommandInput - {@link ListCoverageCommandInput}
@@ -101,6 +145,8 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
101
145
  * <p>The request has failed validation due to missing required fields or having invalid
102
146
  * inputs.</p>
103
147
  *
148
+ * @throws {@link Inspector2ServiceException}
149
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
104
150
  *
105
151
  */
106
152
  export declare class ListCoverageCommand extends $Command<ListCoverageCommandInput, ListCoverageCommandOutput, Inspector2ClientResolvedConfig> {
@@ -83,6 +83,17 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
83
83
  * };
84
84
  * const command = new ListCoverageStatisticsCommand(input);
85
85
  * const response = await client.send(command);
86
+ * // { // ListCoverageStatisticsResponse
87
+ * // countsByGroup: [ // CountsList
88
+ * // { // Counts
89
+ * // count: Number("long"),
90
+ * // groupKey: "STRING_VALUE",
91
+ * // },
92
+ * // ],
93
+ * // totalCounts: Number("long"), // required
94
+ * // nextToken: "STRING_VALUE",
95
+ * // };
96
+ *
86
97
  * ```
87
98
  *
88
99
  * @param ListCoverageStatisticsCommandInput - {@link ListCoverageStatisticsCommandInput}
@@ -101,6 +112,8 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
101
112
  * <p>The request has failed validation due to missing required fields or having invalid
102
113
  * inputs.</p>
103
114
  *
115
+ * @throws {@link Inspector2ServiceException}
116
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
104
117
  *
105
118
  */
106
119
  export declare class ListCoverageStatisticsCommand extends $Command<ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput, Inspector2ClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface ListDelegatedAdminAccountsCommandOutput extends ListDelegatedAd
33
33
  * };
34
34
  * const command = new ListDelegatedAdminAccountsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListDelegatedAdminAccountsResponse
37
+ * // delegatedAdminAccounts: [ // DelegatedAdminAccountList
38
+ * // { // DelegatedAdminAccount
39
+ * // accountId: "STRING_VALUE",
40
+ * // status: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // nextToken: "STRING_VALUE",
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param ListDelegatedAdminAccountsCommandInput - {@link ListDelegatedAdminAccountsCommandInput}
@@ -54,6 +64,8 @@ export interface ListDelegatedAdminAccountsCommandOutput extends ListDelegatedAd
54
64
  * <p>The request has failed validation due to missing required fields or having invalid
55
65
  * inputs.</p>
56
66
  *
67
+ * @throws {@link Inspector2ServiceException}
68
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListDelegatedAdminAccountsCommand extends $Command<ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput, Inspector2ClientResolvedConfig> {
@@ -36,6 +36,144 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
36
36
  * };
37
37
  * const command = new ListFiltersCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListFiltersResponse
40
+ * // filters: [ // FilterList // required
41
+ * // { // Filter
42
+ * // arn: "STRING_VALUE", // required
43
+ * // ownerId: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // criteria: { // FilterCriteria
46
+ * // findingArn: [ // StringFilterList
47
+ * // { // StringFilter
48
+ * // comparison: "STRING_VALUE", // required
49
+ * // value: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // awsAccountId: [
53
+ * // {
54
+ * // comparison: "STRING_VALUE", // required
55
+ * // value: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // findingType: [
59
+ * // {
60
+ * // comparison: "STRING_VALUE", // required
61
+ * // value: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
64
+ * // severity: [
65
+ * // {
66
+ * // comparison: "STRING_VALUE", // required
67
+ * // value: "STRING_VALUE", // required
68
+ * // },
69
+ * // ],
70
+ * // firstObservedAt: [ // DateFilterList
71
+ * // { // DateFilter
72
+ * // startInclusive: new Date("TIMESTAMP"),
73
+ * // endInclusive: new Date("TIMESTAMP"),
74
+ * // },
75
+ * // ],
76
+ * // lastObservedAt: [
77
+ * // {
78
+ * // startInclusive: new Date("TIMESTAMP"),
79
+ * // endInclusive: new Date("TIMESTAMP"),
80
+ * // },
81
+ * // ],
82
+ * // updatedAt: [
83
+ * // {
84
+ * // startInclusive: new Date("TIMESTAMP"),
85
+ * // endInclusive: new Date("TIMESTAMP"),
86
+ * // },
87
+ * // ],
88
+ * // findingStatus: [
89
+ * // {
90
+ * // comparison: "STRING_VALUE", // required
91
+ * // value: "STRING_VALUE", // required
92
+ * // },
93
+ * // ],
94
+ * // title: "<StringFilterList>",
95
+ * // inspectorScore: [ // NumberFilterList
96
+ * // { // NumberFilter
97
+ * // upperInclusive: Number("double"),
98
+ * // lowerInclusive: Number("double"),
99
+ * // },
100
+ * // ],
101
+ * // resourceType: "<StringFilterList>",
102
+ * // resourceId: "<StringFilterList>",
103
+ * // resourceTags: [ // MapFilterList
104
+ * // { // MapFilter
105
+ * // comparison: "STRING_VALUE", // required
106
+ * // key: "STRING_VALUE", // required
107
+ * // value: "STRING_VALUE",
108
+ * // },
109
+ * // ],
110
+ * // ec2InstanceImageId: "<StringFilterList>",
111
+ * // ec2InstanceVpcId: "<StringFilterList>",
112
+ * // ec2InstanceSubnetId: "<StringFilterList>",
113
+ * // ecrImagePushedAt: [
114
+ * // {
115
+ * // startInclusive: new Date("TIMESTAMP"),
116
+ * // endInclusive: new Date("TIMESTAMP"),
117
+ * // },
118
+ * // ],
119
+ * // ecrImageArchitecture: "<StringFilterList>",
120
+ * // ecrImageRegistry: "<StringFilterList>",
121
+ * // ecrImageRepositoryName: "<StringFilterList>",
122
+ * // ecrImageTags: "<StringFilterList>",
123
+ * // ecrImageHash: "<StringFilterList>",
124
+ * // portRange: [ // PortRangeFilterList
125
+ * // { // PortRangeFilter
126
+ * // beginInclusive: Number("int"),
127
+ * // endInclusive: Number("int"),
128
+ * // },
129
+ * // ],
130
+ * // networkProtocol: "<StringFilterList>",
131
+ * // componentId: "<StringFilterList>",
132
+ * // componentType: "<StringFilterList>",
133
+ * // vulnerabilityId: "<StringFilterList>",
134
+ * // vulnerabilitySource: "<StringFilterList>",
135
+ * // vendorSeverity: "<StringFilterList>",
136
+ * // vulnerablePackages: [ // PackageFilterList
137
+ * // { // PackageFilter
138
+ * // name: "<StringFilter>",
139
+ * // version: "<StringFilter>",
140
+ * // epoch: {
141
+ * // upperInclusive: Number("double"),
142
+ * // lowerInclusive: Number("double"),
143
+ * // },
144
+ * // release: "<StringFilter>",
145
+ * // architecture: "<StringFilter>",
146
+ * // sourceLayerHash: "<StringFilter>",
147
+ * // sourceLambdaLayerArn: "<StringFilter>",
148
+ * // },
149
+ * // ],
150
+ * // relatedVulnerabilities: "<StringFilterList>",
151
+ * // fixAvailable: "<StringFilterList>",
152
+ * // lambdaFunctionName: "<StringFilterList>",
153
+ * // lambdaFunctionLayers: "<StringFilterList>",
154
+ * // lambdaFunctionRuntime: "<StringFilterList>",
155
+ * // lambdaFunctionLastModifiedAt: [
156
+ * // {
157
+ * // startInclusive: new Date("TIMESTAMP"),
158
+ * // endInclusive: new Date("TIMESTAMP"),
159
+ * // },
160
+ * // ],
161
+ * // lambdaFunctionExecutionRoleArn: "<StringFilterList>",
162
+ * // exploitAvailable: "<StringFilterList>",
163
+ * // },
164
+ * // action: "STRING_VALUE", // required
165
+ * // createdAt: new Date("TIMESTAMP"), // required
166
+ * // updatedAt: new Date("TIMESTAMP"), // required
167
+ * // description: "STRING_VALUE",
168
+ * // reason: "STRING_VALUE",
169
+ * // tags: { // TagMap
170
+ * // "<keys>": "STRING_VALUE",
171
+ * // },
172
+ * // },
173
+ * // ],
174
+ * // nextToken: "STRING_VALUE",
175
+ * // };
176
+ *
39
177
  * ```
40
178
  *
41
179
  * @param ListFiltersCommandInput - {@link ListFiltersCommandInput}
@@ -57,6 +195,8 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
57
195
  * <p>The request has failed validation due to missing required fields or having invalid
58
196
  * inputs.</p>
59
197
  *
198
+ * @throws {@link Inspector2ServiceException}
199
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
60
200
  *
61
201
  */
62
202
  export declare class ListFiltersCommand extends $Command<ListFiltersCommandInput, ListFiltersCommandOutput, Inspector2ClientResolvedConfig> {