#[non_exhaustive]pub struct ListServicesByNamespaceInput {
pub namespace: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.namespace: Option<String>
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace to list the services in.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
next_token: Option<String>
The nextToken
value that's returned from a ListServicesByNamespace
request. It indicates that more results are available to fulfill the request and further calls are needed. If maxResults
is returned, it is possible the number of results is less than maxResults
.
max_results: Option<i32>
The maximum number of service results that ListServicesByNamespace
returns in paginated output. When this parameter is used, ListServicesByNamespace
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListServicesByNamespace
request with the returned nextToken
value. This value can be between 1 and 100. If this parameter isn't used, then ListServicesByNamespace
returns up to 10 results and a nextToken
value if applicable.
Implementations§
source§impl ListServicesByNamespaceInput
impl ListServicesByNamespaceInput
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace to list the services in.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken
value that's returned from a ListServicesByNamespace
request. It indicates that more results are available to fulfill the request and further calls are needed. If maxResults
is returned, it is possible the number of results is less than maxResults
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of service results that ListServicesByNamespace
returns in paginated output. When this parameter is used, ListServicesByNamespace
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListServicesByNamespace
request with the returned nextToken
value. This value can be between 1 and 100. If this parameter isn't used, then ListServicesByNamespace
returns up to 10 results and a nextToken
value if applicable.
source§impl ListServicesByNamespaceInput
impl ListServicesByNamespaceInput
sourcepub fn builder() -> ListServicesByNamespaceInputBuilder
pub fn builder() -> ListServicesByNamespaceInputBuilder
Creates a new builder-style object to manufacture ListServicesByNamespaceInput
.
Trait Implementations§
source§impl Clone for ListServicesByNamespaceInput
impl Clone for ListServicesByNamespaceInput
source§fn clone(&self) -> ListServicesByNamespaceInput
fn clone(&self) -> ListServicesByNamespaceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListServicesByNamespaceInput
impl Debug for ListServicesByNamespaceInput
source§impl PartialEq for ListServicesByNamespaceInput
impl PartialEq for ListServicesByNamespaceInput
source§fn eq(&self, other: &ListServicesByNamespaceInput) -> bool
fn eq(&self, other: &ListServicesByNamespaceInput) -> bool
self
and other
values to be equal, and is used
by ==
.