@aws-sdk/client-inspector2 3.299.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 (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 +128 -0
  6. package/dist-types/commands/CreateFindingsReportCommand.d.ts +127 -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 +55 -0
  20. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +55 -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 +118 -0
  24. package/dist-types/commands/ListFindingsCommand.d.ts +127 -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 +126 -0
  32. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +7 -0
  33. package/package.json +8 -8
@@ -26,6 +26,9 @@ export interface AssociateMemberCommandOutput extends AssociateMemberResponse, _
26
26
  * import { Inspector2Client, AssociateMemberCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, AssociateMemberCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // AssociateMemberRequest
30
+ * accountId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new AssociateMemberCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu
26
26
  * import { Inspector2Client, BatchGetAccountStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, BatchGetAccountStatusCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // BatchGetAccountStatusRequest
30
+ * accountIds: [ // AccountIdSet
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchGetAccountStatusCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf
26
26
  * import { Inspector2Client, BatchGetFreeTrialInfoCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, BatchGetFreeTrialInfoCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // BatchGetFreeTrialInfoRequest
30
+ * accountIds: [ // MeteringAccountIdList // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchGetFreeTrialInfoCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR
26
26
  * import { Inspector2Client, CancelFindingsReportCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, CancelFindingsReportCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // CancelFindingsReportRequest
30
+ * reportId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new CancelFindingsReportCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,134 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
26
26
  * import { Inspector2Client, CreateFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, CreateFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // CreateFilterRequest
30
+ * action: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * filterCriteria: { // FilterCriteria
33
+ * findingArn: [ // StringFilterList
34
+ * { // StringFilter
35
+ * comparison: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * awsAccountId: [
40
+ * {
41
+ * comparison: "STRING_VALUE", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * findingType: [
46
+ * {
47
+ * comparison: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * severity: [
52
+ * {
53
+ * comparison: "STRING_VALUE", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * firstObservedAt: [ // DateFilterList
58
+ * { // DateFilter
59
+ * startInclusive: new Date("TIMESTAMP"),
60
+ * endInclusive: new Date("TIMESTAMP"),
61
+ * },
62
+ * ],
63
+ * lastObservedAt: [
64
+ * {
65
+ * startInclusive: new Date("TIMESTAMP"),
66
+ * endInclusive: new Date("TIMESTAMP"),
67
+ * },
68
+ * ],
69
+ * updatedAt: [
70
+ * {
71
+ * startInclusive: new Date("TIMESTAMP"),
72
+ * endInclusive: new Date("TIMESTAMP"),
73
+ * },
74
+ * ],
75
+ * findingStatus: [
76
+ * {
77
+ * comparison: "STRING_VALUE", // required
78
+ * value: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * title: "<StringFilterList>",
82
+ * inspectorScore: [ // NumberFilterList
83
+ * { // NumberFilter
84
+ * upperInclusive: Number("double"),
85
+ * lowerInclusive: Number("double"),
86
+ * },
87
+ * ],
88
+ * resourceType: "<StringFilterList>",
89
+ * resourceId: "<StringFilterList>",
90
+ * resourceTags: [ // MapFilterList
91
+ * { // MapFilter
92
+ * comparison: "STRING_VALUE", // required
93
+ * key: "STRING_VALUE", // required
94
+ * value: "STRING_VALUE",
95
+ * },
96
+ * ],
97
+ * ec2InstanceImageId: "<StringFilterList>",
98
+ * ec2InstanceVpcId: "<StringFilterList>",
99
+ * ec2InstanceSubnetId: "<StringFilterList>",
100
+ * ecrImagePushedAt: [
101
+ * {
102
+ * startInclusive: new Date("TIMESTAMP"),
103
+ * endInclusive: new Date("TIMESTAMP"),
104
+ * },
105
+ * ],
106
+ * ecrImageArchitecture: "<StringFilterList>",
107
+ * ecrImageRegistry: "<StringFilterList>",
108
+ * ecrImageRepositoryName: "<StringFilterList>",
109
+ * ecrImageTags: "<StringFilterList>",
110
+ * ecrImageHash: "<StringFilterList>",
111
+ * portRange: [ // PortRangeFilterList
112
+ * { // PortRangeFilter
113
+ * beginInclusive: Number("int"),
114
+ * endInclusive: Number("int"),
115
+ * },
116
+ * ],
117
+ * networkProtocol: "<StringFilterList>",
118
+ * componentId: "<StringFilterList>",
119
+ * componentType: "<StringFilterList>",
120
+ * vulnerabilityId: "<StringFilterList>",
121
+ * vulnerabilitySource: "<StringFilterList>",
122
+ * vendorSeverity: "<StringFilterList>",
123
+ * vulnerablePackages: [ // PackageFilterList
124
+ * { // PackageFilter
125
+ * name: "<StringFilter>",
126
+ * version: "<StringFilter>",
127
+ * epoch: {
128
+ * upperInclusive: Number("double"),
129
+ * lowerInclusive: Number("double"),
130
+ * },
131
+ * release: "<StringFilter>",
132
+ * architecture: "<StringFilter>",
133
+ * sourceLayerHash: "<StringFilter>",
134
+ * sourceLambdaLayerArn: "<StringFilter>",
135
+ * },
136
+ * ],
137
+ * relatedVulnerabilities: "<StringFilterList>",
138
+ * fixAvailable: "<StringFilterList>",
139
+ * lambdaFunctionName: "<StringFilterList>",
140
+ * lambdaFunctionLayers: "<StringFilterList>",
141
+ * lambdaFunctionRuntime: "<StringFilterList>",
142
+ * lambdaFunctionLastModifiedAt: [
143
+ * {
144
+ * startInclusive: new Date("TIMESTAMP"),
145
+ * endInclusive: new Date("TIMESTAMP"),
146
+ * },
147
+ * ],
148
+ * lambdaFunctionExecutionRoleArn: "<StringFilterList>",
149
+ * exploitAvailable: "<StringFilterList>",
150
+ * },
151
+ * name: "STRING_VALUE", // required
152
+ * tags: { // TagMap
153
+ * "<keys>": "STRING_VALUE",
154
+ * },
155
+ * reason: "STRING_VALUE",
156
+ * };
29
157
  * const command = new CreateFilterCommand(input);
30
158
  * const response = await client.send(command);
31
159
  * ```
@@ -26,6 +26,133 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
26
26
  * import { Inspector2Client, CreateFindingsReportCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, CreateFindingsReportCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // CreateFindingsReportRequest
30
+ * filterCriteria: { // FilterCriteria
31
+ * findingArn: [ // StringFilterList
32
+ * { // StringFilter
33
+ * comparison: "STRING_VALUE", // required
34
+ * value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * awsAccountId: [
38
+ * {
39
+ * comparison: "STRING_VALUE", // required
40
+ * value: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * findingType: [
44
+ * {
45
+ * comparison: "STRING_VALUE", // required
46
+ * value: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * severity: [
50
+ * {
51
+ * comparison: "STRING_VALUE", // required
52
+ * value: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * firstObservedAt: [ // DateFilterList
56
+ * { // DateFilter
57
+ * startInclusive: new Date("TIMESTAMP"),
58
+ * endInclusive: new Date("TIMESTAMP"),
59
+ * },
60
+ * ],
61
+ * lastObservedAt: [
62
+ * {
63
+ * startInclusive: new Date("TIMESTAMP"),
64
+ * endInclusive: new Date("TIMESTAMP"),
65
+ * },
66
+ * ],
67
+ * updatedAt: [
68
+ * {
69
+ * startInclusive: new Date("TIMESTAMP"),
70
+ * endInclusive: new Date("TIMESTAMP"),
71
+ * },
72
+ * ],
73
+ * findingStatus: [
74
+ * {
75
+ * comparison: "STRING_VALUE", // required
76
+ * value: "STRING_VALUE", // required
77
+ * },
78
+ * ],
79
+ * title: "<StringFilterList>",
80
+ * inspectorScore: [ // NumberFilterList
81
+ * { // NumberFilter
82
+ * upperInclusive: Number("double"),
83
+ * lowerInclusive: Number("double"),
84
+ * },
85
+ * ],
86
+ * resourceType: "<StringFilterList>",
87
+ * resourceId: "<StringFilterList>",
88
+ * resourceTags: [ // MapFilterList
89
+ * { // MapFilter
90
+ * comparison: "STRING_VALUE", // required
91
+ * key: "STRING_VALUE", // required
92
+ * value: "STRING_VALUE",
93
+ * },
94
+ * ],
95
+ * ec2InstanceImageId: "<StringFilterList>",
96
+ * ec2InstanceVpcId: "<StringFilterList>",
97
+ * ec2InstanceSubnetId: "<StringFilterList>",
98
+ * ecrImagePushedAt: [
99
+ * {
100
+ * startInclusive: new Date("TIMESTAMP"),
101
+ * endInclusive: new Date("TIMESTAMP"),
102
+ * },
103
+ * ],
104
+ * ecrImageArchitecture: "<StringFilterList>",
105
+ * ecrImageRegistry: "<StringFilterList>",
106
+ * ecrImageRepositoryName: "<StringFilterList>",
107
+ * ecrImageTags: "<StringFilterList>",
108
+ * ecrImageHash: "<StringFilterList>",
109
+ * portRange: [ // PortRangeFilterList
110
+ * { // PortRangeFilter
111
+ * beginInclusive: Number("int"),
112
+ * endInclusive: Number("int"),
113
+ * },
114
+ * ],
115
+ * networkProtocol: "<StringFilterList>",
116
+ * componentId: "<StringFilterList>",
117
+ * componentType: "<StringFilterList>",
118
+ * vulnerabilityId: "<StringFilterList>",
119
+ * vulnerabilitySource: "<StringFilterList>",
120
+ * vendorSeverity: "<StringFilterList>",
121
+ * vulnerablePackages: [ // PackageFilterList
122
+ * { // PackageFilter
123
+ * name: "<StringFilter>",
124
+ * version: "<StringFilter>",
125
+ * epoch: {
126
+ * upperInclusive: Number("double"),
127
+ * lowerInclusive: Number("double"),
128
+ * },
129
+ * release: "<StringFilter>",
130
+ * architecture: "<StringFilter>",
131
+ * sourceLayerHash: "<StringFilter>",
132
+ * sourceLambdaLayerArn: "<StringFilter>",
133
+ * },
134
+ * ],
135
+ * relatedVulnerabilities: "<StringFilterList>",
136
+ * fixAvailable: "<StringFilterList>",
137
+ * lambdaFunctionName: "<StringFilterList>",
138
+ * lambdaFunctionLayers: "<StringFilterList>",
139
+ * lambdaFunctionRuntime: "<StringFilterList>",
140
+ * lambdaFunctionLastModifiedAt: [
141
+ * {
142
+ * startInclusive: new Date("TIMESTAMP"),
143
+ * endInclusive: new Date("TIMESTAMP"),
144
+ * },
145
+ * ],
146
+ * lambdaFunctionExecutionRoleArn: "<StringFilterList>",
147
+ * exploitAvailable: "<StringFilterList>",
148
+ * },
149
+ * reportFormat: "STRING_VALUE", // required
150
+ * s3Destination: { // Destination
151
+ * bucketName: "STRING_VALUE", // required
152
+ * keyPrefix: "STRING_VALUE",
153
+ * kmsKeyArn: "STRING_VALUE", // required
154
+ * },
155
+ * };
29
156
  * const command = new CreateFindingsReportCommand(input);
30
157
  * const response = await client.send(command);
31
158
  * ```
@@ -26,6 +26,9 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad
26
26
  * import { Inspector2Client, DeleteFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, DeleteFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // DeleteFilterRequest
30
+ * arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteFilterCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
26
26
  * import { Inspector2Client, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {};
29
30
  * const command = new DescribeOrganizationConfigurationCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,14 @@ export interface DisableCommandOutput extends DisableResponse, __MetadataBearer
27
27
  * import { Inspector2Client, DisableCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
28
28
  * // const { Inspector2Client, DisableCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
29
29
  * const client = new Inspector2Client(config);
30
+ * const input = { // DisableRequest
31
+ * accountIds: [ // AccountIdSet
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * resourceTypes: [ // DisableResourceTypeList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
30
38
  * const command = new DisableCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -26,6 +26,9 @@ export interface DisableDelegatedAdminAccountCommandOutput extends DisableDelega
26
26
  * import { Inspector2Client, DisableDelegatedAdminAccountCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, DisableDelegatedAdminAccountCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // DisableDelegatedAdminAccountRequest
30
+ * delegatedAdminAccountId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DisableDelegatedAdminAccountCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo
26
26
  * import { Inspector2Client, DisassociateMemberCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, DisassociateMemberCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // DisassociateMemberRequest
30
+ * accountId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DisassociateMemberCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,15 @@ export interface EnableCommandOutput extends EnableResponse, __MetadataBearer {
26
26
  * import { Inspector2Client, EnableCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, EnableCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // EnableRequest
30
+ * accountIds: [ // AccountIdSet
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * resourceTypes: [ // EnableResourceTypeList // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * clientToken: "STRING_VALUE",
37
+ * };
29
38
  * const command = new EnableCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,10 @@ 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 = { // EnableDelegatedAdminAccountRequest
30
+ * delegatedAdminAccountId: "STRING_VALUE", // required
31
+ * clientToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new EnableDelegatedAdminAccountCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,7 @@ export interface GetConfigurationCommandOutput extends GetConfigurationResponse,
26
26
  * import { Inspector2Client, GetConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, GetConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = {};
29
30
  * const command = new GetConfigurationCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -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 = { // GetFindingsReportStatusRequest
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 = { // GetMemberRequest
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 = { // ListAccountPermissionsRequest
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,61 @@ 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 = { // ListCoverageRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * filterCriteria: { // CoverageFilterCriteria
33
+ * scanStatusCode: [ // CoverageStringFilterList
34
+ * { // CoverageStringFilter
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: "<CoverageStringFilterList>",
64
+ * ecrRepositoryName: "<CoverageStringFilterList>",
65
+ * ecrImageTags: "<CoverageStringFilterList>",
66
+ * ec2InstanceTags: [ // CoverageMapFilterList
67
+ * { // CoverageMapFilter
68
+ * comparison: "STRING_VALUE", // required
69
+ * key: "STRING_VALUE", // required
70
+ * value: "STRING_VALUE",
71
+ * },
72
+ * ],
73
+ * lambdaFunctionName: "<CoverageStringFilterList>",
74
+ * lambdaFunctionTags: [
75
+ * {
76
+ * comparison: "STRING_VALUE", // required
77
+ * key: "STRING_VALUE", // required
78
+ * value: "STRING_VALUE",
79
+ * },
80
+ * ],
81
+ * lambdaFunctionRuntime: "<CoverageStringFilterList>",
82
+ * },
83
+ * };
29
84
  * const command = new ListCoverageCommand(input);
30
85
  * const response = await client.send(command);
31
86
  * ```
@@ -26,6 +26,61 @@ 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 = { // ListCoverageStatisticsRequest
30
+ * filterCriteria: { // CoverageFilterCriteria
31
+ * scanStatusCode: [ // CoverageStringFilterList
32
+ * { // CoverageStringFilter
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: "<CoverageStringFilterList>",
62
+ * ecrRepositoryName: "<CoverageStringFilterList>",
63
+ * ecrImageTags: "<CoverageStringFilterList>",
64
+ * ec2InstanceTags: [ // CoverageMapFilterList
65
+ * { // CoverageMapFilter
66
+ * comparison: "STRING_VALUE", // required
67
+ * key: "STRING_VALUE", // required
68
+ * value: "STRING_VALUE",
69
+ * },
70
+ * ],
71
+ * lambdaFunctionName: "<CoverageStringFilterList>",
72
+ * lambdaFunctionTags: [
73
+ * {
74
+ * comparison: "STRING_VALUE", // required
75
+ * key: "STRING_VALUE", // required
76
+ * value: "STRING_VALUE",
77
+ * },
78
+ * ],
79
+ * lambdaFunctionRuntime: "<CoverageStringFilterList>",
80
+ * },
81
+ * groupBy: "STRING_VALUE",
82
+ * nextToken: "STRING_VALUE",
83
+ * };
29
84
  * const command = new ListCoverageStatisticsCommand(input);
30
85
  * const response = await client.send(command);
31
86
  * ```
@@ -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 = { // ListDelegatedAdminAccountsRequest
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 = { // ListFiltersRequest
30
+ * arns: [ // FilterArnList
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,124 @@ 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 = { // ListFindingAggregationsRequest
30
+ * aggregationType: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * accountIds: [ // StringFilterList
34
+ * { // StringFilter
35
+ * comparison: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * aggregationRequest: { // AggregationRequest Union: only one key present
40
+ * accountAggregation: { // AccountAggregation
41
+ * findingType: "STRING_VALUE",
42
+ * resourceType: "STRING_VALUE",
43
+ * sortOrder: "STRING_VALUE",
44
+ * sortBy: "STRING_VALUE",
45
+ * },
46
+ * amiAggregation: { // 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: { // 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: "<StringFilterList>",
76
+ * imageTags: "<StringFilterList>",
77
+ * sortOrder: "STRING_VALUE",
78
+ * sortBy: "STRING_VALUE",
79
+ * },
80
+ * ec2InstanceAggregation: { // Ec2InstanceAggregation
81
+ * amis: "<StringFilterList>",
82
+ * operatingSystems: "<StringFilterList>",
83
+ * instanceIds: "<StringFilterList>",
84
+ * instanceTags: [ // MapFilterList
85
+ * { // MapFilter
86
+ * comparison: "STRING_VALUE", // required
87
+ * key: "STRING_VALUE", // required
88
+ * value: "STRING_VALUE",
89
+ * },
90
+ * ],
91
+ * sortOrder: "STRING_VALUE",
92
+ * sortBy: "STRING_VALUE",
93
+ * },
94
+ * findingTypeAggregation: { // FindingTypeAggregation
95
+ * findingType: "STRING_VALUE",
96
+ * resourceType: "STRING_VALUE",
97
+ * sortOrder: "STRING_VALUE",
98
+ * sortBy: "STRING_VALUE",
99
+ * },
100
+ * imageLayerAggregation: { // ImageLayerAggregation
101
+ * repositories: "<StringFilterList>",
102
+ * resourceIds: "<StringFilterList>",
103
+ * layerHashes: "<StringFilterList>",
104
+ * sortOrder: "STRING_VALUE",
105
+ * sortBy: "STRING_VALUE",
106
+ * },
107
+ * packageAggregation: { // PackageAggregation
108
+ * packageNames: "<StringFilterList>",
109
+ * sortOrder: "STRING_VALUE",
110
+ * sortBy: "STRING_VALUE",
111
+ * },
112
+ * repositoryAggregation: { // RepositoryAggregation
113
+ * repositories: "<StringFilterList>",
114
+ * sortOrder: "STRING_VALUE",
115
+ * sortBy: "STRING_VALUE",
116
+ * },
117
+ * titleAggregation: { // TitleAggregation
118
+ * titles: "<StringFilterList>",
119
+ * vulnerabilityIds: "<StringFilterList>",
120
+ * resourceType: "STRING_VALUE",
121
+ * sortOrder: "STRING_VALUE",
122
+ * sortBy: "STRING_VALUE",
123
+ * },
124
+ * lambdaLayerAggregation: { // LambdaLayerAggregation
125
+ * functionNames: "<StringFilterList>",
126
+ * resourceIds: "<StringFilterList>",
127
+ * layerArns: "<StringFilterList>",
128
+ * sortOrder: "STRING_VALUE",
129
+ * sortBy: "STRING_VALUE",
130
+ * },
131
+ * lambdaFunctionAggregation: { // LambdaFunctionAggregation
132
+ * resourceIds: "<StringFilterList>",
133
+ * functionNames: "<StringFilterList>",
134
+ * runtimes: "<StringFilterList>",
135
+ * functionTags: [
136
+ * {
137
+ * comparison: "STRING_VALUE", // required
138
+ * key: "STRING_VALUE", // required
139
+ * value: "STRING_VALUE",
140
+ * },
141
+ * ],
142
+ * sortOrder: "STRING_VALUE",
143
+ * sortBy: "STRING_VALUE",
144
+ * },
145
+ * },
146
+ * };
29
147
  * const command = new ListFindingAggregationsCommand(input);
30
148
  * const response = await client.send(command);
31
149
  * ```
@@ -26,6 +26,133 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
26
26
  * import { Inspector2Client, ListFindingsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListFindingsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // ListFindingsRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * filterCriteria: { // FilterCriteria
33
+ * findingArn: [ // StringFilterList
34
+ * { // StringFilter
35
+ * comparison: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * awsAccountId: [
40
+ * {
41
+ * comparison: "STRING_VALUE", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * findingType: [
46
+ * {
47
+ * comparison: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * severity: [
52
+ * {
53
+ * comparison: "STRING_VALUE", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * firstObservedAt: [ // DateFilterList
58
+ * { // DateFilter
59
+ * startInclusive: new Date("TIMESTAMP"),
60
+ * endInclusive: new Date("TIMESTAMP"),
61
+ * },
62
+ * ],
63
+ * lastObservedAt: [
64
+ * {
65
+ * startInclusive: new Date("TIMESTAMP"),
66
+ * endInclusive: new Date("TIMESTAMP"),
67
+ * },
68
+ * ],
69
+ * updatedAt: [
70
+ * {
71
+ * startInclusive: new Date("TIMESTAMP"),
72
+ * endInclusive: new Date("TIMESTAMP"),
73
+ * },
74
+ * ],
75
+ * findingStatus: [
76
+ * {
77
+ * comparison: "STRING_VALUE", // required
78
+ * value: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * title: "<StringFilterList>",
82
+ * inspectorScore: [ // NumberFilterList
83
+ * { // NumberFilter
84
+ * upperInclusive: Number("double"),
85
+ * lowerInclusive: Number("double"),
86
+ * },
87
+ * ],
88
+ * resourceType: "<StringFilterList>",
89
+ * resourceId: "<StringFilterList>",
90
+ * resourceTags: [ // MapFilterList
91
+ * { // MapFilter
92
+ * comparison: "STRING_VALUE", // required
93
+ * key: "STRING_VALUE", // required
94
+ * value: "STRING_VALUE",
95
+ * },
96
+ * ],
97
+ * ec2InstanceImageId: "<StringFilterList>",
98
+ * ec2InstanceVpcId: "<StringFilterList>",
99
+ * ec2InstanceSubnetId: "<StringFilterList>",
100
+ * ecrImagePushedAt: [
101
+ * {
102
+ * startInclusive: new Date("TIMESTAMP"),
103
+ * endInclusive: new Date("TIMESTAMP"),
104
+ * },
105
+ * ],
106
+ * ecrImageArchitecture: "<StringFilterList>",
107
+ * ecrImageRegistry: "<StringFilterList>",
108
+ * ecrImageRepositoryName: "<StringFilterList>",
109
+ * ecrImageTags: "<StringFilterList>",
110
+ * ecrImageHash: "<StringFilterList>",
111
+ * portRange: [ // PortRangeFilterList
112
+ * { // PortRangeFilter
113
+ * beginInclusive: Number("int"),
114
+ * endInclusive: Number("int"),
115
+ * },
116
+ * ],
117
+ * networkProtocol: "<StringFilterList>",
118
+ * componentId: "<StringFilterList>",
119
+ * componentType: "<StringFilterList>",
120
+ * vulnerabilityId: "<StringFilterList>",
121
+ * vulnerabilitySource: "<StringFilterList>",
122
+ * vendorSeverity: "<StringFilterList>",
123
+ * vulnerablePackages: [ // PackageFilterList
124
+ * { // PackageFilter
125
+ * name: "<StringFilter>",
126
+ * version: "<StringFilter>",
127
+ * epoch: {
128
+ * upperInclusive: Number("double"),
129
+ * lowerInclusive: Number("double"),
130
+ * },
131
+ * release: "<StringFilter>",
132
+ * architecture: "<StringFilter>",
133
+ * sourceLayerHash: "<StringFilter>",
134
+ * sourceLambdaLayerArn: "<StringFilter>",
135
+ * },
136
+ * ],
137
+ * relatedVulnerabilities: "<StringFilterList>",
138
+ * fixAvailable: "<StringFilterList>",
139
+ * lambdaFunctionName: "<StringFilterList>",
140
+ * lambdaFunctionLayers: "<StringFilterList>",
141
+ * lambdaFunctionRuntime: "<StringFilterList>",
142
+ * lambdaFunctionLastModifiedAt: [
143
+ * {
144
+ * startInclusive: new Date("TIMESTAMP"),
145
+ * endInclusive: new Date("TIMESTAMP"),
146
+ * },
147
+ * ],
148
+ * lambdaFunctionExecutionRoleArn: "<StringFilterList>",
149
+ * exploitAvailable: "<StringFilterList>",
150
+ * },
151
+ * sortCriteria: { // SortCriteria
152
+ * field: "STRING_VALUE", // required
153
+ * sortOrder: "STRING_VALUE", // required
154
+ * },
155
+ * };
29
156
  * const command = new ListFindingsCommand(input);
30
157
  * const response = await client.send(command);
31
158
  * ```
@@ -27,6 +27,11 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
27
27
  * import { Inspector2Client, ListMembersCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
28
28
  * // const { Inspector2Client, ListMembersCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
29
29
  * const client = new Inspector2Client(config);
30
+ * const input = { // ListMembersRequest
31
+ * onlyAssociated: true || false,
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListMembersCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { Inspector2Client, ListTagsForResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,13 @@ export interface ListUsageTotalsCommandOutput extends ListUsageTotalsResponse, _
26
26
  * import { Inspector2Client, ListUsageTotalsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, ListUsageTotalsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // ListUsageTotalsRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * accountIds: [ // UsageAccountIdList
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
29
36
  * const command = new ListUsageTotalsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { Inspector2Client, TagResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, TagResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: { // TagMap // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { Inspector2Client, UntagResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, UntagResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
26
26
  * import { Inspector2Client, UpdateConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, UpdateConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // UpdateConfigurationRequest
30
+ * ecrConfiguration: { // EcrConfiguration
31
+ * rescanDuration: "STRING_VALUE", // required
32
+ * },
33
+ * };
29
34
  * const command = new UpdateConfigurationCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,132 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
26
26
  * import { Inspector2Client, UpdateFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, UpdateFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // UpdateFilterRequest
30
+ * action: "STRING_VALUE",
31
+ * description: "STRING_VALUE",
32
+ * filterCriteria: { // FilterCriteria
33
+ * findingArn: [ // StringFilterList
34
+ * { // StringFilter
35
+ * comparison: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * awsAccountId: [
40
+ * {
41
+ * comparison: "STRING_VALUE", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * findingType: [
46
+ * {
47
+ * comparison: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * severity: [
52
+ * {
53
+ * comparison: "STRING_VALUE", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * firstObservedAt: [ // DateFilterList
58
+ * { // DateFilter
59
+ * startInclusive: new Date("TIMESTAMP"),
60
+ * endInclusive: new Date("TIMESTAMP"),
61
+ * },
62
+ * ],
63
+ * lastObservedAt: [
64
+ * {
65
+ * startInclusive: new Date("TIMESTAMP"),
66
+ * endInclusive: new Date("TIMESTAMP"),
67
+ * },
68
+ * ],
69
+ * updatedAt: [
70
+ * {
71
+ * startInclusive: new Date("TIMESTAMP"),
72
+ * endInclusive: new Date("TIMESTAMP"),
73
+ * },
74
+ * ],
75
+ * findingStatus: [
76
+ * {
77
+ * comparison: "STRING_VALUE", // required
78
+ * value: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * title: "<StringFilterList>",
82
+ * inspectorScore: [ // NumberFilterList
83
+ * { // NumberFilter
84
+ * upperInclusive: Number("double"),
85
+ * lowerInclusive: Number("double"),
86
+ * },
87
+ * ],
88
+ * resourceType: "<StringFilterList>",
89
+ * resourceId: "<StringFilterList>",
90
+ * resourceTags: [ // MapFilterList
91
+ * { // MapFilter
92
+ * comparison: "STRING_VALUE", // required
93
+ * key: "STRING_VALUE", // required
94
+ * value: "STRING_VALUE",
95
+ * },
96
+ * ],
97
+ * ec2InstanceImageId: "<StringFilterList>",
98
+ * ec2InstanceVpcId: "<StringFilterList>",
99
+ * ec2InstanceSubnetId: "<StringFilterList>",
100
+ * ecrImagePushedAt: [
101
+ * {
102
+ * startInclusive: new Date("TIMESTAMP"),
103
+ * endInclusive: new Date("TIMESTAMP"),
104
+ * },
105
+ * ],
106
+ * ecrImageArchitecture: "<StringFilterList>",
107
+ * ecrImageRegistry: "<StringFilterList>",
108
+ * ecrImageRepositoryName: "<StringFilterList>",
109
+ * ecrImageTags: "<StringFilterList>",
110
+ * ecrImageHash: "<StringFilterList>",
111
+ * portRange: [ // PortRangeFilterList
112
+ * { // PortRangeFilter
113
+ * beginInclusive: Number("int"),
114
+ * endInclusive: Number("int"),
115
+ * },
116
+ * ],
117
+ * networkProtocol: "<StringFilterList>",
118
+ * componentId: "<StringFilterList>",
119
+ * componentType: "<StringFilterList>",
120
+ * vulnerabilityId: "<StringFilterList>",
121
+ * vulnerabilitySource: "<StringFilterList>",
122
+ * vendorSeverity: "<StringFilterList>",
123
+ * vulnerablePackages: [ // PackageFilterList
124
+ * { // PackageFilter
125
+ * name: "<StringFilter>",
126
+ * version: "<StringFilter>",
127
+ * epoch: {
128
+ * upperInclusive: Number("double"),
129
+ * lowerInclusive: Number("double"),
130
+ * },
131
+ * release: "<StringFilter>",
132
+ * architecture: "<StringFilter>",
133
+ * sourceLayerHash: "<StringFilter>",
134
+ * sourceLambdaLayerArn: "<StringFilter>",
135
+ * },
136
+ * ],
137
+ * relatedVulnerabilities: "<StringFilterList>",
138
+ * fixAvailable: "<StringFilterList>",
139
+ * lambdaFunctionName: "<StringFilterList>",
140
+ * lambdaFunctionLayers: "<StringFilterList>",
141
+ * lambdaFunctionRuntime: "<StringFilterList>",
142
+ * lambdaFunctionLastModifiedAt: [
143
+ * {
144
+ * startInclusive: new Date("TIMESTAMP"),
145
+ * endInclusive: new Date("TIMESTAMP"),
146
+ * },
147
+ * ],
148
+ * lambdaFunctionExecutionRoleArn: "<StringFilterList>",
149
+ * exploitAvailable: "<StringFilterList>",
150
+ * },
151
+ * name: "STRING_VALUE",
152
+ * filterArn: "STRING_VALUE", // required
153
+ * reason: "STRING_VALUE",
154
+ * };
29
155
  * const command = new UpdateFilterCommand(input);
30
156
  * const response = await client.send(command);
31
157
  * ```
@@ -26,6 +26,13 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
26
26
  * import { Inspector2Client, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
27
27
  * // const { Inspector2Client, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
28
28
  * const client = new Inspector2Client(config);
29
+ * const input = { // UpdateOrganizationConfigurationRequest
30
+ * autoEnable: { // AutoEnable
31
+ * ec2: true || false, // required
32
+ * ecr: true || false, // required
33
+ * lambda: true || false,
34
+ * },
35
+ * };
29
36
  * const command = new UpdateOrganizationConfigurationCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector2",
3
3
  "description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"