#[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
sourceimpl CreateAccessPreviewInput
impl CreateAccessPreviewInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateAccessPreview, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateAccessPreview, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateAccessPreview
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateAccessPreviewInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CreateAccessPreviewInput
impl Clone for CreateAccessPreviewInput
sourcefn clone(&self) -> CreateAccessPreviewInput
fn clone(&self) -> CreateAccessPreviewInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateAccessPreviewInput
impl Debug for CreateAccessPreviewInput
sourceimpl PartialEq<CreateAccessPreviewInput> for CreateAccessPreviewInput
impl PartialEq<CreateAccessPreviewInput> for CreateAccessPreviewInput
sourcefn eq(&self, other: &CreateAccessPreviewInput) -> bool
fn eq(&self, other: &CreateAccessPreviewInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateAccessPreviewInput) -> bool
fn ne(&self, other: &CreateAccessPreviewInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateAccessPreviewInput
Auto Trait Implementations
impl RefUnwindSafe for CreateAccessPreviewInput
impl Send for CreateAccessPreviewInput
impl Sync for CreateAccessPreviewInput
impl Unpin for CreateAccessPreviewInput
impl UnwindSafe for CreateAccessPreviewInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more