Fields
name: String
The name of the ledger.
permissions_mode: String
The permissions mode to assign to the ledger. This parameter can have one of the following values:
-
ALLOWALL
: A legacy permissions mode that enables access control with API-level granularity for ledgers.This mode allows users who have the
SendCommand
API permission for this ledger to run all PartiQL commands (hence,ALLOWALL
) on any tables in the specified ledger. This mode disregards any table-level or command-level IAM permissions policies that you create for the ledger. -
STANDARD
: (Recommended) A permissions mode that enables access control with finer granularity for ledgers, tables, and PartiQL commands.By default, this mode denies all user requests to run any PartiQL commands on any tables in this ledger. To allow PartiQL commands to run, you must create IAM permissions policies for specific table resources and PartiQL actions, in addition to the
SendCommand
API permission for the ledger. For information, see Getting started with the standard permissions mode in the Amazon QLDB Developer Guide.
We strongly recommend using the STANDARD
permissions mode to maximize the security of your ledger data.
Trait Implementations
sourceimpl Clone for UpdateLedgerPermissionsModeRequest
impl Clone for UpdateLedgerPermissionsModeRequest
sourcefn clone(&self) -> UpdateLedgerPermissionsModeRequest
fn clone(&self) -> UpdateLedgerPermissionsModeRequest
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 Default for UpdateLedgerPermissionsModeRequest
impl Default for UpdateLedgerPermissionsModeRequest
sourcefn default() -> UpdateLedgerPermissionsModeRequest
fn default() -> UpdateLedgerPermissionsModeRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateLedgerPermissionsModeRequest> for UpdateLedgerPermissionsModeRequest
impl PartialEq<UpdateLedgerPermissionsModeRequest> for UpdateLedgerPermissionsModeRequest
sourcefn eq(&self, other: &UpdateLedgerPermissionsModeRequest) -> bool
fn eq(&self, other: &UpdateLedgerPermissionsModeRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateLedgerPermissionsModeRequest) -> bool
fn ne(&self, other: &UpdateLedgerPermissionsModeRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateLedgerPermissionsModeRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateLedgerPermissionsModeRequest
impl Send for UpdateLedgerPermissionsModeRequest
impl Sync for UpdateLedgerPermissionsModeRequest
impl Unpin for UpdateLedgerPermissionsModeRequest
impl UnwindSafe for UpdateLedgerPermissionsModeRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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