Struct aws_sdk_redshift::operation::create_snapshot_copy_grant::CreateSnapshotCopyGrantInput
source · #[non_exhaustive]pub struct CreateSnapshotCopyGrantInput {
pub snapshot_copy_grant_name: Option<String>,
pub kms_key_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
The result of the CreateSnapshotCopyGrant
action.
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_copy_grant_name: Option<String>
The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
Alphabetic characters must be lowercase.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for all clusters within an Amazon Web Services account.
kms_key_id: Option<String>
The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
A list of tag instances.
Implementations§
source§impl CreateSnapshotCopyGrantInput
impl CreateSnapshotCopyGrantInput
sourcepub fn snapshot_copy_grant_name(&self) -> Option<&str>
pub fn snapshot_copy_grant_name(&self) -> Option<&str>
The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
Alphabetic characters must be lowercase.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for all clusters within an Amazon Web Services account.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
A list of tag instances.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateSnapshotCopyGrantInput
impl CreateSnapshotCopyGrantInput
sourcepub fn builder() -> CreateSnapshotCopyGrantInputBuilder
pub fn builder() -> CreateSnapshotCopyGrantInputBuilder
Creates a new builder-style object to manufacture CreateSnapshotCopyGrantInput
.
Trait Implementations§
source§impl Clone for CreateSnapshotCopyGrantInput
impl Clone for CreateSnapshotCopyGrantInput
source§fn clone(&self) -> CreateSnapshotCopyGrantInput
fn clone(&self) -> CreateSnapshotCopyGrantInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSnapshotCopyGrantInput
impl Debug for CreateSnapshotCopyGrantInput
source§impl PartialEq for CreateSnapshotCopyGrantInput
impl PartialEq for CreateSnapshotCopyGrantInput
source§fn eq(&self, other: &CreateSnapshotCopyGrantInput) -> bool
fn eq(&self, other: &CreateSnapshotCopyGrantInput) -> bool
self
and other
values to be equal, and is used
by ==
.