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:


217
218
219
220
# File 'lib/aws/s3/logging.rb', line 217

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

Instance Method Details

#disable_logging(*args) ⇒ Object


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

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

#enable_logging(*args) ⇒ Object


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

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

#logging_enabled?Boolean

Returns:

  • (Boolean)

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

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

#logging_statusObject


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

def logging_status
  self.class.logging_status_for(name)
end

#logs(options = {}) ⇒ Object


308
309
310
# File 'lib/aws/s3/logging.rb', line 308

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