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:



211
212
213
214
# File 'lib/aws/s3/logging.rb', line 211

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

Instance Method Details

#disable_logging(*args) ⇒ Object



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

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

#enable_logging(*args) ⇒ Object



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

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

#logging_enabled?Boolean

Returns:

  • (Boolean)


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

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

#logging_statusObject



286
287
288
# File 'lib/aws/s3/logging.rb', line 286

def logging_status
  self.class.logging_status_for(name)
end

#logs(options = {}) ⇒ Object



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

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