@aws-sdk/client-securityhub 3.477.0 → 3.481.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/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +18 -41
- package/dist-cjs/commands/AcceptInvitationCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +18 -41
- package/dist-cjs/commands/BatchDisableStandardsCommand.js +18 -41
- package/dist-cjs/commands/BatchEnableStandardsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +18 -41
- package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetSecurityControlsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetStandardsControlAssociationsCommand.js +18 -41
- package/dist-cjs/commands/BatchImportFindingsCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateFindingsCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateStandardsControlAssociationsCommand.js +18 -41
- package/dist-cjs/commands/CreateActionTargetCommand.js +18 -41
- package/dist-cjs/commands/CreateAutomationRuleCommand.js +18 -41
- package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +18 -41
- package/dist-cjs/commands/CreateFindingAggregatorCommand.js +18 -41
- package/dist-cjs/commands/CreateInsightCommand.js +18 -41
- package/dist-cjs/commands/CreateMembersCommand.js +18 -41
- package/dist-cjs/commands/DeclineInvitationsCommand.js +18 -41
- package/dist-cjs/commands/DeleteActionTargetCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +18 -41
- package/dist-cjs/commands/DeleteInsightCommand.js +18 -41
- package/dist-cjs/commands/DeleteInvitationsCommand.js +18 -41
- package/dist-cjs/commands/DeleteMembersCommand.js +18 -41
- package/dist-cjs/commands/DescribeActionTargetsCommand.js +18 -41
- package/dist-cjs/commands/DescribeHubCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeProductsCommand.js +18 -41
- package/dist-cjs/commands/DescribeStandardsCommand.js +18 -41
- package/dist-cjs/commands/DescribeStandardsControlsCommand.js +18 -41
- package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +18 -41
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +18 -41
- package/dist-cjs/commands/DisableSecurityHubCommand.js +18 -41
- package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +18 -41
- package/dist-cjs/commands/DisassociateMembersCommand.js +18 -41
- package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +18 -41
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +18 -41
- package/dist-cjs/commands/EnableSecurityHubCommand.js +18 -41
- package/dist-cjs/commands/GetAdministratorAccountCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetEnabledStandardsCommand.js +18 -41
- package/dist-cjs/commands/GetFindingAggregatorCommand.js +18 -41
- package/dist-cjs/commands/GetFindingHistoryCommand.js +18 -41
- package/dist-cjs/commands/GetFindingsCommand.js +18 -41
- package/dist-cjs/commands/GetInsightResultsCommand.js +18 -41
- package/dist-cjs/commands/GetInsightsCommand.js +18 -41
- package/dist-cjs/commands/GetInvitationsCountCommand.js +18 -41
- package/dist-cjs/commands/GetMasterAccountCommand.js +18 -41
- package/dist-cjs/commands/GetMembersCommand.js +18 -41
- package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +18 -41
- package/dist-cjs/commands/InviteMembersCommand.js +18 -41
- package/dist-cjs/commands/ListAutomationRulesCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +18 -41
- package/dist-cjs/commands/ListFindingAggregatorsCommand.js +18 -41
- package/dist-cjs/commands/ListInvitationsCommand.js +18 -41
- package/dist-cjs/commands/ListMembersCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +18 -41
- package/dist-cjs/commands/ListSecurityControlDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/ListStandardsControlAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +18 -41
- package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateActionTargetCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +18 -41
- package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +18 -41
- package/dist-cjs/commands/UpdateFindingsCommand.js +18 -41
- package/dist-cjs/commands/UpdateInsightCommand.js +18 -41
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecurityControlCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateStandardsControlCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeActionTargetsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeProductsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeStandardsControlsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeStandardsPaginator.js +2 -24
- package/dist-cjs/pagination/GetEnabledStandardsPaginator.js +2 -24
- package/dist-cjs/pagination/GetFindingHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/GetFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/GetInsightsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEnabledProductsForImportPaginator.js +2 -24
- package/dist-cjs/pagination/ListFindingAggregatorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInvitationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityControlDefinitionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStandardsControlAssociationsPaginator.js +2 -24
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +18 -41
- package/dist-es/commands/AcceptInvitationCommand.js +18 -41
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +18 -41
- package/dist-es/commands/BatchDisableStandardsCommand.js +18 -41
- package/dist-es/commands/BatchEnableStandardsCommand.js +18 -41
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +18 -41
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +18 -41
- package/dist-es/commands/BatchGetSecurityControlsCommand.js +18 -41
- package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +18 -41
- package/dist-es/commands/BatchImportFindingsCommand.js +18 -41
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +18 -41
- package/dist-es/commands/BatchUpdateFindingsCommand.js +18 -41
- package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +18 -41
- package/dist-es/commands/CreateActionTargetCommand.js +18 -41
- package/dist-es/commands/CreateAutomationRuleCommand.js +18 -41
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +18 -41
- package/dist-es/commands/CreateFindingAggregatorCommand.js +18 -41
- package/dist-es/commands/CreateInsightCommand.js +18 -41
- package/dist-es/commands/CreateMembersCommand.js +18 -41
- package/dist-es/commands/DeclineInvitationsCommand.js +18 -41
- package/dist-es/commands/DeleteActionTargetCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteFindingAggregatorCommand.js +18 -41
- package/dist-es/commands/DeleteInsightCommand.js +18 -41
- package/dist-es/commands/DeleteInvitationsCommand.js +18 -41
- package/dist-es/commands/DeleteMembersCommand.js +18 -41
- package/dist-es/commands/DescribeActionTargetsCommand.js +18 -41
- package/dist-es/commands/DescribeHubCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeProductsCommand.js +18 -41
- package/dist-es/commands/DescribeStandardsCommand.js +18 -41
- package/dist-es/commands/DescribeStandardsControlsCommand.js +18 -41
- package/dist-es/commands/DisableImportFindingsForProductCommand.js +18 -41
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +18 -41
- package/dist-es/commands/DisableSecurityHubCommand.js +18 -41
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +18 -41
- package/dist-es/commands/DisassociateMembersCommand.js +18 -41
- package/dist-es/commands/EnableImportFindingsForProductCommand.js +18 -41
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +18 -41
- package/dist-es/commands/EnableSecurityHubCommand.js +18 -41
- package/dist-es/commands/GetAdministratorAccountCommand.js +18 -41
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +18 -41
- package/dist-es/commands/GetConfigurationPolicyCommand.js +18 -41
- package/dist-es/commands/GetEnabledStandardsCommand.js +18 -41
- package/dist-es/commands/GetFindingAggregatorCommand.js +18 -41
- package/dist-es/commands/GetFindingHistoryCommand.js +18 -41
- package/dist-es/commands/GetFindingsCommand.js +18 -41
- package/dist-es/commands/GetInsightResultsCommand.js +18 -41
- package/dist-es/commands/GetInsightsCommand.js +18 -41
- package/dist-es/commands/GetInvitationsCountCommand.js +18 -41
- package/dist-es/commands/GetMasterAccountCommand.js +18 -41
- package/dist-es/commands/GetMembersCommand.js +18 -41
- package/dist-es/commands/GetSecurityControlDefinitionCommand.js +18 -41
- package/dist-es/commands/InviteMembersCommand.js +18 -41
- package/dist-es/commands/ListAutomationRulesCommand.js +18 -41
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +18 -41
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +18 -41
- package/dist-es/commands/ListEnabledProductsForImportCommand.js +18 -41
- package/dist-es/commands/ListFindingAggregatorsCommand.js +18 -41
- package/dist-es/commands/ListInvitationsCommand.js +18 -41
- package/dist-es/commands/ListMembersCommand.js +18 -41
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +18 -41
- package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +18 -41
- package/dist-es/commands/ListStandardsControlAssociationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +18 -41
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateActionTargetCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +18 -41
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +18 -41
- package/dist-es/commands/UpdateFindingsCommand.js +18 -41
- package/dist-es/commands/UpdateInsightCommand.js +18 -41
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateSecurityControlCommand.js +18 -41
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateStandardsControlCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeActionTargetsPaginator.js +2 -23
- package/dist-es/pagination/DescribeProductsPaginator.js +2 -23
- package/dist-es/pagination/DescribeStandardsControlsPaginator.js +2 -23
- package/dist-es/pagination/DescribeStandardsPaginator.js +2 -23
- package/dist-es/pagination/GetEnabledStandardsPaginator.js +2 -23
- package/dist-es/pagination/GetFindingHistoryPaginator.js +2 -23
- package/dist-es/pagination/GetFindingsPaginator.js +2 -23
- package/dist-es/pagination/GetInsightsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListEnabledProductsForImportPaginator.js +2 -23
- package/dist-es/pagination/ListFindingAggregatorsPaginator.js +2 -23
- package/dist-es/pagination/ListInvitationsPaginator.js +2 -23
- package/dist-es/pagination/ListMembersPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityControlDefinitionsPaginator.js +2 -23
- package/dist-es/pagination/ListStandardsControlAssociationsPaginator.js +2 -23
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +6 -21
- package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +6 -21
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +6 -21
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/CreateActionTargetCommand.d.ts +6 -21
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -21
- package/dist-types/commands/CreateInsightCommand.d.ts +6 -21
- package/dist-types/commands/CreateMembersCommand.d.ts +6 -21
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInsightCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMembersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeHubCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProductsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStandardsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +6 -21
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +6 -21
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -21
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateMembersCommand.d.ts +6 -21
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +6 -21
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -21
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +6 -21
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +6 -21
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +6 -21
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +6 -21
- package/dist-types/commands/GetFindingsCommand.d.ts +6 -21
- package/dist-types/commands/GetInsightResultsCommand.d.ts +6 -21
- package/dist-types/commands/GetInsightsCommand.d.ts +6 -21
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -21
- package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -21
- package/dist-types/commands/GetMembersCommand.d.ts +6 -21
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/InviteMembersCommand.d.ts +6 -21
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +6 -21
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -21
- package/dist-types/commands/ListInvitationsCommand.d.ts +6 -21
- package/dist-types/commands/ListMembersCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -21
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +6 -21
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateInsightCommand.d.ts +6 -21
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeActionTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeProductsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeStandardsControlsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeStandardsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEnabledStandardsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnabledProductsForImportPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingAggregatorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetSecurityControlsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetStandardsControlAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchImportFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchUpdateFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateActionTargetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateFindingAggregatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteFindingAggregatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeActionTargetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeProductsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeStandardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeStandardsControlsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableImportFindingsForProductCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableSecurityHubCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableImportFindingsForProductCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableSecurityHubCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEnabledStandardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFindingAggregatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetFindingHistoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeActionTargetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeProductsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeStandardsControlsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeStandardsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetEnabledStandardsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetFindingHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetInsightsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEnabledProductsForImportPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFindingAggregatorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationAdminAccountsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityControlDefinitionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStandardsControlAssociationsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetEnabledStandards = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetEnabledStandardsCommand_1 = require("../commands/GetEnabledStandardsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetEnabledStandardsCommand_1.GetEnabledStandardsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetEnabledStandards(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetEnabledStandards = paginateGetEnabledStandards;
|
|
7
|
+
exports.paginateGetEnabledStandards = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetEnabledStandardsCommand_1.GetEnabledStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetFindingHistory = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetFindingHistoryCommand_1 = require("../commands/GetFindingHistoryCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetFindingHistoryCommand_1.GetFindingHistoryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetFindingHistory(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetFindingHistory = paginateGetFindingHistory;
|
|
7
|
+
exports.paginateGetFindingHistory = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetFindingHistoryCommand_1.GetFindingHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetFindings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetFindingsCommand_1 = require("../commands/GetFindingsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetFindingsCommand_1.GetFindingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetFindings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetFindings = paginateGetFindings;
|
|
7
|
+
exports.paginateGetFindings = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetFindingsCommand_1.GetFindingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetInsights = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetInsightsCommand_1 = require("../commands/GetInsightsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetInsightsCommand_1.GetInsightsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetInsights(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetInsights = paginateGetInsights;
|
|
7
|
+
exports.paginateGetInsights = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetInsightsCommand_1.GetInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationPolicies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationPoliciesCommand_1 = require("../commands/ListConfigurationPoliciesCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationPoliciesCommand_1.ListConfigurationPoliciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurationPolicies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConfigurationPolicies = paginateListConfigurationPolicies;
|
|
7
|
+
exports.paginateListConfigurationPolicies = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListConfigurationPoliciesCommand_1.ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationPolicyAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationPolicyAssociationsCommand_1 = require("../commands/ListConfigurationPolicyAssociationsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationPolicyAssociationsCommand_1.ListConfigurationPolicyAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurationPolicyAssociations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConfigurationPolicyAssociations = paginateListConfigurationPolicyAssociations;
|
|
7
|
+
exports.paginateListConfigurationPolicyAssociations = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListConfigurationPolicyAssociationsCommand_1.ListConfigurationPolicyAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEnabledProductsForImport = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEnabledProductsForImportCommand_1 = require("../commands/ListEnabledProductsForImportCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEnabledProductsForImportCommand_1.ListEnabledProductsForImportCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEnabledProductsForImport(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEnabledProductsForImport = paginateListEnabledProductsForImport;
|
|
7
|
+
exports.paginateListEnabledProductsForImport = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListEnabledProductsForImportCommand_1.ListEnabledProductsForImportCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFindingAggregators = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFindingAggregatorsCommand_1 = require("../commands/ListFindingAggregatorsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFindingAggregatorsCommand_1.ListFindingAggregatorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFindingAggregators(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListFindingAggregators = paginateListFindingAggregators;
|
|
7
|
+
exports.paginateListFindingAggregators = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListFindingAggregatorsCommand_1.ListFindingAggregatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListInvitations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListInvitationsCommand_1 = require("../commands/ListInvitationsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListInvitationsCommand_1.ListInvitationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListInvitations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListInvitations = paginateListInvitations;
|
|
7
|
+
exports.paginateListInvitations = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListInvitationsCommand_1.ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMembers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMembersCommand_1 = require("../commands/ListMembersCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMembersCommand_1.ListMembersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMembers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMembers = paginateListMembers;
|
|
7
|
+
exports.paginateListMembers = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListMembersCommand_1.ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListOrganizationAdminAccounts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListOrganizationAdminAccountsCommand_1 = require("../commands/ListOrganizationAdminAccountsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListOrganizationAdminAccounts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListOrganizationAdminAccounts = paginateListOrganizationAdminAccounts;
|
|
7
|
+
exports.paginateListOrganizationAdminAccounts = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSecurityControlDefinitions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSecurityControlDefinitionsCommand_1 = require("../commands/ListSecurityControlDefinitionsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSecurityControlDefinitionsCommand_1.ListSecurityControlDefinitionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSecurityControlDefinitions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSecurityControlDefinitions = paginateListSecurityControlDefinitions;
|
|
7
|
+
exports.paginateListSecurityControlDefinitions = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListSecurityControlDefinitionsCommand_1.ListSecurityControlDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListStandardsControlAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListStandardsControlAssociationsCommand_1 = require("../commands/ListStandardsControlAssociationsCommand");
|
|
5
6
|
const SecurityHubClient_1 = require("../SecurityHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListStandardsControlAssociationsCommand_1.ListStandardsControlAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListStandardsControlAssociations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListStandardsControlAssociations = paginateListStandardsControlAssociations;
|
|
7
|
+
exports.paginateListStandardsControlAssociations = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListStandardsControlAssociationsCommand_1.ListStandardsControlAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AcceptAdministratorInvitationCommand, se_AcceptAdministratorInvitationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AcceptAdministratorInvitationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SecurityHubClient";
|
|
26
|
-
const commandName = "AcceptAdministratorInvitationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "AcceptAdministratorInvitation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AcceptAdministratorInvitationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AcceptAdministratorInvitationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AcceptAdministratorInvitationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SecurityHubAPIService", "AcceptAdministratorInvitation", {})
|
|
19
|
+
.n("SecurityHubClient", "AcceptAdministratorInvitationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AcceptAdministratorInvitationCommand)
|
|
22
|
+
.de(de_AcceptAdministratorInvitationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AcceptInvitationCommand, se_AcceptInvitationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AcceptInvitationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SecurityHubClient";
|
|
26
|
-
const commandName = "AcceptInvitationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "AcceptInvitation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AcceptInvitationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AcceptInvitationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AcceptInvitationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SecurityHubAPIService", "AcceptInvitation", {})
|
|
19
|
+
.n("SecurityHubClient", "AcceptInvitationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AcceptInvitationCommand)
|
|
22
|
+
.de(de_AcceptInvitationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchDeleteAutomationRulesCommand, se_BatchDeleteAutomationRulesCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchDeleteAutomationRulesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SecurityHubClient";
|
|
26
|
-
const commandName = "BatchDeleteAutomationRulesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "BatchDeleteAutomationRules",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchDeleteAutomationRulesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchDeleteAutomationRulesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchDeleteAutomationRulesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SecurityHubAPIService", "BatchDeleteAutomationRules", {})
|
|
19
|
+
.n("SecurityHubClient", "BatchDeleteAutomationRulesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchDeleteAutomationRulesCommand)
|
|
22
|
+
.de(de_BatchDeleteAutomationRulesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|