#[non_exhaustive]pub struct UpdateWorkspaceAliasInput {
pub workspace_id: Option<String>,
pub alias: Option<String>,
pub client_token: Option<String>,
}Expand description
Represents the input of an UpdateWorkspaceAlias operation.
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.workspace_id: Option<String>The ID of the workspace to update.
alias: Option<String>The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
client_token: Option<String>A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
Implementations§
source§impl UpdateWorkspaceAliasInput
impl UpdateWorkspaceAliasInput
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to update.
sourcepub fn alias(&self) -> Option<&str>
pub fn alias(&self) -> Option<&str>
The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
source§impl UpdateWorkspaceAliasInput
impl UpdateWorkspaceAliasInput
sourcepub fn builder() -> UpdateWorkspaceAliasInputBuilder
pub fn builder() -> UpdateWorkspaceAliasInputBuilder
Creates a new builder-style object to manufacture UpdateWorkspaceAliasInput.
Trait Implementations§
source§impl Clone for UpdateWorkspaceAliasInput
impl Clone for UpdateWorkspaceAliasInput
source§fn clone(&self) -> UpdateWorkspaceAliasInput
fn clone(&self) -> UpdateWorkspaceAliasInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateWorkspaceAliasInput
impl Debug for UpdateWorkspaceAliasInput
impl StructuralPartialEq for UpdateWorkspaceAliasInput
Auto Trait Implementations§
impl Freeze for UpdateWorkspaceAliasInput
impl RefUnwindSafe for UpdateWorkspaceAliasInput
impl Send for UpdateWorkspaceAliasInput
impl Sync for UpdateWorkspaceAliasInput
impl Unpin for UpdateWorkspaceAliasInput
impl UnwindSafe for UpdateWorkspaceAliasInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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