#[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
source§fn eq(&self, other: &CreateWorkspaceInput) -> bool
fn eq(&self, other: &CreateWorkspaceInput) -> bool
self
and other
values to be equal, and is used
by ==
.