Struct aws_sdk_kinesis::input::StopStreamEncryptionInput [−][src]
#[non_exhaustive]pub struct StopStreamEncryptionInput {
pub stream_name: Option<String>,
pub encryption_type: Option<EncryptionType>,
pub key_id: 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 on which to stop encrypting records.
encryption_type: Option<EncryptionType>
The encryption type. The only valid value is KMS
.
key_id: Option<String>
The GUID for the customer-managed AWS 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
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopStreamEncryption, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopStreamEncryption, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StopStreamEncryption
>
Creates a new builder-style object to manufacture StopStreamEncryptionInput
The name of the stream on which to stop encrypting records.
The encryption type. The only valid value is KMS
.
The GUID for the customer-managed AWS 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
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 RefUnwindSafe for StopStreamEncryptionInput
impl Send for StopStreamEncryptionInput
impl Sync for StopStreamEncryptionInput
impl Unpin for StopStreamEncryptionInput
impl UnwindSafe for StopStreamEncryptionInput
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