sts

package
v0.0.0-...-d993690 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCallerIdentity

func GetCallerIdentity(ctx context.Context, api IGetCallerIdentityAPI) tea.Cmd

Types

type GetCallerIdentityAPI

type GetCallerIdentityAPI struct {
	// contains filtered or unexported fields
}

func NewGetCallerIdentityAPI

func NewGetCallerIdentityAPI(cfg aws.Config) *GetCallerIdentityAPI

func (GetCallerIdentityAPI) GetCallerIdentity

func (api GetCallerIdentityAPI) GetCallerIdentity(ctx context.Context, params *sts.GetCallerIdentityInput, optFns ...func(*sts.Options)) (*sts.GetCallerIdentityOutput, error)

func (GetCallerIdentityAPI) GetRegion

func (api GetCallerIdentityAPI) GetRegion() string

type GetCallerIdentityErrorMessage

type GetCallerIdentityErrorMessage struct {
	Error error
}

type GetCallerIdentityMessage

type GetCallerIdentityMessage struct {
	AccountId string
	Arn       string
	Region    string
}

type IGetCallerIdentityAPI

type IGetCallerIdentityAPI interface {
	GetCallerIdentity(ctx context.Context, params *sts.GetCallerIdentityInput, optFns ...func(*sts.Options)) (*sts.GetCallerIdentityOutput, error)
	GetRegion() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL