Struct aws_sdk_fms::types::AdminScope
source · #[non_exhaustive]pub struct AdminScope {
pub account_scope: Option<AccountScope>,
pub organizational_unit_scope: Option<OrganizationalUnitScope>,
pub region_scope: Option<RegionScope>,
pub policy_type_scope: Option<PolicyTypeScope>,
}
Expand description
Defines the resources that the Firewall Manager administrator can manage. For more information about administrative scope, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
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.account_scope: Option<AccountScope>
Defines the accounts that the specified Firewall Manager administrator can apply policies to.
organizational_unit_scope: Option<OrganizationalUnitScope>
Defines the Organizations organizational units that the specified Firewall Manager administrator can apply policies to. For more information about OUs in Organizations, see Managing organizational units (OUs) in the Organizations User Guide.
region_scope: Option<RegionScope>
Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
policy_type_scope: Option<PolicyTypeScope>
Defines the Firewall Manager policy types that the specified Firewall Manager administrator can create and manage.
Implementations§
source§impl AdminScope
impl AdminScope
sourcepub fn account_scope(&self) -> Option<&AccountScope>
pub fn account_scope(&self) -> Option<&AccountScope>
Defines the accounts that the specified Firewall Manager administrator can apply policies to.
sourcepub fn organizational_unit_scope(&self) -> Option<&OrganizationalUnitScope>
pub fn organizational_unit_scope(&self) -> Option<&OrganizationalUnitScope>
Defines the Organizations organizational units that the specified Firewall Manager administrator can apply policies to. For more information about OUs in Organizations, see Managing organizational units (OUs) in the Organizations User Guide.
sourcepub fn region_scope(&self) -> Option<&RegionScope>
pub fn region_scope(&self) -> Option<&RegionScope>
Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
sourcepub fn policy_type_scope(&self) -> Option<&PolicyTypeScope>
pub fn policy_type_scope(&self) -> Option<&PolicyTypeScope>
Defines the Firewall Manager policy types that the specified Firewall Manager administrator can create and manage.
source§impl AdminScope
impl AdminScope
sourcepub fn builder() -> AdminScopeBuilder
pub fn builder() -> AdminScopeBuilder
Creates a new builder-style object to manufacture AdminScope
.
Trait Implementations§
source§impl Clone for AdminScope
impl Clone for AdminScope
source§fn clone(&self) -> AdminScope
fn clone(&self) -> AdminScope
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdminScope
impl Debug for AdminScope
source§impl PartialEq for AdminScope
impl PartialEq for AdminScope
source§fn eq(&self, other: &AdminScope) -> bool
fn eq(&self, other: &AdminScope) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdminScope
Auto Trait Implementations§
impl Freeze for AdminScope
impl RefUnwindSafe for AdminScope
impl Send for AdminScope
impl Sync for AdminScope
impl Unpin for AdminScope
impl UnwindSafe for AdminScope
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> 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