@aws-sdk/client-securityhub 3.775.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 (80) hide show
  1. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +8 -5
  2. package/dist-types/commands/AcceptInvitationCommand.d.ts +1 -0
  3. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +9 -9
  4. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +9 -9
  5. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -10
  6. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +49 -49
  7. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +22 -22
  8. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +33 -33
  9. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +1 -50
  10. package/dist-types/commands/BatchImportFindingsCommand.d.ts +26 -26
  11. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +10 -10
  12. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +30 -30
  13. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +20 -20
  14. package/dist-types/commands/CreateActionTargetCommand.d.ts +7 -7
  15. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +35 -35
  16. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +37 -37
  17. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +9 -9
  18. package/dist-types/commands/CreateInsightCommand.d.ts +13 -13
  19. package/dist-types/commands/CreateMembersCommand.d.ts +7 -7
  20. package/dist-types/commands/DeclineInvitationsCommand.d.ts +5 -5
  21. package/dist-types/commands/DeleteActionTargetCommand.d.ts +5 -5
  22. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +7 -4
  23. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +7 -4
  24. package/dist-types/commands/DeleteInsightCommand.d.ts +5 -5
  25. package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -5
  26. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -5
  27. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +8 -8
  28. package/dist-types/commands/DescribeHubCommand.d.ts +8 -8
  29. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +10 -10
  30. package/dist-types/commands/DescribeProductsCommand.d.ts +17 -17
  31. package/dist-types/commands/DescribeStandardsCommand.d.ts +21 -21
  32. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +1 -46
  33. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +7 -4
  34. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +7 -4
  35. package/dist-types/commands/DisableSecurityHubCommand.d.ts +7 -4
  36. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +7 -4
  37. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  38. package/dist-types/commands/DisassociateMembersCommand.d.ts +7 -4
  39. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +5 -5
  40. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -4
  41. package/dist-types/commands/EnableSecurityHubCommand.d.ts +9 -6
  42. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -19
  43. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +12 -12
  44. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +23 -23
  45. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +9 -9
  46. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +8 -8
  47. package/dist-types/commands/GetFindingHistoryCommand.d.ts +1 -42
  48. package/dist-types/commands/GetFindingsCommand.d.ts +63 -63
  49. package/dist-types/commands/GetInsightResultsCommand.d.ts +12 -12
  50. package/dist-types/commands/GetInsightsCommand.d.ts +15 -15
  51. package/dist-types/commands/GetInvitationsCountCommand.d.ts +7 -7
  52. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  53. package/dist-types/commands/GetMembersCommand.d.ts +1 -37
  54. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +19 -19
  55. package/dist-types/commands/InviteMembersCommand.d.ts +5 -5
  56. package/dist-types/commands/ListAutomationRulesCommand.d.ts +23 -23
  57. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +13 -13
  58. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +15 -15
  59. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +5 -5
  60. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -6
  61. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -21
  62. package/dist-types/commands/ListMembersCommand.d.ts +1 -31
  63. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +7 -7
  64. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +28 -28
  65. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -44
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
  67. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +13 -13
  68. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +9 -6
  69. package/dist-types/commands/TagResourceCommand.d.ts +10 -7
  70. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  71. package/dist-types/commands/UpdateActionTargetCommand.d.ts +9 -6
  72. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +39 -39
  73. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +10 -10
  74. package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -0
  75. package/dist-types/commands/UpdateInsightCommand.d.ts +15 -12
  76. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -7
  77. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +13 -10
  78. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +8 -5
  79. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +9 -6
  80. package/package.json +2 -2
@@ -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. */
@@ -112,65 +112,65 @@ declare const BatchGetSecurityControlsCommand_base: {
112
112
  * @throws {@link SecurityHubServiceException}
113
113
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
114
114
  *
115
- * @public
115
+ *
116
116
  * @example To get security control details
117
117
  * ```javascript
118
118
  * // The following example gets details for the specified controls in the current AWS account and AWS Region.
119
119
  * const input = {
120
- * "SecurityControlIds": [
120
+ * SecurityControlIds: [
121
121
  * "ACM.1",
122
122
  * "APIGateway.1"
123
123
  * ]
124
124
  * };
125
125
  * const command = new BatchGetSecurityControlsCommand(input);
126
126
  * const response = await client.send(command);
127
- * /* response ==
127
+ * /* response is
128
128
  * {
129
- * "SecurityControls": [
129
+ * SecurityControls: [
130
130
  * {
131
- * "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.",
132
- * "LastUpdateReason": "Stayed with default value",
133
- * "Parameters": {
134
- * "daysToExpiration": {
135
- * "Value": {
136
- * "Integer": 30
131
+ * 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.",
132
+ * LastUpdateReason: "Stayed with default value",
133
+ * Parameters: {
134
+ * daysToExpiration: {
135
+ * Value: {
136
+ * Integer: 30
137
137
  * },
138
- * "ValueType": "DEFAULT"
138
+ * ValueType: "DEFAULT"
139
139
  * }
140
140
  * },
141
- * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
142
- * "SecurityControlArn": "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
143
- * "SecurityControlId": "ACM.1",
144
- * "SecurityControlStatus": "ENABLED",
145
- * "SeverityRating": "MEDIUM",
146
- * "Title": "Imported and ACM-issued certificates should be renewed after a specified time period",
147
- * "UpdateStatus": "UPDATING"
141
+ * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
142
+ * SecurityControlArn: "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
143
+ * SecurityControlId: "ACM.1",
144
+ * SecurityControlStatus: "ENABLED",
145
+ * SeverityRating: "MEDIUM",
146
+ * Title: "Imported and ACM-issued certificates should be renewed after a specified time period",
147
+ * UpdateStatus: "UPDATING"
148
148
  * },
149
149
  * {
150
- * "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.",
151
- * "LastUpdateReason": "Updated control parameters to comply with internal requirements",
152
- * "Parameters": {
153
- * "loggingLevel": {
154
- * "Value": {
155
- * "Enum": "ERROR"
150
+ * 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.",
151
+ * LastUpdateReason: "Updated control parameters to comply with internal requirements",
152
+ * Parameters: {
153
+ * loggingLevel: {
154
+ * Value: {
155
+ * Enum: "ERROR"
156
156
  * },
157
- * "ValueType": "CUSTOM"
157
+ * ValueType: "CUSTOM"
158
158
  * }
159
159
  * },
160
- * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
161
- * "SecurityControlArn": "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
162
- * "SecurityControlId": "APIGateway.1",
163
- * "SecurityControlStatus": "ENABLED",
164
- * "SeverityRating": "MEDIUM",
165
- * "Title": "API Gateway REST and WebSocket API execution logging should be enabled",
166
- * "UpdateStatus": "UPDATING"
160
+ * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
161
+ * SecurityControlArn: "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
162
+ * SecurityControlId: "APIGateway.1",
163
+ * SecurityControlStatus: "ENABLED",
164
+ * SeverityRating: "MEDIUM",
165
+ * Title: "API Gateway REST and WebSocket API execution logging should be enabled",
166
+ * UpdateStatus: "UPDATING"
167
167
  * }
168
168
  * ]
169
169
  * }
170
170
  * *\/
171
- * // example id: to-get-security-control-details--1683234478355
172
171
  * ```
173
172
  *
173
+ * @public
174
174
  */
175
175
  export declare class BatchGetSecurityControlsCommand extends BatchGetSecurityControlsCommand_base {
176
176
  /** @internal type navigation helper, not in runtime. */
@@ -105,57 +105,8 @@ declare const BatchGetStandardsControlAssociationsCommand_base: {
105
105
  * @throws {@link SecurityHubServiceException}
106
106
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
107
107
  *
108
- * @public
109
- * @example To get enablement status of a batch of controls
110
- * ```javascript
111
- * // The following example retrieves the enablement status of the specified controls in the specified standards.
112
- * const input = {
113
- * "StandardsControlAssociationIds": [
114
- * {
115
- * "SecurityControlId": "CloudTrail.1",
116
- * "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
117
- * },
118
- * {
119
- * "SecurityControlId": "CloudWatch.12",
120
- * "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
121
- * }
122
- * ]
123
- * };
124
- * const command = new BatchGetStandardsControlAssociationsCommand(input);
125
- * const response = await client.send(command);
126
- * /* response ==
127
- * {
128
- * "StandardsControlAssociationDetails": [
129
- * {
130
- * "AssociationStatus": "ENABLED",
131
- * "RelatedRequirements": [
132
- * "CIS AWS Foundations 2.1"
133
- * ],
134
- * "SecurityControlArn": "arn:aws:securityhub:us-west-2:110479873537:security-control/CloudTrail.1",
135
- * "SecurityControlId": "CloudTrail.1",
136
- * "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
137
- * "StandardsControlDescription": "AWS CloudTrail is a web service that records AWS API calls for your account and delivers log files to you. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service.",
138
- * "StandardsControlTitle": "Ensure CloudTrail is enabled in all regions",
139
- * "UpdatedAt": "2022-01-13T18:52:29.539000+00:00"
140
- * },
141
- * {
142
- * "AssociationStatus": "ENABLED",
143
- * "RelatedRequirements": [
144
- * "CIS AWS Foundations 3.12"
145
- * ],
146
- * "SecurityControlArn": "arn:aws:securityhub:us-west-2:110479873537:security-control/CloudWatch.12",
147
- * "SecurityControlId": "CloudWatch.12",
148
- * "StandardsArn": "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
149
- * "StandardsControlDescription": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs and establishing corresponding metric filters and alarms. Network gateways are required to send/receive traffic to a destination outside of a VPC. It is recommended that a metric filter and alarm be established for changes to network gateways.",
150
- * "StandardsControlTitle": "Ensure a log metric filter and alarm exist for changes to network gateways",
151
- * "UpdatedAt": "2022-01-13T18:52:29.686000+00:00"
152
- * }
153
- * ]
154
- * }
155
- * *\/
156
- * // example id: to-get-enablement-status-of-a-batch-of-controls-1683301618357
157
- * ```
158
108
  *
109
+ * @public
159
110
  */
160
111
  export declare class BatchGetStandardsControlAssociationsCommand extends BatchGetStandardsControlAssociationsCommand_base {
161
112
  /** @internal type navigation helper, not in runtime. */
@@ -4413,54 +4413,54 @@ declare const BatchImportFindingsCommand_base: {
4413
4413
  * @throws {@link SecurityHubServiceException}
4414
4414
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
4415
4415
  *
4416
- * @public
4416
+ *
4417
4417
  * @example To import security findings from a third party provider to Security Hub
4418
4418
  * ```javascript
4419
4419
  * // The following example imports findings from a third party provider to Security Hub.
4420
4420
  * const input = {
4421
- * "Findings": [
4421
+ * Findings: [
4422
4422
  * {
4423
- * "AwsAccountId": "123456789012",
4424
- * "CreatedAt": "2020-05-27T17:05:54.832Z",
4425
- * "Description": "Vulnerability in a CloudTrail trail",
4426
- * "FindingProviderFields": {
4427
- * "Severity": {
4428
- * "Label": "LOW",
4429
- * "Original": "10"
4423
+ * AwsAccountId: "123456789012",
4424
+ * CreatedAt: "2020-05-27T17:05:54.832Z",
4425
+ * Description: "Vulnerability in a CloudTrail trail",
4426
+ * FindingProviderFields: {
4427
+ * Severity: {
4428
+ * Label: "LOW",
4429
+ * Original: "10"
4430
4430
  * },
4431
- * "Types": [
4431
+ * Types: [
4432
4432
  * "Software and Configuration Checks/Vulnerabilities/CVE"
4433
4433
  * ]
4434
4434
  * },
4435
- * "GeneratorId": "TestGeneratorId",
4436
- * "Id": "Id1",
4437
- * "ProductArn": "arn:aws:securityhub:us-west-1:123456789012:product/123456789012/default",
4438
- * "Resources": [
4435
+ * GeneratorId: "TestGeneratorId",
4436
+ * Id: "Id1",
4437
+ * ProductArn: "arn:aws:securityhub:us-west-1:123456789012:product/123456789012/default",
4438
+ * Resources: [
4439
4439
  * {
4440
- * "Id": "arn:aws:cloudtrail:us-west-1:123456789012:trail/TrailName",
4441
- * "Partition": "aws",
4442
- * "Region": "us-west-1",
4443
- * "Type": "AwsCloudTrailTrail"
4440
+ * Id: "arn:aws:cloudtrail:us-west-1:123456789012:trail/TrailName",
4441
+ * Partition: "aws",
4442
+ * Region: "us-west-1",
4443
+ * Type: "AwsCloudTrailTrail"
4444
4444
  * }
4445
4445
  * ],
4446
- * "SchemaVersion": "2018-10-08",
4447
- * "Title": "CloudTrail trail vulnerability",
4448
- * "UpdatedAt": "2020-06-02T16:05:54.832Z"
4446
+ * SchemaVersion: "2018-10-08",
4447
+ * Title: "CloudTrail trail vulnerability",
4448
+ * UpdatedAt: "2020-06-02T16:05:54.832Z"
4449
4449
  * }
4450
4450
  * ]
4451
4451
  * };
4452
4452
  * const command = new BatchImportFindingsCommand(input);
4453
4453
  * const response = await client.send(command);
4454
- * /* response ==
4454
+ * /* response is
4455
4455
  * {
4456
- * "FailedCount": 123,
4457
- * "FailedFindings": [],
4458
- * "SuccessCount": 123
4456
+ * FailedCount: 123,
4457
+ * FailedFindings: [],
4458
+ * SuccessCount: 123
4459
4459
  * }
4460
4460
  * *\/
4461
- * // example id: to-import-security-findings-from-a-third-party-provider-to-security-hub-1675090935260
4462
4461
  * ```
4463
4462
  *
4463
+ * @public
4464
4464
  */
4465
4465
  export declare class BatchImportFindingsCommand extends BatchImportFindingsCommand_base {
4466
4466
  /** @internal type navigation helper, not in runtime. */