@aws-sdk/client-securityhub 3.299.0 → 3.301.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 (79) hide show
  1. package/dist-cjs/models/models_0.js +1 -6
  2. package/dist-cjs/models/models_1.js +6 -1
  3. package/dist-cjs/protocols/Aws_restJson1.js +244 -0
  4. package/dist-es/models/models_0.js +0 -5
  5. package/dist-es/models/models_1.js +5 -0
  6. package/dist-es/protocols/Aws_restJson1.js +244 -0
  7. package/dist-types/SecurityHub.d.ts +6 -4
  8. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
  9. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  10. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +5 -0
  11. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
  12. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
  13. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
  14. package/dist-types/commands/BatchImportFindingsCommand.d.ts +3756 -0
  15. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
  16. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
  18. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
  19. package/dist-types/commands/CreateInsightCommand.d.ts +256 -1
  20. package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
  21. package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
  22. package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
  23. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
  26. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
  27. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
  28. package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
  33. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
  34. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  35. package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
  36. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  38. package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
  39. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
  40. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  41. package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
  42. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
  43. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
  44. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
  45. package/dist-types/commands/GetFindingsCommand.d.ts +261 -0
  46. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
  47. package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
  48. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
  49. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  50. package/dist-types/commands/GetMembersCommand.d.ts +5 -0
  51. package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
  52. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
  53. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
  55. package/dist-types/commands/ListMembersCommand.d.ts +5 -0
  56. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
  58. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
  63. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
  64. package/dist-types/commands/UpdateFindingsCommand.d.ts +258 -0
  65. package/dist-types/commands/UpdateInsightCommand.d.ts +256 -0
  66. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  67. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +5 -0
  69. package/dist-types/models/models_0.d.ts +254 -129
  70. package/dist-types/models/models_1.d.ts +205 -105
  71. package/dist-types/models/models_2.d.ts +106 -5
  72. package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/models/models_0.d.ts +46 -34
  77. package/dist-types/ts3.4/models/models_1.d.ts +49 -33
  78. package/dist-types/ts3.4/models/models_2.d.ts +31 -1
  79. package/package.json +8 -8
@@ -84,6 +84,41 @@ export interface BatchUpdateFindingsCommandOutput extends BatchUpdateFindingsRes
84
84
  * import { SecurityHubClient, BatchUpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
85
85
  * // const { SecurityHubClient, BatchUpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
86
86
  * const client = new SecurityHubClient(config);
87
+ * const input = { // BatchUpdateFindingsRequest
88
+ * FindingIdentifiers: [ // AwsSecurityFindingIdentifierList // required
89
+ * { // AwsSecurityFindingIdentifier
90
+ * Id: "STRING_VALUE", // required
91
+ * ProductArn: "STRING_VALUE", // required
92
+ * },
93
+ * ],
94
+ * Note: { // NoteUpdate
95
+ * Text: "STRING_VALUE", // required
96
+ * UpdatedBy: "STRING_VALUE", // required
97
+ * },
98
+ * Severity: { // SeverityUpdate
99
+ * Normalized: Number("int"),
100
+ * Product: Number("double"),
101
+ * Label: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
102
+ * },
103
+ * VerificationState: "UNKNOWN" || "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_POSITIVE",
104
+ * Confidence: Number("int"),
105
+ * Criticality: Number("int"),
106
+ * Types: [ // TypeList
107
+ * "STRING_VALUE",
108
+ * ],
109
+ * UserDefinedFields: { // FieldMap
110
+ * "<keys>": "STRING_VALUE",
111
+ * },
112
+ * Workflow: { // WorkflowUpdate
113
+ * Status: "NEW" || "NOTIFIED" || "RESOLVED" || "SUPPRESSED",
114
+ * },
115
+ * RelatedFindings: [ // RelatedFindingList
116
+ * { // RelatedFinding
117
+ * ProductArn: "STRING_VALUE", // required
118
+ * Id: "STRING_VALUE", // required
119
+ * },
120
+ * ],
121
+ * };
87
122
  * const command = new BatchUpdateFindingsCommand(input);
88
123
  * const response = await client.send(command);
89
124
  * ```
@@ -28,6 +28,16 @@ export interface BatchUpdateStandardsControlAssociationsCommandOutput extends Ba
28
28
  * import { SecurityHubClient, BatchUpdateStandardsControlAssociationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, BatchUpdateStandardsControlAssociationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // BatchUpdateStandardsControlAssociationsRequest
32
+ * StandardsControlAssociationUpdates: [ // StandardsControlAssociationUpdates // required
33
+ * { // StandardsControlAssociationUpdate
34
+ * StandardsArn: "STRING_VALUE", // required
35
+ * SecurityControlId: "STRING_VALUE", // required
36
+ * AssociationStatus: "ENABLED" || "DISABLED", // required
37
+ * UpdatedReason: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * };
31
41
  * const command = new BatchUpdateStandardsControlAssociationsCommand(input);
32
42
  * const response = await client.send(command);
33
43
  * ```
@@ -28,6 +28,11 @@ export interface CreateActionTargetCommandOutput extends CreateActionTargetRespo
28
28
  * import { SecurityHubClient, CreateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, CreateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // CreateActionTargetRequest
32
+ * Name: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE", // required
34
+ * Id: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new CreateActionTargetCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,12 @@ export interface CreateFindingAggregatorCommandOutput extends CreateFindingAggre
28
28
  * import { SecurityHubClient, CreateFindingAggregatorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, CreateFindingAggregatorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // CreateFindingAggregatorRequest
32
+ * RegionLinkingMode: "STRING_VALUE", // required
33
+ * Regions: [ // StringList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
31
37
  * const command = new CreateFindingAggregatorCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { CreateInsightRequest, CreateInsightResponse } from "../models/models_1";
4
+ import { CreateInsightRequest, CreateInsightResponse } from "../models/models_2";
5
5
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
6
  /**
7
7
  * @public
@@ -29,6 +29,261 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
29
29
  * import { SecurityHubClient, CreateInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
30
30
  * // const { SecurityHubClient, CreateInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
31
31
  * const client = new SecurityHubClient(config);
32
+ * const input = { // CreateInsightRequest
33
+ * Name: "STRING_VALUE", // required
34
+ * Filters: { // AwsSecurityFindingFilters
35
+ * ProductArn: [ // StringFilterList
36
+ * { // StringFilter
37
+ * Value: "STRING_VALUE",
38
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
39
+ * },
40
+ * ],
41
+ * AwsAccountId: [
42
+ * {
43
+ * Value: "STRING_VALUE",
44
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
45
+ * },
46
+ * ],
47
+ * Id: [
48
+ * {
49
+ * Value: "STRING_VALUE",
50
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
51
+ * },
52
+ * ],
53
+ * GeneratorId: [
54
+ * {
55
+ * Value: "STRING_VALUE",
56
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
57
+ * },
58
+ * ],
59
+ * Region: [
60
+ * {
61
+ * Value: "STRING_VALUE",
62
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
63
+ * },
64
+ * ],
65
+ * Type: "<StringFilterList>",
66
+ * FirstObservedAt: [ // DateFilterList
67
+ * { // DateFilter
68
+ * Start: "STRING_VALUE",
69
+ * End: "STRING_VALUE",
70
+ * DateRange: { // DateRange
71
+ * Value: Number("int"),
72
+ * Unit: "DAYS",
73
+ * },
74
+ * },
75
+ * ],
76
+ * LastObservedAt: [
77
+ * {
78
+ * Start: "STRING_VALUE",
79
+ * End: "STRING_VALUE",
80
+ * DateRange: {
81
+ * Value: Number("int"),
82
+ * Unit: "DAYS",
83
+ * },
84
+ * },
85
+ * ],
86
+ * CreatedAt: [
87
+ * {
88
+ * Start: "STRING_VALUE",
89
+ * End: "STRING_VALUE",
90
+ * DateRange: {
91
+ * Value: Number("int"),
92
+ * Unit: "DAYS",
93
+ * },
94
+ * },
95
+ * ],
96
+ * UpdatedAt: [
97
+ * {
98
+ * Start: "STRING_VALUE",
99
+ * End: "STRING_VALUE",
100
+ * DateRange: {
101
+ * Value: Number("int"),
102
+ * Unit: "DAYS",
103
+ * },
104
+ * },
105
+ * ],
106
+ * SeverityProduct: [ // NumberFilterList
107
+ * { // NumberFilter
108
+ * Gte: Number("double"),
109
+ * Lte: Number("double"),
110
+ * Eq: Number("double"),
111
+ * },
112
+ * ],
113
+ * SeverityNormalized: [
114
+ * {
115
+ * Gte: Number("double"),
116
+ * Lte: Number("double"),
117
+ * Eq: Number("double"),
118
+ * },
119
+ * ],
120
+ * SeverityLabel: "<StringFilterList>",
121
+ * Confidence: [
122
+ * {
123
+ * Gte: Number("double"),
124
+ * Lte: Number("double"),
125
+ * Eq: Number("double"),
126
+ * },
127
+ * ],
128
+ * Criticality: [
129
+ * {
130
+ * Gte: Number("double"),
131
+ * Lte: Number("double"),
132
+ * Eq: Number("double"),
133
+ * },
134
+ * ],
135
+ * Title: "<StringFilterList>",
136
+ * Description: "<StringFilterList>",
137
+ * RecommendationText: "<StringFilterList>",
138
+ * SourceUrl: "<StringFilterList>",
139
+ * ProductFields: [ // MapFilterList
140
+ * { // MapFilter
141
+ * Key: "STRING_VALUE",
142
+ * Value: "STRING_VALUE",
143
+ * Comparison: "EQUALS" || "NOT_EQUALS",
144
+ * },
145
+ * ],
146
+ * ProductName: "<StringFilterList>",
147
+ * CompanyName: "<StringFilterList>",
148
+ * UserDefinedFields: [
149
+ * {
150
+ * Key: "STRING_VALUE",
151
+ * Value: "STRING_VALUE",
152
+ * Comparison: "EQUALS" || "NOT_EQUALS",
153
+ * },
154
+ * ],
155
+ * MalwareName: "<StringFilterList>",
156
+ * MalwareType: "<StringFilterList>",
157
+ * MalwarePath: "<StringFilterList>",
158
+ * MalwareState: "<StringFilterList>",
159
+ * NetworkDirection: "<StringFilterList>",
160
+ * NetworkProtocol: "<StringFilterList>",
161
+ * NetworkSourceIpV4: [ // IpFilterList
162
+ * { // IpFilter
163
+ * Cidr: "STRING_VALUE",
164
+ * },
165
+ * ],
166
+ * NetworkSourceIpV6: [
167
+ * {
168
+ * Cidr: "STRING_VALUE",
169
+ * },
170
+ * ],
171
+ * NetworkSourcePort: [
172
+ * {
173
+ * Gte: Number("double"),
174
+ * Lte: Number("double"),
175
+ * Eq: Number("double"),
176
+ * },
177
+ * ],
178
+ * NetworkSourceDomain: "<StringFilterList>",
179
+ * NetworkSourceMac: "<StringFilterList>",
180
+ * NetworkDestinationIpV4: [
181
+ * {
182
+ * Cidr: "STRING_VALUE",
183
+ * },
184
+ * ],
185
+ * NetworkDestinationIpV6: [
186
+ * {
187
+ * Cidr: "STRING_VALUE",
188
+ * },
189
+ * ],
190
+ * NetworkDestinationPort: "<NumberFilterList>",
191
+ * NetworkDestinationDomain: "<StringFilterList>",
192
+ * ProcessName: "<StringFilterList>",
193
+ * ProcessPath: "<StringFilterList>",
194
+ * ProcessPid: "<NumberFilterList>",
195
+ * ProcessParentPid: "<NumberFilterList>",
196
+ * ProcessLaunchedAt: [
197
+ * {
198
+ * Start: "STRING_VALUE",
199
+ * End: "STRING_VALUE",
200
+ * DateRange: {
201
+ * Value: Number("int"),
202
+ * Unit: "DAYS",
203
+ * },
204
+ * },
205
+ * ],
206
+ * ProcessTerminatedAt: "<DateFilterList>",
207
+ * ThreatIntelIndicatorType: "<StringFilterList>",
208
+ * ThreatIntelIndicatorValue: "<StringFilterList>",
209
+ * ThreatIntelIndicatorCategory: "<StringFilterList>",
210
+ * ThreatIntelIndicatorLastObservedAt: "<DateFilterList>",
211
+ * ThreatIntelIndicatorSource: "<StringFilterList>",
212
+ * ThreatIntelIndicatorSourceUrl: "<StringFilterList>",
213
+ * ResourceType: "<StringFilterList>",
214
+ * ResourceId: "<StringFilterList>",
215
+ * ResourcePartition: "<StringFilterList>",
216
+ * ResourceRegion: "<StringFilterList>",
217
+ * ResourceTags: [
218
+ * {
219
+ * Key: "STRING_VALUE",
220
+ * Value: "STRING_VALUE",
221
+ * Comparison: "EQUALS" || "NOT_EQUALS",
222
+ * },
223
+ * ],
224
+ * ResourceAwsEc2InstanceType: "<StringFilterList>",
225
+ * ResourceAwsEc2InstanceImageId: "<StringFilterList>",
226
+ * ResourceAwsEc2InstanceIpV4Addresses: [
227
+ * {
228
+ * Cidr: "STRING_VALUE",
229
+ * },
230
+ * ],
231
+ * ResourceAwsEc2InstanceIpV6Addresses: "<IpFilterList>",
232
+ * ResourceAwsEc2InstanceKeyName: "<StringFilterList>",
233
+ * ResourceAwsEc2InstanceIamInstanceProfileArn: "<StringFilterList>",
234
+ * ResourceAwsEc2InstanceVpcId: "<StringFilterList>",
235
+ * ResourceAwsEc2InstanceSubnetId: "<StringFilterList>",
236
+ * ResourceAwsEc2InstanceLaunchedAt: "<DateFilterList>",
237
+ * ResourceAwsS3BucketOwnerId: "<StringFilterList>",
238
+ * ResourceAwsS3BucketOwnerName: "<StringFilterList>",
239
+ * ResourceAwsIamAccessKeyUserName: "<StringFilterList>",
240
+ * ResourceAwsIamAccessKeyPrincipalName: "<StringFilterList>",
241
+ * ResourceAwsIamAccessKeyStatus: "<StringFilterList>",
242
+ * ResourceAwsIamAccessKeyCreatedAt: "<DateFilterList>",
243
+ * ResourceAwsIamUserUserName: "<StringFilterList>",
244
+ * ResourceContainerName: "<StringFilterList>",
245
+ * ResourceContainerImageId: "<StringFilterList>",
246
+ * ResourceContainerImageName: "<StringFilterList>",
247
+ * ResourceContainerLaunchedAt: "<DateFilterList>",
248
+ * ResourceDetailsOther: [
249
+ * {
250
+ * Key: "STRING_VALUE",
251
+ * Value: "STRING_VALUE",
252
+ * Comparison: "EQUALS" || "NOT_EQUALS",
253
+ * },
254
+ * ],
255
+ * ComplianceStatus: "<StringFilterList>",
256
+ * VerificationState: "<StringFilterList>",
257
+ * WorkflowState: "<StringFilterList>",
258
+ * WorkflowStatus: "<StringFilterList>",
259
+ * RecordState: "<StringFilterList>",
260
+ * RelatedFindingsProductArn: "<StringFilterList>",
261
+ * RelatedFindingsId: "<StringFilterList>",
262
+ * NoteText: "<StringFilterList>",
263
+ * NoteUpdatedAt: "<DateFilterList>",
264
+ * NoteUpdatedBy: "<StringFilterList>",
265
+ * Keyword: [ // KeywordFilterList
266
+ * { // KeywordFilter
267
+ * Value: "STRING_VALUE",
268
+ * },
269
+ * ],
270
+ * FindingProviderFieldsConfidence: "<NumberFilterList>",
271
+ * FindingProviderFieldsCriticality: "<NumberFilterList>",
272
+ * FindingProviderFieldsRelatedFindingsId: "<StringFilterList>",
273
+ * FindingProviderFieldsRelatedFindingsProductArn: "<StringFilterList>",
274
+ * FindingProviderFieldsSeverityLabel: "<StringFilterList>",
275
+ * FindingProviderFieldsSeverityOriginal: "<StringFilterList>",
276
+ * FindingProviderFieldsTypes: "<StringFilterList>",
277
+ * Sample: [ // BooleanFilterList
278
+ * { // BooleanFilter
279
+ * Value: true || false,
280
+ * },
281
+ * ],
282
+ * ComplianceSecurityControlId: "<StringFilterList>",
283
+ * ComplianceAssociatedStandardsId: "<StringFilterList>",
284
+ * },
285
+ * GroupByAttribute: "STRING_VALUE", // required
286
+ * };
32
287
  * const command = new CreateInsightCommand(input);
33
288
  * const response = await client.send(command);
34
289
  * ```
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { CreateMembersRequest, CreateMembersResponse } from "../models/models_1";
4
+ import { CreateMembersRequest, CreateMembersResponse } from "../models/models_2";
5
5
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
6
  /**
7
7
  * @public
@@ -60,6 +60,14 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
60
60
  * import { SecurityHubClient, CreateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
61
61
  * // const { SecurityHubClient, CreateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
62
62
  * const client = new SecurityHubClient(config);
63
+ * const input = { // CreateMembersRequest
64
+ * AccountDetails: [ // AccountDetailsList // required
65
+ * { // AccountDetails
66
+ * AccountId: "STRING_VALUE", // required
67
+ * Email: "STRING_VALUE",
68
+ * },
69
+ * ],
70
+ * };
63
71
  * const command = new CreateMembersCommand(input);
64
72
  * const response = await client.send(command);
65
73
  * ```
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { DeclineInvitationsRequest, DeclineInvitationsResponse } from "../models/models_1";
4
+ import { DeclineInvitationsRequest, DeclineInvitationsResponse } from "../models/models_2";
5
5
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
6
  /**
7
7
  * @public
@@ -20,14 +20,20 @@ export interface DeclineInvitationsCommandOutput extends DeclineInvitationsRespo
20
20
  /**
21
21
  * @public
22
22
  * <p>Declines invitations to become a member account.</p>
23
- * <p>This operation is only used by accounts that are not part of an organization.
24
- * Organization accounts do not receive invitations.</p>
23
+ * <p>A prospective member account uses this operation to decline an invitation to become a member.</p>
24
+ * <p>This operation is only called by member accounts that aren't part of an organization.
25
+ * Organization accounts don't receive invitations.</p>
25
26
  * @example
26
27
  * Use a bare-bones client and the command you need to make an API call.
27
28
  * ```javascript
28
29
  * import { SecurityHubClient, DeclineInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
30
  * // const { SecurityHubClient, DeclineInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
31
  * const client = new SecurityHubClient(config);
32
+ * const input = { // DeclineInvitationsRequest
33
+ * AccountIds: [ // AccountIdList // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
31
37
  * const command = new DeclineInvitationsCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { DeleteActionTargetRequest, DeleteActionTargetResponse } from "../models/models_1";
4
+ import { DeleteActionTargetRequest, DeleteActionTargetResponse } from "../models/models_2";
5
5
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
6
  /**
7
7
  * @public
@@ -28,6 +28,9 @@ export interface DeleteActionTargetCommandOutput extends DeleteActionTargetRespo
28
28
  * import { SecurityHubClient, DeleteActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, DeleteActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // DeleteActionTargetRequest
32
+ * ActionTargetArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteActionTargetCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -28,6 +28,9 @@ export interface DeleteFindingAggregatorCommandOutput extends DeleteFindingAggre
28
28
  * import { SecurityHubClient, DeleteFindingAggregatorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, DeleteFindingAggregatorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // DeleteFindingAggregatorRequest
32
+ * FindingAggregatorArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteFindingAggregatorCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,9 @@ export interface DeleteInsightCommandOutput extends DeleteInsightResponse, __Met
26
26
  * import { SecurityHubClient, DeleteInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
27
27
  * // const { SecurityHubClient, DeleteInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
28
28
  * const client = new SecurityHubClient(config);
29
+ * const input = { // DeleteInsightRequest
30
+ * InsightArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteInsightCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -20,14 +20,20 @@ export interface DeleteInvitationsCommandOutput extends DeleteInvitationsRespons
20
20
  /**
21
21
  * @public
22
22
  * <p>Deletes invitations received by the Amazon Web Services account to become a member account.</p>
23
- * <p>This operation is only used by accounts that are not part of an organization.
24
- * Organization accounts do not receive invitations.</p>
23
+ * <p>A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.</p>
24
+ * <p>This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization.
25
+ * Organization accounts don't receive invitations.</p>
25
26
  * @example
26
27
  * Use a bare-bones client and the command you need to make an API call.
27
28
  * ```javascript
28
29
  * import { SecurityHubClient, DeleteInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
30
  * // const { SecurityHubClient, DeleteInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
31
  * const client = new SecurityHubClient(config);
32
+ * const input = { // DeleteInvitationsRequest
33
+ * AccountIds: [ // AccountIdList // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
31
37
  * const command = new DeleteInvitationsCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -28,6 +28,11 @@ export interface DeleteMembersCommandOutput extends DeleteMembersResponse, __Met
28
28
  * import { SecurityHubClient, DeleteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, DeleteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // DeleteMembersRequest
32
+ * AccountIds: [ // AccountIdList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new DeleteMembersCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,13 @@ export interface DescribeActionTargetsCommandOutput extends DescribeActionTarget
26
26
  * import { SecurityHubClient, DescribeActionTargetsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
27
27
  * // const { SecurityHubClient, DescribeActionTargetsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
28
28
  * const client = new SecurityHubClient(config);
29
+ * const input = { // DescribeActionTargetsRequest
30
+ * ActionTargetArns: [ // ArnList
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
29
36
  * const command = new DescribeActionTargetsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -27,6 +27,9 @@ export interface DescribeHubCommandOutput extends DescribeHubResponse, __Metadat
27
27
  * import { SecurityHubClient, DescribeHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
28
28
  * // const { SecurityHubClient, DescribeHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
29
29
  * const client = new SecurityHubClient(config);
30
+ * const input = { // DescribeHubRequest
31
+ * HubArn: "STRING_VALUE",
32
+ * };
30
33
  * const command = new DescribeHubCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
27
27
  * import { SecurityHubClient, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
28
28
  * // const { SecurityHubClient, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
29
29
  * const client = new SecurityHubClient(config);
30
+ * const input = {};
30
31
  * const command = new DescribeOrganizationConfigurationCommand(input);
31
32
  * const response = await client.send(command);
32
33
  * ```
@@ -30,6 +30,11 @@ export interface DescribeProductsCommandOutput extends DescribeProductsResponse,
30
30
  * import { SecurityHubClient, DescribeProductsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
31
31
  * // const { SecurityHubClient, DescribeProductsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
32
32
  * const client = new SecurityHubClient(config);
33
+ * const input = { // DescribeProductsRequest
34
+ * NextToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * ProductArn: "STRING_VALUE",
37
+ * };
33
38
  * const command = new DescribeProductsCommand(input);
34
39
  * const response = await client.send(command);
35
40
  * ```
@@ -27,6 +27,10 @@ export interface DescribeStandardsCommandOutput extends DescribeStandardsRespons
27
27
  * import { SecurityHubClient, DescribeStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
28
28
  * // const { SecurityHubClient, DescribeStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
29
29
  * const client = new SecurityHubClient(config);
30
+ * const input = { // DescribeStandardsRequest
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
30
34
  * const command = new DescribeStandardsCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -28,6 +28,11 @@ export interface DescribeStandardsControlsCommandOutput extends DescribeStandard
28
28
  * import { SecurityHubClient, DescribeStandardsControlsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, DescribeStandardsControlsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // DescribeStandardsControlsRequest
32
+ * StandardsSubscriptionArn: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
31
36
  * const command = new DescribeStandardsControlsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -27,6 +27,9 @@ export interface DisableImportFindingsForProductCommandOutput extends DisableImp
27
27
  * import { SecurityHubClient, DisableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
28
28
  * // const { SecurityHubClient, DisableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
29
29
  * const client = new SecurityHubClient(config);
30
+ * const input = { // DisableImportFindingsForProductRequest
31
+ * ProductSubscriptionArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DisableImportFindingsForProductCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ export interface DisableOrganizationAdminAccountCommandOutput extends DisableOrg
27
27
  * import { SecurityHubClient, DisableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
28
28
  * // const { SecurityHubClient, DisableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
29
29
  * const client = new SecurityHubClient(config);
30
+ * const input = { // DisableOrganizationAdminAccountRequest
31
+ * AdminAccountId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DisableOrganizationAdminAccountCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -34,6 +34,7 @@ export interface DisableSecurityHubCommandOutput extends DisableSecurityHubRespo
34
34
  * import { SecurityHubClient, DisableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
35
35
  * // const { SecurityHubClient, DisableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
36
  * const client = new SecurityHubClient(config);
37
+ * const input = {};
37
38
  * const command = new DisableSecurityHubCommand(input);
38
39
  * const response = await client.send(command);
39
40
  * ```
@@ -30,6 +30,7 @@ export interface DisassociateFromAdministratorAccountCommandOutput extends Disas
30
30
  * import { SecurityHubClient, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
31
31
  * // const { SecurityHubClient, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
32
32
  * const client = new SecurityHubClient(config);
33
+ * const input = {};
33
34
  * const command = new DisassociateFromAdministratorAccountCommand(input);
34
35
  * const response = await client.send(command);
35
36
  * ```
@@ -34,6 +34,7 @@ export interface DisassociateFromMasterAccountCommandOutput extends Disassociate
34
34
  * import { SecurityHubClient, DisassociateFromMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
35
35
  * // const { SecurityHubClient, DisassociateFromMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
36
  * const client = new SecurityHubClient(config);
37
+ * const input = {};
37
38
  * const command = new DisassociateFromMasterAccountCommand(input);
38
39
  * const response = await client.send(command);
39
40
  * ```
@@ -28,6 +28,11 @@ export interface DisassociateMembersCommandOutput extends DisassociateMembersRes
28
28
  * import { SecurityHubClient, DisassociateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, DisassociateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // DisassociateMembersRequest
32
+ * AccountIds: [ // AccountIdList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new DisassociateMembersCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,9 @@ export interface EnableImportFindingsForProductCommandOutput extends EnableImpor
29
29
  * import { SecurityHubClient, EnableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
30
30
  * // const { SecurityHubClient, EnableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
31
31
  * const client = new SecurityHubClient(config);
32
+ * const input = { // EnableImportFindingsForProductRequest
33
+ * ProductArn: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new EnableImportFindingsForProductCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```