@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
|
@@ -1,96 +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 { DisassociateMembersRequest, DisassociateMembersResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DisassociateMembersCommand,
|
|
18
|
-
serializeAws_restJson1DisassociateMembersCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DisassociateMembersCommandInput extends DisassociateMembersRequest {}
|
|
22
|
-
export interface DisassociateMembersCommandOutput extends DisassociateMembersResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Disassociates GuardDuty member accounts (to the current GuardDuty administrator account)
|
|
26
|
-
* specified by the account IDs.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { GuardDutyClient, DisassociateMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
31
|
-
* // const { GuardDutyClient, DisassociateMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
32
|
-
* const client = new GuardDutyClient(config);
|
|
33
|
-
* const command = new DisassociateMembersCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DisassociateMembersCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DisassociateMembersCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DisassociateMembersCommand extends $Command<
|
|
43
|
-
DisassociateMembersCommandInput,
|
|
44
|
-
DisassociateMembersCommandOutput,
|
|
45
|
-
GuardDutyClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DisassociateMembersCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: GuardDutyClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DisassociateMembersCommandInput, DisassociateMembersCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "GuardDutyClient";
|
|
70
|
-
const commandName = "DisassociateMembersCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DisassociateMembersRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DisassociateMembersResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DisassociateMembersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DisassociateMembersCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateMembersCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DisassociateMembersCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,104 +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 { EnableOrganizationAdminAccountRequest, EnableOrganizationAdminAccountResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1EnableOrganizationAdminAccountCommand,
|
|
18
|
-
serializeAws_restJson1EnableOrganizationAdminAccountCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface EnableOrganizationAdminAccountCommandInput extends EnableOrganizationAdminAccountRequest {}
|
|
22
|
-
export interface EnableOrganizationAdminAccountCommandOutput
|
|
23
|
-
extends EnableOrganizationAdminAccountResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Enables an AWS account within the organization as the GuardDuty delegated
|
|
28
|
-
* administrator.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { GuardDutyClient, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
33
|
-
* // const { GuardDutyClient, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
34
|
-
* const client = new GuardDutyClient(config);
|
|
35
|
-
* const command = new EnableOrganizationAdminAccountCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link EnableOrganizationAdminAccountCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link EnableOrganizationAdminAccountCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class EnableOrganizationAdminAccountCommand extends $Command<
|
|
45
|
-
EnableOrganizationAdminAccountCommandInput,
|
|
46
|
-
EnableOrganizationAdminAccountCommandOutput,
|
|
47
|
-
GuardDutyClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: EnableOrganizationAdminAccountCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: GuardDutyClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "GuardDutyClient";
|
|
72
|
-
const commandName = "EnableOrganizationAdminAccountCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: EnableOrganizationAdminAccountRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: EnableOrganizationAdminAccountResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: EnableOrganizationAdminAccountCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1EnableOrganizationAdminAccountCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<EnableOrganizationAdminAccountCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1EnableOrganizationAdminAccountCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -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 { GetDetectorRequest, GetDetectorResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetDetectorCommand,
|
|
18
|
-
serializeAws_restJson1GetDetectorCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetDetectorCommandInput extends GetDetectorRequest {}
|
|
22
|
-
export interface GetDetectorCommandOutput extends GetDetectorResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves an Amazon GuardDuty detector specified by the detectorId.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GuardDutyClient, GetDetectorCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
|
-
* // const { GuardDutyClient, GetDetectorCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
|
-
* const client = new GuardDutyClient(config);
|
|
32
|
-
* const command = new GetDetectorCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetDetectorCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetDetectorCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetDetectorCommand extends $Command<
|
|
42
|
-
GetDetectorCommandInput,
|
|
43
|
-
GetDetectorCommandOutput,
|
|
44
|
-
GuardDutyClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetDetectorCommandInput) {
|
|
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<GetDetectorCommandInput, GetDetectorCommandOutput> {
|
|
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 = "GetDetectorCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetDetectorRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetDetectorResponse.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: GetDetectorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetDetectorCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDetectorCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetDetectorCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { GetFilterRequest, GetFilterResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFilterCommand,
|
|
18
|
-
serializeAws_restJson1GetFilterCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFilterCommandInput extends GetFilterRequest {}
|
|
22
|
-
export interface GetFilterCommandOutput extends GetFilterResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the details of the filter specified by the filter name.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GuardDutyClient, GetFilterCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
|
-
* // const { GuardDutyClient, GetFilterCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
|
-
* const client = new GuardDutyClient(config);
|
|
32
|
-
* const command = new GetFilterCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetFilterCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetFilterCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetFilterCommand extends $Command<
|
|
42
|
-
GetFilterCommandInput,
|
|
43
|
-
GetFilterCommandOutput,
|
|
44
|
-
GuardDutyClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetFilterCommandInput) {
|
|
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<GetFilterCommandInput, GetFilterCommandOutput> {
|
|
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 = "GetFilterCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetFilterRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetFilterResponse.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: GetFilterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetFilterCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFilterCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetFilterCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFindingsCommand,
|
|
18
|
-
serializeAws_restJson1GetFindingsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFindingsCommandInput extends GetFindingsRequest {}
|
|
22
|
-
export interface GetFindingsCommandOutput extends GetFindingsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes Amazon GuardDuty findings specified by finding IDs.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GuardDutyClient, GetFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
|
-
* // const { GuardDutyClient, GetFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
|
-
* const client = new GuardDutyClient(config);
|
|
32
|
-
* const command = new GetFindingsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetFindingsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetFindingsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetFindingsCommand extends $Command<
|
|
42
|
-
GetFindingsCommandInput,
|
|
43
|
-
GetFindingsCommandOutput,
|
|
44
|
-
GuardDutyClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetFindingsCommandInput) {
|
|
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<GetFindingsCommandInput, GetFindingsCommandOutput> {
|
|
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 = "GetFindingsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetFindingsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetFindingsResponse.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: GetFindingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetFindingsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFindingsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetFindingsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { GetFindingsStatisticsRequest, GetFindingsStatisticsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFindingsStatisticsCommand,
|
|
18
|
-
serializeAws_restJson1GetFindingsStatisticsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFindingsStatisticsCommandInput extends GetFindingsStatisticsRequest {}
|
|
22
|
-
export interface GetFindingsStatisticsCommandOutput extends GetFindingsStatisticsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists Amazon GuardDuty findings statistics for the specified detector ID.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GuardDutyClient, GetFindingsStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
|
-
* // const { GuardDutyClient, GetFindingsStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
|
-
* const client = new GuardDutyClient(config);
|
|
32
|
-
* const command = new GetFindingsStatisticsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetFindingsStatisticsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetFindingsStatisticsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetFindingsStatisticsCommand extends $Command<
|
|
42
|
-
GetFindingsStatisticsCommandInput,
|
|
43
|
-
GetFindingsStatisticsCommandOutput,
|
|
44
|
-
GuardDutyClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetFindingsStatisticsCommandInput) {
|
|
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<GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput> {
|
|
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 = "GetFindingsStatisticsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetFindingsStatisticsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetFindingsStatisticsResponse.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: GetFindingsStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetFindingsStatisticsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFindingsStatisticsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetFindingsStatisticsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { GetIPSetRequest, GetIPSetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetIPSetCommand,
|
|
18
|
-
serializeAws_restJson1GetIPSetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetIPSetCommandInput extends GetIPSetRequest {}
|
|
22
|
-
export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the IPSet specified by the <code>ipSetId</code>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GuardDutyClient, GetIPSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
|
-
* // const { GuardDutyClient, GetIPSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
|
-
* const client = new GuardDutyClient(config);
|
|
32
|
-
* const command = new GetIPSetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetIPSetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetIPSetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetIPSetCommand extends $Command<
|
|
42
|
-
GetIPSetCommandInput,
|
|
43
|
-
GetIPSetCommandOutput,
|
|
44
|
-
GuardDutyClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetIPSetCommandInput) {
|
|
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<GetIPSetCommandInput, GetIPSetCommandOutput> {
|
|
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 = "GetIPSetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetIPSetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetIPSetResponse.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: GetIPSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetIPSetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIPSetCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetIPSetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|