Class: Aws::WorkMail::Types::PersonalAccessTokenSummary

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-workmail/types.rb

Overview

The summary of the Personal Access Token.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#date_createdTime

The date when the Personal Access Token was created.

Returns:

  • (Time)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#date_last_usedTime

The date when the Personal Access Token was last used.

Returns:

  • (Time)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#expires_timeTime

The date when the Personal Access Token will expire.

Returns:

  • (Time)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the Personal Access Token.

Returns:

  • (String)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#personal_access_token_idString

The ID of the Personal Access Token.

Returns:

  • (String)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#scopesArray<String>

Lists all the Personal Access Token permissions for a mailbox.

Returns:

  • (Array<String>)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#user_idString

The user ID of the WorkMail user associated with the Personal Access Token.

Returns:

  • (String)


4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/aws-sdk-workmail/types.rb', line 4342

class PersonalAccessTokenSummary < Struct.new(
  :personal_access_token_id,
  :user_id,
  :name,
  :date_created,
  :date_last_used,
  :expires_time,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end