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 ==.