选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

BatchGetConfigurationPolicyAssociations - AWS Security Hub
此页面尚未翻译为您的语言。 请求翻译

BatchGetConfigurationPolicyAssociations

Returns associations between an AWS Security Hub configuration and a batch of target accounts, organizational units, or the root. Only the Security Hub delegated administrator can invoke this operation from the home Region. A configuration can refer to a configuration policy or to a self-managed configuration.

Request Syntax

POST /configurationPolicyAssociation/batchget HTTP/1.1 Content-type: application/json { "ConfigurationPolicyAssociationIdentifiers": [ { "Target": { ... } } ] }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ConfigurationPolicyAssociationIdentifiers

Specifies one or more target account IDs, organizational unit (OU) IDs, or the root ID to retrieve associations for.

Type: Array of ConfigurationPolicyAssociation objects

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "ConfigurationPolicyAssociations": [ { "AssociationStatus": "string", "AssociationStatusMessage": "string", "AssociationType": "string", "ConfigurationPolicyId": "string", "TargetId": "string", "TargetType": "string", "UpdatedAt": "string" } ], "UnprocessedConfigurationPolicyAssociations": [ { "ConfigurationPolicyAssociationIdentifiers": { "Target": { ... } }, "ErrorCode": "string", "ErrorReason": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ConfigurationPolicyAssociations

Describes associations for the target accounts, OUs, or the root.

Type: Array of ConfigurationPolicyAssociationSummary objects

UnprocessedConfigurationPolicyAssociations

An array of configuration policy associations, one for each configuration policy association identifier, that was specified in the request but couldn’t be processed due to an error.

Type: Array of UnprocessedConfigurationPolicyAssociation objects

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have permission to perform the action specified in the request.

HTTP Status Code: 403

InternalException

Internal server error.

HTTP Status Code: 500

InvalidAccessException

The account doesn't have permission to perform this action.

HTTP Status Code: 401

InvalidInputException

The request was rejected because you supplied an invalid or out-of-range value for an input parameter.

HTTP Status Code: 400

LimitExceededException

The request was rejected because it attempted to create resources beyond the current AWS account or throttling limits. The error code describes the limit exceeded.

HTTP Status Code: 429

ResourceNotFoundException

The request was rejected because we can't find the specified resource.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。