Skip to content

Commit

Permalink
feat(client-securityhub): Add ROOT type for TargetType model
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 29, 2024
1 parent 625a6cf commit 3ac165f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface BatchGetConfigurationPolicyAssociationsCommandOutput
* // { // ConfigurationPolicyAssociationSummary
* // ConfigurationPolicyId: "STRING_VALUE",
* // TargetId: "STRING_VALUE",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
* // AssociationType: "INHERITED" || "APPLIED",
* // UpdatedAt: new Date("TIMESTAMP"),
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface GetConfigurationPolicyAssociationCommandOutput
* // { // GetConfigurationPolicyAssociationResponse
* // ConfigurationPolicyId: "STRING_VALUE",
* // TargetId: "STRING_VALUE",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
* // AssociationType: "INHERITED" || "APPLIED",
* // UpdatedAt: new Date("TIMESTAMP"),
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export interface ListConfigurationPolicyAssociationsCommandOutput
* // { // ConfigurationPolicyAssociationSummary
* // ConfigurationPolicyId: "STRING_VALUE",
* // TargetId: "STRING_VALUE",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
* // AssociationType: "INHERITED" || "APPLIED",
* // UpdatedAt: new Date("TIMESTAMP"),
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface StartConfigurationPolicyAssociationCommandOutput
* // { // StartConfigurationPolicyAssociationResponse
* // ConfigurationPolicyId: "STRING_VALUE",
* // TargetId: "STRING_VALUE",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
* // AssociationType: "INHERITED" || "APPLIED",
* // UpdatedAt: new Date("TIMESTAMP"),
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
Expand Down
1 change: 1 addition & 0 deletions clients/client-securityhub/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4525,6 +4525,7 @@ export interface BatchGetConfigurationPolicyAssociationsRequest {
export const TargetType = {
ACCOUNT: "ACCOUNT",
ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
ROOT: "ROOT",
} as const;

/**
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/securityhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -34433,6 +34433,12 @@
"traits": {
"smithy.api#enumValue": "ORGANIZATIONAL_UNIT"
}
},
"ROOT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ROOT"
}
}
}
},
Expand Down

0 comments on commit 3ac165f

Please sign in to comment.