Struct aws_sdk_codeartifact::input::GetAuthorizationTokenInput [−][src]
#[non_exhaustive]pub struct GetAuthorizationTokenInput {
pub domain: Option<String>,
pub domain_owner: Option<String>,
pub duration_seconds: Option<i64>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain: Option<String>
The name of the domain that is in scope for the generated authorization token.
domain_owner: Option<String>
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
duration_seconds: Option<i64>
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.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAuthorizationToken, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAuthorizationToken, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetAuthorizationToken
>
Creates a new builder-style object to manufacture GetAuthorizationTokenInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetAuthorizationTokenInput
impl Send for GetAuthorizationTokenInput
impl Sync for GetAuthorizationTokenInput
impl Unpin for GetAuthorizationTokenInput
impl UnwindSafe for GetAuthorizationTokenInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more