Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EnabledCmd = &cobra.Command{ Use: "enabled", Short: "enables the versioning configuration for the target bucket", SilenceUsage: true, SilenceErrors: true, RunE: func(cmd *cobra.Command, args []string) error { svc, versioningOpts, logger = utils.PrepareConstants(cmd, options.GetVersioningOptions()) if err := utils.CheckArgs(args); err != nil { logger.Error(). Msg(err.Error()) return err } versioningOpts.DesiredState = "enabled" return aws.SetBucketVersioning(svc, versioningOpts, logger) }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.