AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

AssumeRoleOutput

import "github.com/aws/aws-sdk-go/service/sts"

type AssumeRoleOutput struct { AssumedRoleUser *AssumedRoleUser `type:"structure"` Credentials *Credentials `type:"structure"` PackedPolicySize *int64 `type:"integer"` }

Contains the response to a successful AssumeRole request, including temporary AWS credentials that can be used to make AWS requests.

AssumedRoleUser

The identifiers for the temporary security credentials that the operation returns.

Credentials

AWS credentials for API authentication.

PackedPolicySize

Type: *int64

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.

Method

GoString

func (s AssumeRoleOutput) GoString() string

GoString returns the string representation

SetAssumedRoleUser

func (s *AssumeRoleOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleOutput

SetAssumedRoleUser sets the AssumedRoleUser field's value.

SetCredentials

func (s *AssumeRoleOutput) SetCredentials(v *Credentials) *AssumeRoleOutput

SetCredentials sets the Credentials field's value.

SetPackedPolicySize

func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput

SetPackedPolicySize sets the PackedPolicySize field's value.

String

func (s AssumeRoleOutput) String() string

String returns the string representation

On this page: