add_policy_grant
Add a policy grant to an entity in Amazon DataZone, specifying domain, entity, policy type, and principal to grant permissions.
Instructions
Adds a policy grant to a specified entity in Amazon DataZone.
Args: domain_identifier (str): The ID of the domain entity_identifier (str): The ID of the entity to add the policy grant to entity_type (str): The type of entity (DOMAIN_UNIT, ENVIRONMENT_BLUEPRINT_CONFIGURATION, or ENVIRONMENT_PROFILE) policy_type (str): The type of policy to grant (e.g., CREATE_DOMAIN_UNIT, OVERRIDE_DOMAIN_UNIT_OWNERS, etc.) principal_identifier (str): The identifier of the principal to grant permissions to principal_type (str, optional): The type of principal (default: "USER") client_token (str, optional): A unique token to ensure idempotency detail (dict, optional): Additional details for the policy grant
Returns: Any: The API response
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_identifier": "<domain_identifier>",
"entity_identifier": "<entity_identifier>",
"entity_type": "<entity_type>",
"policy_type": "<policy_type>",
"principal_identifier": "<principal_identifier>"
},
"name": "add_policy_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| entity_type | Yes | ||
| policy_type | Yes | ||
| client_token | No | ||
| principal_type | No | USER | |
| domain_identifier | Yes | ||
| entity_identifier | Yes | ||
| principal_identifier | Yes |