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.

AssumedRoleUser

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

type AssumedRoleUser struct { Arn *string `min:"20" type:"string" required:"true"` AssumedRoleId *string `min:"2" type:"string" required:"true"` }

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

Arn

Type: *string

The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) in Using IAM.

Arn is a required field

AssumedRoleId

Type: *string

A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

AssumedRoleId is a required field

Method

GoString

func (s AssumedRoleUser) GoString() string

GoString returns the string representation

SetArn

func (s *AssumedRoleUser) SetArn(v string) *AssumedRoleUser

SetArn sets the Arn field's value.

SetAssumedRoleId

func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser

SetAssumedRoleId sets the AssumedRoleId field's value.

String

func (s AssumedRoleUser) String() string

String returns the string representation

On this page: