iam

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2017 License: MIT Imports: 7 Imported by: 1

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 New

func New(session *session.Session, config *_aws.Config) *Client

func (*Client) AddRoleToInstanceProfile

func (c *Client) AddRoleToInstanceProfile(profileName, roleName string) error

func (*Client) AttachRolePolicy

func (c *Client) AttachRolePolicy(policyARN, roleName string) error

func (*Client) CreateInstanceProfile

func (c *Client) CreateInstanceProfile(profileName string) (*_iam.InstanceProfile, error)

func (*Client) CreateRole

func (c *Client) CreateRole(assumeRolePolicyDocument, roleName string) (*_iam.Role, error)

func (*Client) DeleteInstanceProfile

func (c *Client) DeleteInstanceProfile(profileName string) error

func (*Client) DeleteRole

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

func (*Client) DeleteRolePolicy

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

func (*Client) DetachRolePolicy

func (c *Client) DetachRolePolicy(policyARN, roleName string) error

func (*Client) ListRolePolicyNames

func (c *Client) ListRolePolicyNames(roleName string) ([]string, error)

func (*Client) RemoveRoleFromInstanceProfile

func (c *Client) RemoveRoleFromInstanceProfile(profileName, roleName string) error

func (*Client) RetrieveInstanceProfile

func (c *Client) RetrieveInstanceProfile(profileName string) (*_iam.InstanceProfile, error)

func (*Client) RetrieveRole

func (c *Client) RetrieveRole(roleName string) (*_iam.Role, error)

Jump to

Keyboard shortcuts

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