#[non_exhaustive]pub struct CreateWorkspaceApiKeyInput { /* private fields */ }
Implementations§
source§impl CreateWorkspaceApiKeyInput
impl CreateWorkspaceApiKeyInput
sourcepub fn key_name(&self) -> Option<&str>
pub fn key_name(&self) -> Option<&str>
Specifies the name of the key. Keynames must be unique to the workspace.
sourcepub fn key_role(&self) -> Option<&str>
pub fn key_role(&self) -> Option<&str>
Specifies the permission level of the key.
Valid values: VIEWER
|EDITOR
|ADMIN
sourcepub fn seconds_to_live(&self) -> Option<i32>
pub fn seconds_to_live(&self) -> Option<i32>
Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to create an API key.
source§impl CreateWorkspaceApiKeyInput
impl CreateWorkspaceApiKeyInput
sourcepub fn builder() -> CreateWorkspaceApiKeyInputBuilder
pub fn builder() -> CreateWorkspaceApiKeyInputBuilder
Creates a new builder-style object to manufacture CreateWorkspaceApiKeyInput
.
source§impl CreateWorkspaceApiKeyInput
impl CreateWorkspaceApiKeyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkspaceApiKey, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<CreateWorkspaceApiKey, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateWorkspaceApiKey
>
Trait Implementations§
source§impl Clone for CreateWorkspaceApiKeyInput
impl Clone for CreateWorkspaceApiKeyInput
source§fn clone(&self) -> CreateWorkspaceApiKeyInput
fn clone(&self) -> CreateWorkspaceApiKeyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateWorkspaceApiKeyInput
impl Debug for CreateWorkspaceApiKeyInput
source§impl PartialEq<CreateWorkspaceApiKeyInput> for CreateWorkspaceApiKeyInput
impl PartialEq<CreateWorkspaceApiKeyInput> for CreateWorkspaceApiKeyInput
source§fn eq(&self, other: &CreateWorkspaceApiKeyInput) -> bool
fn eq(&self, other: &CreateWorkspaceApiKeyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.