Skip to content

GetPolicyVersionResponse

Source code in docs_src/capo_iot/types/get_policy_version_response.py
class GetPolicyVersionResponse(TypedDict, closed=True):
    policy_arn: NotRequired["capo_iot.types.policy_arn.PolicyArn"]
    """<p>The policy ARN.</p>"""
    policy_name: NotRequired["capo_iot.types.policy_name.PolicyName"]
    """<p>The policy name.</p>"""
    policy_document: NotRequired["capo_iot.types.policy_document.PolicyDocument"]
    """<p>The JSON document that describes the policy.</p>"""
    policy_version_id: NotRequired["capo_iot.types.policy_version_id.PolicyVersionId"]
    """<p>The policy version ID.</p>"""
    is_default_version: "capo_iot.types.is_default_version.IsDefaultVersion"
    """<p>Specifies whether the policy version is the default.</p>"""
    creation_date: NotRequired["capo_iot.types.date_type.DateType"]
    """<p>The date the policy was created.</p>"""
    last_modified_date: NotRequired["capo_iot.types.date_type.DateType"]
    """<p>The date the policy was last modified.</p>"""
    generation_id: NotRequired["capo_iot.types.generation_id.GenerationId"]
    """<p>The generation ID of the policy version.</p>"""

creation_date instance-attribute

creation_date: NotRequired[DateType]

The date the policy was created.

generation_id instance-attribute

generation_id: NotRequired[GenerationId]

The generation ID of the policy version.

is_default_version instance-attribute

is_default_version: IsDefaultVersion

Specifies whether the policy version is the default.

last_modified_date instance-attribute

last_modified_date: NotRequired[DateType]

The date the policy was last modified.

policy_arn instance-attribute

policy_arn: NotRequired[PolicyArn]

The policy ARN.

policy_document instance-attribute

policy_document: NotRequired[PolicyDocument]

The JSON document that describes the policy.

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

The policy name.

policy_version_id instance-attribute

policy_version_id: NotRequired[PolicyVersionId]

The policy version ID.