#[non_exhaustive]pub struct GetDimensionKeyDetailsInput {
pub service_type: Option<ServiceType>,
pub identifier: Option<String>,
pub group: Option<String>,
pub group_identifier: Option<String>,
pub requested_dimensions: Option<Vec<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.service_type: Option<ServiceType>
The Amazon Web Services service for which Performance Insights returns data. The only valid value is RDS
.
identifier: Option<String>
The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
group: Option<String>
The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. The following group name values are valid:
-
db.query
(Amazon DocumentDB only) -
db.sql
(Amazon RDS and Aurora only)
group_identifier: Option<String>
The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql
, the group ID is db.sql.id
. The following group ID values are valid:
-
db.sql.id
for dimension groupdb.sql
(Aurora and RDS only) -
db.query.id
for dimension groupdb.query
(DocumentDB only)
requested_dimensions: Option<Vec<String>>
A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this parameter, Performance Insights returns all dimension data within the specified dimension group. Specify dimension names for the following dimension groups:
-
db.sql
- Specify either the full dimension namedb.sql.statement
or the short dimension namestatement
(Aurora and RDS only). -
db.query
- Specify either the full dimension namedb.query.statement
or the short dimension namestatement
(DocumentDB only).
Implementations§
source§impl GetDimensionKeyDetailsInput
impl GetDimensionKeyDetailsInput
sourcepub fn service_type(&self) -> Option<&ServiceType>
pub fn service_type(&self) -> Option<&ServiceType>
The Amazon Web Services service for which Performance Insights returns data. The only valid value is RDS
.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
sourcepub fn group(&self) -> Option<&str>
pub fn group(&self) -> Option<&str>
The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. The following group name values are valid:
-
db.query
(Amazon DocumentDB only) -
db.sql
(Amazon RDS and Aurora only)
sourcepub fn group_identifier(&self) -> Option<&str>
pub fn group_identifier(&self) -> Option<&str>
The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql
, the group ID is db.sql.id
. The following group ID values are valid:
-
db.sql.id
for dimension groupdb.sql
(Aurora and RDS only) -
db.query.id
for dimension groupdb.query
(DocumentDB only)
sourcepub fn requested_dimensions(&self) -> &[String]
pub fn requested_dimensions(&self) -> &[String]
A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this parameter, Performance Insights returns all dimension data within the specified dimension group. Specify dimension names for the following dimension groups:
-
db.sql
- Specify either the full dimension namedb.sql.statement
or the short dimension namestatement
(Aurora and RDS only). -
db.query
- Specify either the full dimension namedb.query.statement
or the short dimension namestatement
(DocumentDB only).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .requested_dimensions.is_none()
.
source§impl GetDimensionKeyDetailsInput
impl GetDimensionKeyDetailsInput
sourcepub fn builder() -> GetDimensionKeyDetailsInputBuilder
pub fn builder() -> GetDimensionKeyDetailsInputBuilder
Creates a new builder-style object to manufacture GetDimensionKeyDetailsInput
.
Trait Implementations§
source§impl Clone for GetDimensionKeyDetailsInput
impl Clone for GetDimensionKeyDetailsInput
source§fn clone(&self) -> GetDimensionKeyDetailsInput
fn clone(&self) -> GetDimensionKeyDetailsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDimensionKeyDetailsInput
impl Debug for GetDimensionKeyDetailsInput
source§impl PartialEq for GetDimensionKeyDetailsInput
impl PartialEq for GetDimensionKeyDetailsInput
source§fn eq(&self, other: &GetDimensionKeyDetailsInput) -> bool
fn eq(&self, other: &GetDimensionKeyDetailsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDimensionKeyDetailsInput
Auto Trait Implementations§
impl Freeze for GetDimensionKeyDetailsInput
impl RefUnwindSafe for GetDimensionKeyDetailsInput
impl Send for GetDimensionKeyDetailsInput
impl Sync for GetDimensionKeyDetailsInput
impl Unpin for GetDimensionKeyDetailsInput
impl UnwindSafe for GetDimensionKeyDetailsInput
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