#[non_exhaustive]pub struct TagResourceInput {
pub secret_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.secret_id: Option<String>
The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key
and a Value
.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
Implementations§
source§impl TagResourceInput
impl TagResourceInput
sourcepub fn secret_id(&self) -> Option<&str>
pub fn secret_id(&self) -> Option<&str>
The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key
and a Value
.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl TagResourceInput
impl TagResourceInput
sourcepub fn builder() -> TagResourceInputBuilder
pub fn builder() -> TagResourceInputBuilder
Creates a new builder-style object to manufacture TagResourceInput
.
Trait Implementations§
source§impl Clone for TagResourceInput
impl Clone for TagResourceInput
source§fn clone(&self) -> TagResourceInput
fn clone(&self) -> TagResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagResourceInput
impl Debug for TagResourceInput
source§impl PartialEq for TagResourceInput
impl PartialEq for TagResourceInput
impl StructuralPartialEq for TagResourceInput
Auto Trait Implementations§
impl Freeze for TagResourceInput
impl RefUnwindSafe for TagResourceInput
impl Send for TagResourceInput
impl Sync for TagResourceInput
impl Unpin for TagResourceInput
impl UnwindSafe for TagResourceInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)