Skip to content

Commit

Permalink
feat(client-securityhub): Updated CreateMembers API request with limits.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 1, 2024
1 parent 93917f7 commit 1142738
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M

/**
* <p>
* <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use
* <code>BatchUpdateFindings</code>.</p>
* <code>UpdateFindings</code> is a deprecated operation. Instead of <code>UpdateFindings</code>, use
* the <code>BatchUpdateFindings</code> operation.</p>
* <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated
* findings that the filter attributes specify. Any member account that can view the finding
* also sees the update to the finding.</p>
* <p>Finding updates made with <code>UpdateFindings</code> might not be persisted if the same finding is later updated by the
* finding provider through the <code>BatchImportFindings</code> operation.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
6 changes: 4 additions & 2 deletions clients/client-securityhub/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9487,7 +9487,8 @@ export class ResourceInUseException extends __BaseException {
export interface StartConfigurationPolicyAssociationRequest {
/**
* <p>
* The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
* The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a
* configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.
* </p>
* @public
*/
Expand Down Expand Up @@ -9578,7 +9579,8 @@ export interface StartConfigurationPolicyDisassociationRequest {

/**
* <p>
* The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
* The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a
* configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.
* </p>
* @public
*/
Expand Down
12 changes: 9 additions & 3 deletions codegen/sdk-codegen/aws-models/securityhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@
"type": "list",
"member": {
"target": "com.amazonaws.securityhub#AccountDetails"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.securityhub#AccountId": {
Expand Down Expand Up @@ -33900,7 +33906,7 @@
"target": "com.amazonaws.securityhub#NonEmptyString",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.\n </p>",
"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>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -34029,7 +34035,7 @@
"target": "com.amazonaws.securityhub#NonEmptyString",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>\n The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.\n </p>",
"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>",
"smithy.api#required": {}
}
}
Expand Down Expand Up @@ -35402,7 +35408,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#http": {
"method": "PATCH",
"uri": "/findings",
Expand Down

0 comments on commit 1142738

Please sign in to comment.