#[non_exhaustive]pub struct StartStreamEncryptionInput {
pub stream_name: Option<String>,
pub encryption_type: Option<EncryptionType>,
pub key_id: Option<String>,
pub stream_arn: Option<String>,
}
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.stream_name: Option<String>
The name of the stream for which to start encrypting records.
encryption_type: Option<EncryptionType>
The encryption type to use. The only valid value is KMS
.
key_id: Option<String>
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis
.
-
Key ARN example:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
-
Alias ARN example:
arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
-
Globally unique key ID example:
12345678-1234-1234-1234-123456789012
-
Alias name example:
alias/MyAliasName
-
Master key owned by Kinesis Data Streams:
alias/aws/kinesis
stream_arn: Option<String>
The ARN of the stream.
Implementations§
source§impl StartStreamEncryptionInput
impl StartStreamEncryptionInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream for which to start encrypting records.
sourcepub fn encryption_type(&self) -> Option<&EncryptionType>
pub fn encryption_type(&self) -> Option<&EncryptionType>
The encryption type to use. The only valid value is KMS
.
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis
.
-
Key ARN example:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
-
Alias ARN example:
arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
-
Globally unique key ID example:
12345678-1234-1234-1234-123456789012
-
Alias name example:
alias/MyAliasName
-
Master key owned by Kinesis Data Streams:
alias/aws/kinesis
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The ARN of the stream.
source§impl StartStreamEncryptionInput
impl StartStreamEncryptionInput
sourcepub fn builder() -> StartStreamEncryptionInputBuilder
pub fn builder() -> StartStreamEncryptionInputBuilder
Creates a new builder-style object to manufacture StartStreamEncryptionInput
.
Trait Implementations§
source§impl Clone for StartStreamEncryptionInput
impl Clone for StartStreamEncryptionInput
source§fn clone(&self) -> StartStreamEncryptionInput
fn clone(&self) -> StartStreamEncryptionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartStreamEncryptionInput
impl Debug for StartStreamEncryptionInput
source§impl PartialEq for StartStreamEncryptionInput
impl PartialEq for StartStreamEncryptionInput
source§fn eq(&self, other: &StartStreamEncryptionInput) -> bool
fn eq(&self, other: &StartStreamEncryptionInput) -> bool
self
and other
values to be equal, and is used
by ==
.