#[non_exhaustive]pub struct TimestreamRegistrationResponse {
pub timestream_database_name: String,
pub timestream_table_name: String,
pub timestream_database_arn: Option<String>,
pub timestream_table_arn: Option<String>,
pub registration_status: RegistrationStatus,
pub error_message: Option<String>,
}Expand description
Information about the registered Amazon Timestream resources or errors, if any.
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.timestream_database_name: StringThe name of the Timestream database.
timestream_table_name: StringThe name of the Timestream database table.
timestream_database_arn: Option<String>The Amazon Resource Name (ARN) of the Timestream database.
timestream_table_arn: Option<String>The ARN of the Timestream database table.
registration_status: RegistrationStatusThe status of registering your Amazon Timestream resources. The status can be one of REGISTRATION_SUCCESS, REGISTRATION_PENDING, REGISTRATION_FAILURE.
error_message: Option<String>A message associated with a registration error.
Implementations§
source§impl TimestreamRegistrationResponse
impl TimestreamRegistrationResponse
sourcepub fn timestream_database_name(&self) -> &str
pub fn timestream_database_name(&self) -> &str
The name of the Timestream database.
sourcepub fn timestream_table_name(&self) -> &str
pub fn timestream_table_name(&self) -> &str
The name of the Timestream database table.
sourcepub fn timestream_database_arn(&self) -> Option<&str>
pub fn timestream_database_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Timestream database.
sourcepub fn timestream_table_arn(&self) -> Option<&str>
pub fn timestream_table_arn(&self) -> Option<&str>
The ARN of the Timestream database table.
sourcepub fn registration_status(&self) -> &RegistrationStatus
pub fn registration_status(&self) -> &RegistrationStatus
The status of registering your Amazon Timestream resources. The status can be one of REGISTRATION_SUCCESS, REGISTRATION_PENDING, REGISTRATION_FAILURE.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
A message associated with a registration error.
source§impl TimestreamRegistrationResponse
impl TimestreamRegistrationResponse
sourcepub fn builder() -> TimestreamRegistrationResponseBuilder
pub fn builder() -> TimestreamRegistrationResponseBuilder
Creates a new builder-style object to manufacture TimestreamRegistrationResponse.
Trait Implementations§
source§impl Clone for TimestreamRegistrationResponse
impl Clone for TimestreamRegistrationResponse
source§fn clone(&self) -> TimestreamRegistrationResponse
fn clone(&self) -> TimestreamRegistrationResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for TimestreamRegistrationResponse
impl PartialEq for TimestreamRegistrationResponse
source§fn eq(&self, other: &TimestreamRegistrationResponse) -> bool
fn eq(&self, other: &TimestreamRegistrationResponse) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TimestreamRegistrationResponse
Auto Trait Implementations§
impl Freeze for TimestreamRegistrationResponse
impl RefUnwindSafe for TimestreamRegistrationResponse
impl Send for TimestreamRegistrationResponse
impl Sync for TimestreamRegistrationResponse
impl Unpin for TimestreamRegistrationResponse
impl UnwindSafe for TimestreamRegistrationResponse
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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