Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetUserInput ¶
type GetUserInput struct {
ID *string `json:"id" validate:"required,uuid4"`
}
GetUserInput retrieves a user's information based on id.
type InviteUserInput ¶
type InviteUserInput struct {
GivenName *string `json:"givenName" validate:"required,min=1"`
FamilyName *string `json:"familyName" validate:"required,min=1"`
Email *string `json:"email" validate:"required,email"`
}
InviteUserInput creates a new user with minimal permissions and sends them an invite.
type InviteUserOutput ¶
type InviteUserOutput struct {
ID *string `json:"id"`
}
InviteUserOutput returns the randomly generated user id.
type LambdaInput ¶
type LambdaInput struct {
GetUser *GetUserInput `json:"getUser"`
InviteUser *InviteUserInput `json:"inviteUser"`
ListUsers *ListUsersInput `json:"listUsers"`
RemoveUser *RemoveUserInput `json:"removeUser"`
ResetUserPassword *ResetUserPasswordInput `json:"resetUserPassword"`
UpdateUser *UpdateUserInput `json:"updateUser"`
}
LambdaInput is the invocation event expected by the Lambda function.
Exactly one action must be specified.
type ListUsersInput ¶ added in v0.2.0
type ListUsersInput struct {
Limit *int64 `json:"limit" validate:"omitempty,min=1"`
PaginationToken *string `json:"paginationToken" validate:"omitempty,min=1"`
}
ListUsersInput lists all users in Panther.
type ListUsersOutput ¶ added in v0.2.0
type ListUsersOutput struct {
Users []*User `json:"users"`
PaginationToken *string `json:"paginationToken"`
}
ListUsersOutput returns a page of users.
type RemoveUserInput ¶ added in v0.2.0
type RemoveUserInput struct {
ID *string `json:"id" validate:"required,uuid4"`
}
RemoveUserInput deletes a user.
type ResetUserPasswordInput ¶
type ResetUserPasswordInput struct {
ID *string `json:"id" validate:"required,uuid4"`
}
ResetUserPasswordInput resets the password for a user.
type UpdateUserInput ¶
type UpdateUserInput struct {
ID *string `json:"id" validate:"required,uuid4"`
// At least one of the following must be specified:
GivenName *string `json:"givenName" validate:"omitempty,min=1"`
FamilyName *string `json:"familyName" validate:"omitempty,min=1"`
Email *string `json:"email" validate:"omitempty,min=1"`
}
UpdateUserInput updates user details.
Click to show internal directories.
Click to hide internal directories.