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