Sha256: dc767b47564042e5f250a1958d6cc86dbc5be3c7d64d151c3ed9e4e3cddfd9fd
Contents?: true
Size: 535 Bytes
Versions: 82
Compression:
Stored size: 535 Bytes
Contents
module Aws module S3 module Plugins # @api private class BucketNameRestrictions < Seahorse::Client::Plugin class Handler < Seahorse::Client::Handler def call(context) if context.params.key?(:bucket) && context.params[:bucket].include?('/') msg = ":bucket option must not contain a forward-slash (/)" raise ArgumentError, msg end @handler.call(context) end end handler(Handler) end end end end
Version data entries
82 entries across 82 versions & 1 rubygems