module AWS::IAM::Collection::WithPrefix
def _each_item marker, max_items, options = {}, &block
def _each_item marker, max_items, options = {}, &block prefix = options.delete(:prefix) || self.prefix options[:path_prefix] = "/#{prefix}".sub(%r{^//}, "/") if prefix super(marker, max_items, options, &block) end
def initialize options = {}
- Private: -
def initialize options = {} @prefix = options[:prefix] super end
def with_prefix prefix
-
(GroupCollection)
-
Parameters:
-
prefix
(String
) -- The path prefix for filtering the
def with_prefix prefix prefix = "/#{prefix}".sub(%r{^//}, "/") self.class.new(:prefix => prefix, :config => config) end