Skip to content

Commit 6069734

Browse files
author
awstools
committed
feat(client-securityhub): This release adds the RESOURCE_NOT_FOUND error code as a possible value in responses to the following operations: BatchGetStandardsControlAssociations, BatchUpdateStandardsControlAssociations, and BatchGetSecurityControls.
1 parent 96c925c commit 6069734

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

clients/client-securityhub/src/commands/BatchGetSecurityControlsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface BatchGetSecurityControlsCommandOutput extends BatchGetSecurityC
8282
* // UnprocessedIds: [ // UnprocessedSecurityControls
8383
* // { // UnprocessedSecurityControl
8484
* // SecurityControlId: "STRING_VALUE", // required
85-
* // ErrorCode: "INVALID_INPUT" || "ACCESS_DENIED" || "NOT_FOUND" || "LIMIT_EXCEEDED", // required
85+
* // ErrorCode: "INVALID_INPUT" || "ACCESS_DENIED" || "NOT_FOUND" || "RESOURCE_NOT_FOUND" || "LIMIT_EXCEEDED", // required
8686
* // ErrorReason: "STRING_VALUE",
8787
* // },
8888
* // ],

clients/client-securityhub/src/commands/BatchGetStandardsControlAssociationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface BatchGetStandardsControlAssociationsCommandOutput
8383
* // SecurityControlId: "STRING_VALUE", // required
8484
* // StandardsArn: "STRING_VALUE", // required
8585
* // },
86-
* // ErrorCode: "INVALID_INPUT" || "ACCESS_DENIED" || "NOT_FOUND" || "LIMIT_EXCEEDED", // required
86+
* // ErrorCode: "INVALID_INPUT" || "ACCESS_DENIED" || "NOT_FOUND" || "RESOURCE_NOT_FOUND" || "LIMIT_EXCEEDED", // required
8787
* // ErrorReason: "STRING_VALUE",
8888
* // },
8989
* // ],

clients/client-securityhub/src/commands/BatchUpdateStandardsControlAssociationsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface BatchUpdateStandardsControlAssociationsCommandOutput
6767
* // AssociationStatus: "ENABLED" || "DISABLED", // required
6868
* // UpdatedReason: "STRING_VALUE",
6969
* // },
70-
* // ErrorCode: "INVALID_INPUT" || "ACCESS_DENIED" || "NOT_FOUND" || "LIMIT_EXCEEDED", // required
70+
* // ErrorCode: "INVALID_INPUT" || "ACCESS_DENIED" || "NOT_FOUND" || "RESOURCE_NOT_FOUND" || "LIMIT_EXCEEDED", // required
7171
* // ErrorReason: "STRING_VALUE",
7272
* // },
7373
* // ],

clients/client-securityhub/src/models/models_2.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5654,6 +5654,7 @@ export const UnprocessedErrorCode = {
56545654
INVALID_INPUT: "INVALID_INPUT",
56555655
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
56565656
NOT_FOUND: "NOT_FOUND",
5657+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
56575658
} as const;
56585659

56595660
/**

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39604,6 +39604,12 @@
3960439604
"smithy.api#enumValue": "NOT_FOUND"
3960539605
}
3960639606
},
39607+
"RESOURCE_NOT_FOUND": {
39608+
"target": "smithy.api#Unit",
39609+
"traits": {
39610+
"smithy.api#enumValue": "RESOURCE_NOT_FOUND"
39611+
}
39612+
},
3960739613
"LIMIT_EXCEEDED": {
3960839614
"target": "smithy.api#Unit",
3960939615
"traits": {

0 commit comments

Comments
 (0)