Struct aws_sdk_kinesis::operation::put_record::PutRecordOutput
source · #[non_exhaustive]pub struct PutRecordOutput {
pub shard_id: String,
pub sequence_number: String,
pub encryption_type: Option<EncryptionType>,
/* private fields */
}
Expand description
Represents the output for PutRecord
.
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.shard_id: String
The shard ID of the shard where the data record was placed.
sequence_number: String
The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
encryption_type: Option<EncryptionType>
The encryption type to use on the record. This parameter can be one of the following values:
-
NONE
: Do not encrypt the records in the stream. -
KMS
: Use server-side encryption on the records in the stream using a customer-managed Amazon Web Services KMS key.
Implementations§
source§impl PutRecordOutput
impl PutRecordOutput
sourcepub fn sequence_number(&self) -> &str
pub fn sequence_number(&self) -> &str
The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
sourcepub fn encryption_type(&self) -> Option<&EncryptionType>
pub fn encryption_type(&self) -> Option<&EncryptionType>
The encryption type to use on the record. This parameter can be one of the following values:
-
NONE
: Do not encrypt the records in the stream. -
KMS
: Use server-side encryption on the records in the stream using a customer-managed Amazon Web Services KMS key.
source§impl PutRecordOutput
impl PutRecordOutput
sourcepub fn builder() -> PutRecordOutputBuilder
pub fn builder() -> PutRecordOutputBuilder
Creates a new builder-style object to manufacture PutRecordOutput
.
Trait Implementations§
source§impl Clone for PutRecordOutput
impl Clone for PutRecordOutput
source§fn clone(&self) -> PutRecordOutput
fn clone(&self) -> PutRecordOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutRecordOutput
impl Debug for PutRecordOutput
source§impl PartialEq for PutRecordOutput
impl PartialEq for PutRecordOutput
source§fn eq(&self, other: &PutRecordOutput) -> bool
fn eq(&self, other: &PutRecordOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutRecordOutput
impl RequestId for PutRecordOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for PutRecordOutput
Auto Trait Implementations§
impl Freeze for PutRecordOutput
impl RefUnwindSafe for PutRecordOutput
impl Send for PutRecordOutput
impl Sync for PutRecordOutput
impl Unpin for PutRecordOutput
impl UnwindSafe for PutRecordOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more