Struct aws_sdk_config::types::StoredQuery
source · #[non_exhaustive]pub struct StoredQuery {
pub query_id: Option<String>,
pub query_arn: Option<String>,
pub query_name: String,
pub description: Option<String>,
pub expression: Option<String>,
}Expand description
Provides the details of a stored query.
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.query_id: Option<String>The ID of the query.
query_arn: Option<String>Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
query_name: StringThe name of the query.
description: Option<String>A unique description for the query.
expression: Option<String>The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
Implementations§
source§impl StoredQuery
impl StoredQuery
sourcepub fn query_arn(&self) -> Option<&str>
pub fn query_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
sourcepub fn query_name(&self) -> &str
pub fn query_name(&self) -> &str
The name of the query.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A unique description for the query.
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
source§impl StoredQuery
impl StoredQuery
sourcepub fn builder() -> StoredQueryBuilder
pub fn builder() -> StoredQueryBuilder
Creates a new builder-style object to manufacture StoredQuery.
Trait Implementations§
source§impl Clone for StoredQuery
impl Clone for StoredQuery
source§fn clone(&self) -> StoredQuery
fn clone(&self) -> StoredQuery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StoredQuery
impl Debug for StoredQuery
source§impl PartialEq for StoredQuery
impl PartialEq for StoredQuery
source§fn eq(&self, other: &StoredQuery) -> bool
fn eq(&self, other: &StoredQuery) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StoredQuery
Auto Trait Implementations§
impl Freeze for StoredQuery
impl RefUnwindSafe for StoredQuery
impl Send for StoredQuery
impl Sync for StoredQuery
impl Unpin for StoredQuery
impl UnwindSafe for StoredQuery
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