#[non_exhaustive]pub struct CheckNoNewAccessInput {
pub new_policy_document: Option<String>,
pub existing_policy_document: Option<String>,
pub policy_type: Option<AccessCheckPolicyType>,
}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.new_policy_document: Option<String>The JSON policy document to use as the content for the updated policy.
existing_policy_document: Option<String>The JSON policy document to use as the content for the existing policy.
policy_type: Option<AccessCheckPolicyType>The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
Implementations§
source§impl CheckNoNewAccessInput
impl CheckNoNewAccessInput
sourcepub fn new_policy_document(&self) -> Option<&str>
pub fn new_policy_document(&self) -> Option<&str>
The JSON policy document to use as the content for the updated policy.
sourcepub fn existing_policy_document(&self) -> Option<&str>
pub fn existing_policy_document(&self) -> Option<&str>
The JSON policy document to use as the content for the existing policy.
sourcepub fn policy_type(&self) -> Option<&AccessCheckPolicyType>
pub fn policy_type(&self) -> Option<&AccessCheckPolicyType>
The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
source§impl CheckNoNewAccessInput
impl CheckNoNewAccessInput
sourcepub fn builder() -> CheckNoNewAccessInputBuilder
pub fn builder() -> CheckNoNewAccessInputBuilder
Creates a new builder-style object to manufacture CheckNoNewAccessInput.
Trait Implementations§
source§impl Clone for CheckNoNewAccessInput
impl Clone for CheckNoNewAccessInput
source§fn clone(&self) -> CheckNoNewAccessInput
fn clone(&self) -> CheckNoNewAccessInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CheckNoNewAccessInput
impl Debug for CheckNoNewAccessInput
source§impl PartialEq for CheckNoNewAccessInput
impl PartialEq for CheckNoNewAccessInput
impl StructuralPartialEq for CheckNoNewAccessInput
Auto Trait Implementations§
impl Freeze for CheckNoNewAccessInput
impl RefUnwindSafe for CheckNoNewAccessInput
impl Send for CheckNoNewAccessInput
impl Sync for CheckNoNewAccessInput
impl Unpin for CheckNoNewAccessInput
impl UnwindSafe for CheckNoNewAccessInput
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