Documentation ¶
Index ¶
Constants ¶
View Source
const ErrCodeAPICreation = "APICreationError"
ErrCodeAPICreation ...
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRoleRequest ¶
type IAMPAPAPIV2 ¶
type IAMPAPAPIV2 interface {
IAMRoles() RoleRepository
}
IAMPAPAPIV2 is the resource client ...
type ListResponse ¶
type RoleQuery ¶
type RoleQuery struct { AccountID string ServiceName string Format RoleQueryFormatParameter }
type RoleQueryFormatParameter ¶
type RoleQueryFormatParameter string
type RoleRepository ¶
type RoleRepository interface { Get(roleID string) (Role, string, error) Create(request CreateRoleRequest) (Role, error) Update(request UpdateRoleRequest, roleID, etag string) (Role, error) Delete(roleID string) error ListCustomRoles(accountID, serviceName string) ([]Role, error) ListSystemDefinedRoles() ([]Role, error) ListServiceRoles(serviceName string) ([]Role, error) ListAll(query RoleQuery) ([]Role, error) }
func NewRoleRepository ¶
func NewRoleRepository(c *client.Client) RoleRepository
type UpdateRoleRequest ¶
Click to show internal directories.
Click to hide internal directories.