Skip to content

Commit

Permalink
feat(client-guardduty): Add EKS_CLUSTER_NAME to filter and sort key.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 22, 2023
1 parent 4fa6b7a commit 5f15b82
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface DisableOrganizationAdminAccountCommandOutput
/**
* @public
* <p>Removes the existing GuardDuty delegated
* administrator of the organization. Only the organization's management account can run this
* administrator of the organization. Only the organization's management account can run this
* API operation.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface GetCoverageStatisticsCommandOutput extends GetCoverageStatistic
* FilterCriteria: { // CoverageFilterCriteria
* FilterCriterion: [ // CoverageFilterCriterionList
* { // CoverageFilterCriterion
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE",
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE" || "EKS_CLUSTER_NAME",
* FilterCondition: { // CoverageFilterCondition
* Equals: [ // Equals
* "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
/**
* @public
* <p>Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account
* that invokes this API. If you are using organizations to manager your GuardDuty environment, this step is not
* that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty environment, this step is not
* needed. For more information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html">Managing accounts with organizations</a>.</p>
* <p>To invite Amazon Web Services accounts, the first step is
* to ensure that GuardDuty has been enabled in the potential member accounts. You can now invoke this API
Expand Down
4 changes: 2 additions & 2 deletions clients/client-guardduty/src/commands/ListCoverageCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
* FilterCriteria: { // CoverageFilterCriteria
* FilterCriterion: [ // CoverageFilterCriterionList
* { // CoverageFilterCriterion
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE",
* CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION" || "MANAGEMENT_TYPE" || "EKS_CLUSTER_NAME",
* FilterCondition: { // CoverageFilterCondition
* Equals: [ // Equals
* "STRING_VALUE",
Expand All @@ -67,7 +67,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
* ],
* },
* SortCriteria: { // CoverageSortCriteria
* AttributeName: "ACCOUNT_ID" || "CLUSTER_NAME" || "COVERAGE_STATUS" || "ISSUE" || "ADDON_VERSION" || "UPDATED_AT",
* AttributeName: "ACCOUNT_ID" || "CLUSTER_NAME" || "COVERAGE_STATUS" || "ISSUE" || "ADDON_VERSION" || "UPDATED_AT" || "EKS_CLUSTER_NAME",
* OrderBy: "ASC" || "DESC",
* },
* };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export interface ListOrganizationAdminAccountsCommandOutput

/**
* @public
* <p>Lists the accounts configured as GuardDuty delegated administrators.
* Only the organization's management account can run this
* <p>Lists the accounts designated as GuardDuty delegated administrators.
* Only the organization's management account can run this
* API operation.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
/**
* @public
* <p>Lists tags for a resource. Tagging is currently supported for detectors, finding filters,
* IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource.
* IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource.
* When invoked, this
* operation returns all assigned tags for a given resource.</p>
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ export interface UpdateOrganizationConfigurationCommandOutput
/**
* @public
* <p>Configures the delegated administrator account with the provided values. You must provide
* a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>, but not
* both. </p>
* a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>, but not both. </p>
* <p>There might be regional differences because some data sources might not be
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
Expand Down
29 changes: 20 additions & 9 deletions clients/client-guardduty/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,7 @@ export const CoverageFilterCriterionKey = {
ADDON_VERSION: "ADDON_VERSION",
CLUSTER_NAME: "CLUSTER_NAME",
COVERAGE_STATUS: "COVERAGE_STATUS",
EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME",
MANAGEMENT_TYPE: "MANAGEMENT_TYPE",
RESOURCE_TYPE: "RESOURCE_TYPE",
} as const;
Expand All @@ -1481,6 +1482,10 @@ export interface CoverageFilterCriterion {
/**
* @public
* <p>An enum value representing possible filter fields.</p>
* <note>
* <p>Replace the enum value <code>CLUSTER_NAME</code> with <code>EKS_CLUSTER_NAME</code>.
* <code>CLUSTER_NAME</code> has been deprecated.</p>
* </note>
*/
CriterionKey?: CoverageFilterCriterionKey | string;

Expand Down Expand Up @@ -1581,6 +1586,7 @@ export const CoverageSortKey = {
ADDON_VERSION: "ADDON_VERSION",
CLUSTER_NAME: "CLUSTER_NAME",
COVERAGE_STATUS: "COVERAGE_STATUS",
EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME",
ISSUE: "ISSUE",
UPDATED_AT: "UPDATED_AT",
} as const;
Expand Down Expand Up @@ -1612,6 +1618,10 @@ export interface CoverageSortCriteria {
/**
* @public
* <p>Represents the field name used to sort the coverage details.</p>
* <note>
* <p>Replace the enum value <code>CLUSTER_NAME</code> with <code>EKS_CLUSTER_NAME</code>.
* <code>CLUSTER_NAME</code> has been deprecated.</p>
* </note>
*/
AttributeName?: CoverageSortKey | string;

Expand Down Expand Up @@ -3045,6 +3055,10 @@ export interface FilterCriterion {
* @public
* <p>An enum value representing possible scan properties to match with given scan
* entries.</p>
* <note>
* <p>Replace the enum value <code>CLUSTER_NAME</code> with <code>EKS_CLUSTER_NAME</code>.
* <code>CLUSTER_NAME</code> has been deprecated.</p>
* </note>
*/
CriterionKey?: CriterionKey | string;

Expand Down Expand Up @@ -4474,7 +4488,7 @@ export interface EksClusterDetails {
export interface EnableOrganizationAdminAccountRequest {
/**
* @public
* <p>The Amazon Web Services Account ID for the organization account to be enabled as a GuardDuty delegated
* <p>The Amazon Web Services account ID for the organization account to be enabled as a GuardDuty delegated
* administrator.</p>
*/
AdminAccountId: string | undefined;
Expand Down Expand Up @@ -5620,7 +5634,7 @@ export interface Service {

/**
* @public
* <p>Contains information about the finding, which is generated when abnormal or suspicious
* <p>Contains information about the finding that is generated when abnormal or suspicious
* activity is detected.</p>
*/
export interface Finding {
Expand Down Expand Up @@ -6106,22 +6120,19 @@ export type ScanCriterionKey = (typeof ScanCriterionKey)[keyof typeof ScanCriter

/**
* @public
* <p>Represents key, value pair to be matched against given resource property.</p>
* <p>Represents the <code>key:value</code> pair to be matched against given resource property.</p>
*/
export interface ScanConditionPair {
/**
* @public
* <p>Represents <i>key</i>
* <b></b> in the map condition.</p>
* <p>Represents the <b>key</b> in the map condition.</p>
*/
Key: string | undefined;

/**
* @public
* <p>Represents optional <i>value</i>
* <b></b> in the map
* condition. If not specified, only <i>key</i>
* <b></b> will be
* <p>Represents optional <b>value</b> in the map
* condition. If not specified, only the <b>key</b> will be
* matched.</p>
*/
Value?: string;
Expand Down
22 changes: 11 additions & 11 deletions clients/client-guardduty/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,9 @@ export interface OrganizationFeatureConfiguration {

/**
* @public
* <p>The status of the feature that will be configured for the organization. Use one of the following
* values to configure the feature status for the entire organization:</p>
* <p>Describes the status of the feature that is configured for the
* member accounts within the organization. One of the following
* values is the status for the entire organization:</p>
* <ul>
* <li>
* <p>
Expand All @@ -616,9 +617,10 @@ export interface OrganizationFeatureConfiguration {
* </li>
* <li>
* <p>
* <code>NONE</code>: Indicates that the feature will not be automatically enabled for any
* account in the organization. The administrator must manage the feature for each account
* individually.</p>
* <code>NONE</code>: Indicates that the feature will not be
* automatically enabled for any
* account in the organization. The administrator must manage the feature
* for each account individually.</p>
* </li>
* </ul>
*/
Expand All @@ -645,9 +647,9 @@ export interface UpdateOrganizationConfigurationRequest {
* @public
* @deprecated
*
* <p>Indicates whether to automatically enable member accounts in the organization.</p>
* <p>Represents whether or not to automatically enable member accounts in the organization.</p>
* <p>Even though this is still supported, we recommend using
* <code>AutoEnableOrganizationMembers</code> to achieve the similar results. You must provide the
* <code>AutoEnableOrganizationMembers</code> to achieve the similar results. You must provide a
* value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>.</p>
*/
AutoEnable?: boolean;
Expand All @@ -669,8 +671,7 @@ export interface UpdateOrganizationConfigurationRequest {
/**
* @public
* <p>Indicates the auto-enablement configuration of GuardDuty for the member accounts in the
* organization. You must provide a
* value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p>
* organization. You must provide a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p>
* <p>Use one of the
* following configuration values for <code>autoEnableOrganizationMembers</code>:</p>
* <ul>
Expand All @@ -690,8 +691,7 @@ export interface UpdateOrganizationConfigurationRequest {
* <li>
* <p>
* <code>NONE</code>: Indicates that GuardDuty will not be automatically enabled for any
* account in the organization. The administrator must manage GuardDuty for each account in the organization
* individually.</p>
* account in the organization. The administrator must manage GuardDuty for each account in the organization individually.</p>
* </li>
* </ul>
*/
Expand Down
Loading

0 comments on commit 5f15b82

Please sign in to comment.