@aws-sdk/client-guardduty 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/GuardDuty.js +0 -20
- package/dist-cjs/GuardDutyClient.js +0 -25
- package/dist-cjs/commands/AcceptInvitationCommand.js +0 -25
- package/dist-cjs/commands/ArchiveFindingsCommand.js +0 -29
- package/dist-cjs/commands/CreateDetectorCommand.js +0 -28
- package/dist-cjs/commands/CreateFilterCommand.js +0 -25
- package/dist-cjs/commands/CreateIPSetCommand.js +0 -28
- package/dist-cjs/commands/CreateMembersCommand.js +0 -36
- package/dist-cjs/commands/CreatePublishingDestinationCommand.js +0 -26
- package/dist-cjs/commands/CreateSampleFindingsCommand.js +0 -27
- package/dist-cjs/commands/CreateThreatIntelSetCommand.js +0 -27
- package/dist-cjs/commands/DeclineInvitationsCommand.js +0 -26
- package/dist-cjs/commands/DeleteDetectorCommand.js +0 -25
- package/dist-cjs/commands/DeleteFilterCommand.js +0 -25
- package/dist-cjs/commands/DeleteIPSetCommand.js +0 -26
- package/dist-cjs/commands/DeleteInvitationsCommand.js +0 -26
- package/dist-cjs/commands/DeleteMembersCommand.js +0 -26
- package/dist-cjs/commands/DeletePublishingDestinationCommand.js +0 -25
- package/dist-cjs/commands/DeleteThreatIntelSetCommand.js +0 -25
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DescribePublishingDestinationCommand.js +0 -26
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +0 -26
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +0 -25
- package/dist-cjs/commands/DisassociateMembersCommand.js +0 -26
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +0 -26
- package/dist-cjs/commands/GetDetectorCommand.js +0 -25
- package/dist-cjs/commands/GetFilterCommand.js +0 -25
- package/dist-cjs/commands/GetFindingsCommand.js +0 -25
- package/dist-cjs/commands/GetFindingsStatisticsCommand.js +0 -25
- package/dist-cjs/commands/GetIPSetCommand.js +0 -25
- package/dist-cjs/commands/GetInvitationsCountCommand.js +0 -26
- package/dist-cjs/commands/GetMasterAccountCommand.js +0 -26
- package/dist-cjs/commands/GetMemberDetectorsCommand.js +0 -25
- package/dist-cjs/commands/GetMembersCommand.js +0 -26
- package/dist-cjs/commands/GetThreatIntelSetCommand.js +0 -25
- package/dist-cjs/commands/GetUsageStatisticsCommand.js +0 -28
- package/dist-cjs/commands/InviteMembersCommand.js +0 -27
- package/dist-cjs/commands/ListDetectorsCommand.js +0 -25
- package/dist-cjs/commands/ListFiltersCommand.js +0 -25
- package/dist-cjs/commands/ListFindingsCommand.js +0 -25
- package/dist-cjs/commands/ListIPSetsCommand.js +0 -27
- package/dist-cjs/commands/ListInvitationsCommand.js +0 -26
- package/dist-cjs/commands/ListMembersCommand.js +0 -25
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +0 -25
- package/dist-cjs/commands/ListPublishingDestinationsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/ListThreatIntelSetsCommand.js +0 -27
- package/dist-cjs/commands/StartMonitoringMembersCommand.js +0 -27
- package/dist-cjs/commands/StopMonitoringMembersCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UnarchiveFindingsCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateDetectorCommand.js +0 -25
- package/dist-cjs/commands/UpdateFilterCommand.js +0 -25
- package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js +0 -25
- package/dist-cjs/commands/UpdateIPSetCommand.js +0 -25
- package/dist-cjs/commands/UpdateMemberDetectorsCommand.js +0 -25
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +0 -25
- package/dist-cjs/commands/UpdatePublishingDestinationCommand.js +0 -26
- package/dist-cjs/commands/UpdateThreatIntelSetCommand.js +0 -25
- package/dist-cjs/commands/index.js +61 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -72
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -559
- package/dist-cjs/pagination/GetUsageStatisticsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDetectorsPaginator.js +0 -11
- package/dist-cjs/pagination/ListFiltersPaginator.js +0 -11
- package/dist-cjs/pagination/ListFindingsPaginator.js +0 -11
- package/dist-cjs/pagination/ListIPSetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListInvitationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListMembersPaginator.js +0 -11
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPublishingDestinationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListThreatIntelSetsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/GuardDuty.js +0 -1
- package/dist-es/GuardDutyClient.js +0 -1
- package/dist-es/commands/AcceptInvitationCommand.js +0 -1
- package/dist-es/commands/ArchiveFindingsCommand.js +0 -1
- package/dist-es/commands/CreateDetectorCommand.js +0 -1
- package/dist-es/commands/CreateFilterCommand.js +0 -1
- package/dist-es/commands/CreateIPSetCommand.js +0 -1
- package/dist-es/commands/CreateMembersCommand.js +0 -1
- package/dist-es/commands/CreatePublishingDestinationCommand.js +0 -1
- package/dist-es/commands/CreateSampleFindingsCommand.js +0 -1
- package/dist-es/commands/CreateThreatIntelSetCommand.js +0 -1
- package/dist-es/commands/DeclineInvitationsCommand.js +0 -1
- package/dist-es/commands/DeleteDetectorCommand.js +0 -1
- package/dist-es/commands/DeleteFilterCommand.js +0 -1
- package/dist-es/commands/DeleteIPSetCommand.js +0 -1
- package/dist-es/commands/DeleteInvitationsCommand.js +0 -1
- package/dist-es/commands/DeleteMembersCommand.js +0 -1
- package/dist-es/commands/DeletePublishingDestinationCommand.js +0 -1
- package/dist-es/commands/DeleteThreatIntelSetCommand.js +0 -1
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribePublishingDestinationCommand.js +0 -1
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +0 -1
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +0 -1
- package/dist-es/commands/DisassociateMembersCommand.js +0 -1
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +0 -1
- package/dist-es/commands/GetDetectorCommand.js +0 -1
- package/dist-es/commands/GetFilterCommand.js +0 -1
- package/dist-es/commands/GetFindingsCommand.js +0 -1
- package/dist-es/commands/GetFindingsStatisticsCommand.js +0 -1
- package/dist-es/commands/GetIPSetCommand.js +0 -1
- package/dist-es/commands/GetInvitationsCountCommand.js +0 -1
- package/dist-es/commands/GetMasterAccountCommand.js +0 -1
- package/dist-es/commands/GetMemberDetectorsCommand.js +0 -1
- package/dist-es/commands/GetMembersCommand.js +0 -1
- package/dist-es/commands/GetThreatIntelSetCommand.js +0 -1
- package/dist-es/commands/GetUsageStatisticsCommand.js +0 -1
- package/dist-es/commands/InviteMembersCommand.js +0 -1
- package/dist-es/commands/ListDetectorsCommand.js +0 -1
- package/dist-es/commands/ListFiltersCommand.js +0 -1
- package/dist-es/commands/ListFindingsCommand.js +0 -1
- package/dist-es/commands/ListIPSetsCommand.js +0 -1
- package/dist-es/commands/ListInvitationsCommand.js +0 -1
- package/dist-es/commands/ListMembersCommand.js +0 -1
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +0 -1
- package/dist-es/commands/ListPublishingDestinationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListThreatIntelSetsCommand.js +0 -1
- package/dist-es/commands/StartMonitoringMembersCommand.js +0 -1
- package/dist-es/commands/StopMonitoringMembersCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UnarchiveFindingsCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDetectorCommand.js +0 -1
- package/dist-es/commands/UpdateFilterCommand.js +0 -1
- package/dist-es/commands/UpdateFindingsFeedbackCommand.js +0 -1
- package/dist-es/commands/UpdateIPSetCommand.js +0 -1
- package/dist-es/commands/UpdateMemberDetectorsCommand.js +0 -1
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdatePublishingDestinationCommand.js +0 -1
- package/dist-es/commands/UpdateThreatIntelSetCommand.js +0 -1
- package/dist-es/commands/index.js +58 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -72
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetUsageStatisticsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDetectorsPaginator.js +0 -1
- package/dist-es/pagination/ListFiltersPaginator.js +0 -1
- package/dist-es/pagination/ListFindingsPaginator.js +0 -1
- package/dist-es/pagination/ListIPSetsPaginator.js +0 -1
- package/dist-es/pagination/ListInvitationsPaginator.js +0 -1
- package/dist-es/pagination/ListMembersPaginator.js +0 -1
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +0 -1
- package/dist-es/pagination/ListPublishingDestinationsPaginator.js +0 -1
- package/dist-es/pagination/ListThreatIntelSetsPaginator.js +0 -1
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +58 -0
- package/dist-types/index.d.ts +4 -71
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +59 -249
- package/dist-types/ts3.4/GuardDutyClient.d.ts +24 -105
- package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +58 -0
- package/dist-types/ts3.4/index.d.ts +4 -71
- package/dist-types/ts3.4/models/models_0.d.ts +708 -2623
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/GuardDuty.js.map +0 -1
- package/dist-cjs/GuardDutyClient.js.map +0 -1
- package/dist-cjs/commands/AcceptInvitationCommand.js.map +0 -1
- package/dist-cjs/commands/ArchiveFindingsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDetectorCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFilterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMembersCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePublishingDestinationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSampleFindingsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateThreatIntelSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeclineInvitationsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDetectorCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFilterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInvitationsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMembersCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePublishingDestinationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteThreatIntelSetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePublishingDestinationCommand.js.map +0 -1
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateMembersCommand.js.map +0 -1
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetDetectorCommand.js.map +0 -1
- package/dist-cjs/commands/GetFilterCommand.js.map +0 -1
- package/dist-cjs/commands/GetFindingsCommand.js.map +0 -1
- package/dist-cjs/commands/GetFindingsStatisticsCommand.js.map +0 -1
- package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetInvitationsCountCommand.js.map +0 -1
- package/dist-cjs/commands/GetMasterAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetMemberDetectorsCommand.js.map +0 -1
- package/dist-cjs/commands/GetMembersCommand.js.map +0 -1
- package/dist-cjs/commands/GetThreatIntelSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetUsageStatisticsCommand.js.map +0 -1
- package/dist-cjs/commands/InviteMembersCommand.js.map +0 -1
- package/dist-cjs/commands/ListDetectorsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFiltersCommand.js.map +0 -1
- package/dist-cjs/commands/ListFindingsCommand.js.map +0 -1
- package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListInvitationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListMembersCommand.js.map +0 -1
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPublishingDestinationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListThreatIntelSetsCommand.js.map +0 -1
- package/dist-cjs/commands/StartMonitoringMembersCommand.js.map +0 -1
- package/dist-cjs/commands/StopMonitoringMembersCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UnarchiveFindingsCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDetectorCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFilterCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateMemberDetectorsCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdatePublishingDestinationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateThreatIntelSetCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetUsageStatisticsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDetectorsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFiltersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFindingsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListIPSetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInvitationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListMembersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPublishingDestinationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListThreatIntelSetsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/GuardDuty.js.map +0 -1
- package/dist-es/GuardDutyClient.js.map +0 -1
- package/dist-es/commands/AcceptInvitationCommand.js.map +0 -1
- package/dist-es/commands/ArchiveFindingsCommand.js.map +0 -1
- package/dist-es/commands/CreateDetectorCommand.js.map +0 -1
- package/dist-es/commands/CreateFilterCommand.js.map +0 -1
- package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist-es/commands/CreateMembersCommand.js.map +0 -1
- package/dist-es/commands/CreatePublishingDestinationCommand.js.map +0 -1
- package/dist-es/commands/CreateSampleFindingsCommand.js.map +0 -1
- package/dist-es/commands/CreateThreatIntelSetCommand.js.map +0 -1
- package/dist-es/commands/DeclineInvitationsCommand.js.map +0 -1
- package/dist-es/commands/DeleteDetectorCommand.js.map +0 -1
- package/dist-es/commands/DeleteFilterCommand.js.map +0 -1
- package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteInvitationsCommand.js.map +0 -1
- package/dist-es/commands/DeleteMembersCommand.js.map +0 -1
- package/dist-es/commands/DeletePublishingDestinationCommand.js.map +0 -1
- package/dist-es/commands/DeleteThreatIntelSetCommand.js.map +0 -1
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribePublishingDestinationCommand.js.map +0 -1
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js.map +0 -1
- package/dist-es/commands/DisassociateMembersCommand.js.map +0 -1
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/GetDetectorCommand.js.map +0 -1
- package/dist-es/commands/GetFilterCommand.js.map +0 -1
- package/dist-es/commands/GetFindingsCommand.js.map +0 -1
- package/dist-es/commands/GetFindingsStatisticsCommand.js.map +0 -1
- package/dist-es/commands/GetIPSetCommand.js.map +0 -1
- package/dist-es/commands/GetInvitationsCountCommand.js.map +0 -1
- package/dist-es/commands/GetMasterAccountCommand.js.map +0 -1
- package/dist-es/commands/GetMemberDetectorsCommand.js.map +0 -1
- package/dist-es/commands/GetMembersCommand.js.map +0 -1
- package/dist-es/commands/GetThreatIntelSetCommand.js.map +0 -1
- package/dist-es/commands/GetUsageStatisticsCommand.js.map +0 -1
- package/dist-es/commands/InviteMembersCommand.js.map +0 -1
- package/dist-es/commands/ListDetectorsCommand.js.map +0 -1
- package/dist-es/commands/ListFiltersCommand.js.map +0 -1
- package/dist-es/commands/ListFindingsCommand.js.map +0 -1
- package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
- package/dist-es/commands/ListInvitationsCommand.js.map +0 -1
- package/dist-es/commands/ListMembersCommand.js.map +0 -1
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js.map +0 -1
- package/dist-es/commands/ListPublishingDestinationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListThreatIntelSetsCommand.js.map +0 -1
- package/dist-es/commands/StartMonitoringMembersCommand.js.map +0 -1
- package/dist-es/commands/StopMonitoringMembersCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UnarchiveFindingsCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDetectorCommand.js.map +0 -1
- package/dist-es/commands/UpdateFilterCommand.js.map +0 -1
- package/dist-es/commands/UpdateFindingsFeedbackCommand.js.map +0 -1
- package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateMemberDetectorsCommand.js.map +0 -1
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js.map +0 -1
- package/dist-es/commands/UpdatePublishingDestinationCommand.js.map +0 -1
- package/dist-es/commands/UpdateThreatIntelSetCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetUsageStatisticsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDetectorsPaginator.js.map +0 -1
- package/dist-es/pagination/ListFiltersPaginator.js.map +0 -1
- package/dist-es/pagination/ListFindingsPaginator.js.map +0 -1
- package/dist-es/pagination/ListIPSetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListInvitationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListMembersPaginator.js.map +0 -1
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPublishingDestinationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListThreatIntelSetsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/GuardDuty.ts +0 -2094
- package/src/GuardDutyClient.ts +0 -498
- package/src/commands/AcceptInvitationCommand.ts +0 -95
- package/src/commands/ArchiveFindingsCommand.ts +0 -99
- package/src/commands/CreateDetectorCommand.ts +0 -98
- package/src/commands/CreateFilterCommand.ts +0 -95
- package/src/commands/CreateIPSetCommand.ts +0 -98
- package/src/commands/CreateMembersCommand.ts +0 -106
- package/src/commands/CreatePublishingDestinationCommand.ts +0 -101
- package/src/commands/CreateSampleFindingsCommand.ts +0 -97
- package/src/commands/CreateThreatIntelSetCommand.ts +0 -97
- package/src/commands/DeclineInvitationsCommand.ts +0 -96
- package/src/commands/DeleteDetectorCommand.ts +0 -95
- package/src/commands/DeleteFilterCommand.ts +0 -95
- package/src/commands/DeleteIPSetCommand.ts +0 -96
- package/src/commands/DeleteInvitationsCommand.ts +0 -96
- package/src/commands/DeleteMembersCommand.ts +0 -96
- package/src/commands/DeletePublishingDestinationCommand.ts +0 -100
- package/src/commands/DeleteThreatIntelSetCommand.ts +0 -95
- package/src/commands/DescribeOrganizationConfigurationCommand.ts +0 -107
- package/src/commands/DescribePublishingDestinationCommand.ts +0 -101
- package/src/commands/DisableOrganizationAdminAccountCommand.ts +0 -104
- package/src/commands/DisassociateFromMasterAccountCommand.ts +0 -100
- package/src/commands/DisassociateMembersCommand.ts +0 -96
- package/src/commands/EnableOrganizationAdminAccountCommand.ts +0 -104
- package/src/commands/GetDetectorCommand.ts +0 -95
- package/src/commands/GetFilterCommand.ts +0 -95
- package/src/commands/GetFindingsCommand.ts +0 -95
- package/src/commands/GetFindingsStatisticsCommand.ts +0 -95
- package/src/commands/GetIPSetCommand.ts +0 -95
- package/src/commands/GetInvitationsCountCommand.ts +0 -96
- package/src/commands/GetMasterAccountCommand.ts +0 -96
- package/src/commands/GetMemberDetectorsCommand.ts +0 -95
- package/src/commands/GetMembersCommand.ts +0 -96
- package/src/commands/GetThreatIntelSetCommand.ts +0 -95
- package/src/commands/GetUsageStatisticsCommand.ts +0 -98
- package/src/commands/InviteMembersCommand.ts +0 -97
- package/src/commands/ListDetectorsCommand.ts +0 -95
- package/src/commands/ListFiltersCommand.ts +0 -95
- package/src/commands/ListFindingsCommand.ts +0 -95
- package/src/commands/ListIPSetsCommand.ts +0 -97
- package/src/commands/ListInvitationsCommand.ts +0 -96
- package/src/commands/ListMembersCommand.ts +0 -95
- package/src/commands/ListOrganizationAdminAccountsCommand.ts +0 -100
- package/src/commands/ListPublishingDestinationsCommand.ts +0 -99
- package/src/commands/ListTagsForResourceCommand.ts +0 -97
- package/src/commands/ListThreatIntelSetsCommand.ts +0 -97
- package/src/commands/StartMonitoringMembersCommand.ts +0 -97
- package/src/commands/StopMonitoringMembersCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UnarchiveFindingsCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDetectorCommand.ts +0 -95
- package/src/commands/UpdateFilterCommand.ts +0 -95
- package/src/commands/UpdateFindingsFeedbackCommand.ts +0 -95
- package/src/commands/UpdateIPSetCommand.ts +0 -95
- package/src/commands/UpdateMemberDetectorsCommand.ts +0 -95
- package/src/commands/UpdateOrganizationConfigurationCommand.ts +0 -103
- package/src/commands/UpdatePublishingDestinationCommand.ts +0 -101
- package/src/commands/UpdateThreatIntelSetCommand.ts +0 -95
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -72
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5123
- package/src/pagination/GetUsageStatisticsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDetectorsPaginator.ts +0 -59
- package/src/pagination/ListFiltersPaginator.ts +0 -55
- package/src/pagination/ListFindingsPaginator.ts +0 -59
- package/src/pagination/ListIPSetsPaginator.ts +0 -55
- package/src/pagination/ListInvitationsPaginator.ts +0 -59
- package/src/pagination/ListMembersPaginator.ts +0 -55
- package/src/pagination/ListOrganizationAdminAccountsPaginator.ts +0 -59
- package/src/pagination/ListPublishingDestinationsPaginator.ts +0 -59
- package/src/pagination/ListThreatIntelSetsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -7458
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/GuardDutyClient.ts
DELETED
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
53
|
-
import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
|
|
54
|
-
import { CreateDetectorCommandInput, CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
|
|
55
|
-
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
56
|
-
import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
|
|
57
|
-
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
58
|
-
import {
|
|
59
|
-
CreatePublishingDestinationCommandInput,
|
|
60
|
-
CreatePublishingDestinationCommandOutput,
|
|
61
|
-
} from "./commands/CreatePublishingDestinationCommand";
|
|
62
|
-
import {
|
|
63
|
-
CreateSampleFindingsCommandInput,
|
|
64
|
-
CreateSampleFindingsCommandOutput,
|
|
65
|
-
} from "./commands/CreateSampleFindingsCommand";
|
|
66
|
-
import {
|
|
67
|
-
CreateThreatIntelSetCommandInput,
|
|
68
|
-
CreateThreatIntelSetCommandOutput,
|
|
69
|
-
} from "./commands/CreateThreatIntelSetCommand";
|
|
70
|
-
import { DeclineInvitationsCommandInput, DeclineInvitationsCommandOutput } from "./commands/DeclineInvitationsCommand";
|
|
71
|
-
import { DeleteDetectorCommandInput, DeleteDetectorCommandOutput } from "./commands/DeleteDetectorCommand";
|
|
72
|
-
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
73
|
-
import { DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput } from "./commands/DeleteInvitationsCommand";
|
|
74
|
-
import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
|
|
75
|
-
import { DeleteMembersCommandInput, DeleteMembersCommandOutput } from "./commands/DeleteMembersCommand";
|
|
76
|
-
import {
|
|
77
|
-
DeletePublishingDestinationCommandInput,
|
|
78
|
-
DeletePublishingDestinationCommandOutput,
|
|
79
|
-
} from "./commands/DeletePublishingDestinationCommand";
|
|
80
|
-
import {
|
|
81
|
-
DeleteThreatIntelSetCommandInput,
|
|
82
|
-
DeleteThreatIntelSetCommandOutput,
|
|
83
|
-
} from "./commands/DeleteThreatIntelSetCommand";
|
|
84
|
-
import {
|
|
85
|
-
DescribeOrganizationConfigurationCommandInput,
|
|
86
|
-
DescribeOrganizationConfigurationCommandOutput,
|
|
87
|
-
} from "./commands/DescribeOrganizationConfigurationCommand";
|
|
88
|
-
import {
|
|
89
|
-
DescribePublishingDestinationCommandInput,
|
|
90
|
-
DescribePublishingDestinationCommandOutput,
|
|
91
|
-
} from "./commands/DescribePublishingDestinationCommand";
|
|
92
|
-
import {
|
|
93
|
-
DisableOrganizationAdminAccountCommandInput,
|
|
94
|
-
DisableOrganizationAdminAccountCommandOutput,
|
|
95
|
-
} from "./commands/DisableOrganizationAdminAccountCommand";
|
|
96
|
-
import {
|
|
97
|
-
DisassociateFromMasterAccountCommandInput,
|
|
98
|
-
DisassociateFromMasterAccountCommandOutput,
|
|
99
|
-
} from "./commands/DisassociateFromMasterAccountCommand";
|
|
100
|
-
import {
|
|
101
|
-
DisassociateMembersCommandInput,
|
|
102
|
-
DisassociateMembersCommandOutput,
|
|
103
|
-
} from "./commands/DisassociateMembersCommand";
|
|
104
|
-
import {
|
|
105
|
-
EnableOrganizationAdminAccountCommandInput,
|
|
106
|
-
EnableOrganizationAdminAccountCommandOutput,
|
|
107
|
-
} from "./commands/EnableOrganizationAdminAccountCommand";
|
|
108
|
-
import { GetDetectorCommandInput, GetDetectorCommandOutput } from "./commands/GetDetectorCommand";
|
|
109
|
-
import { GetFilterCommandInput, GetFilterCommandOutput } from "./commands/GetFilterCommand";
|
|
110
|
-
import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
|
|
111
|
-
import {
|
|
112
|
-
GetFindingsStatisticsCommandInput,
|
|
113
|
-
GetFindingsStatisticsCommandOutput,
|
|
114
|
-
} from "./commands/GetFindingsStatisticsCommand";
|
|
115
|
-
import {
|
|
116
|
-
GetInvitationsCountCommandInput,
|
|
117
|
-
GetInvitationsCountCommandOutput,
|
|
118
|
-
} from "./commands/GetInvitationsCountCommand";
|
|
119
|
-
import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
120
|
-
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
121
|
-
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
122
|
-
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
123
|
-
import { GetThreatIntelSetCommandInput, GetThreatIntelSetCommandOutput } from "./commands/GetThreatIntelSetCommand";
|
|
124
|
-
import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
|
|
125
|
-
import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
|
|
126
|
-
import { ListDetectorsCommandInput, ListDetectorsCommandOutput } from "./commands/ListDetectorsCommand";
|
|
127
|
-
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
128
|
-
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
129
|
-
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
130
|
-
import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
131
|
-
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
132
|
-
import {
|
|
133
|
-
ListOrganizationAdminAccountsCommandInput,
|
|
134
|
-
ListOrganizationAdminAccountsCommandOutput,
|
|
135
|
-
} from "./commands/ListOrganizationAdminAccountsCommand";
|
|
136
|
-
import {
|
|
137
|
-
ListPublishingDestinationsCommandInput,
|
|
138
|
-
ListPublishingDestinationsCommandOutput,
|
|
139
|
-
} from "./commands/ListPublishingDestinationsCommand";
|
|
140
|
-
import {
|
|
141
|
-
ListTagsForResourceCommandInput,
|
|
142
|
-
ListTagsForResourceCommandOutput,
|
|
143
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
144
|
-
import {
|
|
145
|
-
ListThreatIntelSetsCommandInput,
|
|
146
|
-
ListThreatIntelSetsCommandOutput,
|
|
147
|
-
} from "./commands/ListThreatIntelSetsCommand";
|
|
148
|
-
import {
|
|
149
|
-
StartMonitoringMembersCommandInput,
|
|
150
|
-
StartMonitoringMembersCommandOutput,
|
|
151
|
-
} from "./commands/StartMonitoringMembersCommand";
|
|
152
|
-
import {
|
|
153
|
-
StopMonitoringMembersCommandInput,
|
|
154
|
-
StopMonitoringMembersCommandOutput,
|
|
155
|
-
} from "./commands/StopMonitoringMembersCommand";
|
|
156
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
157
|
-
import { UnarchiveFindingsCommandInput, UnarchiveFindingsCommandOutput } from "./commands/UnarchiveFindingsCommand";
|
|
158
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
159
|
-
import { UpdateDetectorCommandInput, UpdateDetectorCommandOutput } from "./commands/UpdateDetectorCommand";
|
|
160
|
-
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
161
|
-
import {
|
|
162
|
-
UpdateFindingsFeedbackCommandInput,
|
|
163
|
-
UpdateFindingsFeedbackCommandOutput,
|
|
164
|
-
} from "./commands/UpdateFindingsFeedbackCommand";
|
|
165
|
-
import { UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
|
|
166
|
-
import {
|
|
167
|
-
UpdateMemberDetectorsCommandInput,
|
|
168
|
-
UpdateMemberDetectorsCommandOutput,
|
|
169
|
-
} from "./commands/UpdateMemberDetectorsCommand";
|
|
170
|
-
import {
|
|
171
|
-
UpdateOrganizationConfigurationCommandInput,
|
|
172
|
-
UpdateOrganizationConfigurationCommandOutput,
|
|
173
|
-
} from "./commands/UpdateOrganizationConfigurationCommand";
|
|
174
|
-
import {
|
|
175
|
-
UpdatePublishingDestinationCommandInput,
|
|
176
|
-
UpdatePublishingDestinationCommandOutput,
|
|
177
|
-
} from "./commands/UpdatePublishingDestinationCommand";
|
|
178
|
-
import {
|
|
179
|
-
UpdateThreatIntelSetCommandInput,
|
|
180
|
-
UpdateThreatIntelSetCommandOutput,
|
|
181
|
-
} from "./commands/UpdateThreatIntelSetCommand";
|
|
182
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
183
|
-
|
|
184
|
-
export type ServiceInputTypes =
|
|
185
|
-
| AcceptInvitationCommandInput
|
|
186
|
-
| ArchiveFindingsCommandInput
|
|
187
|
-
| CreateDetectorCommandInput
|
|
188
|
-
| CreateFilterCommandInput
|
|
189
|
-
| CreateIPSetCommandInput
|
|
190
|
-
| CreateMembersCommandInput
|
|
191
|
-
| CreatePublishingDestinationCommandInput
|
|
192
|
-
| CreateSampleFindingsCommandInput
|
|
193
|
-
| CreateThreatIntelSetCommandInput
|
|
194
|
-
| DeclineInvitationsCommandInput
|
|
195
|
-
| DeleteDetectorCommandInput
|
|
196
|
-
| DeleteFilterCommandInput
|
|
197
|
-
| DeleteIPSetCommandInput
|
|
198
|
-
| DeleteInvitationsCommandInput
|
|
199
|
-
| DeleteMembersCommandInput
|
|
200
|
-
| DeletePublishingDestinationCommandInput
|
|
201
|
-
| DeleteThreatIntelSetCommandInput
|
|
202
|
-
| DescribeOrganizationConfigurationCommandInput
|
|
203
|
-
| DescribePublishingDestinationCommandInput
|
|
204
|
-
| DisableOrganizationAdminAccountCommandInput
|
|
205
|
-
| DisassociateFromMasterAccountCommandInput
|
|
206
|
-
| DisassociateMembersCommandInput
|
|
207
|
-
| EnableOrganizationAdminAccountCommandInput
|
|
208
|
-
| GetDetectorCommandInput
|
|
209
|
-
| GetFilterCommandInput
|
|
210
|
-
| GetFindingsCommandInput
|
|
211
|
-
| GetFindingsStatisticsCommandInput
|
|
212
|
-
| GetIPSetCommandInput
|
|
213
|
-
| GetInvitationsCountCommandInput
|
|
214
|
-
| GetMasterAccountCommandInput
|
|
215
|
-
| GetMemberDetectorsCommandInput
|
|
216
|
-
| GetMembersCommandInput
|
|
217
|
-
| GetThreatIntelSetCommandInput
|
|
218
|
-
| GetUsageStatisticsCommandInput
|
|
219
|
-
| InviteMembersCommandInput
|
|
220
|
-
| ListDetectorsCommandInput
|
|
221
|
-
| ListFiltersCommandInput
|
|
222
|
-
| ListFindingsCommandInput
|
|
223
|
-
| ListIPSetsCommandInput
|
|
224
|
-
| ListInvitationsCommandInput
|
|
225
|
-
| ListMembersCommandInput
|
|
226
|
-
| ListOrganizationAdminAccountsCommandInput
|
|
227
|
-
| ListPublishingDestinationsCommandInput
|
|
228
|
-
| ListTagsForResourceCommandInput
|
|
229
|
-
| ListThreatIntelSetsCommandInput
|
|
230
|
-
| StartMonitoringMembersCommandInput
|
|
231
|
-
| StopMonitoringMembersCommandInput
|
|
232
|
-
| TagResourceCommandInput
|
|
233
|
-
| UnarchiveFindingsCommandInput
|
|
234
|
-
| UntagResourceCommandInput
|
|
235
|
-
| UpdateDetectorCommandInput
|
|
236
|
-
| UpdateFilterCommandInput
|
|
237
|
-
| UpdateFindingsFeedbackCommandInput
|
|
238
|
-
| UpdateIPSetCommandInput
|
|
239
|
-
| UpdateMemberDetectorsCommandInput
|
|
240
|
-
| UpdateOrganizationConfigurationCommandInput
|
|
241
|
-
| UpdatePublishingDestinationCommandInput
|
|
242
|
-
| UpdateThreatIntelSetCommandInput;
|
|
243
|
-
|
|
244
|
-
export type ServiceOutputTypes =
|
|
245
|
-
| AcceptInvitationCommandOutput
|
|
246
|
-
| ArchiveFindingsCommandOutput
|
|
247
|
-
| CreateDetectorCommandOutput
|
|
248
|
-
| CreateFilterCommandOutput
|
|
249
|
-
| CreateIPSetCommandOutput
|
|
250
|
-
| CreateMembersCommandOutput
|
|
251
|
-
| CreatePublishingDestinationCommandOutput
|
|
252
|
-
| CreateSampleFindingsCommandOutput
|
|
253
|
-
| CreateThreatIntelSetCommandOutput
|
|
254
|
-
| DeclineInvitationsCommandOutput
|
|
255
|
-
| DeleteDetectorCommandOutput
|
|
256
|
-
| DeleteFilterCommandOutput
|
|
257
|
-
| DeleteIPSetCommandOutput
|
|
258
|
-
| DeleteInvitationsCommandOutput
|
|
259
|
-
| DeleteMembersCommandOutput
|
|
260
|
-
| DeletePublishingDestinationCommandOutput
|
|
261
|
-
| DeleteThreatIntelSetCommandOutput
|
|
262
|
-
| DescribeOrganizationConfigurationCommandOutput
|
|
263
|
-
| DescribePublishingDestinationCommandOutput
|
|
264
|
-
| DisableOrganizationAdminAccountCommandOutput
|
|
265
|
-
| DisassociateFromMasterAccountCommandOutput
|
|
266
|
-
| DisassociateMembersCommandOutput
|
|
267
|
-
| EnableOrganizationAdminAccountCommandOutput
|
|
268
|
-
| GetDetectorCommandOutput
|
|
269
|
-
| GetFilterCommandOutput
|
|
270
|
-
| GetFindingsCommandOutput
|
|
271
|
-
| GetFindingsStatisticsCommandOutput
|
|
272
|
-
| GetIPSetCommandOutput
|
|
273
|
-
| GetInvitationsCountCommandOutput
|
|
274
|
-
| GetMasterAccountCommandOutput
|
|
275
|
-
| GetMemberDetectorsCommandOutput
|
|
276
|
-
| GetMembersCommandOutput
|
|
277
|
-
| GetThreatIntelSetCommandOutput
|
|
278
|
-
| GetUsageStatisticsCommandOutput
|
|
279
|
-
| InviteMembersCommandOutput
|
|
280
|
-
| ListDetectorsCommandOutput
|
|
281
|
-
| ListFiltersCommandOutput
|
|
282
|
-
| ListFindingsCommandOutput
|
|
283
|
-
| ListIPSetsCommandOutput
|
|
284
|
-
| ListInvitationsCommandOutput
|
|
285
|
-
| ListMembersCommandOutput
|
|
286
|
-
| ListOrganizationAdminAccountsCommandOutput
|
|
287
|
-
| ListPublishingDestinationsCommandOutput
|
|
288
|
-
| ListTagsForResourceCommandOutput
|
|
289
|
-
| ListThreatIntelSetsCommandOutput
|
|
290
|
-
| StartMonitoringMembersCommandOutput
|
|
291
|
-
| StopMonitoringMembersCommandOutput
|
|
292
|
-
| TagResourceCommandOutput
|
|
293
|
-
| UnarchiveFindingsCommandOutput
|
|
294
|
-
| UntagResourceCommandOutput
|
|
295
|
-
| UpdateDetectorCommandOutput
|
|
296
|
-
| UpdateFilterCommandOutput
|
|
297
|
-
| UpdateFindingsFeedbackCommandOutput
|
|
298
|
-
| UpdateIPSetCommandOutput
|
|
299
|
-
| UpdateMemberDetectorsCommandOutput
|
|
300
|
-
| UpdateOrganizationConfigurationCommandOutput
|
|
301
|
-
| UpdatePublishingDestinationCommandOutput
|
|
302
|
-
| UpdateThreatIntelSetCommandOutput;
|
|
303
|
-
|
|
304
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
305
|
-
/**
|
|
306
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
307
|
-
*/
|
|
308
|
-
requestHandler?: __HttpHandler;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
312
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
313
|
-
* @internal
|
|
314
|
-
*/
|
|
315
|
-
sha256?: __HashConstructor;
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
321
|
-
urlParser?: __UrlParser;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* A function that can calculate the length of a request body.
|
|
325
|
-
* @internal
|
|
326
|
-
*/
|
|
327
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* A function that converts a stream into an array of bytes.
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
|
-
streamCollector?: __StreamCollector;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
|
-
base64Decoder?: __Decoder;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
343
|
-
* @internal
|
|
344
|
-
*/
|
|
345
|
-
base64Encoder?: __Encoder;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
349
|
-
* @internal
|
|
350
|
-
*/
|
|
351
|
-
utf8Decoder?: __Decoder;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
355
|
-
* @internal
|
|
356
|
-
*/
|
|
357
|
-
utf8Encoder?: __Encoder;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* The runtime environment.
|
|
361
|
-
* @internal
|
|
362
|
-
*/
|
|
363
|
-
runtime?: string;
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
367
|
-
* trait of an operation.
|
|
368
|
-
*/
|
|
369
|
-
disableHostPrefix?: boolean;
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
373
|
-
*/
|
|
374
|
-
maxAttempts?: number | __Provider<number>;
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Specifies which retry algorithm to use.
|
|
378
|
-
*/
|
|
379
|
-
retryMode?: string | __Provider<string>;
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* Optional logger for logging debug/info/warn/error.
|
|
383
|
-
*/
|
|
384
|
-
logger?: __Logger;
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* Unique service identifier.
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
390
|
-
serviceId?: string;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* The AWS region to which this client will send requests
|
|
394
|
-
*/
|
|
395
|
-
region?: string | __Provider<string>;
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* Default credentials provider; Not available in browser runtime.
|
|
399
|
-
* @internal
|
|
400
|
-
*/
|
|
401
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
405
|
-
* @internal
|
|
406
|
-
*/
|
|
407
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
411
|
-
* @internal
|
|
412
|
-
*/
|
|
413
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
type GuardDutyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
417
|
-
ClientDefaults &
|
|
418
|
-
RegionInputConfig &
|
|
419
|
-
EndpointsInputConfig &
|
|
420
|
-
RetryInputConfig &
|
|
421
|
-
HostHeaderInputConfig &
|
|
422
|
-
AwsAuthInputConfig &
|
|
423
|
-
UserAgentInputConfig;
|
|
424
|
-
/**
|
|
425
|
-
* The configuration interface of GuardDutyClient class constructor that set the region, credentials and other options.
|
|
426
|
-
*/
|
|
427
|
-
export interface GuardDutyClientConfig extends GuardDutyClientConfigType {}
|
|
428
|
-
|
|
429
|
-
type GuardDutyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
430
|
-
Required<ClientDefaults> &
|
|
431
|
-
RegionResolvedConfig &
|
|
432
|
-
EndpointsResolvedConfig &
|
|
433
|
-
RetryResolvedConfig &
|
|
434
|
-
HostHeaderResolvedConfig &
|
|
435
|
-
AwsAuthResolvedConfig &
|
|
436
|
-
UserAgentResolvedConfig;
|
|
437
|
-
/**
|
|
438
|
-
* The resolved configuration interface of GuardDutyClient class. This is resolved and normalized from the {@link GuardDutyClientConfig | constructor configuration interface}.
|
|
439
|
-
*/
|
|
440
|
-
export interface GuardDutyClientResolvedConfig extends GuardDutyClientResolvedConfigType {}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
|
|
444
|
-
* the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses
|
|
445
|
-
* threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to
|
|
446
|
-
* identify unexpected, potentially unauthorized, and malicious activity within your AWS
|
|
447
|
-
* environment. This can include issues like escalations of privileges, uses of exposed
|
|
448
|
-
* credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can
|
|
449
|
-
* detect compromised EC2 instances that serve malware or mine bitcoin. </p>
|
|
450
|
-
* <p>GuardDuty also monitors AWS account access behavior for signs of compromise. Some examples
|
|
451
|
-
* of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region
|
|
452
|
-
* that has never been used, or unusual API calls like a password policy change to reduce
|
|
453
|
-
* password strength. </p>
|
|
454
|
-
* <p>GuardDuty informs you of the status of your AWS environment by producing security findings
|
|
455
|
-
* that you can view in the GuardDuty console or through Amazon CloudWatch events. For more
|
|
456
|
-
* information, see the <i>
|
|
457
|
-
* <a href="https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html">Amazon
|
|
458
|
-
* GuardDuty User Guide</a>
|
|
459
|
-
* </i>. </p>
|
|
460
|
-
*/
|
|
461
|
-
export class GuardDutyClient extends __Client<
|
|
462
|
-
__HttpHandlerOptions,
|
|
463
|
-
ServiceInputTypes,
|
|
464
|
-
ServiceOutputTypes,
|
|
465
|
-
GuardDutyClientResolvedConfig
|
|
466
|
-
> {
|
|
467
|
-
/**
|
|
468
|
-
* The resolved configuration of GuardDutyClient class. This is resolved and normalized from the {@link GuardDutyClientConfig | constructor configuration interface}.
|
|
469
|
-
*/
|
|
470
|
-
readonly config: GuardDutyClientResolvedConfig;
|
|
471
|
-
|
|
472
|
-
constructor(configuration: GuardDutyClientConfig) {
|
|
473
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
474
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
475
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
476
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
477
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
478
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
479
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
480
|
-
super(_config_6);
|
|
481
|
-
this.config = _config_6;
|
|
482
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
483
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
484
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
485
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
486
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
487
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
492
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
493
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
494
|
-
*/
|
|
495
|
-
destroy(): void {
|
|
496
|
-
super.destroy();
|
|
497
|
-
}
|
|
498
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
15
|
-
import { AcceptInvitationRequest, AcceptInvitationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1AcceptInvitationCommand,
|
|
18
|
-
serializeAws_restJson1AcceptInvitationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface AcceptInvitationCommandInput extends AcceptInvitationRequest {}
|
|
22
|
-
export interface AcceptInvitationCommandOutput extends AcceptInvitationResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Accepts the invitation to be monitored by a GuardDuty administrator account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GuardDutyClient, AcceptInvitationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
|
-
* // const { GuardDutyClient, AcceptInvitationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
|
-
* const client = new GuardDutyClient(config);
|
|
32
|
-
* const command = new AcceptInvitationCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AcceptInvitationCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AcceptInvitationCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AcceptInvitationCommand extends $Command<
|
|
42
|
-
AcceptInvitationCommandInput,
|
|
43
|
-
AcceptInvitationCommandOutput,
|
|
44
|
-
GuardDutyClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AcceptInvitationCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: GuardDutyClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<AcceptInvitationCommandInput, AcceptInvitationCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "GuardDutyClient";
|
|
69
|
-
const commandName = "AcceptInvitationCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AcceptInvitationRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AcceptInvitationResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: AcceptInvitationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1AcceptInvitationCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AcceptInvitationCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1AcceptInvitationCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
15
|
-
import { ArchiveFindingsRequest, ArchiveFindingsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ArchiveFindingsCommand,
|
|
18
|
-
serializeAws_restJson1ArchiveFindingsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ArchiveFindingsCommandInput extends ArchiveFindingsRequest {}
|
|
22
|
-
export interface ArchiveFindingsCommandOutput extends ArchiveFindingsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Archives GuardDuty findings that are specified by the list of finding IDs.</p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>Only the administrator account can archive findings. Member accounts don't have permission to
|
|
28
|
-
* archive findings from their accounts.</p>
|
|
29
|
-
* </note>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { GuardDutyClient, ArchiveFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
34
|
-
* // const { GuardDutyClient, ArchiveFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
35
|
-
* const client = new GuardDutyClient(config);
|
|
36
|
-
* const command = new ArchiveFindingsCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ArchiveFindingsCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ArchiveFindingsCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ArchiveFindingsCommand extends $Command<
|
|
46
|
-
ArchiveFindingsCommandInput,
|
|
47
|
-
ArchiveFindingsCommandOutput,
|
|
48
|
-
GuardDutyClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ArchiveFindingsCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: GuardDutyClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "GuardDutyClient";
|
|
73
|
-
const commandName = "ArchiveFindingsCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ArchiveFindingsRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ArchiveFindingsResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: ArchiveFindingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1ArchiveFindingsCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ArchiveFindingsCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1ArchiveFindingsCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|