Module: AWS::S3::Logging::Management

Defined in:
lib/aws/s3/logging.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, LoggingGrants

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

:nodoc:



214
215
216
217
# File 'lib/aws/s3/logging.rb', line 214

def self.included(klass) #:nodoc:
  klass.extend(ClassMethods)
  klass.extend(LoggingGrants)
end

Instance Method Details

#disable_logging(*args) ⇒ Object



297
298
299
# File 'lib/aws/s3/logging.rb', line 297

def disable_logging(*args)
  self.class.disable_logging_for(name, *args)
end

#enable_logging(*args) ⇒ Object



293
294
295
# File 'lib/aws/s3/logging.rb', line 293

def enable_logging(*args)
  self.class.enable_logging_for(name, *args)
end

#logging_enabled?Boolean

Returns:

  • (Boolean)


301
302
303
# File 'lib/aws/s3/logging.rb', line 301

def logging_enabled?
  self.class.logging_enabled_for?(name)
end

#logging_statusObject



289
290
291
# File 'lib/aws/s3/logging.rb', line 289

def logging_status
  self.class.logging_status_for(name)
end

#logs(options = {}) ⇒ Object



305
306
307
# File 'lib/aws/s3/logging.rb', line 305

def logs(options = {})
  self.class.logs_for(name, options)
end