aws

package
v0.0.0-...-94be018 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasesPerAccount

type AliasesPerAccount map[string][]*string

func (AliasesPerAccount) Set

func (s AliasesPerAccount) Set(key string, value []*string)

type BucketsPerAccount

type BucketsPerAccount map[string][]string

func (BucketsPerAccount) Add

func (s BucketsPerAccount) Add(key, value string)

func (BucketsPerAccount) Get

func (s BucketsPerAccount) Get(key string) (string, bool)

func (BucketsPerAccount) Set

func (s BucketsPerAccount) Set(key string, value []string)

type CloudfrontsPerAccount

type CloudfrontsPerAccount map[string][]*cloudfront.DistributionSummary

func (CloudfrontsPerAccount) Add

func (CloudfrontsPerAccount) Get

func (CloudfrontsPerAccount) Set

type Organization

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

func NewOrganization

func NewOrganization() (*Organization, error)

func (*Organization) CreateAccount

func (o *Organization) CreateAccount(name string, email string) (*organizations.CreateAccountStatus, error)

func (*Organization) GenerateCredentialReportForAccount

func (o *Organization) GenerateCredentialReportForAccount(accountid string) error

func (*Organization) GenerateCredentialReports

func (o *Organization) GenerateCredentialReports() error

func (*Organization) GetAccounts

func (o *Organization) GetAccounts() ([]*organizations.Account, error)

func (*Organization) GetActiveAccounts

func (o *Organization) GetActiveAccounts() ([]*organizations.Account, error)

func (*Organization) GetAliases

func (o *Organization) GetAliases() (map[string][]*string, error)

func (*Organization) GetAliasesForAccount

func (o *Organization) GetAliasesForAccount(accountid string) ([]*string, error)

func (*Organization) GetBuckets

func (o *Organization) GetBuckets() (map[string][]string, error)

func (*Organization) GetBucketsForAccount

func (o *Organization) GetBucketsForAccount(accountid string) ([]string, error)

func (*Organization) GetCloudfronts

func (o *Organization) GetCloudfronts() (map[string][]*cloudfront.DistributionSummary, error)

func (*Organization) GetCloudfrontsForAccount

func (o *Organization) GetCloudfrontsForAccount(accountid string) ([]*cloudfront.DistributionSummary, error)

func (*Organization) GetCredentialReportForAccount

func (o *Organization) GetCredentialReportForAccount(accountid string) (string, error)

func (*Organization) GetIamSvcForAccount

func (o *Organization) GetIamSvcForAccount(accountid string) (*iam.IAM, error)

func (*Organization) GetRegions

func (o *Organization) GetRegions() []string

func (*Organization) GetTrailArnsForAccount

func (o *Organization) GetTrailArnsForAccount(accountid string) ([]string, error)

func (*Organization) GetUsers

func (o *Organization) GetUsers() (map[string][]*iam.User, error)

func (*Organization) GetUsersForAccount

func (o *Organization) GetUsersForAccount(accountid string) ([]*iam.User, error)

func (*Organization) PrintAccounts

func (o *Organization) PrintAccounts() error

func (*Organization) PrintActiveAccounts

func (o *Organization) PrintActiveAccounts() error

func (*Organization) PrintAliases

func (o *Organization) PrintAliases() error

func (*Organization) PrintAliasesForAccount

func (o *Organization) PrintAliasesForAccount(accountid string) error

func (*Organization) PrintBuckets

func (o *Organization) PrintBuckets() error

func (*Organization) PrintBucketsForAccount

func (o *Organization) PrintBucketsForAccount(accountid string) error

func (*Organization) PrintCloudfronts

func (o *Organization) PrintCloudfronts() error

func (*Organization) PrintCloudfrontsForAccount

func (o *Organization) PrintCloudfrontsForAccount(accountid string) error

func (*Organization) PrintCredentialReportForAccount

func (o *Organization) PrintCredentialReportForAccount(accountid string) error

func (*Organization) PrintCredentialReports

func (o *Organization) PrintCredentialReports() error

func (*Organization) PrintUsers

func (o *Organization) PrintUsers() error

func (*Organization) PrintUsersForAccount

func (o *Organization) PrintUsersForAccount(accountid string) error

func (*Organization) PurgeTrailsForAccount

func (o *Organization) PurgeTrailsForAccount(accountid string) ([]string, error)

func (*Organization) WaitForAccountStatus

func (o *Organization) WaitForAccountStatus(accountStatus *organizations.CreateAccountStatus) (*organizations.CreateAccountStatus, error)

type UsersPerAccount

type UsersPerAccount map[string][]*iam.User

func (UsersPerAccount) Add

func (s UsersPerAccount) Add(account string, value *iam.User)

func (UsersPerAccount) Get

func (s UsersPerAccount) Get(key string) ([]*iam.User, bool)

func (UsersPerAccount) Set

func (s UsersPerAccount) Set(key string, value []*iam.User)

Jump to

Keyboard shortcuts

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