client

package
v0.0.0-...-812e201 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient() *Client

func NewClientWithTimeout

func NewClientWithTimeout(tout time.Duration) *Client

func (*Client) AssumeRole

func (c *Client) AssumeRole(providerID, accountID, roleName, accountName string, timeoutSeconds int) (*messages.Credentials, error)

func (*Client) GetUserPresenceBypassToken

func (c *Client) GetUserPresenceBypassToken(providerID string, timeoutSeconds int) (*messages.UserPresenceBypassToken, error)

func (*Client) ListAccountsRoles

func (c *Client) ListAccountsRoles(profileID string) (*messages.ListAccountsRolesResult, error)

func (*Client) ListProfiles

func (c *Client) ListProfiles() (*messages.ListProfilesResult, error)

func (*Client) Login

func (c *Client) Login(profileID string) error

func (*Client) Ping

func (c *Client) Ping() error

func (*Client) Session

func (c *Client) Session(providerID, accountID, roleName, accountName, userPresenceBypassToken string) (*messages.Credentials, error)

Jump to

Keyboard shortcuts

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