You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::UpdateUserAttributesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass UpdateUserAttributesRequest data as a hash:

{
  user_attributes: [ # required
    {
      name: "AttributeNameType", # required
      value: "AttributeValueType",
    },
  ],
  access_token: "TokenModelType", # required
}

Represents the request to update user attributes.

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token for the request to update user attributes.

Returns:

  • (String)


6605
6606
6607
6608
6609
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6605

class UpdateUserAttributesRequest < Struct.new(
  :user_attributes,
  :access_token)
  include Aws::Structure
end

#user_attributesArray<Types::AttributeType>

An array of name-value pairs representing user attributes.

For custom attributes, you must prepend the custom: prefix to the attribute name.

Returns:



6605
6606
6607
6608
6609
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6605

class UpdateUserAttributesRequest < Struct.new(
  :user_attributes,
  :access_token)
  include Aws::Structure
end