#[non_exhaustive]pub struct ListTagsForResourceInput {
pub resource_arn: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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.resource_arn: Option<String>
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
max_results: Option<i32>
The maximum number of tags that you want to return in the response to a ListTagsForResource
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.
next_token: Option<String>
For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another ListTagsForResource
request to get the next group of tags for the resource. In the next request, specify the value of NextToken
from the previous response.
Implementations§
source§impl ListTagsForResourceInput
impl ListTagsForResourceInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of tags that you want to return in the response to a ListTagsForResource
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another ListTagsForResource
request to get the next group of tags for the resource. In the next request, specify the value of NextToken
from the previous response.
source§impl ListTagsForResourceInput
impl ListTagsForResourceInput
sourcepub fn builder() -> ListTagsForResourceInputBuilder
pub fn builder() -> ListTagsForResourceInputBuilder
Creates a new builder-style object to manufacture ListTagsForResourceInput
.
Trait Implementations§
source§impl Clone for ListTagsForResourceInput
impl Clone for ListTagsForResourceInput
source§fn clone(&self) -> ListTagsForResourceInput
fn clone(&self) -> ListTagsForResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTagsForResourceInput
impl Debug for ListTagsForResourceInput
source§impl PartialEq for ListTagsForResourceInput
impl PartialEq for ListTagsForResourceInput
source§fn eq(&self, other: &ListTagsForResourceInput) -> bool
fn eq(&self, other: &ListTagsForResourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTagsForResourceInput
Auto Trait Implementations§
impl Freeze for ListTagsForResourceInput
impl RefUnwindSafe for ListTagsForResourceInput
impl Send for ListTagsForResourceInput
impl Sync for ListTagsForResourceInput
impl Unpin for ListTagsForResourceInput
impl UnwindSafe for ListTagsForResourceInput
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