Skip to content

Commit 5f15b82

Browse files
author
awstools
committed
feat(client-guardduty): Add EKS_CLUSTER_NAME to filter and sort key.
1 parent 4fa6b7a commit 5f15b82

10 files changed

+68
-46
lines changed

clients/client-guardduty/src/commands/DisableOrganizationAdminAccountCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface DisableOrganizationAdminAccountCommandOutput
4343
/**
4444
* @public
4545
* <p>Removes the existing GuardDuty delegated
46-
* administrator of the organization. Only the organization's management account can run this
46+
* administrator of the organization. Only the organization's management account can run this
4747
* API operation.</p>
4848
* @example
4949
* Use a bare-bones client and the command you need to make an API call.

clients/client-guardduty/src/commands/GetCoverageStatisticsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface GetCoverageStatisticsCommandOutput extends GetCoverageStatistic
5252
* FilterCriteria: { // CoverageFilterCriteria
5353
* FilterCriterion: [ // CoverageFilterCriterionList
5454
* { // CoverageFilterCriterion
55-
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE",
55+
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE" || "EKS_CLUSTER_NAME",
5656
* FilterCondition: { // CoverageFilterCondition
5757
* Equals: [ // Equals
5858
* "STRING_VALUE",

clients/client-guardduty/src/commands/InviteMembersCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
3838
/**
3939
* @public
4040
* <p>Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account
41-
* that invokes this API. If you are using organizations to manager your GuardDuty environment, this step is not
41+
* that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty environment, this step is not
4242
* needed. For more information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html">Managing accounts with organizations</a>.</p>
4343
* <p>To invite Amazon Web Services accounts, the first step is
4444
* to ensure that GuardDuty has been enabled in the potential member accounts. You can now invoke this API

clients/client-guardduty/src/commands/ListCoverageCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
5454
* FilterCriteria: { // CoverageFilterCriteria
5555
* FilterCriterion: [ // CoverageFilterCriterionList
5656
* { // CoverageFilterCriterion
57-
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE",
57+
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE" || "EKS_CLUSTER_NAME",
5858
* FilterCondition: { // CoverageFilterCondition
5959
* Equals: [ // Equals
6060
* "STRING_VALUE",
@@ -67,7 +67,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
6767
* ],
6868
* },
6969
* SortCriteria: { // CoverageSortCriteria
70-
* AttributeName: "ACCOUNT_ID" || "CLUSTER_NAME" || "COVERAGE_STATUS" || "ISSUE" || "ADDON_VERSION" || "UPDATED_AT",
70+
* AttributeName: "ACCOUNT_ID" || "CLUSTER_NAME" || "COVERAGE_STATUS" || "ISSUE" || "ADDON_VERSION" || "UPDATED_AT" || "EKS_CLUSTER_NAME",
7171
* OrderBy: "ASC" || "DESC",
7272
* },
7373
* };

clients/client-guardduty/src/commands/ListOrganizationAdminAccountsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export interface ListOrganizationAdminAccountsCommandOutput
4242

4343
/**
4444
* @public
45-
* <p>Lists the accounts configured as GuardDuty delegated administrators.
46-
* Only the organization's management account can run this
45+
* <p>Lists the accounts designated as GuardDuty delegated administrators.
46+
* Only the organization's management account can run this
4747
* API operation.</p>
4848
* @example
4949
* Use a bare-bones client and the command you need to make an API call.

clients/client-guardduty/src/commands/ListTagsForResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
3838
/**
3939
* @public
4040
* <p>Lists tags for a resource. Tagging is currently supported for detectors, finding filters,
41-
* IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource.
41+
* IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource.
4242
* When invoked, this
4343
* operation returns all assigned tags for a given resource.</p>
4444
* @example

clients/client-guardduty/src/commands/UpdateOrganizationConfigurationCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ export interface UpdateOrganizationConfigurationCommandOutput
4343
/**
4444
* @public
4545
* <p>Configures the delegated administrator account with the provided values. You must provide
46-
* a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>, but not
47-
* both. </p>
46+
* a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>, but not both. </p>
4847
* <p>There might be regional differences because some data sources might not be
4948
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
5049
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>

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

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,7 @@ export const CoverageFilterCriterionKey = {
14631463
ADDON_VERSION: "ADDON_VERSION",
14641464
CLUSTER_NAME: "CLUSTER_NAME",
14651465
COVERAGE_STATUS: "COVERAGE_STATUS",
1466+
EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME",
14661467
MANAGEMENT_TYPE: "MANAGEMENT_TYPE",
14671468
RESOURCE_TYPE: "RESOURCE_TYPE",
14681469
} as const;
@@ -1481,6 +1482,10 @@ export interface CoverageFilterCriterion {
14811482
/**
14821483
* @public
14831484
* <p>An enum value representing possible filter fields.</p>
1485+
* <note>
1486+
* <p>Replace the enum value <code>CLUSTER_NAME</code> with <code>EKS_CLUSTER_NAME</code>.
1487+
* <code>CLUSTER_NAME</code> has been deprecated.</p>
1488+
* </note>
14841489
*/
14851490
CriterionKey?: CoverageFilterCriterionKey | string;
14861491

@@ -1581,6 +1586,7 @@ export const CoverageSortKey = {
15811586
ADDON_VERSION: "ADDON_VERSION",
15821587
CLUSTER_NAME: "CLUSTER_NAME",
15831588
COVERAGE_STATUS: "COVERAGE_STATUS",
1589+
EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME",
15841590
ISSUE: "ISSUE",
15851591
UPDATED_AT: "UPDATED_AT",
15861592
} as const;
@@ -1612,6 +1618,10 @@ export interface CoverageSortCriteria {
16121618
/**
16131619
* @public
16141620
* <p>Represents the field name used to sort the coverage details.</p>
1621+
* <note>
1622+
* <p>Replace the enum value <code>CLUSTER_NAME</code> with <code>EKS_CLUSTER_NAME</code>.
1623+
* <code>CLUSTER_NAME</code> has been deprecated.</p>
1624+
* </note>
16151625
*/
16161626
AttributeName?: CoverageSortKey | string;
16171627

@@ -3045,6 +3055,10 @@ export interface FilterCriterion {
30453055
* @public
30463056
* <p>An enum value representing possible scan properties to match with given scan
30473057
* entries.</p>
3058+
* <note>
3059+
* <p>Replace the enum value <code>CLUSTER_NAME</code> with <code>EKS_CLUSTER_NAME</code>.
3060+
* <code>CLUSTER_NAME</code> has been deprecated.</p>
3061+
* </note>
30483062
*/
30493063
CriterionKey?: CriterionKey | string;
30503064

@@ -4474,7 +4488,7 @@ export interface EksClusterDetails {
44744488
export interface EnableOrganizationAdminAccountRequest {
44754489
/**
44764490
* @public
4477-
* <p>The Amazon Web Services Account ID for the organization account to be enabled as a GuardDuty delegated
4491+
* <p>The Amazon Web Services account ID for the organization account to be enabled as a GuardDuty delegated
44784492
* administrator.</p>
44794493
*/
44804494
AdminAccountId: string | undefined;
@@ -5620,7 +5634,7 @@ export interface Service {
56205634

56215635
/**
56225636
* @public
5623-
* <p>Contains information about the finding, which is generated when abnormal or suspicious
5637+
* <p>Contains information about the finding that is generated when abnormal or suspicious
56245638
* activity is detected.</p>
56255639
*/
56265640
export interface Finding {
@@ -6106,22 +6120,19 @@ export type ScanCriterionKey = (typeof ScanCriterionKey)[keyof typeof ScanCriter
61066120

61076121
/**
61086122
* @public
6109-
* <p>Represents key, value pair to be matched against given resource property.</p>
6123+
* <p>Represents the <code>key:value</code> pair to be matched against given resource property.</p>
61106124
*/
61116125
export interface ScanConditionPair {
61126126
/**
61136127
* @public
6114-
* <p>Represents <i>key</i>
6115-
* <b></b> in the map condition.</p>
6128+
* <p>Represents the <b>key</b> in the map condition.</p>
61166129
*/
61176130
Key: string | undefined;
61186131

61196132
/**
61206133
* @public
6121-
* <p>Represents optional <i>value</i>
6122-
* <b></b> in the map
6123-
* condition. If not specified, only <i>key</i>
6124-
* <b></b> will be
6134+
* <p>Represents optional <b>value</b> in the map
6135+
* condition. If not specified, only the <b>key</b> will be
61256136
* matched.</p>
61266137
*/
61276138
Value?: string;

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,9 @@ export interface OrganizationFeatureConfiguration {
598598

599599
/**
600600
* @public
601-
* <p>The status of the feature that will be configured for the organization. Use one of the following
602-
* values to configure the feature status for the entire organization:</p>
601+
* <p>Describes the status of the feature that is configured for the
602+
* member accounts within the organization. One of the following
603+
* values is the status for the entire organization:</p>
603604
* <ul>
604605
* <li>
605606
* <p>
@@ -616,9 +617,10 @@ export interface OrganizationFeatureConfiguration {
616617
* </li>
617618
* <li>
618619
* <p>
619-
* <code>NONE</code>: Indicates that the feature will not be automatically enabled for any
620-
* account in the organization. The administrator must manage the feature for each account
621-
* individually.</p>
620+
* <code>NONE</code>: Indicates that the feature will not be
621+
* automatically enabled for any
622+
* account in the organization. The administrator must manage the feature
623+
* for each account individually.</p>
622624
* </li>
623625
* </ul>
624626
*/
@@ -645,9 +647,9 @@ export interface UpdateOrganizationConfigurationRequest {
645647
* @public
646648
* @deprecated
647649
*
648-
* <p>Indicates whether to automatically enable member accounts in the organization.</p>
650+
* <p>Represents whether or not to automatically enable member accounts in the organization.</p>
649651
* <p>Even though this is still supported, we recommend using
650-
* <code>AutoEnableOrganizationMembers</code> to achieve the similar results. You must provide the
652+
* <code>AutoEnableOrganizationMembers</code> to achieve the similar results. You must provide a
651653
* value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>.</p>
652654
*/
653655
AutoEnable?: boolean;
@@ -669,8 +671,7 @@ export interface UpdateOrganizationConfigurationRequest {
669671
/**
670672
* @public
671673
* <p>Indicates the auto-enablement configuration of GuardDuty for the member accounts in the
672-
* organization. You must provide a
673-
* value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p>
674+
* organization. You must provide a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p>
674675
* <p>Use one of the
675676
* following configuration values for <code>autoEnableOrganizationMembers</code>:</p>
676677
* <ul>
@@ -690,8 +691,7 @@ export interface UpdateOrganizationConfigurationRequest {
690691
* <li>
691692
* <p>
692693
* <code>NONE</code>: Indicates that GuardDuty will not be automatically enabled for any
693-
* account in the organization. The administrator must manage GuardDuty for each account in the organization
694-
* individually.</p>
694+
* account in the organization. The administrator must manage GuardDuty for each account in the organization individually.</p>
695695
* </li>
696696
* </ul>
697697
*/

0 commit comments

Comments
 (0)