Skip to content

GetPolicyResponse

Source code in docs_src/capo_iot/types/get_policy_response.py
class GetPolicyResponse(TypedDict, closed=True):
    policy_name: NotRequired["capo_iot.types.policy_name.PolicyName"]
    """<p>The policy name.</p>"""
    policy_arn: NotRequired["capo_iot.types.policy_arn.PolicyArn"]
    """<p>The policy ARN.</p>"""
    policy_document: NotRequired["capo_iot.types.policy_document.PolicyDocument"]
    """<p>The JSON document that describes the policy.</p>"""
    default_version_id: NotRequired["capo_iot.types.policy_version_id.PolicyVersionId"]
    """<p>The default policy version ID.</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.</p>"""

creation_date instance-attribute

creation_date: NotRequired[DateType]

The date the policy was created.

default_version_id instance-attribute

default_version_id: NotRequired[PolicyVersionId]

The default policy version ID.

generation_id instance-attribute

generation_id: NotRequired[GenerationId]

The generation ID of the policy.

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.