@aws-sdk/client-securityhub 3.321.1 → 3.326.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.
Files changed (62) hide show
  1. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
  2. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  3. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +18 -0
  4. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +18 -0
  5. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +23 -0
  6. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +33 -0
  7. package/dist-types/commands/BatchImportFindingsCommand.d.ts +14 -0
  8. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +21 -0
  9. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +17 -0
  10. package/dist-types/commands/CreateActionTargetCommand.d.ts +6 -0
  11. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +11 -0
  12. package/dist-types/commands/CreateInsightCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateMembersCommand.d.ts +11 -0
  14. package/dist-types/commands/DeclineInvitationsCommand.d.ts +11 -0
  15. package/dist-types/commands/DeleteActionTargetCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteInsightCommand.d.ts +6 -0
  18. package/dist-types/commands/DeleteInvitationsCommand.d.ts +11 -0
  19. package/dist-types/commands/DeleteMembersCommand.d.ts +11 -0
  20. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +13 -0
  21. package/dist-types/commands/DescribeHubCommand.d.ts +9 -0
  22. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +8 -0
  23. package/dist-types/commands/DescribeProductsCommand.d.ts +23 -0
  24. package/dist-types/commands/DescribeStandardsCommand.d.ts +18 -0
  25. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +22 -0
  26. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +4 -0
  27. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +4 -0
  28. package/dist-types/commands/DisableSecurityHubCommand.d.ts +4 -0
  29. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +4 -0
  30. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +4 -0
  31. package/dist-types/commands/DisassociateMembersCommand.d.ts +4 -0
  32. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +6 -0
  33. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +4 -0
  34. package/dist-types/commands/EnableSecurityHubCommand.d.ts +4 -0
  35. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +11 -0
  36. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +19 -0
  37. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +11 -0
  38. package/dist-types/commands/GetFindingsCommand.d.ts +3760 -0
  39. package/dist-types/commands/GetInsightResultsCommand.d.ts +15 -0
  40. package/dist-types/commands/GetInsightsCommand.d.ts +264 -0
  41. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -0
  42. package/dist-types/commands/GetMasterAccountCommand.d.ts +11 -0
  43. package/dist-types/commands/GetMembersCommand.d.ts +22 -0
  44. package/dist-types/commands/InviteMembersCommand.d.ts +11 -0
  45. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +9 -0
  46. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +11 -0
  47. package/dist-types/commands/ListInvitationsCommand.d.ts +14 -0
  48. package/dist-types/commands/ListMembersCommand.d.ts +17 -0
  49. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -0
  50. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +16 -0
  51. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +21 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  53. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  55. package/dist-types/commands/UpdateActionTargetCommand.d.ts +4 -0
  56. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +11 -0
  57. package/dist-types/commands/UpdateFindingsCommand.d.ts +4 -0
  58. package/dist-types/commands/UpdateInsightCommand.d.ts +4 -0
  59. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  60. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
  61. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +4 -0
  62. package/package.json +16 -16
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -52,6 +54,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
52
54
  * @throws {@link ResourceNotFoundException} (client fault)
53
55
  * <p>The request was rejected because we can't find the specified resource.</p>
54
56
  *
57
+ * @throws {@link SecurityHubServiceException}
58
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
55
59
  *
56
60
  * @example To remove tags from a resource
57
61
  * ```javascript
@@ -33,6 +33,8 @@ export interface UpdateActionTargetCommandOutput extends UpdateActionTargetRespo
33
33
  * };
34
34
  * const command = new UpdateActionTargetCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param UpdateActionTargetCommandInput - {@link UpdateActionTargetCommandInput}
@@ -54,6 +56,8 @@ export interface UpdateActionTargetCommandOutput extends UpdateActionTargetRespo
54
56
  * @throws {@link ResourceNotFoundException} (client fault)
55
57
  * <p>The request was rejected because we can't find the specified resource.</p>
56
58
  *
59
+ * @throws {@link SecurityHubServiceException}
60
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
57
61
  *
58
62
  * @example To update the name and description of a custom action target
59
63
  * ```javascript
@@ -37,6 +37,15 @@ export interface UpdateFindingAggregatorCommandOutput extends UpdateFindingAggre
37
37
  * };
38
38
  * const command = new UpdateFindingAggregatorCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // UpdateFindingAggregatorResponse
41
+ * // FindingAggregatorArn: "STRING_VALUE",
42
+ * // FindingAggregationRegion: "STRING_VALUE",
43
+ * // RegionLinkingMode: "STRING_VALUE",
44
+ * // Regions: [ // StringList
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // };
48
+ *
40
49
  * ```
41
50
  *
42
51
  * @param UpdateFindingAggregatorCommandInput - {@link UpdateFindingAggregatorCommandInput}
@@ -65,6 +74,8 @@ export interface UpdateFindingAggregatorCommandOutput extends UpdateFindingAggre
65
74
  * @throws {@link ResourceNotFoundException} (client fault)
66
75
  * <p>The request was rejected because we can't find the specified resource.</p>
67
76
  *
77
+ * @throws {@link SecurityHubServiceException}
78
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
68
79
  *
69
80
  * @example To update cross-Region aggregation settings
70
81
  * ```javascript
@@ -291,6 +291,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
291
291
  * };
292
292
  * const command = new UpdateFindingsCommand(input);
293
293
  * const response = await client.send(command);
294
+ * // {};
295
+ *
294
296
  * ```
295
297
  *
296
298
  * @param UpdateFindingsCommandInput - {@link UpdateFindingsCommandInput}
@@ -316,6 +318,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
316
318
  * @throws {@link ResourceNotFoundException} (client fault)
317
319
  * <p>The request was rejected because we can't find the specified resource.</p>
318
320
  *
321
+ * @throws {@link SecurityHubServiceException}
322
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
319
323
  *
320
324
  */
321
325
  export declare class UpdateFindingsCommand extends $Command<UpdateFindingsCommandInput, UpdateFindingsCommandOutput, SecurityHubClientResolvedConfig> {
@@ -284,6 +284,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
284
284
  * };
285
285
  * const command = new UpdateInsightCommand(input);
286
286
  * const response = await client.send(command);
287
+ * // {};
288
+ *
287
289
  * ```
288
290
  *
289
291
  * @param UpdateInsightCommandInput - {@link UpdateInsightCommandInput}
@@ -309,6 +311,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
309
311
  * @throws {@link ResourceNotFoundException} (client fault)
310
312
  * <p>The request was rejected because we can't find the specified resource.</p>
311
313
  *
314
+ * @throws {@link SecurityHubServiceException}
315
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
312
316
  *
313
317
  * @example To update an insight
314
318
  * ```javascript
@@ -33,6 +33,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
33
33
  * };
34
34
  * const command = new UpdateOrganizationConfigurationCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param UpdateOrganizationConfigurationCommandInput - {@link UpdateOrganizationConfigurationCommandInput}
@@ -55,6 +57,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
55
57
  * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
56
58
  * account or throttling limits. The error code describes the limit exceeded.</p>
57
59
  *
60
+ * @throws {@link SecurityHubServiceException}
61
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
58
62
  *
59
63
  * @example To update organization configuration
60
64
  * ```javascript
@@ -32,6 +32,8 @@ export interface UpdateSecurityHubConfigurationCommandOutput extends UpdateSecur
32
32
  * };
33
33
  * const command = new UpdateSecurityHubConfigurationCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param UpdateSecurityHubConfigurationCommandInput - {@link UpdateSecurityHubConfigurationCommandInput}
@@ -57,6 +59,8 @@ export interface UpdateSecurityHubConfigurationCommandOutput extends UpdateSecur
57
59
  * @throws {@link ResourceNotFoundException} (client fault)
58
60
  * <p>The request was rejected because we can't find the specified resource.</p>
59
61
  *
62
+ * @throws {@link SecurityHubServiceException}
63
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
60
64
  *
61
65
  * @example To update Security Hub settings
62
66
  * ```javascript
@@ -34,6 +34,8 @@ export interface UpdateStandardsControlCommandOutput extends UpdateStandardsCont
34
34
  * };
35
35
  * const command = new UpdateStandardsControlCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UpdateStandardsControlCommandInput - {@link UpdateStandardsControlCommandInput}
@@ -55,6 +57,8 @@ export interface UpdateStandardsControlCommandOutput extends UpdateStandardsCont
55
57
  * @throws {@link ResourceNotFoundException} (client fault)
56
58
  * <p>The request was rejected because we can't find the specified resource.</p>
57
59
  *
60
+ * @throws {@link SecurityHubServiceException}
61
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
58
62
  *
59
63
  * @example To update the enablement status of a standard control
60
64
  * ```javascript
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.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",