#[non_exhaustive]pub struct UpdateGroupInput {
pub group_name: Option<String>,
pub user_pool_id: Option<String>,
pub description: Option<String>,
pub role_arn: Option<String>,
pub precedence: Option<i32>,
}
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.group_name: Option<String>
The name of the group.
user_pool_id: Option<String>
The user pool ID for the user pool.
description: Option<String>
A string containing the new description of the group.
role_arn: Option<String>
The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles
and cognito:preferred_role
claims in the token.
precedence: Option<i32>
The new precedence value for the group. For more information about this parameter, see CreateGroup.
Implementations§
source§impl UpdateGroupInput
impl UpdateGroupInput
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the group.
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID for the user pool.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A string containing the new description of the group.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles
and cognito:preferred_role
claims in the token.
sourcepub fn precedence(&self) -> Option<i32>
pub fn precedence(&self) -> Option<i32>
The new precedence value for the group. For more information about this parameter, see CreateGroup.
source§impl UpdateGroupInput
impl UpdateGroupInput
sourcepub fn builder() -> UpdateGroupInputBuilder
pub fn builder() -> UpdateGroupInputBuilder
Creates a new builder-style object to manufacture UpdateGroupInput
.
Trait Implementations§
source§impl Clone for UpdateGroupInput
impl Clone for UpdateGroupInput
source§fn clone(&self) -> UpdateGroupInput
fn clone(&self) -> UpdateGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateGroupInput
impl Debug for UpdateGroupInput
source§impl PartialEq for UpdateGroupInput
impl PartialEq for UpdateGroupInput
source§fn eq(&self, other: &UpdateGroupInput) -> bool
fn eq(&self, other: &UpdateGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGroupInput
Auto Trait Implementations§
impl Freeze for UpdateGroupInput
impl RefUnwindSafe for UpdateGroupInput
impl Send for UpdateGroupInput
impl Sync for UpdateGroupInput
impl Unpin for UpdateGroupInput
impl UnwindSafe for UpdateGroupInput
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> 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