pub struct StartStreamEncryptionInput {
pub encryption_type: String,
pub key_id: String,
pub stream_name: String,
}
Fields
encryption_type: String
The encryption type to use. The only valid value is KMS
.
key_id: 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
stream_name: String
The name of the stream for which to start encrypting records.
Trait Implementations
sourceimpl Clone for StartStreamEncryptionInput
impl Clone for StartStreamEncryptionInput
sourcefn clone(&self) -> StartStreamEncryptionInput
fn clone(&self) -> StartStreamEncryptionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartStreamEncryptionInput
impl Debug for StartStreamEncryptionInput
sourceimpl Default for StartStreamEncryptionInput
impl Default for StartStreamEncryptionInput
sourcefn default() -> StartStreamEncryptionInput
fn default() -> StartStreamEncryptionInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartStreamEncryptionInput> for StartStreamEncryptionInput
impl PartialEq<StartStreamEncryptionInput> for StartStreamEncryptionInput
sourcefn eq(&self, other: &StartStreamEncryptionInput) -> bool
fn eq(&self, other: &StartStreamEncryptionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartStreamEncryptionInput) -> bool
fn ne(&self, other: &StartStreamEncryptionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartStreamEncryptionInput
Auto Trait Implementations
impl RefUnwindSafe for StartStreamEncryptionInput
impl Send for StartStreamEncryptionInput
impl Sync for StartStreamEncryptionInput
impl Unpin for StartStreamEncryptionInput
impl UnwindSafe for StartStreamEncryptionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more