CleanRoomsML / Client / get_configured_audience_model_policy

get_configured_audience_model_policy#

CleanRoomsML.Client.get_configured_audience_model_policy(**kwargs)#

Returns information about a configured audience model policy.

See also: AWS API Documentation

Request Syntax

response = client.get_configured_audience_model_policy(
    configuredAudienceModelArn='string'
)
Parameters:

configuredAudienceModelArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the configured audience model that you are interested in.

Return type:

dict

Returns:

Response Syntax

{
    'configuredAudienceModelArn': 'string',
    'configuredAudienceModelPolicy': 'string',
    'policyHash': 'string'
}

Response Structure

  • (dict) –

    • configuredAudienceModelArn (string) –

      The Amazon Resource Name (ARN) of the configured audience model.

    • configuredAudienceModelPolicy (string) –

      The configured audience model policy. This is a JSON IAM resource policy.

    • policyHash (string) –

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

Exceptions

  • CleanRoomsML.Client.exceptions.ValidationException

  • CleanRoomsML.Client.exceptions.AccessDeniedException

  • CleanRoomsML.Client.exceptions.ResourceNotFoundException