AssumeRoleResult Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Contains the result of a successful invocation of the AssumeRole action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SecurityToken.Model.AssumeRoleResult

Namespace: Amazon.SecurityToken.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AssumeRoleResult : AmazonWebServiceResponse

The AssumeRoleResult type exposes the following members

Constructors

  Name Description
Public Method AssumeRoleResult()

Properties

  Name Description
Public Property AssumedRoleUser The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the resulting temporary security credentials. For example, you can reference these credentials as a principal in a resource-based policy by using the ARN or assumed role ID. The ARN and ID include the RoleSessionName that you specified when you called AssumeRole.
Public Property ContentLength Returns the content length of the HTTP response.
Public Property Credentials The temporary security credentials, which include an access key ID, a secret access key, and a security token.
Public Property HttpStatusCode Returns the status code of the HTTP response.
Public Property PackedPolicySize A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.

Constraints:Range0 -

Public Property ResponseMetadata Contains additional information about the request, such as the Request Id.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8