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.

FederatedUser

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

type FederatedUser struct { Arn *string `min:"20" type:"string" required:"true"` FederatedUserId *string `min:"2" type:"string" required:"true"` }

Identifiers for the federated user that is associated with the credentials.

Arn

Type: *string

The ARN that specifies the federated user that is associated with the credentials. 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

FederatedUserId

Type: *string

The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.

FederatedUserId is a required field

Method

GoString

func (s FederatedUser) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetFederatedUserId

func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser

SetFederatedUserId sets the FederatedUserId field's value.

String

func (s FederatedUser) String() string

String returns the string representation

On this page: