Skip to content

Commit 1142738

Browse files
author
awstools
committed
feat(client-securityhub): Updated CreateMembers API request with limits.
1 parent 93917f7 commit 1142738

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

clients/client-securityhub/src/commands/UpdateFindingsCommand.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
2828

2929
/**
3030
* <p>
31-
* <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use
32-
* <code>BatchUpdateFindings</code>.</p>
31+
* <code>UpdateFindings</code> is a deprecated operation. Instead of <code>UpdateFindings</code>, use
32+
* the <code>BatchUpdateFindings</code> operation.</p>
3333
* <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated
3434
* findings that the filter attributes specify. Any member account that can view the finding
3535
* also sees the update to the finding.</p>
36+
* <p>Finding updates made with <code>UpdateFindings</code> might not be persisted if the same finding is later updated by the
37+
* finding provider through the <code>BatchImportFindings</code> operation.</p>
3638
* @example
3739
* Use a bare-bones client and the command you need to make an API call.
3840
* ```javascript

clients/client-securityhub/src/models/models_2.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -9487,7 +9487,8 @@ export class ResourceInUseException extends __BaseException {
94879487
export interface StartConfigurationPolicyAssociationRequest {
94889488
/**
94899489
* <p>
9490-
* The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
9490+
* The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a
9491+
* configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.
94919492
* </p>
94929493
* @public
94939494
*/
@@ -9578,7 +9579,8 @@ export interface StartConfigurationPolicyDisassociationRequest {
95789579

95799580
/**
95809581
* <p>
9581-
* The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
9582+
* The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a
9583+
* configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.
95829584
* </p>
95839585
* @public
95849586
*/

codegen/sdk-codegen/aws-models/securityhub.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@
214214
"type": "list",
215215
"member": {
216216
"target": "com.amazonaws.securityhub#AccountDetails"
217+
},
218+
"traits": {
219+
"smithy.api#length": {
220+
"min": 1,
221+
"max": 50
222+
}
217223
}
218224
},
219225
"com.amazonaws.securityhub#AccountId": {
@@ -33900,7 +33906,7 @@
3390033906
"target": "com.amazonaws.securityhub#NonEmptyString",
3390133907
"traits": {
3390233908
"smithy.api#clientOptional": {},
33903-
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.\n </p>",
33909+
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a \n configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.\n </p>",
3390433910
"smithy.api#required": {}
3390533911
}
3390633912
},
@@ -34029,7 +34035,7 @@
3402934035
"target": "com.amazonaws.securityhub#NonEmptyString",
3403034036
"traits": {
3403134037
"smithy.api#clientOptional": {},
34032-
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.\n </p>",
34038+
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a \n configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.\n </p>",
3403334039
"smithy.api#required": {}
3403434040
}
3403534041
}
@@ -35402,7 +35408,7 @@
3540235408
}
3540335409
],
3540435410
"traits": {
35405-
"smithy.api#documentation": "<p>\n <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use\n <code>BatchUpdateFindings</code>.</p>\n <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated\n findings that the filter attributes specify. Any member account that can view the finding\n also sees the update to the finding.</p>",
35411+
"smithy.api#documentation": "<p>\n <code>UpdateFindings</code> is a deprecated operation. Instead of <code>UpdateFindings</code>, use\n the <code>BatchUpdateFindings</code> operation.</p>\n <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated\n findings that the filter attributes specify. Any member account that can view the finding\n also sees the update to the finding.</p>\n <p>Finding updates made with <code>UpdateFindings</code> might not be persisted if the same finding is later updated by the \n finding provider through the <code>BatchImportFindings</code> operation.</p>",
3540635412
"smithy.api#http": {
3540735413
"method": "PATCH",
3540835414
"uri": "/findings",

0 commit comments

Comments
 (0)