Skip to content

Commit 3ac165f

Browse files
author
awstools
committed
feat(client-securityhub): Add ROOT type for TargetType model
1 parent 625a6cf commit 3ac165f

6 files changed

+11
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface BatchGetConfigurationPolicyAssociationsCommandOutput
6565
* // { // ConfigurationPolicyAssociationSummary
6666
* // ConfigurationPolicyId: "STRING_VALUE",
6767
* // TargetId: "STRING_VALUE",
68-
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
68+
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
6969
* // AssociationType: "INHERITED" || "APPLIED",
7070
* // UpdatedAt: new Date("TIMESTAMP"),
7171
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface GetConfigurationPolicyAssociationCommandOutput
5858
* // { // GetConfigurationPolicyAssociationResponse
5959
* // ConfigurationPolicyId: "STRING_VALUE",
6060
* // TargetId: "STRING_VALUE",
61-
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
61+
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
6262
* // AssociationType: "INHERITED" || "APPLIED",
6363
* // UpdatedAt: new Date("TIMESTAMP"),
6464
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface ListConfigurationPolicyAssociationsCommandOutput
6161
* // { // ConfigurationPolicyAssociationSummary
6262
* // ConfigurationPolicyId: "STRING_VALUE",
6363
* // TargetId: "STRING_VALUE",
64-
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
64+
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
6565
* // AssociationType: "INHERITED" || "APPLIED",
6666
* // UpdatedAt: new Date("TIMESTAMP"),
6767
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface StartConfigurationPolicyAssociationCommandOutput
5959
* // { // StartConfigurationPolicyAssociationResponse
6060
* // ConfigurationPolicyId: "STRING_VALUE",
6161
* // TargetId: "STRING_VALUE",
62-
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
62+
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
6363
* // AssociationType: "INHERITED" || "APPLIED",
6464
* // UpdatedAt: new Date("TIMESTAMP"),
6565
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",

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

+1
Original file line numberDiff line numberDiff line change
@@ -4525,6 +4525,7 @@ export interface BatchGetConfigurationPolicyAssociationsRequest {
45254525
export const TargetType = {
45264526
ACCOUNT: "ACCOUNT",
45274527
ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
4528+
ROOT: "ROOT",
45284529
} as const;
45294530

45304531
/**

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

+6
Original file line numberDiff line numberDiff line change
@@ -34433,6 +34433,12 @@
3443334433
"traits": {
3443434434
"smithy.api#enumValue": "ORGANIZATIONAL_UNIT"
3443534435
}
34436+
},
34437+
"ROOT": {
34438+
"target": "smithy.api#Unit",
34439+
"traits": {
34440+
"smithy.api#enumValue": "ROOT"
34441+
}
3443634442
}
3443734443
}
3443834444
},

0 commit comments

Comments
 (0)