@aws-sdk/client-securityhub 3.774.0 → 3.777.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 (86) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/SecurityHubClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +8 -5
  8. package/dist-types/commands/AcceptInvitationCommand.d.ts +1 -0
  9. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +9 -9
  10. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +9 -9
  11. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -10
  12. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +49 -49
  13. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +22 -22
  14. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +33 -33
  15. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +1 -50
  16. package/dist-types/commands/BatchImportFindingsCommand.d.ts +26 -26
  17. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +10 -10
  18. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +30 -30
  19. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +20 -20
  20. package/dist-types/commands/CreateActionTargetCommand.d.ts +7 -7
  21. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +35 -35
  22. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +37 -37
  23. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +9 -9
  24. package/dist-types/commands/CreateInsightCommand.d.ts +13 -13
  25. package/dist-types/commands/CreateMembersCommand.d.ts +7 -7
  26. package/dist-types/commands/DeclineInvitationsCommand.d.ts +5 -5
  27. package/dist-types/commands/DeleteActionTargetCommand.d.ts +5 -5
  28. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +7 -4
  29. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +7 -4
  30. package/dist-types/commands/DeleteInsightCommand.d.ts +5 -5
  31. package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -5
  32. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -5
  33. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +8 -8
  34. package/dist-types/commands/DescribeHubCommand.d.ts +8 -8
  35. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +10 -10
  36. package/dist-types/commands/DescribeProductsCommand.d.ts +17 -17
  37. package/dist-types/commands/DescribeStandardsCommand.d.ts +21 -21
  38. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +1 -46
  39. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +7 -4
  40. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +7 -4
  41. package/dist-types/commands/DisableSecurityHubCommand.d.ts +7 -4
  42. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +7 -4
  43. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  44. package/dist-types/commands/DisassociateMembersCommand.d.ts +7 -4
  45. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +5 -5
  46. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -4
  47. package/dist-types/commands/EnableSecurityHubCommand.d.ts +9 -6
  48. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -19
  49. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +12 -12
  50. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +23 -23
  51. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +9 -9
  52. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +8 -8
  53. package/dist-types/commands/GetFindingHistoryCommand.d.ts +1 -42
  54. package/dist-types/commands/GetFindingsCommand.d.ts +63 -63
  55. package/dist-types/commands/GetInsightResultsCommand.d.ts +12 -12
  56. package/dist-types/commands/GetInsightsCommand.d.ts +15 -15
  57. package/dist-types/commands/GetInvitationsCountCommand.d.ts +7 -7
  58. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  59. package/dist-types/commands/GetMembersCommand.d.ts +1 -37
  60. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +19 -19
  61. package/dist-types/commands/InviteMembersCommand.d.ts +5 -5
  62. package/dist-types/commands/ListAutomationRulesCommand.d.ts +23 -23
  63. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +13 -13
  64. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +15 -15
  65. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +5 -5
  66. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -6
  67. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -21
  68. package/dist-types/commands/ListMembersCommand.d.ts +1 -31
  69. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +7 -7
  70. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +28 -28
  71. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -44
  72. package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
  73. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +13 -13
  74. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +9 -6
  75. package/dist-types/commands/TagResourceCommand.d.ts +10 -7
  76. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  77. package/dist-types/commands/UpdateActionTargetCommand.d.ts +9 -6
  78. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +39 -39
  79. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +10 -10
  80. package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -0
  81. package/dist-types/commands/UpdateInsightCommand.d.ts +15 -12
  82. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -7
  83. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +13 -10
  84. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +8 -5
  85. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +9 -6
  86. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultSecurityHubHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultSecurityHubHttpAuthSchemeProvider = defaultSecurityHubHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -196,12 +196,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
196
196
 
197
197
  // src/endpoint/EndpointParameters.ts
198
198
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
199
- return {
200
- ...options,
199
+ return Object.assign(options, {
201
200
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
202
201
  useFipsEndpoint: options.useFipsEndpoint ?? false,
203
202
  defaultSigningName: "securityhub"
204
- };
203
+ });
205
204
  }, "resolveClientEndpointParameters");
206
205
  var commonParams = {
207
206
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -258,22 +257,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
258
257
  }, "resolveHttpAuthRuntimeConfig");
259
258
 
260
259
  // src/runtimeExtensions.ts
261
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
262
260
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
263
- const extensionConfiguration = {
264
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
265
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
266
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
267
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
268
- };
261
+ const extensionConfiguration = Object.assign(
262
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
263
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
264
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
265
+ getHttpAuthExtensionConfiguration(runtimeConfig)
266
+ );
269
267
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
270
- return {
271
- ...runtimeConfig,
272
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
273
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
274
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
275
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
276
- };
268
+ return Object.assign(
269
+ runtimeConfig,
270
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
271
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
272
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
273
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
274
+ );
277
275
  }, "resolveRuntimeExtensions");
278
276
 
279
277
  // src/SecurityHubClient.ts
@@ -287,6 +285,8 @@ var SecurityHubClient = class extends import_smithy_client.Client {
287
285
  config;
288
286
  constructor(...[configuration]) {
289
287
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
288
+ super(_config_0);
289
+ this.initConfig = _config_0;
290
290
  const _config_1 = resolveClientEndpointParameters(_config_0);
291
291
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
292
292
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -295,7 +295,6 @@ var SecurityHubClient = class extends import_smithy_client.Client {
295
295
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
296
296
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
297
297
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
298
- super(_config_8);
299
298
  this.config = _config_8;
300
299
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
301
300
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class SecurityHubClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class SecurityHubClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultSecurityHubHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "securityhub",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -80,19 +80,22 @@ declare const AcceptAdministratorInvitationCommand_base: {
80
80
  * @throws {@link SecurityHubServiceException}
81
81
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example To accept an invitation be a member account
85
85
  * ```javascript
86
86
  * // The following example demonstrates how an account can accept an invitation from the Security Hub administrator account to be a member account. This operation is applicable only to member accounts that are not added through AWS Organizations.
87
87
  * const input = {
88
- * "AdministratorId": "123456789012",
89
- * "InvitationId": "7ab938c5d52d7904ad09f9e7c20cc4eb"
88
+ * AdministratorId: "123456789012",
89
+ * InvitationId: "7ab938c5d52d7904ad09f9e7c20cc4eb"
90
90
  * };
91
91
  * const command = new AcceptAdministratorInvitationCommand(input);
92
- * await client.send(command);
93
- * // example id: to-accept-an-invitation-be-a-member-account-1674849870467
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * { /* metadata only *\/ }
95
+ * *\/
94
96
  * ```
95
97
  *
98
+ * @public
96
99
  */
97
100
  export declare class AcceptAdministratorInvitationCommand extends AcceptAdministratorInvitationCommand_base {
98
101
  /** @internal type navigation helper, not in runtime. */
@@ -79,6 +79,7 @@ declare const AcceptInvitationCommand_base: {
79
79
  * @throws {@link SecurityHubServiceException}
80
80
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class AcceptInvitationCommand extends AcceptInvitationCommand_base {
@@ -84,35 +84,35 @@ declare const BatchDeleteAutomationRulesCommand_base: {
84
84
  * @throws {@link SecurityHubServiceException}
85
85
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
86
86
  *
87
- * @public
87
+ *
88
88
  * @example To delete one or more automation rules
89
89
  * ```javascript
90
90
  * // The following example deletes the specified automation rules.
91
91
  * const input = {
92
- * "AutomationRulesArns": [
92
+ * AutomationRulesArns: [
93
93
  * "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
94
94
  * "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
95
95
  * ]
96
96
  * };
97
97
  * const command = new BatchDeleteAutomationRulesCommand(input);
98
98
  * const response = await client.send(command);
99
- * /* response ==
99
+ * /* response is
100
100
  * {
101
- * "ProcessedAutomationRules": [
101
+ * ProcessedAutomationRules: [
102
102
  * "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
103
103
  * ],
104
- * "UnprocessedAutomationRules": [
104
+ * UnprocessedAutomationRules: [
105
105
  * {
106
- * "ErrorCode": 500,
107
- * "ErrorMessage": "InternalException",
108
- * "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
106
+ * ErrorCode: 500,
107
+ * ErrorMessage: "InternalException",
108
+ * RuleArn: "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
109
109
  * }
110
110
  * ]
111
111
  * }
112
112
  * *\/
113
- * // example id: to-delete-one-or-more-automation-rules-1684769550318
114
113
  * ```
115
114
  *
115
+ * @public
116
116
  */
117
117
  export declare class BatchDeleteAutomationRulesCommand extends BatchDeleteAutomationRulesCommand_base {
118
118
  /** @internal type navigation helper, not in runtime. */
@@ -89,32 +89,32 @@ declare const BatchDisableStandardsCommand_base: {
89
89
  * @throws {@link SecurityHubServiceException}
90
90
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
91
91
  *
92
- * @public
92
+ *
93
93
  * @example To disable one or more security standards
94
94
  * ```javascript
95
95
  * // The following example disables a security standard in Security Hub.
96
96
  * const input = {
97
- * "StandardsSubscriptionArns": [
97
+ * StandardsSubscriptionArns: [
98
98
  * "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
99
99
  * ]
100
100
  * };
101
101
  * const command = new BatchDisableStandardsCommand(input);
102
102
  * const response = await client.send(command);
103
- * /* response ==
103
+ * /* response is
104
104
  * {
105
- * "StandardsSubscriptions": [
105
+ * StandardsSubscriptions: [
106
106
  * {
107
- * "StandardsArn": "arn:aws:securityhub:eu-central-1::standards/pci-dss/v/3.2.1",
108
- * "StandardsInput": {},
109
- * "StandardsStatus": "DELETING",
110
- * "StandardsSubscriptionArn": "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
107
+ * StandardsArn: "arn:aws:securityhub:eu-central-1::standards/pci-dss/v/3.2.1",
108
+ * StandardsInput: { /* empty *\/ },
109
+ * StandardsStatus: "DELETING",
110
+ * StandardsSubscriptionArn: "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
111
111
  * }
112
112
  * ]
113
113
  * }
114
114
  * *\/
115
- * // example id: to-disable-one-or-more-security-standards-1674851507200
116
115
  * ```
117
116
  *
117
+ * @public
118
118
  */
119
119
  export declare class BatchDisableStandardsCommand extends BatchDisableStandardsCommand_base {
120
120
  /** @internal type navigation helper, not in runtime. */
@@ -95,34 +95,34 @@ declare const BatchEnableStandardsCommand_base: {
95
95
  * @throws {@link SecurityHubServiceException}
96
96
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
97
97
  *
98
- * @public
98
+ *
99
99
  * @example To enable security standards
100
100
  * ```javascript
101
101
  * // The following example enables the security standard specified by the StandardArn. You can use this operation to enable one or more Security Hub standards.
102
102
  * const input = {
103
- * "StandardsSubscriptionRequests": [
103
+ * StandardsSubscriptionRequests: [
104
104
  * {
105
- * "StandardsArn": "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1"
105
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1"
106
106
  * }
107
107
  * ]
108
108
  * };
109
109
  * const command = new BatchEnableStandardsCommand(input);
110
110
  * const response = await client.send(command);
111
- * /* response ==
111
+ * /* response is
112
112
  * {
113
- * "StandardsSubscriptions": [
113
+ * StandardsSubscriptions: [
114
114
  * {
115
- * "StandardsArn": "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
116
- * "StandardsInput": {},
117
- * "StandardsStatus": "PENDING",
118
- * "StandardsSubscriptionArn": "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
115
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
116
+ * StandardsInput: { /* empty *\/ },
117
+ * StandardsStatus: "PENDING",
118
+ * StandardsSubscriptionArn: "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
119
119
  * }
120
120
  * ]
121
121
  * }
122
122
  * *\/
123
- * // example id: to-enable-security-standards-1683233792239
124
123
  * ```
125
124
  *
125
+ * @public
126
126
  */
127
127
  export declare class BatchEnableStandardsCommand extends BatchEnableStandardsCommand_base {
128
128
  /** @internal type navigation helper, not in runtime. */
@@ -276,103 +276,103 @@ declare const BatchGetAutomationRulesCommand_base: {
276
276
  * @throws {@link SecurityHubServiceException}
277
277
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
278
278
  *
279
- * @public
279
+ *
280
280
  * @example To update one ore more automation rules
281
281
  * ```javascript
282
282
  * // The following example updates the specified automation rules.
283
283
  * const input = {
284
- * "AutomationRulesArns": [
284
+ * AutomationRulesArns: [
285
285
  * "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
286
286
  * "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
287
287
  * ]
288
288
  * };
289
289
  * const command = new BatchGetAutomationRulesCommand(input);
290
290
  * const response = await client.send(command);
291
- * /* response ==
291
+ * /* response is
292
292
  * {
293
- * "Rules": [
293
+ * Rules: [
294
294
  * {
295
- * "Actions": [
295
+ * Actions: [
296
296
  * {
297
- * "FindingFieldsUpdate": {
298
- * "Workflow": {
299
- * "Status": "RESOLVED"
297
+ * FindingFieldsUpdate: {
298
+ * Workflow: {
299
+ * Status: "RESOLVED"
300
300
  * }
301
301
  * },
302
- * "Type": "FINDING_FIELDS_UPDATE"
302
+ * Type: "FINDING_FIELDS_UPDATE"
303
303
  * }
304
304
  * ],
305
- * "CreatedAt": "2022-08-31T01:52:33.250Z",
306
- * "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
307
- * "Criteria": {
308
- * "AwsAccountId": [
305
+ * CreatedAt: "2022-08-31T01:52:33.250Z",
306
+ * CreatedBy: "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
307
+ * Criteria: {
308
+ * AwsAccountId: [
309
309
  * {
310
- * "Comparison": "EQUALS",
311
- * "Value": "111122223333"
310
+ * Comparison: "EQUALS",
311
+ * Value: "111122223333"
312
312
  * }
313
313
  * ],
314
- * "FirstObservedAt": [
314
+ * FirstObservedAt: [
315
315
  * {
316
- * "DateRange": {
317
- * "Unit": "DAYS",
318
- * "Value": 5
316
+ * DateRange: {
317
+ * Unit: "DAYS",
318
+ * Value: 5
319
319
  * }
320
320
  * }
321
321
  * ],
322
- * "Type": [
322
+ * Type: [
323
323
  * {
324
- * "Comparison": "EQUALS",
325
- * "Value": "Software and Configuration Checks/Industry and Regulatory Standards"
324
+ * Comparison: "EQUALS",
325
+ * Value: "Software and Configuration Checks/Industry and Regulatory Standards"
326
326
  * }
327
327
  * ]
328
328
  * },
329
- * "Description": "sample rule description 1",
330
- * "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
331
- * "RuleName": "sample-rule-name-1",
332
- * "RuleOrder": 1,
333
- * "RuleStatus": "ENABLED",
334
- * "UpdatedAt": "2022-08-31T01:52:33.250Z"
329
+ * Description: "sample rule description 1",
330
+ * RuleArn: "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
331
+ * RuleName: "sample-rule-name-1",
332
+ * RuleOrder: 1,
333
+ * RuleStatus: "ENABLED",
334
+ * UpdatedAt: "2022-08-31T01:52:33.250Z"
335
335
  * },
336
336
  * {
337
- * "Actions": [
337
+ * Actions: [
338
338
  * {
339
- * "FindingFieldsUpdate": {
340
- * "Workflow": {
341
- * "Status": "RESOLVED"
339
+ * FindingFieldsUpdate: {
340
+ * Workflow: {
341
+ * Status: "RESOLVED"
342
342
  * }
343
343
  * },
344
- * "Type": "FINDING_FIELDS_UPDATE"
344
+ * Type: "FINDING_FIELDS_UPDATE"
345
345
  * }
346
346
  * ],
347
- * "CreatedAt": "2022-08-31T01:52:33.250Z",
348
- * "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
349
- * "Criteria": {
350
- * "ResourceType": [
347
+ * CreatedAt: "2022-08-31T01:52:33.250Z",
348
+ * CreatedBy: "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
349
+ * Criteria: {
350
+ * ResourceType: [
351
351
  * {
352
- * "Comparison": "EQUALS",
353
- * "Value": "Ec2Instance"
352
+ * Comparison: "EQUALS",
353
+ * Value: "Ec2Instance"
354
354
  * }
355
355
  * ],
356
- * "SeverityLabel": [
356
+ * SeverityLabel: [
357
357
  * {
358
- * "Comparison": "EQUALS",
359
- * "Value": "INFORMATIONAL"
358
+ * Comparison: "EQUALS",
359
+ * Value: "INFORMATIONAL"
360
360
  * }
361
361
  * ]
362
362
  * },
363
- * "Description": "Sample rule description 2",
364
- * "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
365
- * "RuleName": "sample-rule-name-2",
366
- * "RuleOrder": 2,
367
- * "RuleStatus": "ENABLED",
368
- * "UpdatedAt": "2022-08-31T01:52:33.250Z"
363
+ * Description: "Sample rule description 2",
364
+ * RuleArn: "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
365
+ * RuleName: "sample-rule-name-2",
366
+ * RuleOrder: 2,
367
+ * RuleStatus: "ENABLED",
368
+ * UpdatedAt: "2022-08-31T01:52:33.250Z"
369
369
  * }
370
370
  * ]
371
371
  * }
372
372
  * *\/
373
- * // example id: to-update-one-ore-more-automation-rules-1684771025347
374
373
  * ```
375
374
  *
375
+ * @public
376
376
  */
377
377
  export declare class BatchGetAutomationRulesCommand extends BatchGetAutomationRulesCommand_base {
378
378
  /** @internal type navigation helper, not in runtime. */
@@ -109,55 +109,55 @@ declare const BatchGetConfigurationPolicyAssociationsCommand_base: {
109
109
  * @throws {@link SecurityHubServiceException}
110
110
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
111
111
  *
112
- * @public
112
+ *
113
113
  * @example To get configuration associations for a batch of targets
114
114
  * ```javascript
115
115
  * // This operation provides details about configuration associations for a batch of target accounts, organizational units, or the root.
116
116
  * const input = {
117
- * "ConfigurationPolicyAssociationIdentifiers": [
117
+ * ConfigurationPolicyAssociationIdentifiers: [
118
118
  * {
119
- * "Target": {
120
- * "AccountId": "111122223333"
119
+ * Target: {
120
+ * AccountId: "111122223333"
121
121
  * }
122
122
  * },
123
123
  * {
124
- * "Target": {
125
- * "RootId": "r-f6g7h8i9j0example"
124
+ * Target: {
125
+ * RootId: "r-f6g7h8i9j0example"
126
126
  * }
127
127
  * }
128
128
  * ]
129
129
  * };
130
130
  * const command = new BatchGetConfigurationPolicyAssociationsCommand(input);
131
131
  * const response = await client.send(command);
132
- * /* response ==
132
+ * /* response is
133
133
  * {
134
- * "ConfigurationPolicyAssociations": [
134
+ * ConfigurationPolicyAssociations: [
135
135
  * {
136
- * "AssociationStatus": "SUCCESS",
137
- * "AssociationStatusMessage": "This field is only populated for a failed association",
138
- * "AssociationType": "INHERITED",
139
- * "ConfigurationPolicyId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
140
- * "TargetId": "111122223333",
141
- * "TargetType": "ACCOUNT",
142
- * "UpdatedAt": "2023-01-11T06:17:17.154Z"
136
+ * AssociationStatus: "SUCCESS",
137
+ * AssociationStatusMessage: "This field is only populated for a failed association",
138
+ * AssociationType: "INHERITED",
139
+ * ConfigurationPolicyId: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
140
+ * TargetId: "111122223333",
141
+ * TargetType: "ACCOUNT",
142
+ * UpdatedAt: "2023-01-11T06:17:17.154Z"
143
143
  * }
144
144
  * ],
145
- * "UnprocessedConfigurationPolicyAssociations": [
145
+ * UnprocessedConfigurationPolicyAssociations: [
146
146
  * {
147
- * "ConfigurationPolicyAssociationIdentifiers": {
148
- * "Target": {
149
- * "RootId": "r-f6g7h8i9j0example"
147
+ * ConfigurationPolicyAssociationIdentifiers: {
148
+ * Target: {
149
+ * RootId: "r-f6g7h8i9j0example"
150
150
  * }
151
151
  * },
152
- * "ErrorCode": "400",
153
- * "ErrorReason": "You do not have sufficient access to perform this action."
152
+ * ErrorCode: "400",
153
+ * ErrorReason: "You do not have sufficient access to perform this action."
154
154
  * }
155
155
  * ]
156
156
  * }
157
157
  * *\/
158
- * // example id: to-get-configuration-associations-for-a-batch-of-targets-1695178953302
159
158
  * ```
160
159
  *
160
+ * @public
161
161
  */
162
162
  export declare class BatchGetConfigurationPolicyAssociationsCommand extends BatchGetConfigurationPolicyAssociationsCommand_base {
163
163
  /** @internal type navigation helper, not in runtime. */