Struct aws_sdk_redshift::input::CreateSnapshotCopyGrantInput [−][src]
#[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 customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
A list of tag instances.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSnapshotCopyGrant, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSnapshotCopyGrant, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateSnapshotCopyGrant
>
Creates a new builder-style object to manufacture CreateSnapshotCopyGrantInput
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.
The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
A list of tag instances.
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 CreateSnapshotCopyGrantInput
impl Sync for CreateSnapshotCopyGrantInput
impl Unpin for CreateSnapshotCopyGrantInput
impl UnwindSafe for CreateSnapshotCopyGrantInput
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