#[non_exhaustive]pub struct ListNamespacesOutput {
pub namespaces: Option<Vec<NamespaceInfoV2>>,
pub next_token: Option<String>,
pub request_id: Option<String>,
pub status: i32,
/* private fields */
}
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.namespaces: Option<Vec<NamespaceInfoV2>>
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
next_token: Option<String>
A unique pagination token that can be used in a subsequent request. Receiving NextToken
in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces
API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException
error.
request_id: Option<String>
The Amazon Web Services request ID for this operation.
status: i32
The HTTP status of the request.
Implementations§
source§impl ListNamespacesOutput
impl ListNamespacesOutput
sourcepub fn namespaces(&self) -> &[NamespaceInfoV2]
pub fn namespaces(&self) -> &[NamespaceInfoV2]
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .namespaces.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A unique pagination token that can be used in a subsequent request. Receiving NextToken
in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces
API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException
error.
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The Amazon Web Services request ID for this operation.
source§impl ListNamespacesOutput
impl ListNamespacesOutput
sourcepub fn builder() -> ListNamespacesOutputBuilder
pub fn builder() -> ListNamespacesOutputBuilder
Creates a new builder-style object to manufacture ListNamespacesOutput
.
Trait Implementations§
source§impl Clone for ListNamespacesOutput
impl Clone for ListNamespacesOutput
source§fn clone(&self) -> ListNamespacesOutput
fn clone(&self) -> ListNamespacesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListNamespacesOutput
impl Debug for ListNamespacesOutput
source§impl PartialEq for ListNamespacesOutput
impl PartialEq for ListNamespacesOutput
source§fn eq(&self, other: &ListNamespacesOutput) -> bool
fn eq(&self, other: &ListNamespacesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListNamespacesOutput
impl RequestId for ListNamespacesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListNamespacesOutput
Auto Trait Implementations§
impl Freeze for ListNamespacesOutput
impl RefUnwindSafe for ListNamespacesOutput
impl Send for ListNamespacesOutput
impl Sync for ListNamespacesOutput
impl Unpin for ListNamespacesOutput
impl UnwindSafe for ListNamespacesOutput
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