#[non_exhaustive]pub struct AuthorizeSnapshotAccessInput {
pub snapshot_identifier: Option<String>,
pub snapshot_arn: Option<String>,
pub snapshot_cluster_identifier: Option<String>,
pub account_with_restore_access: Option<String>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.snapshot_identifier: Option<String>
The identifier of the snapshot the account is authorized to restore.
snapshot_arn: Option<String>
The Amazon Resource Name (ARN) of the snapshot to authorize access to.
snapshot_cluster_identifier: Option<String>
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
account_with_restore_access: Option<String>
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.
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 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
.
Trait Implementations§
source§impl Clone for AuthorizeSnapshotAccessInput
impl Clone for AuthorizeSnapshotAccessInput
source§fn clone(&self) -> AuthorizeSnapshotAccessInput
fn clone(&self) -> AuthorizeSnapshotAccessInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthorizeSnapshotAccessInput
impl Debug for AuthorizeSnapshotAccessInput
source§impl PartialEq for AuthorizeSnapshotAccessInput
impl PartialEq for AuthorizeSnapshotAccessInput
source§fn eq(&self, other: &AuthorizeSnapshotAccessInput) -> bool
fn eq(&self, other: &AuthorizeSnapshotAccessInput) -> bool
self
and other
values to be equal, and is used
by ==
.