@aws-sdk/client-guardduty 3.476.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/GuardDuty.js +2 -0
- package/dist-cjs/commands/GetOrganizationStatisticsCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/pagination/DescribeMalwareScansPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOrganizationConfigurationPaginator.js +2 -24
- package/dist-cjs/pagination/GetUsageStatisticsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCoveragePaginator.js +2 -24
- package/dist-cjs/pagination/ListDetectorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFiltersPaginator.js +2 -24
- package/dist-cjs/pagination/ListFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIPSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInvitationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPublishingDestinationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListThreatIntelSetsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +501 -874
- package/dist-es/GuardDuty.js +2 -0
- package/dist-es/commands/GetOrganizationStatisticsCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/DescribeMalwareScansPaginator.js +2 -23
- package/dist-es/pagination/DescribeOrganizationConfigurationPaginator.js +2 -23
- package/dist-es/pagination/GetUsageStatisticsPaginator.js +2 -23
- package/dist-es/pagination/ListCoveragePaginator.js +2 -23
- package/dist-es/pagination/ListDetectorsPaginator.js +2 -23
- package/dist-es/pagination/ListFiltersPaginator.js +2 -23
- package/dist-es/pagination/ListFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListIPSetsPaginator.js +2 -23
- package/dist-es/pagination/ListInvitationsPaginator.js +2 -23
- package/dist-es/pagination/ListMembersPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +2 -23
- package/dist-es/pagination/ListPublishingDestinationsPaginator.js +2 -23
- package/dist-es/pagination/ListThreatIntelSetsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +497 -872
- package/dist-types/GuardDuty.d.ts +7 -0
- package/dist-types/GuardDutyClient.d.ts +3 -2
- package/dist-types/commands/CreateMembersCommand.d.ts +5 -0
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +2 -2
- package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +101 -0
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +16 -5
- package/dist-types/commands/ListCoverageCommand.d.ts +2 -2
- package/dist-types/commands/ListDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +166 -308
- package/dist-types/models/models_1.d.ts +299 -1
- package/dist-types/pagination/DescribeMalwareScansPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOrganizationConfigurationPaginator.d.ts +1 -1
- package/dist-types/pagination/GetUsageStatisticsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCoveragePaginator.d.ts +1 -1
- package/dist-types/pagination/ListDetectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIPSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPublishingDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThreatIntelSetsPaginator.d.ts +1 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +17 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetOrganizationStatisticsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -32
- package/dist-types/ts3.4/models/models_1.d.ts +33 -0
- package/dist-types/ts3.4/pagination/DescribeMalwareScansPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOrganizationConfigurationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetUsageStatisticsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDetectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIPSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationAdminAccountsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPublishingDestinationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThreatIntelSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +7 -6
|
@@ -37,6 +37,7 @@ import { GetMalwareScanSettingsCommandInput, GetMalwareScanSettingsCommandOutput
|
|
|
37
37
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
38
38
|
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
39
39
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
40
|
+
import { GetOrganizationStatisticsCommandInput, GetOrganizationStatisticsCommandOutput } from "./commands/GetOrganizationStatisticsCommand";
|
|
40
41
|
import { GetRemainingFreeTrialDaysCommandInput, GetRemainingFreeTrialDaysCommandOutput } from "./commands/GetRemainingFreeTrialDaysCommand";
|
|
41
42
|
import { GetThreatIntelSetCommandInput, GetThreatIntelSetCommandOutput } from "./commands/GetThreatIntelSetCommand";
|
|
42
43
|
import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
|
|
@@ -297,6 +298,12 @@ export interface GuardDuty {
|
|
|
297
298
|
getMembers(args: GetMembersCommandInput, options?: __HttpHandlerOptions): Promise<GetMembersCommandOutput>;
|
|
298
299
|
getMembers(args: GetMembersCommandInput, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
|
|
299
300
|
getMembers(args: GetMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
|
|
301
|
+
/**
|
|
302
|
+
* @see {@link GetOrganizationStatisticsCommand}
|
|
303
|
+
*/
|
|
304
|
+
getOrganizationStatistics(args: GetOrganizationStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationStatisticsCommandOutput>;
|
|
305
|
+
getOrganizationStatistics(args: GetOrganizationStatisticsCommandInput, cb: (err: any, data?: GetOrganizationStatisticsCommandOutput) => void): void;
|
|
306
|
+
getOrganizationStatistics(args: GetOrganizationStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrganizationStatisticsCommandOutput) => void): void;
|
|
300
307
|
/**
|
|
301
308
|
* @see {@link GetRemainingFreeTrialDaysCommand}
|
|
302
309
|
*/
|
|
@@ -46,6 +46,7 @@ import { GetMalwareScanSettingsCommandInput, GetMalwareScanSettingsCommandOutput
|
|
|
46
46
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
47
47
|
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
48
48
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
49
|
+
import { GetOrganizationStatisticsCommandInput, GetOrganizationStatisticsCommandOutput } from "./commands/GetOrganizationStatisticsCommand";
|
|
49
50
|
import { GetRemainingFreeTrialDaysCommandInput, GetRemainingFreeTrialDaysCommandOutput } from "./commands/GetRemainingFreeTrialDaysCommand";
|
|
50
51
|
import { GetThreatIntelSetCommandInput, GetThreatIntelSetCommandOutput } from "./commands/GetThreatIntelSetCommand";
|
|
51
52
|
import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
|
|
@@ -82,11 +83,11 @@ export { __Client };
|
|
|
82
83
|
/**
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
|
|
86
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
|
|
86
87
|
/**
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
|
|
90
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
|
|
90
91
|
/**
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
@@ -30,6 +30,11 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
|
|
|
30
30
|
* the added member accounts, with the exception of the
|
|
31
31
|
* organization delegated administrator account. A delegated administrator must enable GuardDuty
|
|
32
32
|
* prior to being added as a member.</p>
|
|
33
|
+
* <p>When you use CreateMembers as an Organizations delegated
|
|
34
|
+
* administrator, GuardDuty applies your organization's auto-enable settings to the member
|
|
35
|
+
* accounts in this request, irrespective of the accounts being new or existing members. For
|
|
36
|
+
* more information about the existing auto-enable settings for your organization, see
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DescribeOrganizationConfiguration.html">DescribeOrganizationConfiguration</a>.</p>
|
|
33
38
|
* <p>If you are adding accounts by invitation, before using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a>, use
|
|
34
39
|
* <code>CreateMembers</code> after GuardDuty has been enabled in potential member accounts.</p>
|
|
35
40
|
* <p>If you disassociate a member from a GuardDuty
|
|
@@ -25,8 +25,8 @@ export interface GetCoverageStatisticsCommandOutput extends GetCoverageStatistic
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you
|
|
27
27
|
* can retrieve the statistics for all the resources associated with the active member accounts
|
|
28
|
-
* in your organization who have enabled
|
|
29
|
-
* on their
|
|
28
|
+
* in your organization who have enabled Runtime Monitoring and have the GuardDuty security agent running
|
|
29
|
+
* on their resources.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
+
import { GetOrganizationStatisticsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetOrganizationStatisticsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOrganizationStatisticsCommandInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOrganizationStatisticsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrganizationStatisticsCommandOutput extends GetOrganizationStatisticsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves how many active member accounts
|
|
27
|
+
* in your Amazon Web Services organization have
|
|
28
|
+
* each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API.</p>
|
|
29
|
+
* <p>When you create a new Amazon Web Services organization, it might take up to 24
|
|
30
|
+
* hours to generate the statistics for the entire organization.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { GuardDutyClient, GetOrganizationStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
35
|
+
* // const { GuardDutyClient, GetOrganizationStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
36
|
+
* const client = new GuardDutyClient(config);
|
|
37
|
+
* const input = {};
|
|
38
|
+
* const command = new GetOrganizationStatisticsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetOrganizationStatisticsResponse
|
|
41
|
+
* // OrganizationDetails: { // OrganizationDetails
|
|
42
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
43
|
+
* // OrganizationStatistics: { // OrganizationStatistics
|
|
44
|
+
* // TotalAccountsCount: Number("int"),
|
|
45
|
+
* // MemberAccountsCount: Number("int"),
|
|
46
|
+
* // ActiveAccountsCount: Number("int"),
|
|
47
|
+
* // EnabledAccountsCount: Number("int"),
|
|
48
|
+
* // CountByFeature: [ // OrganizationFeatureStatisticsResults
|
|
49
|
+
* // { // OrganizationFeatureStatistics
|
|
50
|
+
* // Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "LAMBDA_NETWORK_LOGS" || "RUNTIME_MONITORING",
|
|
51
|
+
* // EnabledAccountsCount: Number("int"),
|
|
52
|
+
* // AdditionalConfiguration: [ // OrganizationFeatureStatisticsAdditionalConfigurations
|
|
53
|
+
* // { // OrganizationFeatureStatisticsAdditionalConfiguration
|
|
54
|
+
* // Name: "EKS_ADDON_MANAGEMENT" || "ECS_FARGATE_AGENT_MANAGEMENT",
|
|
55
|
+
* // EnabledAccountsCount: Number("int"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param GetOrganizationStatisticsCommandInput - {@link GetOrganizationStatisticsCommandInput}
|
|
67
|
+
* @returns {@link GetOrganizationStatisticsCommandOutput}
|
|
68
|
+
* @see {@link GetOrganizationStatisticsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link GetOrganizationStatisticsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link BadRequestException} (client fault)
|
|
73
|
+
* <p>A bad request exception object.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
76
|
+
* <p>An internal server error exception object.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link GuardDutyServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetOrganizationStatisticsCommand extends $Command<GetOrganizationStatisticsCommandInput, GetOrganizationStatisticsCommandOutput, GuardDutyClientResolvedConfig> {
|
|
83
|
+
readonly input: GetOrganizationStatisticsCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: GetOrganizationStatisticsCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOrganizationStatisticsCommandInput, GetOrganizationStatisticsCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -35,7 +35,7 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
|
|
|
35
35
|
* const client = new GuardDutyClient(config);
|
|
36
36
|
* const input = { // GetUsageStatisticsRequest
|
|
37
37
|
* DetectorId: "STRING_VALUE", // required
|
|
38
|
-
* UsageStatisticType: "SUM_BY_ACCOUNT" || "SUM_BY_DATA_SOURCE" || "SUM_BY_RESOURCE" || "TOP_RESOURCES" || "SUM_BY_FEATURES", // required
|
|
38
|
+
* UsageStatisticType: "SUM_BY_ACCOUNT" || "SUM_BY_DATA_SOURCE" || "SUM_BY_RESOURCE" || "TOP_RESOURCES" || "SUM_BY_FEATURES" || "TOP_ACCOUNTS_BY_FEATURE", // required
|
|
39
39
|
* UsageCriteria: { // UsageCriteria
|
|
40
40
|
* AccountIds: [ // AccountIds
|
|
41
41
|
* "STRING_VALUE",
|
|
@@ -67,6 +67,20 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
|
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
|
+
* // TopAccountsByFeature: [ // UsageTopAccountsResultList
|
|
71
|
+
* // { // UsageTopAccountsResult
|
|
72
|
+
* // Feature: "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "LAMBDA_NETWORK_LOGS" || "EKS_RUNTIME_MONITORING" || "FARGATE_RUNTIME_MONITORING" || "EC2_RUNTIME_MONITORING",
|
|
73
|
+
* // Accounts: [ // UsageTopAccountsByFeatureList
|
|
74
|
+
* // { // UsageTopAccountResult
|
|
75
|
+
* // AccountId: "STRING_VALUE",
|
|
76
|
+
* // Total: {
|
|
77
|
+
* // Amount: "STRING_VALUE",
|
|
78
|
+
* // Unit: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
70
84
|
* // SumByDataSource: [ // UsageDataSourceResultList
|
|
71
85
|
* // { // UsageDataSourceResult
|
|
72
86
|
* // DataSource: "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_LOGS" || "KUBERNETES_AUDIT_LOGS" || "EC2_MALWARE_SCAN",
|
|
@@ -97,10 +111,7 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
|
|
|
97
111
|
* // SumByFeature: [ // UsageFeatureResultList
|
|
98
112
|
* // { // UsageFeatureResult
|
|
99
113
|
* // Feature: "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "LAMBDA_NETWORK_LOGS" || "EKS_RUNTIME_MONITORING" || "FARGATE_RUNTIME_MONITORING" || "EC2_RUNTIME_MONITORING",
|
|
100
|
-
* // Total:
|
|
101
|
-
* // Amount: "STRING_VALUE",
|
|
102
|
-
* // Unit: "STRING_VALUE",
|
|
103
|
-
* // },
|
|
114
|
+
* // Total: "<Total>",
|
|
104
115
|
* // },
|
|
105
116
|
* // ],
|
|
106
117
|
* // },
|
|
@@ -25,8 +25,8 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can
|
|
27
27
|
* retrieve all resources associated with the active member accounts in your organization.</p>
|
|
28
|
-
* <p>Make sure the accounts have
|
|
29
|
-
* their
|
|
28
|
+
* <p>Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on
|
|
29
|
+
* their resources.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
-
import { ListDetectorsRequest, ListDetectorsResponse } from "../models/
|
|
5
|
+
import { ListDetectorsRequest, ListDetectorsResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
-
import { ListFiltersRequest, ListFiltersResponse } from "../models/
|
|
5
|
+
import { ListFiltersRequest, ListFiltersResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
-
import { ListFindingsRequest, ListFindingsResponse } from "../models/
|
|
5
|
+
import { ListFindingsRequest, ListFindingsResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
-
import { ListInvitationsRequest } from "../models/
|
|
6
|
-
import { ListInvitationsResponse } from "../models/models_1";
|
|
5
|
+
import { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_1";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -36,6 +36,7 @@ export * from "./GetMalwareScanSettingsCommand";
|
|
|
36
36
|
export * from "./GetMasterAccountCommand";
|
|
37
37
|
export * from "./GetMemberDetectorsCommand";
|
|
38
38
|
export * from "./GetMembersCommand";
|
|
39
|
+
export * from "./GetOrganizationStatisticsCommand";
|
|
39
40
|
export * from "./GetRemainingFreeTrialDaysCommand";
|
|
40
41
|
export * from "./GetThreatIntelSetCommand";
|
|
41
42
|
export * from "./GetUsageStatisticsCommand";
|