Struct aws_sdk_grafana::operation::create_workspace_service_account::CreateWorkspaceServiceAccountInput
source · #[non_exhaustive]pub struct CreateWorkspaceServiceAccountInput {
pub name: Option<String>,
pub grafana_role: Option<Role>,
pub workspace_id: Option<String>,
}
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.name: Option<String>
A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
grafana_role: Option<Role>
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
workspace_id: Option<String>
The ID of the workspace within which to create the service account.
Implementations§
source§impl CreateWorkspaceServiceAccountInput
impl CreateWorkspaceServiceAccountInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
sourcepub fn grafana_role(&self) -> Option<&Role>
pub fn grafana_role(&self) -> Option<&Role>
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace within which to create the service account.
source§impl CreateWorkspaceServiceAccountInput
impl CreateWorkspaceServiceAccountInput
sourcepub fn builder() -> CreateWorkspaceServiceAccountInputBuilder
pub fn builder() -> CreateWorkspaceServiceAccountInputBuilder
Creates a new builder-style object to manufacture CreateWorkspaceServiceAccountInput
.
Trait Implementations§
source§impl Clone for CreateWorkspaceServiceAccountInput
impl Clone for CreateWorkspaceServiceAccountInput
source§fn clone(&self) -> CreateWorkspaceServiceAccountInput
fn clone(&self) -> CreateWorkspaceServiceAccountInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateWorkspaceServiceAccountInput
impl PartialEq for CreateWorkspaceServiceAccountInput
source§fn eq(&self, other: &CreateWorkspaceServiceAccountInput) -> bool
fn eq(&self, other: &CreateWorkspaceServiceAccountInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateWorkspaceServiceAccountInput
Auto Trait Implementations§
impl Freeze for CreateWorkspaceServiceAccountInput
impl RefUnwindSafe for CreateWorkspaceServiceAccountInput
impl Send for CreateWorkspaceServiceAccountInput
impl Sync for CreateWorkspaceServiceAccountInput
impl Unpin for CreateWorkspaceServiceAccountInput
impl UnwindSafe for CreateWorkspaceServiceAccountInput
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