Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DisabledCmd = &cobra.Command{ Use: "disabled", Short: "disables the transfer acceleration configuration for the target bucket", SilenceUsage: false, SilenceErrors: true, Example: `# set the transfer acceleration configuration for bucket as disabled s3-manager transferacceleration set disabled `, RunE: func(cmd *cobra.Command, args []string) error { var rootOpts *rootopts.RootOptions svc, rootOpts, logger, confirmRunner = utils.PrepareConstants(cmd) transferAccelerationOpts.RootOptions = rootOpts if err := utils.CheckArgs(args, 0); err != nil { logger.Error().Msg(err.Error()) return err } transferAccelerationOpts.DesiredState = "disabled" return aws.SetTransferAcceleration(svc, transferAccelerationOpts, confirmRunner, logger) }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.