#[non_exhaustive]pub struct AuthorizeSnapshotAccessInput { /* private fields */ }
Expand description
Implementations§
source§impl AuthorizeSnapshotAccessInput
impl AuthorizeSnapshotAccessInput
sourcepub fn snapshot_identifier(&self) -> Option<&str>
pub fn snapshot_identifier(&self) -> Option<&str>
The identifier of the snapshot the account is authorized to restore.
sourcepub fn snapshot_arn(&self) -> Option<&str>
pub fn snapshot_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the snapshot to authorize access to.
sourcepub fn snapshot_cluster_identifier(&self) -> Option<&str>
pub fn snapshot_cluster_identifier(&self) -> Option<&str>
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user or role has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
sourcepub fn account_with_restore_access(&self) -> Option<&str>
pub fn account_with_restore_access(&self) -> Option<&str>
The identifier of the Amazon Web Services account authorized to restore the specified snapshot.
To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.
source§impl AuthorizeSnapshotAccessInput
impl AuthorizeSnapshotAccessInput
sourcepub fn builder() -> AuthorizeSnapshotAccessInputBuilder
pub fn builder() -> AuthorizeSnapshotAccessInputBuilder
Creates a new builder-style object to manufacture AuthorizeSnapshotAccessInput
.
source§impl AuthorizeSnapshotAccessInput
impl AuthorizeSnapshotAccessInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AuthorizeSnapshotAccess, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<AuthorizeSnapshotAccess, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AuthorizeSnapshotAccess
>
Trait Implementations§
source§impl Clone for AuthorizeSnapshotAccessInput
impl Clone for AuthorizeSnapshotAccessInput
source§fn clone(&self) -> AuthorizeSnapshotAccessInput
fn clone(&self) -> AuthorizeSnapshotAccessInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthorizeSnapshotAccessInput
impl Debug for AuthorizeSnapshotAccessInput
source§impl PartialEq<AuthorizeSnapshotAccessInput> for AuthorizeSnapshotAccessInput
impl PartialEq<AuthorizeSnapshotAccessInput> for AuthorizeSnapshotAccessInput
source§fn eq(&self, other: &AuthorizeSnapshotAccessInput) -> bool
fn eq(&self, other: &AuthorizeSnapshotAccessInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthorizeSnapshotAccessInput
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizeSnapshotAccessInput
impl Send for AuthorizeSnapshotAccessInput
impl Sync for AuthorizeSnapshotAccessInput
impl Unpin for AuthorizeSnapshotAccessInput
impl UnwindSafe for AuthorizeSnapshotAccessInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more