Skip to content

GetImagePolicyResponse

Source code in docs_src/capo_imagebuilder/types/get_image_policy_response.py
class GetImagePolicyResponse(TypedDict, closed=True):
    request_id: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The request ID that uniquely identifies this request.</p>"""
    policy: NotRequired[
        "capo_imagebuilder.types.resource_policy_document.ResourcePolicyDocument"
    ]
    """<p>The resource policy for the image, as a JSON policy document. If the image has no policy applied, the response contains an empty JSON object (<code>{}</code>).</p>"""

policy instance-attribute

policy: NotRequired[ResourcePolicyDocument]

The resource policy for the image, as a JSON policy document. If the image has no policy applied, the response contains an empty JSON object ({}).

request_id instance-attribute

request_id: NotRequired[NonEmptyString]

The request ID that uniquely identifies this request.