#[non_exhaustive]pub struct BatchIsAuthorizedInput {
pub policy_store_id: Option<String>,
pub entities: Option<EntitiesDefinition>,
pub requests: Option<Vec<BatchIsAuthorizedInputItem>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.policy_store_id: Option<String>Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.
entities: Option<EntitiesDefinition>Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
requests: Option<Vec<BatchIsAuthorizedInputItem>>An array of up to 30 requests that you want Verified Permissions to evaluate.
Implementations§
source§impl BatchIsAuthorizedInput
impl BatchIsAuthorizedInput
sourcepub fn policy_store_id(&self) -> Option<&str>
pub fn policy_store_id(&self) -> Option<&str>
Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.
sourcepub fn entities(&self) -> Option<&EntitiesDefinition>
pub fn entities(&self) -> Option<&EntitiesDefinition>
Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
sourcepub fn requests(&self) -> &[BatchIsAuthorizedInputItem]
pub fn requests(&self) -> &[BatchIsAuthorizedInputItem]
An array of up to 30 requests that you want Verified Permissions to evaluate.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .requests.is_none().
source§impl BatchIsAuthorizedInput
impl BatchIsAuthorizedInput
sourcepub fn builder() -> BatchIsAuthorizedInputBuilder
pub fn builder() -> BatchIsAuthorizedInputBuilder
Creates a new builder-style object to manufacture BatchIsAuthorizedInput.
Trait Implementations§
source§impl Clone for BatchIsAuthorizedInput
impl Clone for BatchIsAuthorizedInput
source§fn clone(&self) -> BatchIsAuthorizedInput
fn clone(&self) -> BatchIsAuthorizedInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchIsAuthorizedInput
impl Debug for BatchIsAuthorizedInput
source§impl PartialEq for BatchIsAuthorizedInput
impl PartialEq for BatchIsAuthorizedInput
source§fn eq(&self, other: &BatchIsAuthorizedInput) -> bool
fn eq(&self, other: &BatchIsAuthorizedInput) -> bool
self and other values to be equal, and is used
by ==.