Struct aws_sdk_cloudformation::types::TypeFilters
source · #[non_exhaustive]pub struct TypeFilters {
pub category: Option<Category>,
pub publisher_id: Option<String>,
pub type_name_prefix: Option<String>,
}
Expand description
Filter criteria to use in determining which extensions to return.
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.category: Option<Category>
The category of extensions to return.
-
REGISTERED
: Private extensions that have been registered for this account and Region. -
ACTIVATED
: Public extensions that have been activated for this account and Region. -
THIRD_PARTY
: Extensions available for use from publishers other than Amazon. This includes:-
Private extensions registered in the account.
-
Public extensions from publishers other than Amazon, whether activated or not.
-
-
AWS_TYPES
: Extensions available for use from Amazon.
publisher_id: Option<String>
The id of the publisher of the extension.
Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES
category to specify a list of types published by Amazon.
type_name_prefix: Option<String>
A prefix to use as a filter for results.
Implementations§
source§impl TypeFilters
impl TypeFilters
sourcepub fn category(&self) -> Option<&Category>
pub fn category(&self) -> Option<&Category>
The category of extensions to return.
-
REGISTERED
: Private extensions that have been registered for this account and Region. -
ACTIVATED
: Public extensions that have been activated for this account and Region. -
THIRD_PARTY
: Extensions available for use from publishers other than Amazon. This includes:-
Private extensions registered in the account.
-
Public extensions from publishers other than Amazon, whether activated or not.
-
-
AWS_TYPES
: Extensions available for use from Amazon.
sourcepub fn publisher_id(&self) -> Option<&str>
pub fn publisher_id(&self) -> Option<&str>
The id of the publisher of the extension.
Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES
category to specify a list of types published by Amazon.
sourcepub fn type_name_prefix(&self) -> Option<&str>
pub fn type_name_prefix(&self) -> Option<&str>
A prefix to use as a filter for results.
source§impl TypeFilters
impl TypeFilters
sourcepub fn builder() -> TypeFiltersBuilder
pub fn builder() -> TypeFiltersBuilder
Creates a new builder-style object to manufacture TypeFilters
.
Trait Implementations§
source§impl Clone for TypeFilters
impl Clone for TypeFilters
source§fn clone(&self) -> TypeFilters
fn clone(&self) -> TypeFilters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeFilters
impl Debug for TypeFilters
source§impl PartialEq for TypeFilters
impl PartialEq for TypeFilters
source§fn eq(&self, other: &TypeFilters) -> bool
fn eq(&self, other: &TypeFilters) -> bool
self
and other
values to be equal, and is used
by ==
.