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 ==.