Class: Aws::Log::ParamFilter
- Inherits:
-
Object
- Object
- Aws::Log::ParamFilter
- Defined in:
- lib/aws-sdk-core/log/param_filter.rb
Constant Summary collapse
- SENSITIVE =
A managed list of sensitive parameters that should be filtered from logs. This is updated automatically as part of each release. See the ‘tasks/sensitive.rake` for more information.
** DO NOT EDIT THE FOLLOWING LINE OF CODE **
[:admin_contact, :artifact_credentials, :auth_code, :base_32_string_seed, :copy_source_sse_customer_key, :new_password, :old_password, :password, :plaintext, :private_key, :qr_code_png, :registrant_contact, :secret_access_key, :shared_secret, :sse_customer_key, :ssekms_key_id, :tech_contact]
Instance Method Summary collapse
- #filter(value) ⇒ Object
-
#initialize(options = {}) ⇒ ParamFilter
constructor
A new instance of ParamFilter.
Constructor Details
#initialize(options = {}) ⇒ ParamFilter
Returns a new instance of ParamFilter.
15 16 17 |
# File 'lib/aws-sdk-core/log/param_filter.rb', line 15 def initialize( = {}) @filters = Set.new(SENSITIVE + Array([:filter])) end |
Instance Method Details
#filter(value) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/aws-sdk-core/log/param_filter.rb', line 19 def filter(value) case value when Struct, Hash then filter_hash(value) when Array then filter_array(value) else value end end |