#[non_exhaustive]pub struct AddPolicyGrantInput {
pub domain_identifier: Option<String>,
pub entity_type: Option<TargetEntityType>,
pub entity_identifier: Option<String>,
pub policy_type: Option<ManagedPolicyType>,
pub principal: Option<PolicyGrantPrincipal>,
pub detail: Option<PolicyGrantDetail>,
pub client_token: Option<String>,
}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.domain_identifier: Option<String>The ID of the domain where you want to add a policy grant.
entity_type: Option<TargetEntityType>The type of entity (resource) to which the grant is added.
entity_identifier: Option<String>The ID of the entity (resource) to which you want to add a policy grant.
policy_type: Option<ManagedPolicyType>The type of policy that you want to grant.
principal: Option<PolicyGrantPrincipal>The principal to whom the permissions are granted.
detail: Option<PolicyGrantDetail>The details of the policy grant.
client_token: Option<String>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Implementations§
source§impl AddPolicyGrantInput
impl AddPolicyGrantInput
sourcepub fn domain_identifier(&self) -> Option<&str>
pub fn domain_identifier(&self) -> Option<&str>
The ID of the domain where you want to add a policy grant.
sourcepub fn entity_type(&self) -> Option<&TargetEntityType>
pub fn entity_type(&self) -> Option<&TargetEntityType>
The type of entity (resource) to which the grant is added.
sourcepub fn entity_identifier(&self) -> Option<&str>
pub fn entity_identifier(&self) -> Option<&str>
The ID of the entity (resource) to which you want to add a policy grant.
sourcepub fn policy_type(&self) -> Option<&ManagedPolicyType>
pub fn policy_type(&self) -> Option<&ManagedPolicyType>
The type of policy that you want to grant.
sourcepub fn principal(&self) -> Option<&PolicyGrantPrincipal>
pub fn principal(&self) -> Option<&PolicyGrantPrincipal>
The principal to whom the permissions are granted.
sourcepub fn detail(&self) -> Option<&PolicyGrantDetail>
pub fn detail(&self) -> Option<&PolicyGrantDetail>
The details of the policy grant.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
source§impl AddPolicyGrantInput
impl AddPolicyGrantInput
sourcepub fn builder() -> AddPolicyGrantInputBuilder
pub fn builder() -> AddPolicyGrantInputBuilder
Creates a new builder-style object to manufacture AddPolicyGrantInput.
Trait Implementations§
source§impl Clone for AddPolicyGrantInput
impl Clone for AddPolicyGrantInput
source§fn clone(&self) -> AddPolicyGrantInput
fn clone(&self) -> AddPolicyGrantInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AddPolicyGrantInput
impl Debug for AddPolicyGrantInput
source§impl PartialEq for AddPolicyGrantInput
impl PartialEq for AddPolicyGrantInput
impl StructuralPartialEq for AddPolicyGrantInput
Auto Trait Implementations§
impl Freeze for AddPolicyGrantInput
impl RefUnwindSafe for AddPolicyGrantInput
impl Send for AddPolicyGrantInput
impl Sync for AddPolicyGrantInput
impl Unpin for AddPolicyGrantInput
impl UnwindSafe for AddPolicyGrantInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more