Struct aws_sdk_kinesis::input::StopStreamEncryptionInput
source · #[non_exhaustive]pub struct StopStreamEncryptionInput { /* private fields */ }
Implementations§
source§impl StopStreamEncryptionInput
impl StopStreamEncryptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopStreamEncryption, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopStreamEncryption, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StopStreamEncryption
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StopStreamEncryptionInput
.
source§impl StopStreamEncryptionInput
impl StopStreamEncryptionInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream on which to stop encrypting records.
sourcepub fn encryption_type(&self) -> Option<&EncryptionType>
pub fn encryption_type(&self) -> Option<&EncryptionType>
The encryption type. 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 StopStreamEncryptionInput
impl Clone for StopStreamEncryptionInput
source§fn clone(&self) -> StopStreamEncryptionInput
fn clone(&self) -> StopStreamEncryptionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StopStreamEncryptionInput
impl Debug for StopStreamEncryptionInput
source§impl PartialEq<StopStreamEncryptionInput> for StopStreamEncryptionInput
impl PartialEq<StopStreamEncryptionInput> for StopStreamEncryptionInput
source§fn eq(&self, other: &StopStreamEncryptionInput) -> bool
fn eq(&self, other: &StopStreamEncryptionInput) -> bool
self
and other
values to be equal, and is used
by ==
.