Struct aws_sdk_kinesis::input::StartStreamEncryptionInput
source · #[non_exhaustive]pub struct StartStreamEncryptionInput { /* private fields */ }
Implementations§
source§impl StartStreamEncryptionInput
impl StartStreamEncryptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartStreamEncryption, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartStreamEncryption, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartStreamEncryption
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartStreamEncryptionInput
.
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.
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<StartStreamEncryptionInput> for StartStreamEncryptionInput
impl PartialEq<StartStreamEncryptionInput> 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 ==
.