Skip to content

AddPolicyGrantInput

Source code in docs_src/capo_datazone/types/add_policy_grant_input.py
class AddPolicyGrantInput(TypedDict, closed=True):
    domain_identifier: "capo_datazone.types.domain_id.DomainId"
    """<p>The ID of the domain where you want to add a policy grant.</p>"""
    entity_type: "capo_datazone.types.target_entity_type.TargetEntityType"
    """<p>The type of entity (resource) to which the grant is added.</p>"""
    entity_identifier: "str"
    """<p>The ID of the entity (resource) to which you want to add a policy grant.</p>"""
    policy_type: "capo_datazone.types.managed_policy_type.ManagedPolicyType"
    """<p>The type of policy that you want to grant.</p>"""
    principal: "capo_datazone.types.policy_grant_principal.PolicyGrantPrincipal"
    """<p>The principal to whom the permissions are granted.</p>"""
    detail: "capo_datazone.types.policy_grant_detail.PolicyGrantDetail"
    """<p>The details of the policy grant.</p>"""
    client_token: NotRequired["capo_datazone.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

detail instance-attribute

The details of the policy grant.

domain_identifier instance-attribute

domain_identifier: DomainId

The ID of the domain where you want to add a policy grant.

entity_identifier instance-attribute

entity_identifier: str

The ID of the entity (resource) to which you want to add a policy grant.

entity_type instance-attribute

entity_type: TargetEntityType

The type of entity (resource) to which the grant is added.

policy_type instance-attribute

policy_type: ManagedPolicyType

The type of policy that you want to grant.

principal instance-attribute

The principal to whom the permissions are granted.