Struct aws_sdk_cognitoidentityprovider::operation::delete_user_attributes::DeleteUserAttributesInput
source · #[non_exhaustive]pub struct DeleteUserAttributesInput {
pub user_attribute_names: Option<Vec<String>>,
pub access_token: Option<String>,
}
Expand description
Represents the request to delete user attributes.
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.user_attribute_names: Option<Vec<String>>
An array of strings representing the user attribute names you want to delete.
For custom attributes, you must prependattach the custom:
prefix to the front of the attribute name.
access_token: Option<String>
A valid access token that Amazon Cognito issued to the user whose attributes you want to delete.
Implementations§
source§impl DeleteUserAttributesInput
impl DeleteUserAttributesInput
sourcepub fn user_attribute_names(&self) -> &[String]
pub fn user_attribute_names(&self) -> &[String]
An array of strings representing the user attribute names you want to delete.
For custom attributes, you must prependattach the custom:
prefix to the front of the attribute name.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_attribute_names.is_none()
.
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
A valid access token that Amazon Cognito issued to the user whose attributes you want to delete.
source§impl DeleteUserAttributesInput
impl DeleteUserAttributesInput
sourcepub fn builder() -> DeleteUserAttributesInputBuilder
pub fn builder() -> DeleteUserAttributesInputBuilder
Creates a new builder-style object to manufacture DeleteUserAttributesInput
.
Trait Implementations§
source§impl Clone for DeleteUserAttributesInput
impl Clone for DeleteUserAttributesInput
source§fn clone(&self) -> DeleteUserAttributesInput
fn clone(&self) -> DeleteUserAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteUserAttributesInput
impl Debug for DeleteUserAttributesInput
source§impl PartialEq for DeleteUserAttributesInput
impl PartialEq for DeleteUserAttributesInput
source§fn eq(&self, other: &DeleteUserAttributesInput) -> bool
fn eq(&self, other: &DeleteUserAttributesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteUserAttributesInput
Auto Trait Implementations§
impl Freeze for DeleteUserAttributesInput
impl RefUnwindSafe for DeleteUserAttributesInput
impl Send for DeleteUserAttributesInput
impl Sync for DeleteUserAttributesInput
impl Unpin for DeleteUserAttributesInput
impl UnwindSafe for DeleteUserAttributesInput
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