Struct aws_sdk_amp::operation::list_workspaces::ListWorkspacesInput
source · #[non_exhaustive]pub struct ListWorkspacesInput {
pub next_token: Option<String>,
pub alias: Option<String>,
pub max_results: Option<i32>,
}Expand description
Represents the input of a ListWorkspaces operation.
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.next_token: Option<String>The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults of 10, and there are 12 workspaces to return, then your initial request will return 10 and a nextToken. Using the next token in a subsequent call will return the remaining 2 workspaces.
alias: Option<String>If this is included, it filters the results to only the workspaces with names that start with the value that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
max_results: Option<i32>The maximum number of workspaces to return per request. The default is 100.
Implementations§
source§impl ListWorkspacesInput
impl ListWorkspacesInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults of 10, and there are 12 workspaces to return, then your initial request will return 10 and a nextToken. Using the next token in a subsequent call will return the remaining 2 workspaces.
sourcepub fn alias(&self) -> Option<&str>
pub fn alias(&self) -> Option<&str>
If this is included, it filters the results to only the workspaces with names that start with the value that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of workspaces to return per request. The default is 100.
source§impl ListWorkspacesInput
impl ListWorkspacesInput
sourcepub fn builder() -> ListWorkspacesInputBuilder
pub fn builder() -> ListWorkspacesInputBuilder
Creates a new builder-style object to manufacture ListWorkspacesInput.
Trait Implementations§
source§impl Clone for ListWorkspacesInput
impl Clone for ListWorkspacesInput
source§fn clone(&self) -> ListWorkspacesInput
fn clone(&self) -> ListWorkspacesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListWorkspacesInput
impl Debug for ListWorkspacesInput
source§impl PartialEq for ListWorkspacesInput
impl PartialEq for ListWorkspacesInput
source§fn eq(&self, other: &ListWorkspacesInput) -> bool
fn eq(&self, other: &ListWorkspacesInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListWorkspacesInput
Auto Trait Implementations§
impl Freeze for ListWorkspacesInput
impl RefUnwindSafe for ListWorkspacesInput
impl Send for ListWorkspacesInput
impl Sync for ListWorkspacesInput
impl Unpin for ListWorkspacesInput
impl UnwindSafe for ListWorkspacesInput
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