Struct aws_sdk_rds::input::ModifyDbSnapshotAttributeInput
source · [−]#[non_exhaustive]pub struct ModifyDbSnapshotAttributeInput { /* private fields */ }Expand description
Implementations
sourceimpl ModifyDbSnapshotAttributeInput
impl ModifyDbSnapshotAttributeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyDBSnapshotAttribute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyDBSnapshotAttribute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyDBSnapshotAttribute>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyDbSnapshotAttributeInput.
sourceimpl ModifyDbSnapshotAttributeInput
impl ModifyDbSnapshotAttributeInput
sourcepub fn db_snapshot_identifier(&self) -> Option<&str>
pub fn db_snapshot_identifier(&self) -> Option<&str>
The identifier for the DB snapshot to modify the attributes for.
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
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 operation.
sourcepub fn values_to_add(&self) -> Option<&[String]>
pub fn values_to_add(&self) -> Option<&[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.
sourcepub fn values_to_remove(&self) -> Option<&[String]>
pub fn values_to_remove(&self) -> Option<&[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 ModifyDbSnapshotAttributeInput
impl Clone for ModifyDbSnapshotAttributeInput
sourcefn clone(&self) -> ModifyDbSnapshotAttributeInput
fn clone(&self) -> ModifyDbSnapshotAttributeInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more