@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,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_UpdateOrganizationConfigurationCommand, se_UpdateOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateOrganizationConfigurationCommand 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 = "UpdateOrganizationConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "UpdateOrganizationConfiguration",
|
|
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_UpdateOrganizationConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateOrganizationConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateOrganizationConfigurationCommand 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", "UpdateOrganizationConfiguration", {})
|
|
19
|
+
.n("SecurityHubClient", "UpdateOrganizationConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateOrganizationConfigurationCommand)
|
|
22
|
+
.de(de_UpdateOrganizationConfigurationCommand)
|
|
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_UpdateSecurityControlCommand, se_UpdateSecurityControlCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateSecurityControlCommand 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 = "UpdateSecurityControlCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "UpdateSecurityControl",
|
|
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_UpdateSecurityControlCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateSecurityControlCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateSecurityControlCommand 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", "UpdateSecurityControl", {})
|
|
19
|
+
.n("SecurityHubClient", "UpdateSecurityControlCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSecurityControlCommand)
|
|
22
|
+
.de(de_UpdateSecurityControlCommand)
|
|
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_UpdateSecurityHubConfigurationCommand, se_UpdateSecurityHubConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateSecurityHubConfigurationCommand 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 = "UpdateSecurityHubConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "UpdateSecurityHubConfiguration",
|
|
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_UpdateSecurityHubConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateSecurityHubConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateSecurityHubConfigurationCommand 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", "UpdateSecurityHubConfiguration", {})
|
|
19
|
+
.n("SecurityHubClient", "UpdateSecurityHubConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSecurityHubConfigurationCommand)
|
|
22
|
+
.de(de_UpdateSecurityHubConfigurationCommand)
|
|
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_UpdateStandardsControlCommand, se_UpdateStandardsControlCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateStandardsControlCommand 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 = "UpdateStandardsControlCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SecurityHubAPIService",
|
|
35
|
-
operation: "UpdateStandardsControl",
|
|
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_UpdateStandardsControlCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateStandardsControlCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateStandardsControlCommand 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", "UpdateStandardsControl", {})
|
|
19
|
+
.n("SecurityHubClient", "UpdateStandardsControlCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateStandardsControlCommand)
|
|
22
|
+
.de(de_UpdateStandardsControlCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "securityhub",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeActionTargetsCommand, } from "../commands/DescribeActionTargetsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeActionTargetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeActionTargets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeActionTargets = createPaginator(SecurityHubClient, DescribeActionTargetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeProductsCommand, } from "../commands/DescribeProductsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeProductsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeProducts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeProducts = createPaginator(SecurityHubClient, DescribeProductsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeStandardsControlsCommand, } from "../commands/DescribeStandardsControlsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeStandardsControlsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeStandardsControls(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeStandardsControls = createPaginator(SecurityHubClient, DescribeStandardsControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeStandardsCommand, } from "../commands/DescribeStandardsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeStandardsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeStandards(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeStandards = createPaginator(SecurityHubClient, DescribeStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetEnabledStandardsCommand, } from "../commands/GetEnabledStandardsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetEnabledStandardsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetEnabledStandards(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetEnabledStandards = createPaginator(SecurityHubClient, GetEnabledStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetFindingHistoryCommand, } from "../commands/GetFindingHistoryCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetFindingHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetFindingHistory(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetFindingHistory = createPaginator(SecurityHubClient, GetFindingHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetFindingsCommand } from "../commands/GetFindingsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetFindingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetFindings(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetFindings = createPaginator(SecurityHubClient, GetFindingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetInsightsCommand } from "../commands/GetInsightsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetInsightsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetInsights(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetInsights = createPaginator(SecurityHubClient, GetInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConfigurationPoliciesCommand, } from "../commands/ListConfigurationPoliciesCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationPoliciesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurationPolicies(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConfigurationPolicies = createPaginator(SecurityHubClient, ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConfigurationPolicyAssociationsCommand, } from "../commands/ListConfigurationPolicyAssociationsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationPolicyAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurationPolicyAssociations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConfigurationPolicyAssociations = createPaginator(SecurityHubClient, ListConfigurationPolicyAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEnabledProductsForImportCommand, } from "../commands/ListEnabledProductsForImportCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEnabledProductsForImportCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEnabledProductsForImport(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEnabledProductsForImport = createPaginator(SecurityHubClient, ListEnabledProductsForImportCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFindingAggregatorsCommand, } from "../commands/ListFindingAggregatorsCommand";
|
|
2
3
|
import { SecurityHubClient } from "../SecurityHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFindingAggregatorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFindingAggregators(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SecurityHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFindingAggregators = createPaginator(SecurityHubClient, ListFindingAggregatorsCommand, "NextToken", "NextToken", "MaxResults");
|