#[non_exhaustive]pub struct CreateWorkspaceInput {
pub alias: Option<String>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub kms_key_arn: Option<String>,
}
Expand description
Represents the input of a CreateWorkspace
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.alias: Option<String>
An alias that you assign to this workspace to help you identify it. It does not need to be unique.
Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.
client_token: Option<String>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
The list of tag keys and values to associate with the workspace.
kms_key_arn: Option<String>
(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.
Implementations§
source§impl CreateWorkspaceInput
impl CreateWorkspaceInput
sourcepub fn alias(&self) -> Option<&str>
pub fn alias(&self) -> Option<&str>
An alias that you assign to this workspace to help you identify it. It does not need to be unique.
Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.
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.
The list of tag keys and values to associate with the workspace.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.
source§impl CreateWorkspaceInput
impl CreateWorkspaceInput
sourcepub fn builder() -> CreateWorkspaceInputBuilder
pub fn builder() -> CreateWorkspaceInputBuilder
Creates a new builder-style object to manufacture CreateWorkspaceInput
.
Trait Implementations§
source§impl Clone for CreateWorkspaceInput
impl Clone for CreateWorkspaceInput
source§fn clone(&self) -> CreateWorkspaceInput
fn clone(&self) -> CreateWorkspaceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkspaceInput
impl Debug for CreateWorkspaceInput
source§impl PartialEq for CreateWorkspaceInput
impl PartialEq for CreateWorkspaceInput
impl StructuralPartialEq for CreateWorkspaceInput
Auto Trait Implementations§
impl Freeze for CreateWorkspaceInput
impl RefUnwindSafe for CreateWorkspaceInput
impl Send for CreateWorkspaceInput
impl Sync for CreateWorkspaceInput
impl Unpin for CreateWorkspaceInput
impl UnwindSafe for CreateWorkspaceInput
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
)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