Package | Description |
---|---|
com.amazonaws.services.securitytoken |
Synchronous and asynchronous client classes for accessing AWSSecurityTokenService.
|
com.amazonaws.services.securitytoken.model |
Classes modeling the various types represented by AWSSecurityTokenService.
|
Modifier and Type | Method and Description |
---|---|
AssumeRoleResult |
AWSSecurityTokenService.assumeRole(AssumeRoleRequest assumeRoleRequest)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
AssumeRoleResult |
AWSSecurityTokenServiceClient.assumeRole(AssumeRoleRequest assumeRoleRequest)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Future<AssumeRoleResult> |
AWSSecurityTokenServiceAsyncClient.assumeRoleAsync(AssumeRoleRequest assumeRoleRequest)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Future<AssumeRoleResult> |
AWSSecurityTokenServiceAsync.assumeRoleAsync(AssumeRoleRequest assumeRoleRequest)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Future<AssumeRoleResult> |
AWSSecurityTokenServiceAsyncClient.assumeRoleAsync(AssumeRoleRequest assumeRoleRequest,
AsyncHandler<AssumeRoleRequest,AssumeRoleResult> asyncHandler)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Future<AssumeRoleResult> |
AWSSecurityTokenServiceAsync.assumeRoleAsync(AssumeRoleRequest assumeRoleRequest,
AsyncHandler<AssumeRoleRequest,AssumeRoleResult> asyncHandler)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Modifier and Type | Method and Description |
---|---|
Future<AssumeRoleResult> |
AWSSecurityTokenServiceAsyncClient.assumeRoleAsync(AssumeRoleRequest assumeRoleRequest,
AsyncHandler<AssumeRoleRequest,AssumeRoleResult> asyncHandler)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Future<AssumeRoleResult> |
AWSSecurityTokenServiceAsync.assumeRoleAsync(AssumeRoleRequest assumeRoleRequest,
AsyncHandler<AssumeRoleRequest,AssumeRoleResult> asyncHandler)
Returns a set of temporary security credentials (consisting of an
access key ID, a secret access key, and a security token) that you can
use to access AWS resources that you might not normally have access
to.
|
Modifier and Type | Method and Description |
---|---|
AssumeRoleRequest |
AssumeRoleRequest.withDurationSeconds(Integer durationSeconds)
The duration, in seconds, of the role session.
|
AssumeRoleRequest |
AssumeRoleRequest.withExternalId(String externalId)
A unique identifier that is used by third parties to assume a role in
their customers' accounts.
|
AssumeRoleRequest |
AssumeRoleRequest.withPolicy(String policy)
An IAM policy in JSON format.
|
AssumeRoleRequest |
AssumeRoleRequest.withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that the caller is
assuming.
|
AssumeRoleRequest |
AssumeRoleRequest.withRoleSessionName(String roleSessionName)
An identifier for the assumed role session.
|
AssumeRoleRequest |
AssumeRoleRequest.withSerialNumber(String serialNumber)
The identification number of the MFA device that is associated with
the user who is making the
AssumeRole call. |
AssumeRoleRequest |
AssumeRoleRequest.withTokenCode(String tokenCode)
The value provided by the MFA device, if the trust policy of the role
being assumed requires MFA (that is, if the policy includes a
condition that tests for MFA).
|
Copyright © 2014. All rights reserved.