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