@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
@@ -91,46 +91,46 @@ declare const DescribeProductsCommand_base: {
91
91
  * @throws {@link SecurityHubServiceException}
92
92
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
93
93
  *
94
- * @public
94
+ *
95
95
  * @example To get information about Security Hub integrations
96
96
  * ```javascript
97
97
  * // The following example returns details about AWS services and third-party products that Security Hub integrates with.
98
98
  * const input = {
99
- * "MaxResults": 1,
100
- * "NextToken": "NULL",
101
- * "ProductArn": "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
99
+ * MaxResults: 1,
100
+ * NextToken: "NULL",
101
+ * ProductArn: "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
102
102
  * };
103
103
  * const command = new DescribeProductsCommand(input);
104
104
  * const response = await client.send(command);
105
- * /* response ==
105
+ * /* response is
106
106
  * {
107
- * "NextToken": "U2FsdGVkX18vvPlOqb7RDrWRWVFBJI46MOIAb+nZmRJmR15NoRi2gm13sdQEn3O/pq/78dGs+bKpgA+7HMPHO0qX33/zoRI+uIG/F9yLNhcOrOWzFUdy36JcXLQji3Rpnn/cD1SVkGA98qI3zPOSDg==",
108
- * "Products": [
107
+ * NextToken: "U2FsdGVkX18vvPlOqb7RDrWRWVFBJI46MOIAb+nZmRJmR15NoRi2gm13sdQEn3O/pq/78dGs+bKpgA+7HMPHO0qX33/zoRI+uIG/F9yLNhcOrOWzFUdy36JcXLQji3Rpnn/cD1SVkGA98qI3zPOSDg==",
108
+ * Products: [
109
109
  * {
110
- * "ActivationUrl": "https://falcon.crowdstrike.com/support/documentation",
111
- * "Categories": [
110
+ * ActivationUrl: "https://falcon.crowdstrike.com/support/documentation",
111
+ * Categories: [
112
112
  * "Endpoint Detection and Response (EDR)",
113
113
  * "AV Scanning and Sandboxing",
114
114
  * "Threat Intelligence Feeds and Reports",
115
115
  * "Endpoint Forensics",
116
116
  * "Network Forensics"
117
117
  * ],
118
- * "CompanyName": "CrowdStrike",
119
- * "Description": "CrowdStrike Falcon's single lightweight sensor unifies next-gen antivirus, endpoint detection and response, and 24/7 managed hunting, via the cloud.",
120
- * "IntegrationTypes": [
118
+ * CompanyName: "CrowdStrike",
119
+ * Description: "CrowdStrike Falcon's single lightweight sensor unifies next-gen antivirus, endpoint detection and response, and 24/7 managed hunting, via the cloud.",
120
+ * IntegrationTypes: [
121
121
  * "SEND_FINDINGS_TO_SECURITY_HUB"
122
122
  * ],
123
- * "MarketplaceUrl": "https://aws.amazon.com/marketplace/seller-profile?id=a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
124
- * "ProductArn": "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon",
125
- * "ProductName": "CrowdStrike Falcon",
126
- * "ProductSubscriptionResourcePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"123456789333\"},\"Action\":[\"securityhub:BatchImportFindings\"],\"Resource\":\"arn:aws:securityhub:us-west-1:123456789012:product-subscription/crowdstrike/crowdstrike-falcon\",\"Condition\":{\"StringEquals\":{\"securityhub:TargetAccount\":\"123456789012\"}}},{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"123456789012\"},\"Action\":[\"securityhub:BatchImportFindings\"],\"Resource\":\"arn:aws:securityhub:us-west-1:123456789333:product/crowdstrike/crowdstrike-falcon\",\"Condition\":{\"StringEquals\":{\"securityhub:TargetAccount\":\"123456789012\"}}}]}"
123
+ * MarketplaceUrl: "https://aws.amazon.com/marketplace/seller-profile?id=a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
124
+ * ProductArn: "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon",
125
+ * ProductName: "CrowdStrike Falcon",
126
+ * ProductSubscriptionResourcePolicy: `{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":"123456789333"},"Action":["securityhub:BatchImportFindings"],"Resource":"arn:aws:securityhub:us-west-1:123456789012:product-subscription/crowdstrike/crowdstrike-falcon","Condition":{"StringEquals":{"securityhub:TargetAccount":"123456789012"}}},{"Effect":"Allow","Principal":{"AWS":"123456789012"},"Action":["securityhub:BatchImportFindings"],"Resource":"arn:aws:securityhub:us-west-1:123456789333:product/crowdstrike/crowdstrike-falcon","Condition":{"StringEquals":{"securityhub:TargetAccount":"123456789012"}}}]}`
127
127
  * }
128
128
  * ]
129
129
  * }
130
130
  * *\/
131
- * // example id: to-get-information-about-security-hub-integrations-1676061228533
132
131
  * ```
133
132
  *
133
+ * @public
134
134
  */
135
135
  export declare class DescribeProductsCommand extends DescribeProductsCommand_base {
136
136
  /** @internal type navigation helper, not in runtime. */
@@ -78,46 +78,46 @@ declare const DescribeStandardsCommand_base: {
78
78
  * @throws {@link SecurityHubServiceException}
79
79
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
80
80
  *
81
- * @public
81
+ *
82
82
  * @example To get available Security Hub standards
83
83
  * ```javascript
84
84
  * // The following example returns a list of available security standards in Security Hub.
85
- * const input = {};
85
+ * const input = { /* empty *\/ };
86
86
  * const command = new DescribeStandardsCommand(input);
87
87
  * const response = await client.send(command);
88
- * /* response ==
88
+ * /* response is
89
89
  * {
90
- * "Standards": [
90
+ * Standards: [
91
91
  * {
92
- * "Description": "The AWS Foundational Security Best Practices standard is a set of automated security checks that detect when AWS accounts and deployed resources do not align to security best practices. The standard is defined by AWS security experts. This curated set of controls helps improve your security posture in AWS, and cover AWS's most popular and foundational services.",
93
- * "EnabledByDefault": true,
94
- * "Name": "AWS Foundational Security Best Practices v1.0.0",
95
- * "StandardsArn": "arn:aws:securityhub:us-west-1::standards/aws-foundational-security-best-practices/v/1.0.0"
92
+ * Description: "The AWS Foundational Security Best Practices standard is a set of automated security checks that detect when AWS accounts and deployed resources do not align to security best practices. The standard is defined by AWS security experts. This curated set of controls helps improve your security posture in AWS, and cover AWS's most popular and foundational services.",
93
+ * EnabledByDefault: true,
94
+ * Name: "AWS Foundational Security Best Practices v1.0.0",
95
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/aws-foundational-security-best-practices/v/1.0.0"
96
96
  * },
97
97
  * {
98
- * "Description": "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
99
- * "EnabledByDefault": true,
100
- * "Name": "CIS AWS Foundations Benchmark v1.2.0",
101
- * "StandardsArn": "arn:aws:securityhub:us-west-1::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
98
+ * Description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
99
+ * EnabledByDefault: true,
100
+ * Name: "CIS AWS Foundations Benchmark v1.2.0",
101
+ * StandardsArn: "arn:aws:securityhub:us-west-1::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
102
102
  * },
103
103
  * {
104
- * "Description": "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.4.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
105
- * "EnabledByDefault": false,
106
- * "Name": "CIS AWS Foundations Benchmark v1.4.0",
107
- * "StandardsArn": "arn:aws::securityhub:us-west-1::standards/cis-aws-foundations-benchmark/v/1.4.0"
104
+ * Description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.4.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
105
+ * EnabledByDefault: false,
106
+ * Name: "CIS AWS Foundations Benchmark v1.4.0",
107
+ * StandardsArn: "arn:aws::securityhub:us-west-1::standards/cis-aws-foundations-benchmark/v/1.4.0"
108
108
  * },
109
109
  * {
110
- * "Description": "The Payment Card Industry Data Security Standard (PCI DSS) v3.2.1 is an information security standard for entities that store, process, and/or transmit cardholder data. This Security Hub standard automatically checks for your compliance readiness against a subset of PCI DSS requirements.",
111
- * "EnabledByDefault": false,
112
- * "Name": "PCI DSS v3.2.1",
113
- * "StandardsArn": "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1"
110
+ * Description: "The Payment Card Industry Data Security Standard (PCI DSS) v3.2.1 is an information security standard for entities that store, process, and/or transmit cardholder data. This Security Hub standard automatically checks for your compliance readiness against a subset of PCI DSS requirements.",
111
+ * EnabledByDefault: false,
112
+ * Name: "PCI DSS v3.2.1",
113
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1"
114
114
  * }
115
115
  * ]
116
116
  * }
117
117
  * *\/
118
- * // example id: to-get-available-security-hub-standards-1676307464661
119
118
  * ```
120
119
  *
120
+ * @public
121
121
  */
122
122
  export declare class DescribeStandardsCommand extends DescribeStandardsCommand_base {
123
123
  /** @internal type navigation helper, not in runtime. */
@@ -88,53 +88,8 @@ declare const DescribeStandardsControlsCommand_base: {
88
88
  * @throws {@link SecurityHubServiceException}
89
89
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
90
90
  *
91
- * @public
92
- * @example To get a list of controls for a security standard
93
- * ```javascript
94
- * // The following example returns a list of security controls and control details that apply to a specified security standard. The list includes controls that are enabled and disabled in the standard.
95
- * const input = {
96
- * "MaxResults": 2,
97
- * "NextToken": "NULL",
98
- * "StandardsSubscriptionArn": "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
99
- * };
100
- * const command = new DescribeStandardsControlsCommand(input);
101
- * const response = await client.send(command);
102
- * /* response ==
103
- * {
104
- * "Controls": [
105
- * {
106
- * "ControlId": "PCI.AutoScaling.1",
107
- * "ControlStatus": "ENABLED",
108
- * "ControlStatusUpdatedAt": "2020-05-15T18:49:04.473000+00:00",
109
- * "Description": "This AWS control checks whether your Auto Scaling groups that are associated with a load balancer are using Elastic Load Balancing health checks.",
110
- * "RelatedRequirements": [
111
- * "PCI DSS 2.2"
112
- * ],
113
- * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/PCI.AutoScaling.1/remediation",
114
- * "SeverityRating": "LOW",
115
- * "StandardsControlArn": "arn:aws:securityhub:us-west-1:123456789012:control/pci-dss/v/3.2.1/PCI.AutoScaling.1",
116
- * "Title": "Auto scaling groups associated with a load balancer should use health checks"
117
- * },
118
- * {
119
- * "ControlId": "PCI.CW.1",
120
- * "ControlStatus": "ENABLED",
121
- * "ControlStatusUpdatedAt": "2020-05-15T18:49:04.498000+00:00",
122
- * "Description": "This control checks for the CloudWatch metric filters using the following pattern { $.userIdentity.type = \"Root\" && $.userIdentity.invokedBy NOT EXISTS && $.eventType != \"AwsServiceEvent\" } It checks that the log group name is configured for use with active multi-region CloudTrail, that there is at least one Event Selector for a Trail with IncludeManagementEvents set to true and ReadWriteType set to All, and that there is at least one active subscriber to an SNS topic associated with the alarm.",
123
- * "RelatedRequirements": [
124
- * "PCI DSS 7.2.1"
125
- * ],
126
- * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/PCI.CW.1/remediation",
127
- * "SeverityRating": "MEDIUM",
128
- * "StandardsControlArn": "arn:aws:securityhub:us-west-1:123456789012:control/pci-dss/v/3.2.1/PCI.CW.1",
129
- * "Title": "A log metric filter and alarm should exist for usage of the \"root\" user"
130
- * }
131
- * ],
132
- * "NextToken": "U2FsdGVkX1+eNkPoZHVl11ip5HUYQPWSWZGmftcmJiHL8JoKEsCDuaKayiPDyLK+LiTkShveoOdvfxXCkOBaGhohIXhsIedN+LSjQV/l7kfCfJcq4PziNC1N9xe9aq2pjlLVZnznTfSImrodT5bRNHe4fELCQq/z+5ka+5Lzmc11axcwTd5lKgQyQqmUVoeriHZhyIiBgWKf7oNYdBVG8OEortVWvSkoUTt+B2ThcnC7l43kI0UNxlkZ6sc64AsW"
133
- * }
134
- * *\/
135
- * // example id: to-get-a-list-of-controls-for-a-security-standard-1676308027759
136
- * ```
137
91
  *
92
+ * @public
138
93
  */
139
94
  export declare class DescribeStandardsControlsCommand extends DescribeStandardsControlsCommand_base {
140
95
  /** @internal type navigation helper, not in runtime. */
@@ -70,18 +70,21 @@ declare const DisableImportFindingsForProductCommand_base: {
70
70
  * @throws {@link SecurityHubServiceException}
71
71
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To end a Security Hub integration
75
75
  * ```javascript
76
76
  * // The following example ends an integration between Security Hub and the specified product that sends findings to Security Hub. After the integration ends, the product no longer sends findings to Security Hub.
77
77
  * const input = {
78
- * "ProductSubscriptionArn": "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
78
+ * ProductSubscriptionArn: "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
79
79
  * };
80
80
  * const command = new DisableImportFindingsForProductCommand(input);
81
- * await client.send(command);
82
- * // example id: to-end-a-security-hub-integration-1676480035650
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * { /* metadata only *\/ }
84
+ * *\/
83
85
  * ```
84
86
  *
87
+ * @public
85
88
  */
86
89
  export declare class DisableImportFindingsForProductCommand extends DisableImportFindingsForProductCommand_base {
87
90
  /** @internal type navigation helper, not in runtime. */
@@ -70,18 +70,21 @@ declare const DisableOrganizationAdminAccountCommand_base: {
70
70
  * @throws {@link SecurityHubServiceException}
71
71
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To remove a Security Hub administrator account
75
75
  * ```javascript
76
76
  * // The following example removes the Security Hub administrator account in the Region from which the operation was executed. This operation doesn't remove the delegated administrator account in AWS Organizations.
77
77
  * const input = {
78
- * "AdminAccountId": "123456789012"
78
+ * AdminAccountId: "123456789012"
79
79
  * };
80
80
  * const command = new DisableOrganizationAdminAccountCommand(input);
81
- * await client.send(command);
82
- * // example id: to-remove-a-security-hub-administrator-account-1676480521876
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * { /* metadata only *\/ }
84
+ * *\/
83
85
  * ```
84
86
  *
87
+ * @public
85
88
  */
86
89
  export declare class DisableOrganizationAdminAccountCommand extends DisableOrganizationAdminAccountCommand_base {
87
90
  /** @internal type navigation helper, not in runtime. */
@@ -73,16 +73,19 @@ declare const DisableSecurityHubCommand_base: {
73
73
  * @throws {@link SecurityHubServiceException}
74
74
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
75
75
  *
76
- * @public
76
+ *
77
77
  * @example To deactivate Security Hub
78
78
  * ```javascript
79
79
  * // The following example deactivates Security Hub for the current account and Region.
80
- * const input = {};
80
+ * const input = { /* empty *\/ };
81
81
  * const command = new DisableSecurityHubCommand(input);
82
- * await client.send(command);
83
- * // example id: to-deactivate-security-hub-1676583894245
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* metadata only *\/ }
85
+ * *\/
84
86
  * ```
85
87
  *
88
+ * @public
86
89
  */
87
90
  export declare class DisableSecurityHubCommand extends DisableSecurityHubCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -71,16 +71,19 @@ declare const DisassociateFromAdministratorAccountCommand_base: {
71
71
  * @throws {@link SecurityHubServiceException}
72
72
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
73
73
  *
74
- * @public
74
+ *
75
75
  * @example To disassociate requesting account from administrator account
76
76
  * ```javascript
77
77
  * // The following example dissociates the requesting account from its associated administrator account.
78
- * const input = {};
78
+ * const input = { /* empty *\/ };
79
79
  * const command = new DisassociateFromAdministratorAccountCommand(input);
80
- * await client.send(command);
81
- * // example id: to-disassociate-requesting-account-from-administrator-account-1676584168509
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* metadata only *\/ }
83
+ * *\/
82
84
  * ```
83
85
  *
86
+ * @public
84
87
  */
85
88
  export declare class DisassociateFromAdministratorAccountCommand extends DisassociateFromAdministratorAccountCommand_base {
86
89
  /** @internal type navigation helper, not in runtime. */
@@ -75,6 +75,7 @@ declare const DisassociateFromMasterAccountCommand_base: {
75
75
  * @throws {@link SecurityHubServiceException}
76
76
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class DisassociateFromMasterAccountCommand extends DisassociateFromMasterAccountCommand_base {
@@ -76,21 +76,24 @@ declare const DisassociateMembersCommand_base: {
76
76
  * @throws {@link SecurityHubServiceException}
77
77
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
78
78
  *
79
- * @public
79
+ *
80
80
  * @example To disassociate member accounts from administrator account
81
81
  * ```javascript
82
82
  * // The following example dissociates the specified member accounts from the associated administrator account.
83
83
  * const input = {
84
- * "AccountIds": [
84
+ * AccountIds: [
85
85
  * "123456789012",
86
86
  * "111122223333"
87
87
  * ]
88
88
  * };
89
89
  * const command = new DisassociateMembersCommand(input);
90
- * await client.send(command);
91
- * // example id: to-disassociate-member-accounts-from-administrator-account-1676918349164
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * { /* metadata only *\/ }
93
+ * *\/
92
94
  * ```
93
95
  *
96
+ * @public
94
97
  */
95
98
  export declare class DisassociateMembersCommand extends DisassociateMembersCommand_base {
96
99
  /** @internal type navigation helper, not in runtime. */
@@ -74,23 +74,23 @@ declare const EnableImportFindingsForProductCommand_base: {
74
74
  * @throws {@link SecurityHubServiceException}
75
75
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
76
76
  *
77
- * @public
77
+ *
78
78
  * @example To activate an integration
79
79
  * ```javascript
80
80
  * // The following example activates an integration between Security Hub and a third party partner product that sends findings to Security Hub.
81
81
  * const input = {
82
- * "ProductArn": "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
82
+ * ProductArn: "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
83
83
  * };
84
84
  * const command = new EnableImportFindingsForProductCommand(input);
85
85
  * const response = await client.send(command);
86
- * /* response ==
86
+ * /* response is
87
87
  * {
88
- * "ProductSubscriptionArn": "arn:aws:securityhub:us-east-1:517716713836:product-subscription/crowdstrike/crowdstrike-falcon"
88
+ * ProductSubscriptionArn: "arn:aws:securityhub:us-east-1:517716713836:product-subscription/crowdstrike/crowdstrike-falcon"
89
89
  * }
90
90
  * *\/
91
- * // example id: to-activate-an-integration-1676918918114
92
91
  * ```
93
92
  *
93
+ * @public
94
94
  */
95
95
  export declare class EnableImportFindingsForProductCommand extends EnableImportFindingsForProductCommand_base {
96
96
  /** @internal type navigation helper, not in runtime. */
@@ -70,18 +70,21 @@ declare const EnableOrganizationAdminAccountCommand_base: {
70
70
  * @throws {@link SecurityHubServiceException}
71
71
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To designate a Security Hub administrator
75
75
  * ```javascript
76
76
  * // The following example designates the specified account as the Security Hub administrator account. The requesting account must be the organization management account.
77
77
  * const input = {
78
- * "AdminAccountId": "123456789012"
78
+ * AdminAccountId: "123456789012"
79
79
  * };
80
80
  * const command = new EnableOrganizationAdminAccountCommand(input);
81
- * await client.send(command);
82
- * // example id: to-designate-a-security-hub-administrator-1676998319851
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * { /* metadata only *\/ }
84
+ * *\/
83
85
  * ```
84
86
  *
87
+ * @public
85
88
  */
86
89
  export declare class EnableOrganizationAdminAccountCommand extends EnableOrganizationAdminAccountCommand_base {
87
90
  /** @internal type navigation helper, not in runtime. */
@@ -91,21 +91,24 @@ declare const EnableSecurityHubCommand_base: {
91
91
  * @throws {@link SecurityHubServiceException}
92
92
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
93
93
  *
94
- * @public
94
+ *
95
95
  * @example To activate Security Hub
96
96
  * ```javascript
97
97
  * // The following example activates the Security Hub service in the requesting AWS account. The service is activated in the current AWS Region or the Region that you specify in the request. Some standards are automatically turned on in your account unless you opt out. To determine which standards are automatically turned on, see the Security Hub documentation.
98
98
  * const input = {
99
- * "EnableDefaultStandards": true,
100
- * "Tags": {
101
- * "Department": "Security"
99
+ * EnableDefaultStandards: true,
100
+ * Tags: {
101
+ * Department: "Security"
102
102
  * }
103
103
  * };
104
104
  * const command = new EnableSecurityHubCommand(input);
105
- * await client.send(command);
106
- * // example id: to-activate-security-hub-1676998538599
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * { /* metadata only *\/ }
108
+ * *\/
107
109
  * ```
108
110
  *
111
+ * @public
109
112
  */
110
113
  export declare class EnableSecurityHubCommand extends EnableSecurityHubCommand_base {
111
114
  /** @internal type navigation helper, not in runtime. */
@@ -76,26 +76,8 @@ declare const GetAdministratorAccountCommand_base: {
76
76
  * @throws {@link SecurityHubServiceException}
77
77
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
78
78
  *
79
- * @public
80
- * @example To get details about the Security Hub administrator account
81
- * ```javascript
82
- * // The following example provides details about the Security Hub administrator account for the requesting member account.
83
- * const input = {};
84
- * const command = new GetAdministratorAccountCommand(input);
85
- * const response = await client.send(command);
86
- * /* response ==
87
- * {
88
- * "Administrator": {
89
- * "AccountId": "123456789012",
90
- * "InvitationId": "7ab938c5d52d7904ad09f9e7c20cc4eb",
91
- * "InvitedAt": "2020-06-01T20:21:18.042000+00:00",
92
- * "MemberStatus": "ASSOCIATED"
93
- * }
94
- * }
95
- * *\/
96
- * // example id: to-get-details-about-the-security-hub-administrator-account-1676998997182
97
- * ```
98
79
  *
80
+ * @public
99
81
  */
100
82
  export declare class GetAdministratorAccountCommand extends GetAdministratorAccountCommand_base {
101
83
  /** @internal type navigation helper, not in runtime. */
@@ -88,31 +88,31 @@ declare const GetConfigurationPolicyAssociationCommand_base: {
88
88
  * @throws {@link SecurityHubServiceException}
89
89
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
90
90
  *
91
- * @public
91
+ *
92
92
  * @example To get details about a configuration association
93
93
  * ```javascript
94
94
  * // This operation provides details about configuration associations for a specific target account, organizational unit, or the root.
95
95
  * const input = {
96
- * "Target": {
97
- * "AccountId": "111122223333"
96
+ * Target: {
97
+ * AccountId: "111122223333"
98
98
  * }
99
99
  * };
100
100
  * const command = new GetConfigurationPolicyAssociationCommand(input);
101
101
  * const response = await client.send(command);
102
- * /* response ==
102
+ * /* response is
103
103
  * {
104
- * "AssociationStatus": "FAILED",
105
- * "AssociationStatusMessage": "Configuration Policy a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 couldn’t be applied to account 111122223333 in us-east-1 Region. Retry your request.",
106
- * "AssociationType": "INHERITED",
107
- * "ConfigurationPolicyId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
108
- * "TargetId": "111122223333",
109
- * "TargetType": "ACCOUNT",
110
- * "UpdatedAt": "2023-01-11T06:17:17.154Z"
104
+ * AssociationStatus: "FAILED",
105
+ * AssociationStatusMessage: "Configuration Policy a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 couldn’t be applied to account 111122223333 in us-east-1 Region. Retry your request.",
106
+ * AssociationType: "INHERITED",
107
+ * ConfigurationPolicyId: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
108
+ * TargetId: "111122223333",
109
+ * TargetType: "ACCOUNT",
110
+ * UpdatedAt: "2023-01-11T06:17:17.154Z"
111
111
  * }
112
112
  * *\/
113
- * // example id: to-get-details-about-a-configuration-association-1695177816371
114
113
  * ```
115
114
  *
115
+ * @public
116
116
  */
117
117
  export declare class GetConfigurationPolicyAssociationCommand extends GetConfigurationPolicyAssociationCommand_base {
118
118
  /** @internal type navigation helper, not in runtime. */
@@ -124,55 +124,55 @@ declare const GetConfigurationPolicyCommand_base: {
124
124
  * @throws {@link SecurityHubServiceException}
125
125
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
126
126
  *
127
- * @public
127
+ *
128
128
  * @example To get details about a configuration policy
129
129
  * ```javascript
130
130
  * // This operation provides details about the specified configuration policy.
131
131
  * const input = {
132
- * "Identifier": "arn:aws:securityhub:us-east-1:123456789012:configuration-policy/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
132
+ * Identifier: "arn:aws:securityhub:us-east-1:123456789012:configuration-policy/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
133
133
  * };
134
134
  * const command = new GetConfigurationPolicyCommand(input);
135
135
  * const response = await client.send(command);
136
- * /* response ==
136
+ * /* response is
137
137
  * {
138
- * "Arn": "arn:aws:securityhub:us-east-1:123456789012:configuration-policy/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
139
- * "ConfigurationPolicy": {
140
- * "SecurityHub": {
141
- * "EnabledStandardIdentifiers": [
138
+ * Arn: "arn:aws:securityhub:us-east-1:123456789012:configuration-policy/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
139
+ * ConfigurationPolicy: {
140
+ * SecurityHub: {
141
+ * EnabledStandardIdentifiers: [
142
142
  * "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
143
143
  * "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
144
144
  * ],
145
- * "SecurityControlsConfiguration": {
146
- * "DisabledSecurityControlIdentifiers": [
145
+ * SecurityControlsConfiguration: {
146
+ * DisabledSecurityControlIdentifiers: [
147
147
  * "CloudWatch.1"
148
148
  * ],
149
- * "SecurityControlCustomParameters": [
149
+ * SecurityControlCustomParameters: [
150
150
  * {
151
- * "Parameters": {
152
- * "daysToExpiration": {
153
- * "Value": {
154
- * "Integer": 14
151
+ * Parameters: {
152
+ * daysToExpiration: {
153
+ * Value: {
154
+ * Integer: 14
155
155
  * },
156
- * "ValueType": "CUSTOM"
156
+ * ValueType: "CUSTOM"
157
157
  * }
158
158
  * },
159
- * "SecurityControlId": "ACM.1"
159
+ * SecurityControlId: "ACM.1"
160
160
  * }
161
161
  * ]
162
162
  * },
163
- * "ServiceEnabled": true
163
+ * ServiceEnabled: true
164
164
  * }
165
165
  * },
166
- * "CreatedAt": "2023-01-11T06:17:17.154Z",
167
- * "Description": "Configuration policy for testing FSBP and CIS",
168
- * "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
169
- * "Name": "TestConfigurationPolicy",
170
- * "UpdatedAt": "2023-01-11T06:17:17.154Z"
166
+ * CreatedAt: "2023-01-11T06:17:17.154Z",
167
+ * Description: "Configuration policy for testing FSBP and CIS",
168
+ * Id: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
169
+ * Name: "TestConfigurationPolicy",
170
+ * UpdatedAt: "2023-01-11T06:17:17.154Z"
171
171
  * }
172
172
  * *\/
173
- * // example id: to-get-details-about-a-configuration-policy-1695173701103
174
173
  * ```
175
174
  *
175
+ * @public
176
176
  */
177
177
  export declare class GetConfigurationPolicyCommand extends GetConfigurationPolicyCommand_base {
178
178
  /** @internal type navigation helper, not in runtime. */
@@ -86,32 +86,32 @@ declare const GetEnabledStandardsCommand_base: {
86
86
  * @throws {@link SecurityHubServiceException}
87
87
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
88
88
  *
89
- * @public
89
+ *
90
90
  * @example To return a list of enabled standards
91
91
  * ```javascript
92
92
  * // The following example returns a list of Security Hub standards that are currently enabled in your account.
93
93
  * const input = {
94
- * "StandardsSubscriptionArns": [
94
+ * StandardsSubscriptionArns: [
95
95
  * "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
96
96
  * ]
97
97
  * };
98
98
  * const command = new GetEnabledStandardsCommand(input);
99
99
  * const response = await client.send(command);
100
- * /* response ==
100
+ * /* response is
101
101
  * {
102
- * "StandardsSubscriptions": [
102
+ * StandardsSubscriptions: [
103
103
  * {
104
- * "StandardsArn": "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
105
- * "StandardsInput": {},
106
- * "StandardsStatus": "READY",
107
- * "StandardsSubscriptionArn": "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
104
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
105
+ * StandardsInput: { /* empty *\/ },
106
+ * StandardsStatus: "READY",
107
+ * StandardsSubscriptionArn: "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
108
108
  * }
109
109
  * ]
110
110
  * }
111
111
  * *\/
112
- * // example id: to-return-a-list-of-enabled-standards-1677090731129
113
112
  * ```
114
113
  *
114
+ * @public
115
115
  */
116
116
  export declare class GetEnabledStandardsCommand extends GetEnabledStandardsCommand_base {
117
117
  /** @internal type navigation helper, not in runtime. */