Struct aws_sdk_verifiedpermissions::operation::batch_is_authorized::builders::BatchIsAuthorizedInputBuilder
source · #[non_exhaustive]pub struct BatchIsAuthorizedInputBuilder { /* private fields */ }Expand description
A builder for BatchIsAuthorizedInput.
Implementations§
source§impl BatchIsAuthorizedInputBuilder
impl BatchIsAuthorizedInputBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.
This field is required.sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
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 get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &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.
sourcepub fn entities(self, input: EntitiesDefinition) -> Self
pub fn entities(self, input: EntitiesDefinition) -> Self
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 set_entities(self, input: Option<EntitiesDefinition>) -> Self
pub fn set_entities(self, input: Option<EntitiesDefinition>) -> Self
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 get_entities(&self) -> &Option<EntitiesDefinition>
pub fn get_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, input: BatchIsAuthorizedInputItem) -> Self
pub fn requests(self, input: BatchIsAuthorizedInputItem) -> Self
Appends an item to requests.
To override the contents of this collection use set_requests.
An array of up to 30 requests that you want Verified Permissions to evaluate.
sourcepub fn set_requests(
self,
input: Option<Vec<BatchIsAuthorizedInputItem>>
) -> Self
pub fn set_requests( self, input: Option<Vec<BatchIsAuthorizedInputItem>> ) -> Self
An array of up to 30 requests that you want Verified Permissions to evaluate.
sourcepub fn get_requests(&self) -> &Option<Vec<BatchIsAuthorizedInputItem>>
pub fn get_requests(&self) -> &Option<Vec<BatchIsAuthorizedInputItem>>
An array of up to 30 requests that you want Verified Permissions to evaluate.
sourcepub fn build(self) -> Result<BatchIsAuthorizedInput, BuildError>
pub fn build(self) -> Result<BatchIsAuthorizedInput, BuildError>
Consumes the builder and constructs a BatchIsAuthorizedInput.
source§impl BatchIsAuthorizedInputBuilder
impl BatchIsAuthorizedInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchIsAuthorizedOutput, SdkError<BatchIsAuthorizedError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchIsAuthorizedOutput, SdkError<BatchIsAuthorizedError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchIsAuthorizedInputBuilder
impl Clone for BatchIsAuthorizedInputBuilder
source§fn clone(&self) -> BatchIsAuthorizedInputBuilder
fn clone(&self) -> BatchIsAuthorizedInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchIsAuthorizedInputBuilder
impl Default for BatchIsAuthorizedInputBuilder
source§fn default() -> BatchIsAuthorizedInputBuilder
fn default() -> BatchIsAuthorizedInputBuilder
source§impl PartialEq for BatchIsAuthorizedInputBuilder
impl PartialEq for BatchIsAuthorizedInputBuilder
source§fn eq(&self, other: &BatchIsAuthorizedInputBuilder) -> bool
fn eq(&self, other: &BatchIsAuthorizedInputBuilder) -> bool
self and other values to be equal, and is used
by ==.