Documentation ¶
Index ¶
- type AliasesPerAccount
- type BucketsPerAccount
- type CloudfrontsPerAccount
- type Organization
- func (o *Organization) CreateAccount(name string, email string) (*organizations.CreateAccountStatus, error)
- func (o *Organization) GenerateCredentialReportForAccount(accountid string) error
- func (o *Organization) GenerateCredentialReports() error
- func (o *Organization) GetAccounts() ([]*organizations.Account, error)
- func (o *Organization) GetActiveAccounts() ([]*organizations.Account, error)
- func (o *Organization) GetAliases() (map[string][]*string, error)
- func (o *Organization) GetAliasesForAccount(accountid string) ([]*string, error)
- func (o *Organization) GetBuckets() (map[string][]string, error)
- func (o *Organization) GetBucketsForAccount(accountid string) ([]string, error)
- func (o *Organization) GetCloudfronts() (map[string][]*cloudfront.DistributionSummary, error)
- func (o *Organization) GetCloudfrontsForAccount(accountid string) ([]*cloudfront.DistributionSummary, error)
- func (o *Organization) GetCredentialReportForAccount(accountid string) (string, error)
- func (o *Organization) GetIamSvcForAccount(accountid string) (*iam.IAM, error)
- func (o *Organization) GetRegions() []string
- func (o *Organization) GetTrailArnsForAccount(accountid string) ([]string, error)
- func (o *Organization) GetUsers() (map[string][]*iam.User, error)
- func (o *Organization) GetUsersForAccount(accountid string) ([]*iam.User, error)
- func (o *Organization) PrintAccounts() error
- func (o *Organization) PrintActiveAccounts() error
- func (o *Organization) PrintAliases() error
- func (o *Organization) PrintAliasesForAccount(accountid string) error
- func (o *Organization) PrintBuckets() error
- func (o *Organization) PrintBucketsForAccount(accountid string) error
- func (o *Organization) PrintCloudfronts() error
- func (o *Organization) PrintCloudfrontsForAccount(accountid string) error
- func (o *Organization) PrintCredentialReportForAccount(accountid string) error
- func (o *Organization) PrintCredentialReports() error
- func (o *Organization) PrintUsers() error
- func (o *Organization) PrintUsersForAccount(accountid string) error
- func (o *Organization) PurgeTrailsForAccount(accountid string) ([]string, error)
- func (o *Organization) WaitForAccountStatus(accountStatus *organizations.CreateAccountStatus) (*organizations.CreateAccountStatus, error)
- type UsersPerAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasesPerAccount ¶
func (AliasesPerAccount) Set ¶
func (s AliasesPerAccount) Set(key string, value []*string)
type BucketsPerAccount ¶
func (BucketsPerAccount) Add ¶
func (s BucketsPerAccount) Add(key, value string)
func (BucketsPerAccount) Set ¶
func (s BucketsPerAccount) Set(key string, value []string)
type CloudfrontsPerAccount ¶
type CloudfrontsPerAccount map[string][]*cloudfront.DistributionSummary
func (CloudfrontsPerAccount) Add ¶
func (s CloudfrontsPerAccount) Add(account string, value *cloudfront.DistributionSummary)
func (CloudfrontsPerAccount) Get ¶
func (s CloudfrontsPerAccount) Get(key string) ([]*cloudfront.DistributionSummary, bool)
func (CloudfrontsPerAccount) Set ¶
func (s CloudfrontsPerAccount) Set(key string, value []*cloudfront.DistributionSummary)
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) 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 ¶
Click to show internal directories.
Click to hide internal directories.