[][src]Struct rusoto_qldb::CreateLedgerRequest

pub struct CreateLedgerRequest {
    pub deletion_protection: Option<bool>,
    pub name: String,
    pub permissions_mode: String,
    pub tags: Option<HashMap<String, String>>,
}

Fields

deletion_protection: Option<bool>

The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger operation to set the flag to false. The QLDB console disables deletion protection for you when you use it to delete a ledger.

name: String

The name of the ledger that you want to create. The name must be unique among all of your ledgers in the current AWS Region.

Naming constraints for ledger names are defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.

permissions_mode: String

The permissions mode to assign to the ledger that you want to create.

tags: Option<HashMap<String, String>>

The key-value pairs to add as tags to the ledger that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.

Trait Implementations

impl Clone for CreateLedgerRequest[src]

impl Debug for CreateLedgerRequest[src]

impl Default for CreateLedgerRequest[src]

impl PartialEq<CreateLedgerRequest> for CreateLedgerRequest[src]

impl Serialize for CreateLedgerRequest[src]

impl StructuralPartialEq for CreateLedgerRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.