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:



220
221
222
223
# File 'lib/aws/s3/logging.rb', line 220

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

Instance Method Details

#disable_logging(*args) ⇒ Object



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

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

#enable_logging(*args) ⇒ Object



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

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

#logging_enabled?Boolean

Returns:

  • (Boolean)


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

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

#logging_statusObject



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

def logging_status
  self.class.logging_status_for(name)
end

#logs(options = {}) ⇒ Object



311
312
313
# File 'lib/aws/s3/logging.rb', line 311

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