@aws-sdk/client-securityhub 3.974.0 → 3.978.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/index.js +72 -47
- package/dist-es/SecurityHub.js +49 -1
- package/dist-types/SecurityHub.d.ts +162 -1
- package/dist-types/ts3.4/SecurityHub.d.ts +166 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -11055,6 +11055,52 @@ class UpdateStandardsControlCommand extends smithyClient.Command
|
|
|
11055
11055
|
.build() {
|
|
11056
11056
|
}
|
|
11057
11057
|
|
|
11058
|
+
const paginateDescribeActionTargets = core.createPaginator(SecurityHubClient, DescribeActionTargetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11059
|
+
|
|
11060
|
+
const paginateDescribeProducts = core.createPaginator(SecurityHubClient, DescribeProductsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11061
|
+
|
|
11062
|
+
const paginateDescribeProductsV2 = core.createPaginator(SecurityHubClient, DescribeProductsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11063
|
+
|
|
11064
|
+
const paginateDescribeStandardsControls = core.createPaginator(SecurityHubClient, DescribeStandardsControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11065
|
+
|
|
11066
|
+
const paginateDescribeStandards = core.createPaginator(SecurityHubClient, DescribeStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11067
|
+
|
|
11068
|
+
const paginateGetEnabledStandards = core.createPaginator(SecurityHubClient, GetEnabledStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11069
|
+
|
|
11070
|
+
const paginateGetFindingHistory = core.createPaginator(SecurityHubClient, GetFindingHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
11071
|
+
|
|
11072
|
+
const paginateGetFindings = core.createPaginator(SecurityHubClient, GetFindingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11073
|
+
|
|
11074
|
+
const paginateGetFindingsTrendsV2 = core.createPaginator(SecurityHubClient, GetFindingsTrendsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11075
|
+
|
|
11076
|
+
const paginateGetFindingsV2 = core.createPaginator(SecurityHubClient, GetFindingsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11077
|
+
|
|
11078
|
+
const paginateGetInsights = core.createPaginator(SecurityHubClient, GetInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11079
|
+
|
|
11080
|
+
const paginateGetResourcesTrendsV2 = core.createPaginator(SecurityHubClient, GetResourcesTrendsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11081
|
+
|
|
11082
|
+
const paginateGetResourcesV2 = core.createPaginator(SecurityHubClient, GetResourcesV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11083
|
+
|
|
11084
|
+
const paginateListAggregatorsV2 = core.createPaginator(SecurityHubClient, ListAggregatorsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11085
|
+
|
|
11086
|
+
const paginateListConfigurationPolicies = core.createPaginator(SecurityHubClient, ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
11087
|
+
|
|
11088
|
+
const paginateListConfigurationPolicyAssociations = core.createPaginator(SecurityHubClient, ListConfigurationPolicyAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11089
|
+
|
|
11090
|
+
const paginateListEnabledProductsForImport = core.createPaginator(SecurityHubClient, ListEnabledProductsForImportCommand, "NextToken", "NextToken", "MaxResults");
|
|
11091
|
+
|
|
11092
|
+
const paginateListFindingAggregators = core.createPaginator(SecurityHubClient, ListFindingAggregatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11093
|
+
|
|
11094
|
+
const paginateListInvitations = core.createPaginator(SecurityHubClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11095
|
+
|
|
11096
|
+
const paginateListMembers = core.createPaginator(SecurityHubClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
11097
|
+
|
|
11098
|
+
const paginateListOrganizationAdminAccounts = core.createPaginator(SecurityHubClient, ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11099
|
+
|
|
11100
|
+
const paginateListSecurityControlDefinitions = core.createPaginator(SecurityHubClient, ListSecurityControlDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11101
|
+
|
|
11102
|
+
const paginateListStandardsControlAssociations = core.createPaginator(SecurityHubClient, ListStandardsControlAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11103
|
+
|
|
11058
11104
|
const commands = {
|
|
11059
11105
|
AcceptAdministratorInvitationCommand,
|
|
11060
11106
|
AcceptInvitationCommand,
|
|
@@ -11164,55 +11210,34 @@ const commands = {
|
|
|
11164
11210
|
UpdateSecurityHubConfigurationCommand,
|
|
11165
11211
|
UpdateStandardsControlCommand,
|
|
11166
11212
|
};
|
|
11213
|
+
const paginators = {
|
|
11214
|
+
paginateDescribeActionTargets,
|
|
11215
|
+
paginateDescribeProducts,
|
|
11216
|
+
paginateDescribeProductsV2,
|
|
11217
|
+
paginateDescribeStandards,
|
|
11218
|
+
paginateDescribeStandardsControls,
|
|
11219
|
+
paginateGetEnabledStandards,
|
|
11220
|
+
paginateGetFindingHistory,
|
|
11221
|
+
paginateGetFindings,
|
|
11222
|
+
paginateGetFindingsTrendsV2,
|
|
11223
|
+
paginateGetFindingsV2,
|
|
11224
|
+
paginateGetInsights,
|
|
11225
|
+
paginateGetResourcesTrendsV2,
|
|
11226
|
+
paginateGetResourcesV2,
|
|
11227
|
+
paginateListAggregatorsV2,
|
|
11228
|
+
paginateListConfigurationPolicies,
|
|
11229
|
+
paginateListConfigurationPolicyAssociations,
|
|
11230
|
+
paginateListEnabledProductsForImport,
|
|
11231
|
+
paginateListFindingAggregators,
|
|
11232
|
+
paginateListInvitations,
|
|
11233
|
+
paginateListMembers,
|
|
11234
|
+
paginateListOrganizationAdminAccounts,
|
|
11235
|
+
paginateListSecurityControlDefinitions,
|
|
11236
|
+
paginateListStandardsControlAssociations,
|
|
11237
|
+
};
|
|
11167
11238
|
class SecurityHub extends SecurityHubClient {
|
|
11168
11239
|
}
|
|
11169
|
-
smithyClient.createAggregatedClient(commands, SecurityHub);
|
|
11170
|
-
|
|
11171
|
-
const paginateDescribeActionTargets = core.createPaginator(SecurityHubClient, DescribeActionTargetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11172
|
-
|
|
11173
|
-
const paginateDescribeProducts = core.createPaginator(SecurityHubClient, DescribeProductsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11174
|
-
|
|
11175
|
-
const paginateDescribeProductsV2 = core.createPaginator(SecurityHubClient, DescribeProductsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11176
|
-
|
|
11177
|
-
const paginateDescribeStandards = core.createPaginator(SecurityHubClient, DescribeStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11178
|
-
|
|
11179
|
-
const paginateDescribeStandardsControls = core.createPaginator(SecurityHubClient, DescribeStandardsControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11180
|
-
|
|
11181
|
-
const paginateGetEnabledStandards = core.createPaginator(SecurityHubClient, GetEnabledStandardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11182
|
-
|
|
11183
|
-
const paginateGetFindingHistory = core.createPaginator(SecurityHubClient, GetFindingHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
11184
|
-
|
|
11185
|
-
const paginateGetFindings = core.createPaginator(SecurityHubClient, GetFindingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11186
|
-
|
|
11187
|
-
const paginateGetFindingsTrendsV2 = core.createPaginator(SecurityHubClient, GetFindingsTrendsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11188
|
-
|
|
11189
|
-
const paginateGetFindingsV2 = core.createPaginator(SecurityHubClient, GetFindingsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11190
|
-
|
|
11191
|
-
const paginateGetInsights = core.createPaginator(SecurityHubClient, GetInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11192
|
-
|
|
11193
|
-
const paginateGetResourcesTrendsV2 = core.createPaginator(SecurityHubClient, GetResourcesTrendsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11194
|
-
|
|
11195
|
-
const paginateGetResourcesV2 = core.createPaginator(SecurityHubClient, GetResourcesV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11196
|
-
|
|
11197
|
-
const paginateListAggregatorsV2 = core.createPaginator(SecurityHubClient, ListAggregatorsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
11198
|
-
|
|
11199
|
-
const paginateListConfigurationPolicies = core.createPaginator(SecurityHubClient, ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
11200
|
-
|
|
11201
|
-
const paginateListConfigurationPolicyAssociations = core.createPaginator(SecurityHubClient, ListConfigurationPolicyAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11202
|
-
|
|
11203
|
-
const paginateListEnabledProductsForImport = core.createPaginator(SecurityHubClient, ListEnabledProductsForImportCommand, "NextToken", "NextToken", "MaxResults");
|
|
11204
|
-
|
|
11205
|
-
const paginateListFindingAggregators = core.createPaginator(SecurityHubClient, ListFindingAggregatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11206
|
-
|
|
11207
|
-
const paginateListInvitations = core.createPaginator(SecurityHubClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11208
|
-
|
|
11209
|
-
const paginateListMembers = core.createPaginator(SecurityHubClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
11210
|
-
|
|
11211
|
-
const paginateListOrganizationAdminAccounts = core.createPaginator(SecurityHubClient, ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11212
|
-
|
|
11213
|
-
const paginateListSecurityControlDefinitions = core.createPaginator(SecurityHubClient, ListSecurityControlDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11214
|
-
|
|
11215
|
-
const paginateListStandardsControlAssociations = core.createPaginator(SecurityHubClient, ListStandardsControlAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
11240
|
+
smithyClient.createAggregatedClient(commands, SecurityHub, { paginators });
|
|
11216
11241
|
|
|
11217
11242
|
const SeverityLabel = {
|
|
11218
11243
|
CRITICAL: "CRITICAL",
|
package/dist-es/SecurityHub.js
CHANGED
|
@@ -106,6 +106,29 @@ import { UpdateOrganizationConfigurationCommand, } from "./commands/UpdateOrgani
|
|
|
106
106
|
import { UpdateSecurityControlCommand, } from "./commands/UpdateSecurityControlCommand";
|
|
107
107
|
import { UpdateSecurityHubConfigurationCommand, } from "./commands/UpdateSecurityHubConfigurationCommand";
|
|
108
108
|
import { UpdateStandardsControlCommand, } from "./commands/UpdateStandardsControlCommand";
|
|
109
|
+
import { paginateDescribeActionTargets } from "./pagination/DescribeActionTargetsPaginator";
|
|
110
|
+
import { paginateDescribeProducts } from "./pagination/DescribeProductsPaginator";
|
|
111
|
+
import { paginateDescribeProductsV2 } from "./pagination/DescribeProductsV2Paginator";
|
|
112
|
+
import { paginateDescribeStandardsControls } from "./pagination/DescribeStandardsControlsPaginator";
|
|
113
|
+
import { paginateDescribeStandards } from "./pagination/DescribeStandardsPaginator";
|
|
114
|
+
import { paginateGetEnabledStandards } from "./pagination/GetEnabledStandardsPaginator";
|
|
115
|
+
import { paginateGetFindingHistory } from "./pagination/GetFindingHistoryPaginator";
|
|
116
|
+
import { paginateGetFindings } from "./pagination/GetFindingsPaginator";
|
|
117
|
+
import { paginateGetFindingsTrendsV2 } from "./pagination/GetFindingsTrendsV2Paginator";
|
|
118
|
+
import { paginateGetFindingsV2 } from "./pagination/GetFindingsV2Paginator";
|
|
119
|
+
import { paginateGetInsights } from "./pagination/GetInsightsPaginator";
|
|
120
|
+
import { paginateGetResourcesTrendsV2 } from "./pagination/GetResourcesTrendsV2Paginator";
|
|
121
|
+
import { paginateGetResourcesV2 } from "./pagination/GetResourcesV2Paginator";
|
|
122
|
+
import { paginateListAggregatorsV2 } from "./pagination/ListAggregatorsV2Paginator";
|
|
123
|
+
import { paginateListConfigurationPolicies } from "./pagination/ListConfigurationPoliciesPaginator";
|
|
124
|
+
import { paginateListConfigurationPolicyAssociations } from "./pagination/ListConfigurationPolicyAssociationsPaginator";
|
|
125
|
+
import { paginateListEnabledProductsForImport } from "./pagination/ListEnabledProductsForImportPaginator";
|
|
126
|
+
import { paginateListFindingAggregators } from "./pagination/ListFindingAggregatorsPaginator";
|
|
127
|
+
import { paginateListInvitations } from "./pagination/ListInvitationsPaginator";
|
|
128
|
+
import { paginateListMembers } from "./pagination/ListMembersPaginator";
|
|
129
|
+
import { paginateListOrganizationAdminAccounts } from "./pagination/ListOrganizationAdminAccountsPaginator";
|
|
130
|
+
import { paginateListSecurityControlDefinitions } from "./pagination/ListSecurityControlDefinitionsPaginator";
|
|
131
|
+
import { paginateListStandardsControlAssociations } from "./pagination/ListStandardsControlAssociationsPaginator";
|
|
109
132
|
import { SecurityHubClient } from "./SecurityHubClient";
|
|
110
133
|
const commands = {
|
|
111
134
|
AcceptAdministratorInvitationCommand,
|
|
@@ -216,6 +239,31 @@ const commands = {
|
|
|
216
239
|
UpdateSecurityHubConfigurationCommand,
|
|
217
240
|
UpdateStandardsControlCommand,
|
|
218
241
|
};
|
|
242
|
+
const paginators = {
|
|
243
|
+
paginateDescribeActionTargets,
|
|
244
|
+
paginateDescribeProducts,
|
|
245
|
+
paginateDescribeProductsV2,
|
|
246
|
+
paginateDescribeStandards,
|
|
247
|
+
paginateDescribeStandardsControls,
|
|
248
|
+
paginateGetEnabledStandards,
|
|
249
|
+
paginateGetFindingHistory,
|
|
250
|
+
paginateGetFindings,
|
|
251
|
+
paginateGetFindingsTrendsV2,
|
|
252
|
+
paginateGetFindingsV2,
|
|
253
|
+
paginateGetInsights,
|
|
254
|
+
paginateGetResourcesTrendsV2,
|
|
255
|
+
paginateGetResourcesV2,
|
|
256
|
+
paginateListAggregatorsV2,
|
|
257
|
+
paginateListConfigurationPolicies,
|
|
258
|
+
paginateListConfigurationPolicyAssociations,
|
|
259
|
+
paginateListEnabledProductsForImport,
|
|
260
|
+
paginateListFindingAggregators,
|
|
261
|
+
paginateListInvitations,
|
|
262
|
+
paginateListMembers,
|
|
263
|
+
paginateListOrganizationAdminAccounts,
|
|
264
|
+
paginateListSecurityControlDefinitions,
|
|
265
|
+
paginateListStandardsControlAssociations,
|
|
266
|
+
};
|
|
219
267
|
export class SecurityHub extends SecurityHubClient {
|
|
220
268
|
}
|
|
221
|
-
createAggregatedClient(commands, SecurityHub);
|
|
269
|
+
createAggregatedClient(commands, SecurityHub, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
|
|
3
3
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
4
4
|
import { BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput } from "./commands/BatchDeleteAutomationRulesCommand";
|
|
@@ -785,6 +785,167 @@ export interface SecurityHub {
|
|
|
785
785
|
updateStandardsControl(args: UpdateStandardsControlCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStandardsControlCommandOutput>;
|
|
786
786
|
updateStandardsControl(args: UpdateStandardsControlCommandInput, cb: (err: any, data?: UpdateStandardsControlCommandOutput) => void): void;
|
|
787
787
|
updateStandardsControl(args: UpdateStandardsControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStandardsControlCommandOutput) => void): void;
|
|
788
|
+
/**
|
|
789
|
+
* @see {@link DescribeActionTargetsCommand}
|
|
790
|
+
* @param args - command input.
|
|
791
|
+
* @param paginationConfig - optional pagination config.
|
|
792
|
+
* @returns AsyncIterable of {@link DescribeActionTargetsCommandOutput}.
|
|
793
|
+
*/
|
|
794
|
+
paginateDescribeActionTargets(args?: DescribeActionTargetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeActionTargetsCommandOutput>;
|
|
795
|
+
/**
|
|
796
|
+
* @see {@link DescribeProductsCommand}
|
|
797
|
+
* @param args - command input.
|
|
798
|
+
* @param paginationConfig - optional pagination config.
|
|
799
|
+
* @returns AsyncIterable of {@link DescribeProductsCommandOutput}.
|
|
800
|
+
*/
|
|
801
|
+
paginateDescribeProducts(args?: DescribeProductsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeProductsCommandOutput>;
|
|
802
|
+
/**
|
|
803
|
+
* @see {@link DescribeProductsV2Command}
|
|
804
|
+
* @param args - command input.
|
|
805
|
+
* @param paginationConfig - optional pagination config.
|
|
806
|
+
* @returns AsyncIterable of {@link DescribeProductsV2CommandOutput}.
|
|
807
|
+
*/
|
|
808
|
+
paginateDescribeProductsV2(args?: DescribeProductsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeProductsV2CommandOutput>;
|
|
809
|
+
/**
|
|
810
|
+
* @see {@link DescribeStandardsCommand}
|
|
811
|
+
* @param args - command input.
|
|
812
|
+
* @param paginationConfig - optional pagination config.
|
|
813
|
+
* @returns AsyncIterable of {@link DescribeStandardsCommandOutput}.
|
|
814
|
+
*/
|
|
815
|
+
paginateDescribeStandards(args?: DescribeStandardsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeStandardsCommandOutput>;
|
|
816
|
+
/**
|
|
817
|
+
* @see {@link DescribeStandardsControlsCommand}
|
|
818
|
+
* @param args - command input.
|
|
819
|
+
* @param paginationConfig - optional pagination config.
|
|
820
|
+
* @returns AsyncIterable of {@link DescribeStandardsControlsCommandOutput}.
|
|
821
|
+
*/
|
|
822
|
+
paginateDescribeStandardsControls(args: DescribeStandardsControlsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeStandardsControlsCommandOutput>;
|
|
823
|
+
/**
|
|
824
|
+
* @see {@link GetEnabledStandardsCommand}
|
|
825
|
+
* @param args - command input.
|
|
826
|
+
* @param paginationConfig - optional pagination config.
|
|
827
|
+
* @returns AsyncIterable of {@link GetEnabledStandardsCommandOutput}.
|
|
828
|
+
*/
|
|
829
|
+
paginateGetEnabledStandards(args?: GetEnabledStandardsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetEnabledStandardsCommandOutput>;
|
|
830
|
+
/**
|
|
831
|
+
* @see {@link GetFindingHistoryCommand}
|
|
832
|
+
* @param args - command input.
|
|
833
|
+
* @param paginationConfig - optional pagination config.
|
|
834
|
+
* @returns AsyncIterable of {@link GetFindingHistoryCommandOutput}.
|
|
835
|
+
*/
|
|
836
|
+
paginateGetFindingHistory(args: GetFindingHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFindingHistoryCommandOutput>;
|
|
837
|
+
/**
|
|
838
|
+
* @see {@link GetFindingsCommand}
|
|
839
|
+
* @param args - command input.
|
|
840
|
+
* @param paginationConfig - optional pagination config.
|
|
841
|
+
* @returns AsyncIterable of {@link GetFindingsCommandOutput}.
|
|
842
|
+
*/
|
|
843
|
+
paginateGetFindings(args?: GetFindingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFindingsCommandOutput>;
|
|
844
|
+
/**
|
|
845
|
+
* @see {@link GetFindingsTrendsV2Command}
|
|
846
|
+
* @param args - command input.
|
|
847
|
+
* @param paginationConfig - optional pagination config.
|
|
848
|
+
* @returns AsyncIterable of {@link GetFindingsTrendsV2CommandOutput}.
|
|
849
|
+
*/
|
|
850
|
+
paginateGetFindingsTrendsV2(args: GetFindingsTrendsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFindingsTrendsV2CommandOutput>;
|
|
851
|
+
/**
|
|
852
|
+
* @see {@link GetFindingsV2Command}
|
|
853
|
+
* @param args - command input.
|
|
854
|
+
* @param paginationConfig - optional pagination config.
|
|
855
|
+
* @returns AsyncIterable of {@link GetFindingsV2CommandOutput}.
|
|
856
|
+
*/
|
|
857
|
+
paginateGetFindingsV2(args?: GetFindingsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFindingsV2CommandOutput>;
|
|
858
|
+
/**
|
|
859
|
+
* @see {@link GetInsightsCommand}
|
|
860
|
+
* @param args - command input.
|
|
861
|
+
* @param paginationConfig - optional pagination config.
|
|
862
|
+
* @returns AsyncIterable of {@link GetInsightsCommandOutput}.
|
|
863
|
+
*/
|
|
864
|
+
paginateGetInsights(args?: GetInsightsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetInsightsCommandOutput>;
|
|
865
|
+
/**
|
|
866
|
+
* @see {@link GetResourcesTrendsV2Command}
|
|
867
|
+
* @param args - command input.
|
|
868
|
+
* @param paginationConfig - optional pagination config.
|
|
869
|
+
* @returns AsyncIterable of {@link GetResourcesTrendsV2CommandOutput}.
|
|
870
|
+
*/
|
|
871
|
+
paginateGetResourcesTrendsV2(args: GetResourcesTrendsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetResourcesTrendsV2CommandOutput>;
|
|
872
|
+
/**
|
|
873
|
+
* @see {@link GetResourcesV2Command}
|
|
874
|
+
* @param args - command input.
|
|
875
|
+
* @param paginationConfig - optional pagination config.
|
|
876
|
+
* @returns AsyncIterable of {@link GetResourcesV2CommandOutput}.
|
|
877
|
+
*/
|
|
878
|
+
paginateGetResourcesV2(args?: GetResourcesV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetResourcesV2CommandOutput>;
|
|
879
|
+
/**
|
|
880
|
+
* @see {@link ListAggregatorsV2Command}
|
|
881
|
+
* @param args - command input.
|
|
882
|
+
* @param paginationConfig - optional pagination config.
|
|
883
|
+
* @returns AsyncIterable of {@link ListAggregatorsV2CommandOutput}.
|
|
884
|
+
*/
|
|
885
|
+
paginateListAggregatorsV2(args?: ListAggregatorsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAggregatorsV2CommandOutput>;
|
|
886
|
+
/**
|
|
887
|
+
* @see {@link ListConfigurationPoliciesCommand}
|
|
888
|
+
* @param args - command input.
|
|
889
|
+
* @param paginationConfig - optional pagination config.
|
|
890
|
+
* @returns AsyncIterable of {@link ListConfigurationPoliciesCommandOutput}.
|
|
891
|
+
*/
|
|
892
|
+
paginateListConfigurationPolicies(args?: ListConfigurationPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConfigurationPoliciesCommandOutput>;
|
|
893
|
+
/**
|
|
894
|
+
* @see {@link ListConfigurationPolicyAssociationsCommand}
|
|
895
|
+
* @param args - command input.
|
|
896
|
+
* @param paginationConfig - optional pagination config.
|
|
897
|
+
* @returns AsyncIterable of {@link ListConfigurationPolicyAssociationsCommandOutput}.
|
|
898
|
+
*/
|
|
899
|
+
paginateListConfigurationPolicyAssociations(args?: ListConfigurationPolicyAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConfigurationPolicyAssociationsCommandOutput>;
|
|
900
|
+
/**
|
|
901
|
+
* @see {@link ListEnabledProductsForImportCommand}
|
|
902
|
+
* @param args - command input.
|
|
903
|
+
* @param paginationConfig - optional pagination config.
|
|
904
|
+
* @returns AsyncIterable of {@link ListEnabledProductsForImportCommandOutput}.
|
|
905
|
+
*/
|
|
906
|
+
paginateListEnabledProductsForImport(args?: ListEnabledProductsForImportCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnabledProductsForImportCommandOutput>;
|
|
907
|
+
/**
|
|
908
|
+
* @see {@link ListFindingAggregatorsCommand}
|
|
909
|
+
* @param args - command input.
|
|
910
|
+
* @param paginationConfig - optional pagination config.
|
|
911
|
+
* @returns AsyncIterable of {@link ListFindingAggregatorsCommandOutput}.
|
|
912
|
+
*/
|
|
913
|
+
paginateListFindingAggregators(args?: ListFindingAggregatorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFindingAggregatorsCommandOutput>;
|
|
914
|
+
/**
|
|
915
|
+
* @see {@link ListInvitationsCommand}
|
|
916
|
+
* @param args - command input.
|
|
917
|
+
* @param paginationConfig - optional pagination config.
|
|
918
|
+
* @returns AsyncIterable of {@link ListInvitationsCommandOutput}.
|
|
919
|
+
*/
|
|
920
|
+
paginateListInvitations(args?: ListInvitationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvitationsCommandOutput>;
|
|
921
|
+
/**
|
|
922
|
+
* @see {@link ListMembersCommand}
|
|
923
|
+
* @param args - command input.
|
|
924
|
+
* @param paginationConfig - optional pagination config.
|
|
925
|
+
* @returns AsyncIterable of {@link ListMembersCommandOutput}.
|
|
926
|
+
*/
|
|
927
|
+
paginateListMembers(args?: ListMembersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMembersCommandOutput>;
|
|
928
|
+
/**
|
|
929
|
+
* @see {@link ListOrganizationAdminAccountsCommand}
|
|
930
|
+
* @param args - command input.
|
|
931
|
+
* @param paginationConfig - optional pagination config.
|
|
932
|
+
* @returns AsyncIterable of {@link ListOrganizationAdminAccountsCommandOutput}.
|
|
933
|
+
*/
|
|
934
|
+
paginateListOrganizationAdminAccounts(args?: ListOrganizationAdminAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOrganizationAdminAccountsCommandOutput>;
|
|
935
|
+
/**
|
|
936
|
+
* @see {@link ListSecurityControlDefinitionsCommand}
|
|
937
|
+
* @param args - command input.
|
|
938
|
+
* @param paginationConfig - optional pagination config.
|
|
939
|
+
* @returns AsyncIterable of {@link ListSecurityControlDefinitionsCommandOutput}.
|
|
940
|
+
*/
|
|
941
|
+
paginateListSecurityControlDefinitions(args?: ListSecurityControlDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecurityControlDefinitionsCommandOutput>;
|
|
942
|
+
/**
|
|
943
|
+
* @see {@link ListStandardsControlAssociationsCommand}
|
|
944
|
+
* @param args - command input.
|
|
945
|
+
* @param paginationConfig - optional pagination config.
|
|
946
|
+
* @returns AsyncIterable of {@link ListStandardsControlAssociationsCommandOutput}.
|
|
947
|
+
*/
|
|
948
|
+
paginateListStandardsControlAssociations(args: ListStandardsControlAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStandardsControlAssociationsCommandOutput>;
|
|
788
949
|
}
|
|
789
950
|
/**
|
|
790
951
|
* <p>Security Hub provides you with a comprehensive view of your security state in Amazon Web Services and helps
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AcceptAdministratorInvitationCommandInput,
|
|
4
8
|
AcceptAdministratorInvitationCommandOutput,
|
|
@@ -1909,6 +1913,167 @@ export interface SecurityHub {
|
|
|
1909
1913
|
options: __HttpHandlerOptions,
|
|
1910
1914
|
cb: (err: any, data?: UpdateStandardsControlCommandOutput) => void
|
|
1911
1915
|
): void;
|
|
1916
|
+
paginateDescribeActionTargets(
|
|
1917
|
+
args?: DescribeActionTargetsCommandInput,
|
|
1918
|
+
paginationConfig?: Pick<
|
|
1919
|
+
PaginationConfiguration,
|
|
1920
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1921
|
+
>
|
|
1922
|
+
): Paginator<DescribeActionTargetsCommandOutput>;
|
|
1923
|
+
paginateDescribeProducts(
|
|
1924
|
+
args?: DescribeProductsCommandInput,
|
|
1925
|
+
paginationConfig?: Pick<
|
|
1926
|
+
PaginationConfiguration,
|
|
1927
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1928
|
+
>
|
|
1929
|
+
): Paginator<DescribeProductsCommandOutput>;
|
|
1930
|
+
paginateDescribeProductsV2(
|
|
1931
|
+
args?: DescribeProductsV2CommandInput,
|
|
1932
|
+
paginationConfig?: Pick<
|
|
1933
|
+
PaginationConfiguration,
|
|
1934
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1935
|
+
>
|
|
1936
|
+
): Paginator<DescribeProductsV2CommandOutput>;
|
|
1937
|
+
paginateDescribeStandards(
|
|
1938
|
+
args?: DescribeStandardsCommandInput,
|
|
1939
|
+
paginationConfig?: Pick<
|
|
1940
|
+
PaginationConfiguration,
|
|
1941
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1942
|
+
>
|
|
1943
|
+
): Paginator<DescribeStandardsCommandOutput>;
|
|
1944
|
+
paginateDescribeStandardsControls(
|
|
1945
|
+
args: DescribeStandardsControlsCommandInput,
|
|
1946
|
+
paginationConfig?: Pick<
|
|
1947
|
+
PaginationConfiguration,
|
|
1948
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1949
|
+
>
|
|
1950
|
+
): Paginator<DescribeStandardsControlsCommandOutput>;
|
|
1951
|
+
paginateGetEnabledStandards(
|
|
1952
|
+
args?: GetEnabledStandardsCommandInput,
|
|
1953
|
+
paginationConfig?: Pick<
|
|
1954
|
+
PaginationConfiguration,
|
|
1955
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1956
|
+
>
|
|
1957
|
+
): Paginator<GetEnabledStandardsCommandOutput>;
|
|
1958
|
+
paginateGetFindingHistory(
|
|
1959
|
+
args: GetFindingHistoryCommandInput,
|
|
1960
|
+
paginationConfig?: Pick<
|
|
1961
|
+
PaginationConfiguration,
|
|
1962
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1963
|
+
>
|
|
1964
|
+
): Paginator<GetFindingHistoryCommandOutput>;
|
|
1965
|
+
paginateGetFindings(
|
|
1966
|
+
args?: GetFindingsCommandInput,
|
|
1967
|
+
paginationConfig?: Pick<
|
|
1968
|
+
PaginationConfiguration,
|
|
1969
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1970
|
+
>
|
|
1971
|
+
): Paginator<GetFindingsCommandOutput>;
|
|
1972
|
+
paginateGetFindingsTrendsV2(
|
|
1973
|
+
args: GetFindingsTrendsV2CommandInput,
|
|
1974
|
+
paginationConfig?: Pick<
|
|
1975
|
+
PaginationConfiguration,
|
|
1976
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1977
|
+
>
|
|
1978
|
+
): Paginator<GetFindingsTrendsV2CommandOutput>;
|
|
1979
|
+
paginateGetFindingsV2(
|
|
1980
|
+
args?: GetFindingsV2CommandInput,
|
|
1981
|
+
paginationConfig?: Pick<
|
|
1982
|
+
PaginationConfiguration,
|
|
1983
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1984
|
+
>
|
|
1985
|
+
): Paginator<GetFindingsV2CommandOutput>;
|
|
1986
|
+
paginateGetInsights(
|
|
1987
|
+
args?: GetInsightsCommandInput,
|
|
1988
|
+
paginationConfig?: Pick<
|
|
1989
|
+
PaginationConfiguration,
|
|
1990
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1991
|
+
>
|
|
1992
|
+
): Paginator<GetInsightsCommandOutput>;
|
|
1993
|
+
paginateGetResourcesTrendsV2(
|
|
1994
|
+
args: GetResourcesTrendsV2CommandInput,
|
|
1995
|
+
paginationConfig?: Pick<
|
|
1996
|
+
PaginationConfiguration,
|
|
1997
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1998
|
+
>
|
|
1999
|
+
): Paginator<GetResourcesTrendsV2CommandOutput>;
|
|
2000
|
+
paginateGetResourcesV2(
|
|
2001
|
+
args?: GetResourcesV2CommandInput,
|
|
2002
|
+
paginationConfig?: Pick<
|
|
2003
|
+
PaginationConfiguration,
|
|
2004
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2005
|
+
>
|
|
2006
|
+
): Paginator<GetResourcesV2CommandOutput>;
|
|
2007
|
+
paginateListAggregatorsV2(
|
|
2008
|
+
args?: ListAggregatorsV2CommandInput,
|
|
2009
|
+
paginationConfig?: Pick<
|
|
2010
|
+
PaginationConfiguration,
|
|
2011
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2012
|
+
>
|
|
2013
|
+
): Paginator<ListAggregatorsV2CommandOutput>;
|
|
2014
|
+
paginateListConfigurationPolicies(
|
|
2015
|
+
args?: ListConfigurationPoliciesCommandInput,
|
|
2016
|
+
paginationConfig?: Pick<
|
|
2017
|
+
PaginationConfiguration,
|
|
2018
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2019
|
+
>
|
|
2020
|
+
): Paginator<ListConfigurationPoliciesCommandOutput>;
|
|
2021
|
+
paginateListConfigurationPolicyAssociations(
|
|
2022
|
+
args?: ListConfigurationPolicyAssociationsCommandInput,
|
|
2023
|
+
paginationConfig?: Pick<
|
|
2024
|
+
PaginationConfiguration,
|
|
2025
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2026
|
+
>
|
|
2027
|
+
): Paginator<ListConfigurationPolicyAssociationsCommandOutput>;
|
|
2028
|
+
paginateListEnabledProductsForImport(
|
|
2029
|
+
args?: ListEnabledProductsForImportCommandInput,
|
|
2030
|
+
paginationConfig?: Pick<
|
|
2031
|
+
PaginationConfiguration,
|
|
2032
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2033
|
+
>
|
|
2034
|
+
): Paginator<ListEnabledProductsForImportCommandOutput>;
|
|
2035
|
+
paginateListFindingAggregators(
|
|
2036
|
+
args?: ListFindingAggregatorsCommandInput,
|
|
2037
|
+
paginationConfig?: Pick<
|
|
2038
|
+
PaginationConfiguration,
|
|
2039
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2040
|
+
>
|
|
2041
|
+
): Paginator<ListFindingAggregatorsCommandOutput>;
|
|
2042
|
+
paginateListInvitations(
|
|
2043
|
+
args?: ListInvitationsCommandInput,
|
|
2044
|
+
paginationConfig?: Pick<
|
|
2045
|
+
PaginationConfiguration,
|
|
2046
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2047
|
+
>
|
|
2048
|
+
): Paginator<ListInvitationsCommandOutput>;
|
|
2049
|
+
paginateListMembers(
|
|
2050
|
+
args?: ListMembersCommandInput,
|
|
2051
|
+
paginationConfig?: Pick<
|
|
2052
|
+
PaginationConfiguration,
|
|
2053
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2054
|
+
>
|
|
2055
|
+
): Paginator<ListMembersCommandOutput>;
|
|
2056
|
+
paginateListOrganizationAdminAccounts(
|
|
2057
|
+
args?: ListOrganizationAdminAccountsCommandInput,
|
|
2058
|
+
paginationConfig?: Pick<
|
|
2059
|
+
PaginationConfiguration,
|
|
2060
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2061
|
+
>
|
|
2062
|
+
): Paginator<ListOrganizationAdminAccountsCommandOutput>;
|
|
2063
|
+
paginateListSecurityControlDefinitions(
|
|
2064
|
+
args?: ListSecurityControlDefinitionsCommandInput,
|
|
2065
|
+
paginationConfig?: Pick<
|
|
2066
|
+
PaginationConfiguration,
|
|
2067
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2068
|
+
>
|
|
2069
|
+
): Paginator<ListSecurityControlDefinitionsCommandOutput>;
|
|
2070
|
+
paginateListStandardsControlAssociations(
|
|
2071
|
+
args: ListStandardsControlAssociationsCommandInput,
|
|
2072
|
+
paginationConfig?: Pick<
|
|
2073
|
+
PaginationConfiguration,
|
|
2074
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2075
|
+
>
|
|
2076
|
+
): Paginator<ListStandardsControlAssociationsCommandOutput>;
|
|
1912
2077
|
}
|
|
1913
2078
|
export declare class SecurityHub
|
|
1914
2079
|
extends SecurityHubClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securityhub",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|