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

Class: Aws::AlexaForBusiness::Types::CreateUserRequest

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

Overview

Note:

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

{
  user_id: "user_UserId", # required
  first_name: "user_FirstName",
  last_name: "user_LastName",
  email: "Email",
  client_request_token: "ClientRequestToken",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

A unique, user-specified identifier for this request that ensures idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 315

class CreateUserRequest < Struct.new(
  :user_id,
  :first_name,
  :last_name,
  :email,
  :client_request_token,
  :tags)
  include Aws::Structure
end

#emailString

The email address for the user.

Returns:

  • (String)


315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 315

class CreateUserRequest < Struct.new(
  :user_id,
  :first_name,
  :last_name,
  :email,
  :client_request_token,
  :tags)
  include Aws::Structure
end

#first_nameString

The first name for the user.

Returns:

  • (String)


315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 315

class CreateUserRequest < Struct.new(
  :user_id,
  :first_name,
  :last_name,
  :email,
  :client_request_token,
  :tags)
  include Aws::Structure
end

#last_nameString

The last name for the user.

Returns:

  • (String)


315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 315

class CreateUserRequest < Struct.new(
  :user_id,
  :first_name,
  :last_name,
  :email,
  :client_request_token,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags for the user.

Returns:



315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 315

class CreateUserRequest < Struct.new(
  :user_id,
  :first_name,
  :last_name,
  :email,
  :client_request_token,
  :tags)
  include Aws::Structure
end

#user_idString

The ARN for the user.

Returns:

  • (String)


315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 315

class CreateUserRequest < Struct.new(
  :user_id,
  :first_name,
  :last_name,
  :email,
  :client_request_token,
  :tags)
  include Aws::Structure
end