pub struct ChangeTagsForResourceRequest {
pub add_tags: Option<Vec<Tag>>,
pub remove_tag_keys: Option<Vec<String>>,
pub resource_id: String,
pub resource_type: String,
}
Expand description
A complex type that contains information about the tags that you want to add, edit, or delete.
Fields
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value
for.
You can add a maximum of 10 tags to a health check or a hosted zone.
remove_tag_keys: Option<Vec<String>>
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
resource_id: String
The ID of the resource for which you want to add, change, or delete tags.
resource_type: String
The type of the resource.
-
The resource type for health checks is
healthcheck
. -
The resource type for hosted zones is
hostedzone
.
Trait Implementations
sourceimpl Clone for ChangeTagsForResourceRequest
impl Clone for ChangeTagsForResourceRequest
sourcefn clone(&self) -> ChangeTagsForResourceRequest
fn clone(&self) -> ChangeTagsForResourceRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChangeTagsForResourceRequest
impl Debug for ChangeTagsForResourceRequest
sourceimpl Default for ChangeTagsForResourceRequest
impl Default for ChangeTagsForResourceRequest
sourcefn default() -> ChangeTagsForResourceRequest
fn default() -> ChangeTagsForResourceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ChangeTagsForResourceRequest> for ChangeTagsForResourceRequest
impl PartialEq<ChangeTagsForResourceRequest> for ChangeTagsForResourceRequest
sourcefn eq(&self, other: &ChangeTagsForResourceRequest) -> bool
fn eq(&self, other: &ChangeTagsForResourceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChangeTagsForResourceRequest) -> bool
fn ne(&self, other: &ChangeTagsForResourceRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for ChangeTagsForResourceRequest
Auto Trait Implementations
impl RefUnwindSafe for ChangeTagsForResourceRequest
impl Send for ChangeTagsForResourceRequest
impl Sync for ChangeTagsForResourceRequest
impl Unpin for ChangeTagsForResourceRequest
impl UnwindSafe for ChangeTagsForResourceRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more