#[non_exhaustive]pub struct CreateAccessPreviewInput {
pub analyzer_arn: Option<String>,
pub configurations: Option<HashMap<String, Configuration>>,
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.analyzer_arn: Option<String>
The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account
type and Active
status.
configurations: Option<HashMap<String, Configuration>>
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
client_token: Option<String>
A client token.
Implementations§
source§impl CreateAccessPreviewInput
impl CreateAccessPreviewInput
sourcepub fn analyzer_arn(&self) -> Option<&str>
pub fn analyzer_arn(&self) -> Option<&str>
The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account
type and Active
status.
sourcepub fn configurations(&self) -> Option<&HashMap<String, Configuration>>
pub fn configurations(&self) -> Option<&HashMap<String, Configuration>>
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A client token.
source§impl CreateAccessPreviewInput
impl CreateAccessPreviewInput
sourcepub fn builder() -> CreateAccessPreviewInputBuilder
pub fn builder() -> CreateAccessPreviewInputBuilder
Creates a new builder-style object to manufacture CreateAccessPreviewInput
.
Trait Implementations§
source§impl Clone for CreateAccessPreviewInput
impl Clone for CreateAccessPreviewInput
source§fn clone(&self) -> CreateAccessPreviewInput
fn clone(&self) -> CreateAccessPreviewInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAccessPreviewInput
impl Debug for CreateAccessPreviewInput
source§impl PartialEq for CreateAccessPreviewInput
impl PartialEq for CreateAccessPreviewInput
impl StructuralPartialEq for CreateAccessPreviewInput
Auto Trait Implementations§
impl Freeze for CreateAccessPreviewInput
impl RefUnwindSafe for CreateAccessPreviewInput
impl Send for CreateAccessPreviewInput
impl Sync for CreateAccessPreviewInput
impl Unpin for CreateAccessPreviewInput
impl UnwindSafe for CreateAccessPreviewInput
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