Class: Aws::CodeCatalyst::Types::CreateAccessTokenResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:secret]

Instance Attribute Summary collapse

Instance Attribute Details

#access_token_idString

The system-generated unique ID of the access token.

Returns:

  • (String)


120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-codecatalyst/types.rb', line 120

class CreateAccessTokenResponse < Struct.new(
  :secret,
  :name,
  :expires_time,
  :access_token_id)
  SENSITIVE = [:secret]
  include Aws::Structure
end

#expires_timeTime

The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in [RFC 3339]. If not specified, the default is one year from creation.

[1]: www.rfc-editor.org/rfc/rfc3339#section-5.6

Returns:

  • (Time)


120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-codecatalyst/types.rb', line 120

class CreateAccessTokenResponse < Struct.new(
  :secret,
  :name,
  :expires_time,
  :access_token_id)
  SENSITIVE = [:secret]
  include Aws::Structure
end

#nameString

The friendly name of the personal access token.

Returns:

  • (String)


120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-codecatalyst/types.rb', line 120

class CreateAccessTokenResponse < Struct.new(
  :secret,
  :name,
  :expires_time,
  :access_token_id)
  SENSITIVE = [:secret]
  include Aws::Structure
end

#secretString

The secret value of the personal access token.

Returns:

  • (String)


120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-codecatalyst/types.rb', line 120

class CreateAccessTokenResponse < Struct.new(
  :secret,
  :name,
  :expires_time,
  :access_token_id)
  SENSITIVE = [:secret]
  include Aws::Structure
end