Skip to content

AccessPolicyDetail

Source code in docs_src/capo_opensearchserverless/types/access_policy_detail.py
class AccessPolicyDetail(TypedDict, closed=True):
    type: NotRequired[
        "capo_opensearchserverless.types.access_policy_type.AccessPolicyType"
    ]
    """<p>The type of access policy.</p>"""
    name: NotRequired["capo_opensearchserverless.types.policy_name.PolicyName"]
    """<p>The name of the policy.</p>"""
    policy_version: NotRequired[
        "capo_opensearchserverless.types.policy_version.PolicyVersion"
    ]
    """<p>The version of the policy.</p>"""
    description: NotRequired[
        "capo_opensearchserverless.types.policy_description.PolicyDescription"
    ]
    """<p>The description of the policy.</p>"""
    policy: NotRequired["object"]
    """<p>The JSON policy document without any whitespaces.</p>"""
    created_date: NotRequired["int"]
    """<p>The date the policy was created.</p>"""
    last_modified_date: NotRequired["int"]
    """<p>The timestamp of when the policy was last modified.</p>"""

created_date instance-attribute

created_date: NotRequired[int]

The date the policy was created.

description instance-attribute

description: NotRequired[PolicyDescription]

The description of the policy.

last_modified_date instance-attribute

last_modified_date: NotRequired[int]

The timestamp of when the policy was last modified.

name instance-attribute

name: NotRequired[PolicyName]

The name of the policy.

policy instance-attribute

policy: NotRequired[object]

The JSON policy document without any whitespaces.

policy_version instance-attribute

policy_version: NotRequired[PolicyVersion]

The version of the policy.

type instance-attribute

type: NotRequired[AccessPolicyType]

The type of access policy.