iam

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEntityAlreadyExistsErr

func IsEntityAlreadyExistsErr(err error) bool

func IsNoSuchEntityErr

func IsNoSuchEntityErr(err error) bool

Types

type Client

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

func NewClient

func NewClient(httpCtx core.HTTPContext, credentials *aws.Credentials) *Client

func (*Client) CreateRole

func (c *Client) CreateRole(name, assumeRolePolicy string, tags []common.Tag) (string, error)

func (*Client) DeleteRole

func (c *Client) DeleteRole(name string) error

func (*Client) DeleteRolePolicy

func (c *Client) DeleteRolePolicy(roleName, policyName string) error

func (*Client) GetRole

func (c *Client) GetRole(name string) (string, error)

func (*Client) PutRolePolicy

func (c *Client) PutRolePolicy(roleName, policyName, policyDocument string) error

Jump to

Keyboard shortcuts

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