Documentation ¶
Index ¶
- func NewConfig(ctx context.Context, accessKeyID, secretAccessKey, region string) (aws.Config, error)
- type OrganizationsClient
- func (o *OrganizationsClient) ListAccounts(ctx context.Context) ([]types.Account, error)
- func (o *OrganizationsClient) ListTagsForAccount(ctx context.Context, accountID string) ([]types.Tag, error)
- func (o *OrganizationsClient) SyncTags(ctx context.Context, input SyncTagsInput) (map[string]string, error)
- func (o *OrganizationsClient) TagAccount(ctx context.Context, accountID string, tags []types.Tag) error
- func (o *OrganizationsClient) UntagAccount(ctx context.Context, accountID string, tagKeys []string) error
- type SyncTagsInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OrganizationsClient ¶
type OrganizationsClient struct {
// contains filtered or unexported fields
}
func NewOrganizationsClient ¶
func NewOrganizationsClient(cfg aws.Config) *OrganizationsClient
func (*OrganizationsClient) ListAccounts ¶
func (*OrganizationsClient) ListTagsForAccount ¶
func (*OrganizationsClient) SyncTags ¶
func (o *OrganizationsClient) SyncTags(ctx context.Context, input SyncTagsInput) (map[string]string, error)
func (*OrganizationsClient) TagAccount ¶
func (*OrganizationsClient) UntagAccount ¶
type SyncTagsInput ¶
Click to show internal directories.
Click to hide internal directories.