Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIContext ¶
type CLIContext struct { Debug bool DisableLocalTime bool Cognito cognito.Service Writer io.Writer }
CLIContext cli context used for common options
type ExportCmd ¶
type ExportCmd struct { UserPoolID string `help:"User pool id." kong:"required"` BackOff int `help:"Delay in ms used to backoff during paging of records" default:"500"` Filter map[string]string `help:"Filter users based on a set of patterns, supports '*' and '?' wildcards in either string."` }
ExportCmd find and export users in pool sub command
type FindCmd ¶
type FindCmd struct { UserPoolID string `help:"User pool id." kong:"required"` CSV bool `help:"Enable csv output."` Attributes []string `help:"Attributes to retrieve and output." default:"Username,email"` BackOff int `help:"Delay in ms used to backoff during paging of records" default:"500"` Filter map[string]string `help:"Filter users based on a set of patterns, supports '*' and '?' wildcards in either string."` }
FindCmd find users in pool sub command
type ListAttributesCmd ¶
type ListAttributesCmd struct {
UserPoolID string `help:"User pool id." kong:"required"`
}
ListAttributesCmd list pools attributes sub command
func (*ListAttributesCmd) Run ¶
func (f *ListAttributesCmd) Run(cli *CLIContext) error
Run run the list operation
type LogoutCmd ¶
type LogoutCmd struct { UserPoolID string `help:"User pool id." kong:"required"` BackOff int `help:"Delay in ms used to backoff during paging of records" default:"500"` Filter map[string]string `help:"Filter users based on a set of patterns, supports '*' and '?' wildcards in either string."` }
LogoutCmd find users in pool sub command
Click to show internal directories.
Click to hide internal directories.