#[non_exhaustive]pub struct DeleteAttributesInput {
pub cluster: Option<String>,
pub attributes: Option<Vec<Attribute>>,
}
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.cluster: Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.
attributes: Option<Vec<Attribute>>
The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.
Implementations§
source§impl DeleteAttributesInput
impl DeleteAttributesInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn attributes(&self) -> &[Attribute]
pub fn attributes(&self) -> &[Attribute]
The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attributes.is_none()
.
source§impl DeleteAttributesInput
impl DeleteAttributesInput
sourcepub fn builder() -> DeleteAttributesInputBuilder
pub fn builder() -> DeleteAttributesInputBuilder
Creates a new builder-style object to manufacture DeleteAttributesInput
.
Trait Implementations§
source§impl Clone for DeleteAttributesInput
impl Clone for DeleteAttributesInput
source§fn clone(&self) -> DeleteAttributesInput
fn clone(&self) -> DeleteAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAttributesInput
impl Debug for DeleteAttributesInput
source§impl PartialEq for DeleteAttributesInput
impl PartialEq for DeleteAttributesInput
source§fn eq(&self, other: &DeleteAttributesInput) -> bool
fn eq(&self, other: &DeleteAttributesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteAttributesInput
Auto Trait Implementations§
impl Freeze for DeleteAttributesInput
impl RefUnwindSafe for DeleteAttributesInput
impl Send for DeleteAttributesInput
impl Sync for DeleteAttributesInput
impl Unpin for DeleteAttributesInput
impl UnwindSafe for DeleteAttributesInput
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