Class: Aws::WorkDocs::Types::CreateUserRequest

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

Overview

Note:

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

{
  organization_id: "IdType",
  username: "UsernameType", # required
  email_address: "EmailAddressType",
  given_name: "UserAttributeValueType", # required
  surname: "UserAttributeValueType", # required
  password: "PasswordType", # required
  time_zone_id: "TimeZoneIdType",
  storage_rule: {
    storage_allocated_in_bytes: 1,
    storage_type: "UNLIMITED", # accepts UNLIMITED, QUOTA
  },
  authentication_token: "AuthenticationHeaderType",
}

Constant Summary collapse

SENSITIVE =
[:password, :authentication_token]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#email_addressString

The email address of the user.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#given_nameString

The given name of the user.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#organization_idString

The ID of the organization.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#passwordString

The password of the user.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#storage_ruleTypes::StorageRuleType

The amount of storage for the user.



635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#surnameString

The surname of the user.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#time_zone_idString

The time zone ID of the user.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end

#usernameString

The login name of the user.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 635

class CreateUserRequest < Struct.new(
  :organization_id,
  :username,
  :email_address,
  :given_name,
  :surname,
  :password,
  :time_zone_id,
  :storage_rule,
  :authentication_token)
  SENSITIVE = [:password, :authentication_token]
  include Aws::Structure
end