Documentation ¶
Index ¶
- func AddUserToGroup(cfg aws.Config, userName, groupName string) (*iam.AddUserToGroupOutput, error)
- func CreateAccessKey(cfg aws.Config, userName string) (*iam.CreateAccessKeyOutput, error)
- func CreateUser(cfg aws.Config, input *iam.CreateUserInput) (*iam.CreateUserOutput, error)
- func DeleteAccessKey(cfg aws.Config, userName, keyId string) (*iam.DeleteAccessKeyOutput, error)
- func DeleteUser(cfg aws.Config, input *iam.DeleteUserInput) (*iam.DeleteUserOutput, error)
- func GetAccountSummary(cfg aws.Config) (*iam.GetAccountSummaryOutput, error)
- func ListAccessKeys(cfg aws.Config, userName string) (*iam.ListAccessKeysOutput, error)
- func ListAttachedGroupPolicies(cfg aws.Config, input *iam.ListAttachedGroupPoliciesInput) (*iam.ListAttachedGroupPoliciesOutput, error)
- func ListAttachedRolePolicies(cfg aws.Config, input *iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error)
- func ListUsers(cfg aws.Config, input *iam.ListUsersInput) (*iam.ListUsersOutput, error)
- func RemoveUserFromGroup(cfg aws.Config, input *iam.RemoveUserFromGroupInput) (*iam.RemoveUserFromGroupOutput, error)
- func WriteFile(file string, data []byte) error
- type I
- func (i *I) AccessReport() (*iam.GetCredentialReportOutput, error)
- func (i *I) AttachRolePolicy(roleName, policyArn string) (*iam.AttachRolePolicyOutput, error)
- func (i *I) CreateAccessKey() (*iam.CreateAccessKeyOutput, error)
- func (i *I) CreateRole(input *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)
- func (i *I) DetachRolePolicy(roleName, policyArn string) (*iam.DetachRolePolicyOutput, error)
- func (i *I) GetRole(role string) (*string, error)
- func (i *I) ListAccessKeys() (*iam.ListAccessKeysOutput, error)
- func (i *I) ListAttachedGroupPolicies(group string) (*iam.ListAttachedGroupPoliciesOutput, error)
- func (i *I) ListRoles() (*iam.ListRolesOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserToGroup ¶
func CreateAccessKey ¶
func CreateUser ¶
func CreateUser(cfg aws.Config, input *iam.CreateUserInput) (*iam.CreateUserOutput, error)
func DeleteAccessKey ¶
func DeleteUser ¶
func DeleteUser(cfg aws.Config, input *iam.DeleteUserInput) (*iam.DeleteUserOutput, error)
func GetAccountSummary ¶
func GetAccountSummary(cfg aws.Config) (*iam.GetAccountSummaryOutput, error)
General account
func ListAccessKeys ¶
func ListAttachedGroupPolicies ¶
func ListAttachedGroupPolicies(cfg aws.Config, input *iam.ListAttachedGroupPoliciesInput) (*iam.ListAttachedGroupPoliciesOutput, error)
func ListAttachedRolePolicies ¶
func ListAttachedRolePolicies(cfg aws.Config, input *iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error)
func ListUsers ¶
func ListUsers(cfg aws.Config, input *iam.ListUsersInput) (*iam.ListUsersOutput, error)
func RemoveUserFromGroup ¶
func RemoveUserFromGroup(cfg aws.Config, input *iam.RemoveUserFromGroupInput) (*iam.RemoveUserFromGroupOutput, error)
Types ¶
type I ¶
type I struct {
// contains filtered or unexported fields
}
func (*I) AccessReport ¶
func (i *I) AccessReport() (*iam.GetCredentialReportOutput, error)
func (*I) AttachRolePolicy ¶ added in v0.0.3
func (i *I) AttachRolePolicy(roleName, policyArn string) (*iam.AttachRolePolicyOutput, error)
func (*I) CreateAccessKey ¶
func (i *I) CreateAccessKey() (*iam.CreateAccessKeyOutput, error)
func (*I) CreateRole ¶ added in v0.0.3
func (i *I) CreateRole(input *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)
func (*I) DetachRolePolicy ¶ added in v0.0.3
func (i *I) DetachRolePolicy(roleName, policyArn string) (*iam.DetachRolePolicyOutput, error)
func (*I) ListAccessKeys ¶
func (i *I) ListAccessKeys() (*iam.ListAccessKeysOutput, error)
func (*I) ListAttachedGroupPolicies ¶
func (i *I) ListAttachedGroupPolicies(group string) (*iam.ListAttachedGroupPoliciesOutput, error)
Click to show internal directories.
Click to hide internal directories.