@aws-sdk/client-securityhub 3.454.0 → 3.459.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 (109) hide show
  1. package/README.md +163 -67
  2. package/dist-cjs/SecurityHub.js +24 -0
  3. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
  7. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +51 -0
  9. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
  10. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
  11. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
  12. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateSecurityControlCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -1
  17. package/dist-cjs/models/models_2.js +104 -1
  18. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +2 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +1283 -31
  22. package/dist-es/SecurityHub.js +24 -0
  23. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
  24. package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
  25. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
  26. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
  27. package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
  28. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +47 -0
  29. package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
  30. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
  31. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
  32. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
  33. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
  34. package/dist-es/commands/UpdateSecurityControlCommand.js +47 -0
  35. package/dist-es/commands/index.js +12 -0
  36. package/dist-es/models/models_0.js +9 -0
  37. package/dist-es/models/models_2.js +102 -0
  38. package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
  39. package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +1258 -31
  42. package/dist-types/SecurityHub.d.ts +84 -0
  43. package/dist-types/SecurityHubClient.d.ts +14 -2
  44. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
  45. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
  46. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +7 -0
  47. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
  48. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +45 -2
  49. package/dist-types/commands/BatchImportFindingsCommand.d.ts +13 -3
  50. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +7 -0
  51. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
  52. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +7 -0
  53. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
  54. package/dist-types/commands/CreateInsightCommand.d.ts +17 -0
  55. package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
  56. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
  57. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
  58. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  59. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
  60. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
  61. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  62. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
  63. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
  64. package/dist-types/commands/GetFindingsCommand.d.ts +30 -3
  65. package/dist-types/commands/GetInsightsCommand.d.ts +17 -0
  66. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +193 -0
  67. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
  68. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
  69. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +65 -0
  70. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
  71. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
  72. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
  73. package/dist-types/commands/UpdateFindingsCommand.d.ts +17 -0
  74. package/dist-types/commands/UpdateInsightCommand.d.ts +17 -0
  75. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
  76. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +141 -0
  77. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
  78. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
  79. package/dist-types/commands/index.d.ts +12 -0
  80. package/dist-types/models/models_0.d.ts +101 -193
  81. package/dist-types/models/models_1.d.ts +221 -86
  82. package/dist-types/models/models_2.d.ts +2377 -394
  83. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/index.d.ts +2 -0
  86. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  87. package/dist-types/ts3.4/SecurityHub.d.ts +234 -0
  88. package/dist-types/ts3.4/SecurityHubClient.d.ts +72 -0
  89. package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
  96. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +23 -26
  103. package/dist-types/ts3.4/models/models_1.d.ts +37 -15
  104. package/dist-types/ts3.4/models/models_2.d.ts +602 -17
  105. package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  108. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  109. package/package.json +3 -3
@@ -0,0 +1,110 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListConfigurationPolicyAssociationsRequest, ListConfigurationPolicyAssociationsResponse } from "../models/models_2";
5
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListConfigurationPolicyAssociationsCommand}.
14
+ */
15
+ export interface ListConfigurationPolicyAssociationsCommandInput extends ListConfigurationPolicyAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListConfigurationPolicyAssociationsCommand}.
21
+ */
22
+ export interface ListConfigurationPolicyAssociationsCommandOutput extends ListConfigurationPolicyAssociationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Provides information about the associations for your configuration policies and self-managed behavior. Only the
28
+ * Security Hub delegated administrator can invoke this operation from the home Region.
29
+ * </p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { SecurityHubClient, ListConfigurationPolicyAssociationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
34
+ * // const { SecurityHubClient, ListConfigurationPolicyAssociationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
35
+ * const client = new SecurityHubClient(config);
36
+ * const input = { // ListConfigurationPolicyAssociationsRequest
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * Filters: { // AssociationFilters
40
+ * ConfigurationPolicyId: "STRING_VALUE",
41
+ * AssociationType: "INHERITED" || "APPLIED",
42
+ * AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
43
+ * },
44
+ * };
45
+ * const command = new ListConfigurationPolicyAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListConfigurationPolicyAssociationsResponse
48
+ * // ConfigurationPolicyAssociationSummaries: [ // ConfigurationPolicyAssociationSummaryList
49
+ * // { // ConfigurationPolicyAssociationSummary
50
+ * // ConfigurationPolicyId: "STRING_VALUE",
51
+ * // TargetId: "STRING_VALUE",
52
+ * // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
53
+ * // AssociationType: "INHERITED" || "APPLIED",
54
+ * // UpdatedAt: new Date("TIMESTAMP"),
55
+ * // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
56
+ * // AssociationStatusMessage: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // NextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListConfigurationPolicyAssociationsCommandInput - {@link ListConfigurationPolicyAssociationsCommandInput}
65
+ * @returns {@link ListConfigurationPolicyAssociationsCommandOutput}
66
+ * @see {@link ListConfigurationPolicyAssociationsCommandInput} for command's `input` shape.
67
+ * @see {@link ListConfigurationPolicyAssociationsCommandOutput} for command's `response` shape.
68
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You don't have permission to perform the action specified in the request.</p>
72
+ *
73
+ * @throws {@link InternalException} (server fault)
74
+ * <p>Internal server error.</p>
75
+ *
76
+ * @throws {@link InvalidAccessException} (client fault)
77
+ * <p>The account doesn't have permission to perform this action.</p>
78
+ *
79
+ * @throws {@link InvalidInputException} (client fault)
80
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
81
+ * input parameter.</p>
82
+ *
83
+ * @throws {@link LimitExceededException} (client fault)
84
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
85
+ * account or throttling limits. The error code describes the limit exceeded.</p>
86
+ *
87
+ * @throws {@link SecurityHubServiceException}
88
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
89
+ *
90
+ */
91
+ export declare class ListConfigurationPolicyAssociationsCommand extends $Command<ListConfigurationPolicyAssociationsCommandInput, ListConfigurationPolicyAssociationsCommandOutput, SecurityHubClientResolvedConfig> {
92
+ readonly input: ListConfigurationPolicyAssociationsCommandInput;
93
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
+ /**
95
+ * @public
96
+ */
97
+ constructor(input: ListConfigurationPolicyAssociationsCommandInput);
98
+ /**
99
+ * @internal
100
+ */
101
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListConfigurationPolicyAssociationsCommandInput, ListConfigurationPolicyAssociationsCommandOutput>;
102
+ /**
103
+ * @internal
104
+ */
105
+ private serialize;
106
+ /**
107
+ * @internal
108
+ */
109
+ private deserialize;
110
+ }
@@ -48,6 +48,65 @@ export interface ListSecurityControlDefinitionsCommandOutput extends ListSecurit
48
48
  * // RemediationUrl: "STRING_VALUE", // required
49
49
  * // SeverityRating: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL", // required
50
50
  * // CurrentRegionAvailability: "AVAILABLE" || "UNAVAILABLE", // required
51
+ * // CustomizableProperties: [ // CustomizableProperties
52
+ * // "Parameters",
53
+ * // ],
54
+ * // ParameterDefinitions: { // ParameterDefinitions
55
+ * // "<keys>": { // ParameterDefinition
56
+ * // Description: "STRING_VALUE", // required
57
+ * // ConfigurationOptions: { // ConfigurationOptions Union: only one key present
58
+ * // Integer: { // IntegerConfigurationOptions
59
+ * // DefaultValue: Number("int"),
60
+ * // Min: Number("int"),
61
+ * // Max: Number("int"),
62
+ * // },
63
+ * // IntegerList: { // IntegerListConfigurationOptions
64
+ * // DefaultValue: [ // IntegerList
65
+ * // Number("int"),
66
+ * // ],
67
+ * // Min: Number("int"),
68
+ * // Max: Number("int"),
69
+ * // MaxItems: Number("int"),
70
+ * // },
71
+ * // Double: { // DoubleConfigurationOptions
72
+ * // DefaultValue: Number("double"),
73
+ * // Min: Number("double"),
74
+ * // Max: Number("double"),
75
+ * // },
76
+ * // String: { // StringConfigurationOptions
77
+ * // DefaultValue: "STRING_VALUE",
78
+ * // Re2Expression: "STRING_VALUE",
79
+ * // ExpressionDescription: "STRING_VALUE",
80
+ * // },
81
+ * // StringList: { // StringListConfigurationOptions
82
+ * // DefaultValue: [ // StringList
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // Re2Expression: "STRING_VALUE",
86
+ * // MaxItems: Number("int"),
87
+ * // ExpressionDescription: "STRING_VALUE",
88
+ * // },
89
+ * // Boolean: { // BooleanConfigurationOptions
90
+ * // DefaultValue: true || false,
91
+ * // },
92
+ * // Enum: { // EnumConfigurationOptions
93
+ * // DefaultValue: "STRING_VALUE",
94
+ * // AllowedValues: [
95
+ * // "STRING_VALUE",
96
+ * // ],
97
+ * // },
98
+ * // EnumList: { // EnumListConfigurationOptions
99
+ * // DefaultValue: [
100
+ * // "STRING_VALUE",
101
+ * // ],
102
+ * // MaxItems: Number("int"),
103
+ * // AllowedValues: [
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // },
107
+ * // },
108
+ * // },
109
+ * // },
51
110
  * // },
52
111
  * // ],
53
112
  * // NextToken: "STRING_VALUE",
@@ -94,6 +153,9 @@ export interface ListSecurityControlDefinitionsCommandOutput extends ListSecurit
94
153
  * "SecurityControlDefinitions": [
95
154
  * {
96
155
  * "CurrentRegionAvailability": "AVAILABLE",
156
+ * "CustomizableProperties": [
157
+ * "Parameters"
158
+ * ],
97
159
  * "Description": "This AWS control checks whether ACM Certificates in your account are marked for expiration within a specified time period. Certificates provided by ACM are automatically renewed. ACM does not automatically renew certificates that you import.",
98
160
  * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
99
161
  * "SecurityControlId": "ACM.1",
@@ -102,6 +164,9 @@ export interface ListSecurityControlDefinitionsCommandOutput extends ListSecurit
102
164
  * },
103
165
  * {
104
166
  * "CurrentRegionAvailability": "AVAILABLE",
167
+ * "CustomizableProperties": [
168
+ * "Parameters"
169
+ * ],
105
170
  * "Description": "This control checks whether all stages of Amazon API Gateway REST and WebSocket APIs have logging enabled. The control fails if logging is not enabled for all methods of a stage or if loggingLevel is neither ERROR nor INFO.",
106
171
  * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
107
172
  * "SecurityControlId": "APIGateway.1",
@@ -0,0 +1,108 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { StartConfigurationPolicyAssociationRequest, StartConfigurationPolicyAssociationResponse } from "../models/models_2";
5
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartConfigurationPolicyAssociationCommand}.
14
+ */
15
+ export interface StartConfigurationPolicyAssociationCommandInput extends StartConfigurationPolicyAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartConfigurationPolicyAssociationCommand}.
21
+ */
22
+ export interface StartConfigurationPolicyAssociationCommandOutput extends StartConfigurationPolicyAssociationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Associates a target account, organizational unit, or the root with a specified configuration. The target can be
28
+ * associated with a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can
29
+ * invoke this operation from the home Region.
30
+ * </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityHubClient, StartConfigurationPolicyAssociationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, StartConfigurationPolicyAssociationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // StartConfigurationPolicyAssociationRequest
38
+ * ConfigurationPolicyIdentifier: "STRING_VALUE", // required
39
+ * Target: { // Target Union: only one key present
40
+ * AccountId: "STRING_VALUE",
41
+ * OrganizationalUnitId: "STRING_VALUE",
42
+ * RootId: "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new StartConfigurationPolicyAssociationCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartConfigurationPolicyAssociationResponse
48
+ * // ConfigurationPolicyId: "STRING_VALUE",
49
+ * // TargetId: "STRING_VALUE",
50
+ * // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
51
+ * // AssociationType: "INHERITED" || "APPLIED",
52
+ * // UpdatedAt: new Date("TIMESTAMP"),
53
+ * // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
54
+ * // AssociationStatusMessage: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param StartConfigurationPolicyAssociationCommandInput - {@link StartConfigurationPolicyAssociationCommandInput}
60
+ * @returns {@link StartConfigurationPolicyAssociationCommandOutput}
61
+ * @see {@link StartConfigurationPolicyAssociationCommandInput} for command's `input` shape.
62
+ * @see {@link StartConfigurationPolicyAssociationCommandOutput} for command's `response` shape.
63
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have permission to perform the action specified in the request.</p>
67
+ *
68
+ * @throws {@link InternalException} (server fault)
69
+ * <p>Internal server error.</p>
70
+ *
71
+ * @throws {@link InvalidAccessException} (client fault)
72
+ * <p>The account doesn't have permission to perform this action.</p>
73
+ *
74
+ * @throws {@link InvalidInputException} (client fault)
75
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
76
+ * input parameter.</p>
77
+ *
78
+ * @throws {@link LimitExceededException} (client fault)
79
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
80
+ * account or throttling limits. The error code describes the limit exceeded.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The request was rejected because we can't find the specified resource.</p>
84
+ *
85
+ * @throws {@link SecurityHubServiceException}
86
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
87
+ *
88
+ */
89
+ export declare class StartConfigurationPolicyAssociationCommand extends $Command<StartConfigurationPolicyAssociationCommandInput, StartConfigurationPolicyAssociationCommandOutput, SecurityHubClientResolvedConfig> {
90
+ readonly input: StartConfigurationPolicyAssociationCommandInput;
91
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
+ /**
93
+ * @public
94
+ */
95
+ constructor(input: StartConfigurationPolicyAssociationCommandInput);
96
+ /**
97
+ * @internal
98
+ */
99
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartConfigurationPolicyAssociationCommandInput, StartConfigurationPolicyAssociationCommandOutput>;
100
+ /**
101
+ * @internal
102
+ */
103
+ private serialize;
104
+ /**
105
+ * @internal
106
+ */
107
+ private deserialize;
108
+ }
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { StartConfigurationPolicyDisassociationRequest, StartConfigurationPolicyDisassociationResponse } from "../models/models_2";
5
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartConfigurationPolicyDisassociationCommand}.
14
+ */
15
+ export interface StartConfigurationPolicyDisassociationCommandInput extends StartConfigurationPolicyDisassociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartConfigurationPolicyDisassociationCommand}.
21
+ */
22
+ export interface StartConfigurationPolicyDisassociationCommandOutput extends StartConfigurationPolicyDisassociationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Disassociates a target account, organizational unit, or the root from a specified configuration. When you
28
+ * disassociate a configuration from its target, the target inherits the configuration of the closest parent. If there’s no
29
+ * configuration to inherit, the target retains its settings but becomes a self-managed account. A target can be disassociated from
30
+ * a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this
31
+ * operation from the home Region.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityHubClient, StartConfigurationPolicyDisassociationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
37
+ * // const { SecurityHubClient, StartConfigurationPolicyDisassociationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
38
+ * const client = new SecurityHubClient(config);
39
+ * const input = { // StartConfigurationPolicyDisassociationRequest
40
+ * Target: { // Target Union: only one key present
41
+ * AccountId: "STRING_VALUE",
42
+ * OrganizationalUnitId: "STRING_VALUE",
43
+ * RootId: "STRING_VALUE",
44
+ * },
45
+ * ConfigurationPolicyIdentifier: "STRING_VALUE", // required
46
+ * };
47
+ * const command = new StartConfigurationPolicyDisassociationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param StartConfigurationPolicyDisassociationCommandInput - {@link StartConfigurationPolicyDisassociationCommandInput}
54
+ * @returns {@link StartConfigurationPolicyDisassociationCommandOutput}
55
+ * @see {@link StartConfigurationPolicyDisassociationCommandInput} for command's `input` shape.
56
+ * @see {@link StartConfigurationPolicyDisassociationCommandOutput} for command's `response` shape.
57
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You don't have permission to perform the action specified in the request.</p>
61
+ *
62
+ * @throws {@link InternalException} (server fault)
63
+ * <p>Internal server error.</p>
64
+ *
65
+ * @throws {@link InvalidAccessException} (client fault)
66
+ * <p>The account doesn't have permission to perform this action.</p>
67
+ *
68
+ * @throws {@link InvalidInputException} (client fault)
69
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
70
+ * input parameter.</p>
71
+ *
72
+ * @throws {@link LimitExceededException} (client fault)
73
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
74
+ * account or throttling limits. The error code describes the limit exceeded.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The request was rejected because we can't find the specified resource.</p>
78
+ *
79
+ * @throws {@link SecurityHubServiceException}
80
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
81
+ *
82
+ */
83
+ export declare class StartConfigurationPolicyDisassociationCommand extends $Command<StartConfigurationPolicyDisassociationCommandInput, StartConfigurationPolicyDisassociationCommandOutput, SecurityHubClientResolvedConfig> {
84
+ readonly input: StartConfigurationPolicyDisassociationCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: StartConfigurationPolicyDisassociationCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartConfigurationPolicyDisassociationCommandInput, StartConfigurationPolicyDisassociationCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,191 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateConfigurationPolicyRequest, UpdateConfigurationPolicyResponse } from "../models/models_2";
5
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateConfigurationPolicyCommand}.
14
+ */
15
+ export interface UpdateConfigurationPolicyCommandInput extends UpdateConfigurationPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateConfigurationPolicyCommand}.
21
+ */
22
+ export interface UpdateConfigurationPolicyCommandOutput extends UpdateConfigurationPolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Updates a configuration policy. Only the Security Hub delegated
28
+ * administrator can invoke this operation from the home Region.
29
+ * </p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { SecurityHubClient, UpdateConfigurationPolicyCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
34
+ * // const { SecurityHubClient, UpdateConfigurationPolicyCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
35
+ * const client = new SecurityHubClient(config);
36
+ * const input = { // UpdateConfigurationPolicyRequest
37
+ * Identifier: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE",
39
+ * Description: "STRING_VALUE",
40
+ * UpdatedReason: "STRING_VALUE",
41
+ * ConfigurationPolicy: { // Policy Union: only one key present
42
+ * SecurityHub: { // SecurityHubPolicy
43
+ * ServiceEnabled: true || false,
44
+ * EnabledStandardIdentifiers: [ // EnabledStandardIdentifierList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * SecurityControlsConfiguration: { // SecurityControlsConfiguration
48
+ * EnabledSecurityControlIdentifiers: [ // EnabledSecurityControlIdentifierList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * DisabledSecurityControlIdentifiers: [ // DisabledSecurityControlIdentifierList
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * SecurityControlCustomParameters: [ // SecurityControlCustomParametersList
55
+ * { // SecurityControlCustomParameter
56
+ * SecurityControlId: "STRING_VALUE",
57
+ * Parameters: { // Parameters
58
+ * "<keys>": { // ParameterConfiguration
59
+ * ValueType: "DEFAULT" || "CUSTOM", // required
60
+ * Value: { // ParameterValue Union: only one key present
61
+ * Integer: Number("int"),
62
+ * IntegerList: [ // IntegerList
63
+ * Number("int"),
64
+ * ],
65
+ * Double: Number("double"),
66
+ * String: "STRING_VALUE",
67
+ * StringList: [ // StringList
68
+ * "STRING_VALUE",
69
+ * ],
70
+ * Boolean: true || false,
71
+ * Enum: "STRING_VALUE",
72
+ * EnumList: [
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * },
76
+ * },
77
+ * },
78
+ * },
79
+ * ],
80
+ * },
81
+ * },
82
+ * },
83
+ * };
84
+ * const command = new UpdateConfigurationPolicyCommand(input);
85
+ * const response = await client.send(command);
86
+ * // { // UpdateConfigurationPolicyResponse
87
+ * // Arn: "STRING_VALUE",
88
+ * // Id: "STRING_VALUE",
89
+ * // Name: "STRING_VALUE",
90
+ * // Description: "STRING_VALUE",
91
+ * // UpdatedAt: new Date("TIMESTAMP"),
92
+ * // CreatedAt: new Date("TIMESTAMP"),
93
+ * // ConfigurationPolicy: { // Policy Union: only one key present
94
+ * // SecurityHub: { // SecurityHubPolicy
95
+ * // ServiceEnabled: true || false,
96
+ * // EnabledStandardIdentifiers: [ // EnabledStandardIdentifierList
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // SecurityControlsConfiguration: { // SecurityControlsConfiguration
100
+ * // EnabledSecurityControlIdentifiers: [ // EnabledSecurityControlIdentifierList
101
+ * // "STRING_VALUE",
102
+ * // ],
103
+ * // DisabledSecurityControlIdentifiers: [ // DisabledSecurityControlIdentifierList
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // SecurityControlCustomParameters: [ // SecurityControlCustomParametersList
107
+ * // { // SecurityControlCustomParameter
108
+ * // SecurityControlId: "STRING_VALUE",
109
+ * // Parameters: { // Parameters
110
+ * // "<keys>": { // ParameterConfiguration
111
+ * // ValueType: "DEFAULT" || "CUSTOM", // required
112
+ * // Value: { // ParameterValue Union: only one key present
113
+ * // Integer: Number("int"),
114
+ * // IntegerList: [ // IntegerList
115
+ * // Number("int"),
116
+ * // ],
117
+ * // Double: Number("double"),
118
+ * // String: "STRING_VALUE",
119
+ * // StringList: [ // StringList
120
+ * // "STRING_VALUE",
121
+ * // ],
122
+ * // Boolean: true || false,
123
+ * // Enum: "STRING_VALUE",
124
+ * // EnumList: [
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // },
128
+ * // },
129
+ * // },
130
+ * // },
131
+ * // ],
132
+ * // },
133
+ * // },
134
+ * // },
135
+ * // };
136
+ *
137
+ * ```
138
+ *
139
+ * @param UpdateConfigurationPolicyCommandInput - {@link UpdateConfigurationPolicyCommandInput}
140
+ * @returns {@link UpdateConfigurationPolicyCommandOutput}
141
+ * @see {@link UpdateConfigurationPolicyCommandInput} for command's `input` shape.
142
+ * @see {@link UpdateConfigurationPolicyCommandOutput} for command's `response` shape.
143
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
144
+ *
145
+ * @throws {@link AccessDeniedException} (client fault)
146
+ * <p>You don't have permission to perform the action specified in the request.</p>
147
+ *
148
+ * @throws {@link InternalException} (server fault)
149
+ * <p>Internal server error.</p>
150
+ *
151
+ * @throws {@link InvalidAccessException} (client fault)
152
+ * <p>The account doesn't have permission to perform this action.</p>
153
+ *
154
+ * @throws {@link InvalidInputException} (client fault)
155
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
156
+ * input parameter.</p>
157
+ *
158
+ * @throws {@link LimitExceededException} (client fault)
159
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
160
+ * account or throttling limits. The error code describes the limit exceeded.</p>
161
+ *
162
+ * @throws {@link ResourceConflictException} (client fault)
163
+ * <p>The resource specified in the request conflicts with an existing resource.</p>
164
+ *
165
+ * @throws {@link ResourceNotFoundException} (client fault)
166
+ * <p>The request was rejected because we can't find the specified resource.</p>
167
+ *
168
+ * @throws {@link SecurityHubServiceException}
169
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
170
+ *
171
+ */
172
+ export declare class UpdateConfigurationPolicyCommand extends $Command<UpdateConfigurationPolicyCommandInput, UpdateConfigurationPolicyCommandOutput, SecurityHubClientResolvedConfig> {
173
+ readonly input: UpdateConfigurationPolicyCommandInput;
174
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
175
+ /**
176
+ * @public
177
+ */
178
+ constructor(input: UpdateConfigurationPolicyCommandInput);
179
+ /**
180
+ * @internal
181
+ */
182
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateConfigurationPolicyCommandInput, UpdateConfigurationPolicyCommandOutput>;
183
+ /**
184
+ * @internal
185
+ */
186
+ private serialize;
187
+ /**
188
+ * @internal
189
+ */
190
+ private deserialize;
191
+ }
@@ -112,6 +112,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
112
112
  * { // NumberFilter
113
113
  * Gte: Number("double"),
114
114
  * Lte: Number("double"),
115
+ * Gt: Number("double"),
116
+ * Lt: Number("double"),
115
117
  * Eq: Number("double"),
116
118
  * },
117
119
  * ],
@@ -119,6 +121,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
119
121
  * {
120
122
  * Gte: Number("double"),
121
123
  * Lte: Number("double"),
124
+ * Gt: Number("double"),
125
+ * Lt: Number("double"),
122
126
  * Eq: Number("double"),
123
127
  * },
124
128
  * ],
@@ -127,6 +131,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
127
131
  * {
128
132
  * Gte: Number("double"),
129
133
  * Lte: Number("double"),
134
+ * Gt: Number("double"),
135
+ * Lt: Number("double"),
130
136
  * Eq: Number("double"),
131
137
  * },
132
138
  * ],
@@ -134,6 +140,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
134
140
  * {
135
141
  * Gte: Number("double"),
136
142
  * Lte: Number("double"),
143
+ * Gt: Number("double"),
144
+ * Lt: Number("double"),
137
145
  * Eq: Number("double"),
138
146
  * },
139
147
  * ],
@@ -177,6 +185,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
177
185
  * {
178
186
  * Gte: Number("double"),
179
187
  * Lte: Number("double"),
188
+ * Gt: Number("double"),
189
+ * Lt: Number("double"),
180
190
  * Eq: Number("double"),
181
191
  * },
182
192
  * ],
@@ -286,6 +296,13 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
286
296
  * ],
287
297
  * ComplianceSecurityControlId: "<StringFilterList>",
288
298
  * ComplianceAssociatedStandardsId: "<StringFilterList>",
299
+ * VulnerabilitiesExploitAvailable: "<StringFilterList>",
300
+ * VulnerabilitiesFixAvailable: "<StringFilterList>",
301
+ * ComplianceSecurityControlParametersName: "<StringFilterList>",
302
+ * ComplianceSecurityControlParametersValue: "<StringFilterList>",
303
+ * AwsAccountName: "<StringFilterList>",
304
+ * ResourceApplicationName: "<StringFilterList>",
305
+ * ResourceApplicationArn: "<StringFilterList>",
289
306
  * },
290
307
  * Note: { // NoteUpdate
291
308
  * Text: "STRING_VALUE", // required