You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeArtifact::Types::GetAuthorizationTokenRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::GetAuthorizationTokenRequest
- Defined in:
- (unknown)
Overview
When passing GetAuthorizationTokenRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
domain: "DomainName", # required
domain_owner: "AccountId",
duration_seconds: 1,
}
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that is in scope for the generated authorization token.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain.
-
#duration_seconds ⇒ Integer
The time, in seconds, that the generated authorization token is valid.
Instance Attribute Details
#domain ⇒ String
The name of the domain that is in scope for the generated authorization token.
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
#duration_seconds ⇒ Integer
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.