Struct aws_sdk_redshift::input::AuthorizeSnapshotAccessInput [−][src]
#[non_exhaustive]pub struct AuthorizeSnapshotAccessInput {
pub snapshot_identifier: 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_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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AuthorizeSnapshotAccess, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AuthorizeSnapshotAccess, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AuthorizeSnapshotAccess
>
Creates a new builder-style object to manufacture AuthorizeSnapshotAccessInput
The identifier of the snapshot the account is authorized to restore.
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.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for AuthorizeSnapshotAccessInput
impl Sync for AuthorizeSnapshotAccessInput
impl Unpin for AuthorizeSnapshotAccessInput
impl UnwindSafe for AuthorizeSnapshotAccessInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more