Class: Aws::CodeArtifact::Types::GetAuthorizationTokenRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that is in scope for the generated authorization token.

Returns:

  • (String)


1192
1193
1194
1195
1196
1197
1198
# File 'lib/aws-sdk-codeartifact/types.rb', line 1192

class GetAuthorizationTokenRequest < Struct.new(
  :domain,
  :domain_owner,
  :duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

Returns:

  • (String)


1192
1193
1194
1195
1196
1197
1198
# File 'lib/aws-sdk-codeartifact/types.rb', line 1192

class GetAuthorizationTokenRequest < Struct.new(
  :domain,
  :domain_owner,
  :duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#duration_secondsInteger

The time, in seconds, that the generated authorization token is valid. Valid values are ‘0` and any number between `900` (15 minutes) and `43200` (12 hours). A value of `0` will set the expiration of the authorization token to the same expiration of the user’s role’s temporary credentials.

Returns:

  • (Integer)


1192
1193
1194
1195
1196
1197
1198
# File 'lib/aws-sdk-codeartifact/types.rb', line 1192

class GetAuthorizationTokenRequest < Struct.new(
  :domain,
  :domain_owner,
  :duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end