AWS.STS.TSTSClient.AssumeRole

Request a set of temporary security credentials that your credentials don't provide direct access to.

function AssumeRole(const ARequest: ISTSAssumeRoleRequest): ISTSAssumeRoleResponse; overload;
__fastcall ISTSAssumeRoleResponse AssumeRole(const ISTSAssumeRoleRequest ARequest);

File: AWS.STS.pas 

Namespace: AWS.STS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISTSAssumeRoleRequest
An AssumeRole request object.

Response containing AssumeRole results.

Exceptions
Description
The web identity that was passed is expired or invalid.
The request was rejected because the policy document was malformed.
The request was rejected beacuse the total packed size of the session policies and tags combined was too large.
AWS STS is not activated in the region for the account being asked to generate credentials.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.