@aws-sdk/client-securityhub 3.288.0 → 3.290.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 +18 -0
  2. package/dist-types/commands/AcceptInvitationCommand.d.ts +18 -0
  3. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +15 -0
  4. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +15 -0
  5. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +15 -0
  6. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +15 -0
  7. package/dist-types/commands/BatchImportFindingsCommand.d.ts +15 -0
  8. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +15 -0
  9. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +15 -0
  10. package/dist-types/commands/CreateActionTargetCommand.d.ts +18 -0
  11. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +18 -0
  12. package/dist-types/commands/CreateInsightCommand.d.ts +18 -0
  13. package/dist-types/commands/CreateMembersCommand.d.ts +18 -0
  14. package/dist-types/commands/DeclineInvitationsCommand.d.ts +14 -0
  15. package/dist-types/commands/DeleteActionTargetCommand.d.ts +14 -0
  16. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +21 -0
  17. package/dist-types/commands/DeleteInsightCommand.d.ts +18 -0
  18. package/dist-types/commands/DeleteInvitationsCommand.d.ts +18 -0
  19. package/dist-types/commands/DeleteMembersCommand.d.ts +18 -0
  20. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +14 -0
  21. package/dist-types/commands/DescribeHubCommand.d.ts +18 -0
  22. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +15 -0
  23. package/dist-types/commands/DescribeProductsCommand.d.ts +15 -0
  24. package/dist-types/commands/DescribeStandardsCommand.d.ts +11 -0
  25. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +14 -0
  26. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +18 -0
  27. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +15 -0
  28. package/dist-types/commands/DisableSecurityHubCommand.d.ts +14 -0
  29. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +18 -0
  30. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +18 -0
  31. package/dist-types/commands/DisassociateMembersCommand.d.ts +18 -0
  32. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +18 -0
  33. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +15 -0
  34. package/dist-types/commands/EnableSecurityHubCommand.d.ts +17 -0
  35. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +18 -0
  36. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +15 -0
  37. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +21 -0
  38. package/dist-types/commands/GetFindingsCommand.d.ts +15 -0
  39. package/dist-types/commands/GetInsightResultsCommand.d.ts +18 -0
  40. package/dist-types/commands/GetInsightsCommand.d.ts +18 -0
  41. package/dist-types/commands/GetInvitationsCountCommand.d.ts +15 -0
  42. package/dist-types/commands/GetMasterAccountCommand.d.ts +18 -0
  43. package/dist-types/commands/GetMembersCommand.d.ts +18 -0
  44. package/dist-types/commands/InviteMembersCommand.d.ts +18 -0
  45. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +11 -0
  46. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +18 -0
  47. package/dist-types/commands/ListInvitationsCommand.d.ts +15 -0
  48. package/dist-types/commands/ListMembersCommand.d.ts +15 -0
  49. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +15 -0
  50. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +15 -0
  51. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +15 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  53. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  55. package/dist-types/commands/UpdateActionTargetCommand.d.ts +14 -0
  56. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +21 -0
  57. package/dist-types/commands/UpdateFindingsCommand.d.ts +18 -0
  58. package/dist-types/commands/UpdateInsightCommand.d.ts +18 -0
  59. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +15 -0
  60. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +18 -0
  61. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +14 -0
  62. package/package.json +29 -29
@@ -29,6 +29,17 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalException} (server fault)
33
+ * <p>Internal server error.</p>
34
+ *
35
+ * @throws {@link InvalidInputException} (client fault)
36
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
37
+ * input parameter.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The request was rejected because we can't find the specified resource.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SecurityHubClientResolvedConfig> {
34
45
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,17 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalException} (server fault)
33
+ * <p>Internal server error.</p>
34
+ *
35
+ * @throws {@link InvalidInputException} (client fault)
36
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
37
+ * input parameter.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The request was rejected because we can't find the specified resource.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityHubClientResolvedConfig> {
34
45
  readonly input: UntagResourceCommandInput;
@@ -29,6 +29,20 @@ export interface UpdateActionTargetCommandOutput extends UpdateActionTargetRespo
29
29
  * @see {@link UpdateActionTargetCommandOutput} for command's `response` shape.
30
30
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalException} (server fault)
33
+ * <p>Internal server error.</p>
34
+ *
35
+ * @throws {@link InvalidAccessException} (client fault)
36
+ * <p>The account doesn't have permission to perform this action.</p>
37
+ *
38
+ * @throws {@link InvalidInputException} (client fault)
39
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
40
+ * input parameter.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>The request was rejected because we can't find the specified resource.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class UpdateActionTargetCommand extends $Command<UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput, SecurityHubClientResolvedConfig> {
34
48
  readonly input: UpdateActionTargetCommandInput;
@@ -31,6 +31,27 @@ export interface UpdateFindingAggregatorCommandOutput extends UpdateFindingAggre
31
31
  * @see {@link UpdateFindingAggregatorCommandOutput} for command's `response` shape.
32
32
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You don't have permission to perform the action specified in the request.</p>
36
+ *
37
+ * @throws {@link InternalException} (server fault)
38
+ * <p>Internal server error.</p>
39
+ *
40
+ * @throws {@link InvalidAccessException} (client fault)
41
+ * <p>The account doesn't have permission to perform this action.</p>
42
+ *
43
+ * @throws {@link InvalidInputException} (client fault)
44
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
45
+ * input parameter.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
49
+ * account or throttling limits. The error code describes the limit exceeded.</p>
50
+ *
51
+ * @throws {@link ResourceNotFoundException} (client fault)
52
+ * <p>The request was rejected because we can't find the specified resource.</p>
53
+ *
54
+ *
34
55
  */
35
56
  export declare class UpdateFindingAggregatorCommand extends $Command<UpdateFindingAggregatorCommandInput, UpdateFindingAggregatorCommandOutput, SecurityHubClientResolvedConfig> {
36
57
  readonly input: UpdateFindingAggregatorCommandInput;
@@ -34,6 +34,24 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
34
34
  * @see {@link UpdateFindingsCommandOutput} for command's `response` shape.
35
35
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
36
36
  *
37
+ * @throws {@link InternalException} (server fault)
38
+ * <p>Internal server error.</p>
39
+ *
40
+ * @throws {@link InvalidAccessException} (client fault)
41
+ * <p>The account doesn't have permission to perform this action.</p>
42
+ *
43
+ * @throws {@link InvalidInputException} (client fault)
44
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
45
+ * input parameter.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
49
+ * account or throttling limits. The error code describes the limit exceeded.</p>
50
+ *
51
+ * @throws {@link ResourceNotFoundException} (client fault)
52
+ * <p>The request was rejected because we can't find the specified resource.</p>
53
+ *
54
+ *
37
55
  */
38
56
  export declare class UpdateFindingsCommand extends $Command<UpdateFindingsCommandInput, UpdateFindingsCommandOutput, SecurityHubClientResolvedConfig> {
39
57
  readonly input: UpdateFindingsCommandInput;
@@ -29,6 +29,24 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
29
29
  * @see {@link UpdateInsightCommandOutput} for command's `response` shape.
30
30
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalException} (server fault)
33
+ * <p>Internal server error.</p>
34
+ *
35
+ * @throws {@link InvalidAccessException} (client fault)
36
+ * <p>The account doesn't have permission to perform this action.</p>
37
+ *
38
+ * @throws {@link InvalidInputException} (client fault)
39
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
40
+ * input parameter.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
44
+ * account or throttling limits. The error code describes the limit exceeded.</p>
45
+ *
46
+ * @throws {@link ResourceNotFoundException} (client fault)
47
+ * <p>The request was rejected because we can't find the specified resource.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class UpdateInsightCommand extends $Command<UpdateInsightCommandInput, UpdateInsightCommandOutput, SecurityHubClientResolvedConfig> {
34
52
  readonly input: UpdateInsightCommandInput;
@@ -30,6 +30,21 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
30
30
  * @see {@link UpdateOrganizationConfigurationCommandOutput} for command's `response` shape.
31
31
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalException} (server fault)
34
+ * <p>Internal server error.</p>
35
+ *
36
+ * @throws {@link InvalidAccessException} (client fault)
37
+ * <p>The account doesn't have permission to perform this action.</p>
38
+ *
39
+ * @throws {@link InvalidInputException} (client fault)
40
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
41
+ * input parameter.</p>
42
+ *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
45
+ * account or throttling limits. The error code describes the limit exceeded.</p>
46
+ *
47
+ *
33
48
  */
34
49
  export declare class UpdateOrganizationConfigurationCommand extends $Command<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput, SecurityHubClientResolvedConfig> {
35
50
  readonly input: UpdateOrganizationConfigurationCommandInput;
@@ -29,6 +29,24 @@ export interface UpdateSecurityHubConfigurationCommandOutput extends UpdateSecur
29
29
  * @see {@link UpdateSecurityHubConfigurationCommandOutput} for command's `response` shape.
30
30
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalException} (server fault)
33
+ * <p>Internal server error.</p>
34
+ *
35
+ * @throws {@link InvalidAccessException} (client fault)
36
+ * <p>The account doesn't have permission to perform this action.</p>
37
+ *
38
+ * @throws {@link InvalidInputException} (client fault)
39
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
40
+ * input parameter.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
44
+ * account or throttling limits. The error code describes the limit exceeded.</p>
45
+ *
46
+ * @throws {@link ResourceNotFoundException} (client fault)
47
+ * <p>The request was rejected because we can't find the specified resource.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class UpdateSecurityHubConfigurationCommand extends $Command<UpdateSecurityHubConfigurationCommandInput, UpdateSecurityHubConfigurationCommandOutput, SecurityHubClientResolvedConfig> {
34
52
  readonly input: UpdateSecurityHubConfigurationCommandInput;
@@ -30,6 +30,20 @@ export interface UpdateStandardsControlCommandOutput extends UpdateStandardsCont
30
30
  * @see {@link UpdateStandardsControlCommandOutput} for command's `response` shape.
31
31
  * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalException} (server fault)
34
+ * <p>Internal server error.</p>
35
+ *
36
+ * @throws {@link InvalidAccessException} (client fault)
37
+ * <p>The account doesn't have permission to perform this action.</p>
38
+ *
39
+ * @throws {@link InvalidInputException} (client fault)
40
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
41
+ * input parameter.</p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>The request was rejected because we can't find the specified resource.</p>
45
+ *
46
+ *
33
47
  */
34
48
  export declare class UpdateStandardsControlCommand extends $Command<UpdateStandardsControlCommandInput, UpdateStandardsControlCommandOutput, SecurityHubClientResolvedConfig> {
35
49
  readonly input: UpdateStandardsControlCommandInput;
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.288.0",
4
+ "version": "3.290.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",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },