Class: Aws::WorkMail::Types::GetPersonalAccessTokenMetadataResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#date_createdTime

The date when the Personal Access Token ID was created.

Returns:

  • (Time)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

class GetPersonalAccessTokenMetadataResponse < 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 ID was last used.

Returns:

  • (Time)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

class GetPersonalAccessTokenMetadataResponse < 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 time when the Personal Access Token ID will expire.

Returns:

  • (Time)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

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

#nameString

The Personal Access Token name.

Returns:

  • (String)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

class GetPersonalAccessTokenMetadataResponse < 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 Personal Access Token ID.

Returns:

  • (String)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

class GetPersonalAccessTokenMetadataResponse < 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>)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

class GetPersonalAccessTokenMetadataResponse < 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 WorkMail User ID.

Returns:

  • (String)


2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
# File 'lib/aws-sdk-workmail/types.rb', line 2688

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