Skip to content

Commit 91553bb

Browse files
author
awstools
committed
feat(client-inspector2): Extend usage to include agentless hours and add CODE_REPOSITORY to aggregation resource type
1 parent 026ef65 commit 91553bb

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

clients/client-inspector2/src/models/models_0.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export const AggregationResourceType = {
127127
AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
128128
AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
129129
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
130+
CODE_REPOSITORY: "CODE_REPOSITORY",
130131
} as const;
131132

132133
/**

clients/client-inspector2/src/models/models_1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,6 +2523,7 @@ export const UsageType = {
25232523
CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC",
25242524
CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST",
25252525
CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA",
2526+
EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS",
25262527
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
25272528
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
25282529
ECR_RESCAN: "ECR_RESCAN",

codegen/sdk-codegen/aws-models/inspector2.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@
331331
{
332332
"value": "AWS_LAMBDA_FUNCTION",
333333
"name": "AWS_LAMBDA_FUNCTION"
334+
},
335+
{
336+
"value": "CODE_REPOSITORY",
337+
"name": "CODE_REPOSITORY"
334338
}
335339
]
336340
}
@@ -18170,6 +18174,10 @@
1817018174
{
1817118175
"name": "CODE_REPOSITORY_SCA",
1817218176
"value": "CODE_REPOSITORY_SCA"
18177+
},
18178+
{
18179+
"name": "EC2_AGENTLESS_INSTANCE_HOURS",
18180+
"value": "EC2_AGENTLESS_INSTANCE_HOURS"
1817318181
}
1817418182
]
1817518183
}

0 commit comments

Comments
 (0)