CreatePolicyOutput
¶
Source code in docs_src/capo_verifiedpermissions/types/create_policy_output.py
actions
instance-attribute
¶
actions: NotRequired[ActionIdentifierList]
The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
created_date
instance-attribute
¶
created_date: TimestampFormat
The date and time the policy was originally created.
effect
instance-attribute
¶
effect: NotRequired[PolicyEffect]
The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
last_updated_date
instance-attribute
¶
last_updated_date: TimestampFormat
The date and time the policy was last updated.
policy_store_id
instance-attribute
¶
policy_store_id: PolicyStoreId
The ID of the policy store that contains the new policy.
principal
instance-attribute
¶
principal: NotRequired[EntityIdentifier]
The principal specified in the new policy's scope. This response element isn't present when principal isn't specified in the policy content.
resource
instance-attribute
¶
resource: NotRequired[EntityIdentifier]
The resource specified in the new policy's scope. This response element isn't present when the resource isn't specified in the policy content.