Struct aws_sdk_cognitoidentityprovider::operation::delete_user_attributes::builders::DeleteUserAttributesFluentBuilder
source · pub struct DeleteUserAttributesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteUserAttributes.
Deletes the attributes for a user.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Implementations§
source§impl DeleteUserAttributesFluentBuilder
impl DeleteUserAttributesFluentBuilder
sourcepub fn as_input(&self) -> &DeleteUserAttributesInputBuilder
pub fn as_input(&self) -> &DeleteUserAttributesInputBuilder
Access the DeleteUserAttributes as a reference.
sourcepub async fn send(
self
) -> Result<DeleteUserAttributesOutput, SdkError<DeleteUserAttributesError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteUserAttributesOutput, SdkError<DeleteUserAttributesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteUserAttributesOutput, DeleteUserAttributesError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteUserAttributesOutput, DeleteUserAttributesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn user_attribute_names(self, input: impl Into<String>) -> Self
pub fn user_attribute_names(self, input: impl Into<String>) -> Self
Appends an item to UserAttributeNames.
To override the contents of this collection use set_user_attribute_names.
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.
sourcepub fn set_user_attribute_names(self, input: Option<Vec<String>>) -> Self
pub fn set_user_attribute_names(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_user_attribute_names(&self) -> &Option<Vec<String>>
pub fn get_user_attribute_names(&self) -> &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.
sourcepub fn access_token(self, input: impl Into<String>) -> Self
pub fn access_token(self, input: impl Into<String>) -> Self
A valid access token that Amazon Cognito issued to the user whose attributes you want to delete.
sourcepub fn set_access_token(self, input: Option<String>) -> Self
pub fn set_access_token(self, input: Option<String>) -> Self
A valid access token that Amazon Cognito issued to the user whose attributes you want to delete.
sourcepub fn get_access_token(&self) -> &Option<String>
pub fn get_access_token(&self) -> &Option<String>
A valid access token that Amazon Cognito issued to the user whose attributes you want to delete.
Trait Implementations§
source§impl Clone for DeleteUserAttributesFluentBuilder
impl Clone for DeleteUserAttributesFluentBuilder
source§fn clone(&self) -> DeleteUserAttributesFluentBuilder
fn clone(&self) -> DeleteUserAttributesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more