v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1459348326.0 KB

Create or update the resource policy for a configured audience model.

put/configured-audience-model/{configuredAudienceModelArn}/policy

Path parameters

configuredAudienceModelArnstring required

The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.

Request body

configuredAudienceModelPolicystring required

The IAM resource policy.

previousPolicyHashstring

A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.

policyExistenceCondition'POLICY_MUST_EXIST' | 'POLICY_MUST_NOT_EXIST'

Use this to prevent unexpected concurrent modification of the policy.

Response

Success

configuredAudienceModelPolicystring required

The IAM resource policy.

policyHashstring required

A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.