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.

GetFederationTokenOutput

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

type GetFederationTokenOutput struct { Credentials *Credentials `type:"structure"` FederatedUser *FederatedUser `type:"structure"` PackedPolicySize *int64 `type:"integer"` }

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

Credentials

AWS credentials for API authentication.

FederatedUser

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

PackedPolicySize

Type: *int64

A percentage value indicating the size of the policy in packed form. The service rejects policies for which the packed size is greater than 100 percent of the allowed value.

Method

GoString

func (s GetFederationTokenOutput) GoString() string

GoString returns the string representation

SetCredentials

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

SetCredentials sets the Credentials field's value.

SetFederatedUser

func (s *GetFederationTokenOutput) SetFederatedUser(v *FederatedUser) *GetFederationTokenOutput

SetFederatedUser sets the FederatedUser field's value.

SetPackedPolicySize

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

SetPackedPolicySize sets the PackedPolicySize field's value.

String

func (s GetFederationTokenOutput) String() string

String returns the string representation

On this page: