pub struct ModifyDBSnapshotAttributeMessage {
pub attribute_name: String,
pub db_snapshot_identifier: String,
pub values_to_add: Option<Vec<String>>,
pub values_to_remove: Option<Vec<String>>,
}
Expand description
Fields
attribute_name: String
The name of the DB snapshot attribute to modify.
To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this value to restore
.
To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API action.
db_snapshot_identifier: String
The identifier for the DB snapshot to modify the attributes for.
values_to_add: Option<Vec<String>>
A list of DB snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account IDs, or all
to make the manual DB snapshot restorable by any Amazon Web Services account. Do not add the all
value for any manual DB snapshots that contain private information that you don't want available to all Amazon Web Services accounts.
values_to_remove: Option<Vec<String>>
A list of DB snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account identifiers, or all
to remove authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specify all
, an Amazon Web Services account whose account ID is explicitly added to the restore
attribute can still copy or restore the manual DB snapshot.
Trait Implementations
sourceimpl Clone for ModifyDBSnapshotAttributeMessage
impl Clone for ModifyDBSnapshotAttributeMessage
sourcefn clone(&self) -> ModifyDBSnapshotAttributeMessage
fn clone(&self) -> ModifyDBSnapshotAttributeMessage
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 ModifyDBSnapshotAttributeMessage
impl Default for ModifyDBSnapshotAttributeMessage
sourcefn default() -> ModifyDBSnapshotAttributeMessage
fn default() -> ModifyDBSnapshotAttributeMessage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ModifyDBSnapshotAttributeMessage> for ModifyDBSnapshotAttributeMessage
impl PartialEq<ModifyDBSnapshotAttributeMessage> for ModifyDBSnapshotAttributeMessage
sourcefn eq(&self, other: &ModifyDBSnapshotAttributeMessage) -> bool
fn eq(&self, other: &ModifyDBSnapshotAttributeMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyDBSnapshotAttributeMessage) -> bool
fn ne(&self, other: &ModifyDBSnapshotAttributeMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyDBSnapshotAttributeMessage
Auto Trait Implementations
impl RefUnwindSafe for ModifyDBSnapshotAttributeMessage
impl Send for ModifyDBSnapshotAttributeMessage
impl Sync for ModifyDBSnapshotAttributeMessage
impl Unpin for ModifyDBSnapshotAttributeMessage
impl UnwindSafe for ModifyDBSnapshotAttributeMessage
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