Class: Fog::AWS::IAM::Mock
- Inherits:
-
Object
- Object
- Fog::AWS::IAM::Mock
- Defined in:
- lib/fog/aws/iam.rb,
lib/fog/aws/requests/iam/get_user.rb,
lib/fog/aws/requests/iam/list_users.rb,
lib/fog/aws/requests/iam/create_user.rb,
lib/fog/aws/requests/iam/delete_user.rb,
lib/fog/aws/requests/iam/list_groups.rb,
lib/fog/aws/requests/iam/create_group.rb,
lib/fog/aws/requests/iam/delete_group.rb,
lib/fog/aws/requests/iam/put_user_policy.rb,
lib/fog/aws/requests/iam/list_access_keys.rb,
lib/fog/aws/requests/iam/put_group_policy.rb,
lib/fog/aws/requests/iam/add_user_to_group.rb,
lib/fog/aws/requests/iam/create_access_key.rb,
lib/fog/aws/requests/iam/delete_access_key.rb,
lib/fog/aws/requests/iam/update_access_key.rb,
lib/fog/aws/requests/iam/delete_user_policy.rb,
lib/fog/aws/requests/iam/list_user_policies.rb,
lib/fog/aws/requests/iam/delete_group_policy.rb,
lib/fog/aws/requests/iam/list_group_policies.rb,
lib/fog/aws/requests/iam/remove_user_from_group.rb
Instance Method Summary collapse
- #add_user_to_group(group_name, user_name) ⇒ Object
- #create_access_key(user_name = nil) ⇒ Object
- #create_group(group_name, path = '/') ⇒ Object
- #create_user(user_name, path = '/') ⇒ Object
- #delete_access_key(access_key_id, user_name = nil) ⇒ Object
- #delete_group(group_name) ⇒ Object
- #delete_group_policy(group_name, policy_name) ⇒ Object
- #delete_user(user_name) ⇒ Object
- #delete_user_policy(user_name, policy_name) ⇒ Object
- #get_user(options = {}) ⇒ Object
-
#initialize(options = {}) ⇒ Mock
constructor
A new instance of Mock.
- #list_access_keys(options = {}) ⇒ Object
- #list_group_policies(group_name, options = {}) ⇒ Object
- #list_groups(options = {}) ⇒ Object
- #list_user_policies(user_name, options = {}) ⇒ Object
- #list_users(options = {}) ⇒ Object
- #put_group_policy(group_name, policy_name, policy_document) ⇒ Object
- #put_user_policy(user_name, policy_name, policy_document) ⇒ Object
- #remove_user_from_group(group_name, user_name) ⇒ Object
- #update_access_key(access_key_id, status, user_name = nil) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Mock
Returns a new instance of Mock.
31 32 |
# File 'lib/fog/aws/iam.rb', line 31 def initialize(={}) end |
Instance Method Details
#add_user_to_group(group_name, user_name) ⇒ Object
35 36 37 |
# File 'lib/fog/aws/requests/iam/add_user_to_group.rb', line 35 def add_user_to_group(group_name, user_name) Fog::Mock.not_implemented end |
#create_access_key(user_name = nil) ⇒ Object
38 39 40 |
# File 'lib/fog/aws/requests/iam/create_access_key.rb', line 38 def create_access_key(user_name = nil) Fog::Mock.not_implemented end |
#create_group(group_name, path = '/') ⇒ Object
40 41 42 |
# File 'lib/fog/aws/requests/iam/create_group.rb', line 40 def create_group(group_name, path = '/') Fog::Mock.not_implemented end |
#create_user(user_name, path = '/') ⇒ Object
40 41 42 |
# File 'lib/fog/aws/requests/iam/create_user.rb', line 40 def create_user(user_name, path = '/') Fog::Mock.not_implemented end |
#delete_access_key(access_key_id, user_name = nil) ⇒ Object
35 36 37 |
# File 'lib/fog/aws/requests/iam/delete_access_key.rb', line 35 def delete_access_key(access_key_id, user_name = nil) Fog::Mock.not_implemented end |
#delete_group(group_name) ⇒ Object
33 34 35 |
# File 'lib/fog/aws/requests/iam/delete_group.rb', line 33 def delete_group(group_name) Fog::Mock.not_implemented end |
#delete_group_policy(group_name, policy_name) ⇒ Object
35 36 37 |
# File 'lib/fog/aws/requests/iam/delete_group_policy.rb', line 35 def delete_group_policy(group_name, policy_name) Fog::Mock.not_implemented end |
#delete_user(user_name) ⇒ Object
33 34 35 |
# File 'lib/fog/aws/requests/iam/delete_user.rb', line 33 def delete_user(user_name) Fog::Mock.not_implemented end |
#delete_user_policy(user_name, policy_name) ⇒ Object
35 36 37 |
# File 'lib/fog/aws/requests/iam/delete_user_policy.rb', line 35 def delete_user_policy(user_name, policy_name) Fog::Mock.not_implemented end |
#get_user(options = {}) ⇒ Object
37 38 39 |
# File 'lib/fog/aws/requests/iam/get_user.rb', line 37 def get_user( = {}) Fog::Mock.not_implemented end |
#list_access_keys(options = {}) ⇒ Object
41 42 43 |
# File 'lib/fog/aws/requests/iam/list_access_keys.rb', line 41 def list_access_keys( = {}) Fog::Mock.not_implemented end |
#list_group_policies(group_name, options = {}) ⇒ Object
40 41 42 |
# File 'lib/fog/aws/requests/iam/list_group_policies.rb', line 40 def list_group_policies(group_name, = {}) Fog::Mock.not_implemented end |
#list_groups(options = {}) ⇒ Object
43 44 45 |
# File 'lib/fog/aws/requests/iam/list_groups.rb', line 43 def list_groups( = {}) Fog::Mock.not_implemented end |
#list_user_policies(user_name, options = {}) ⇒ Object
40 41 42 |
# File 'lib/fog/aws/requests/iam/list_user_policies.rb', line 40 def list_user_policies(user_name, = {}) Fog::Mock.not_implemented end |
#list_users(options = {}) ⇒ Object
43 44 45 |
# File 'lib/fog/aws/requests/iam/list_users.rb', line 43 def list_users( = {}) Fog::Mock.not_implemented end |
#put_group_policy(group_name, policy_name, policy_document) ⇒ Object
37 38 39 |
# File 'lib/fog/aws/requests/iam/put_group_policy.rb', line 37 def put_group_policy(group_name, policy_name, policy_document) Fog::Mock.not_implemented end |
#put_user_policy(user_name, policy_name, policy_document) ⇒ Object
37 38 39 |
# File 'lib/fog/aws/requests/iam/put_user_policy.rb', line 37 def put_user_policy(user_name, policy_name, policy_document) Fog::Mock.not_implemented end |
#remove_user_from_group(group_name, user_name) ⇒ Object
35 36 37 |
# File 'lib/fog/aws/requests/iam/remove_user_from_group.rb', line 35 def remove_user_from_group(group_name, user_name) Fog::Mock.not_implemented end |
#update_access_key(access_key_id, status, user_name = nil) ⇒ Object
37 38 39 |
# File 'lib/fog/aws/requests/iam/update_access_key.rb', line 37 def update_access_key(access_key_id, status, user_name = nil) Fog::Mock.not_implemented end |