source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/cloud_watch/delete_alarms.rb
Ruby
mit
304
master
1,441
module Fog module AWS class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/delete_alarms' # Delete a list of alarms # ==== Options # * AlarmNames<~Array>: A list of alarms to be deleted # # ==== Returns # * response<~Excon::Response>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/cloud_watch/put_metric_data.rb
Ruby
mit
304
master
3,136
module Fog module AWS class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/put_metric_data' # Publishes one or more data points to CloudWatch. A new metric is created if necessary # ==== Options # * Namespace<~String>: the namespace of the metric data # *...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb
Ruby
mit
304
master
886
module Fog module AWS class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/enable_alarm_actions' # Enables actions for the specified alarms # ==== Options # * AlarmNames<~Array>: The names of the alarms to enable actions for # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
Ruby
mit
304
master
893
module Fog module AWS class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/disable_alarm_actions' # Disables actions for the specified alarms # ==== Options # * AlarmNames<~Array>: The names of the alarms to disable actions for # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb
Ruby
mit
304
master
1,211
module Fog module AWS class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/describe_alarm_history' # Retrieves history for the specified alarm # ==== Options # * AlarmName<~String>: The name of the alarm # * EndDate<~DateTime>: The ending date to retrieve...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/cloud_watch/list_metrics.rb
Ruby
mit
304
master
2,184
module Fog module AWS class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/list_metrics' # List available metrics # # ==== Options # * Dimensions<~Array>: a list of dimensions to filter against, # Name : The name of the dimension # ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/delete_table.rb
Ruby
mit
304
master
1,156
module Fog module AWS class DynamoDB class Real # Delete DynamoDB table # # ==== Parameters # * 'table_name'<~String> - name of table to delete # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'TableDescriptio...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/put_item.rb
Ruby
mit
304
master
1,089
module Fog module AWS class DynamoDB class Real # Update DynamoDB item # # ==== Parameters # * 'table_name'<~String> - name of table for item # * 'item'<~Hash>: data to update, must include primary key # { # "LastPostDateTime": {"S": "20130319042...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/update_item.rb
Ruby
mit
304
master
1,976
module Fog module AWS class DynamoDB class Real class DeprecatedAttributeUpdates < Exception; end # Update DynamoDB item # # ==== Parameters # * 'table_name'<~String> - name of table for item # * 'key'<~Hash> - list of Key attributes # { # ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/scan.rb
Ruby
mit
304
master
2,019
module Fog module AWS class DynamoDB class Real # Scan DynamoDB items # # ==== Parameters # * 'table_name'<~String> - name of table to query # * options<~Hash>: # * 'AttributesToGet'<~Array> - Array of attributes to get for each item, defaults to all ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/describe_table.rb
Ruby
mit
304
master
1,548
module Fog module AWS class DynamoDB class Real # Describe DynamoDB table # # ==== Parameters # * 'table_name'<~String> - name of table to describe # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'Table'<~Has...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/create_table.rb
Ruby
mit
304
master
2,068
module Fog module AWS class DynamoDB class Real # Create DynamoDB table # # ==== Parameters # * 'table_name'<~String> - name of table to create # * 'key_schema'<~Array>: # * 'AttributeName'<~String> - name of attribute # * 'KeyType'<~String> - ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/delete_item.rb
Ruby
mit
304
master
1,039
module Fog module AWS class DynamoDB class Real # Delete DynamoDB item # # ==== Parameters # * 'table_name'<~String> - name of table for item # * 'key'<~Hash> - hash of attributes # # ==== Returns # * response<~Excon::Response>: # * b...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/update_table.rb
Ruby
mit
304
master
1,716
module Fog module AWS class DynamoDB class Real # Update DynamoDB table throughput # # ==== Parameters # * 'table_name'<~String> - name of table to describe # * 'provisioned_throughput'<~Hash>: # * 'ReadCapacityUnits'<~Integer> - read capacity for table, in ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/batch_get_item.rb
Ruby
mit
304
master
1,263
module Fog module AWS class DynamoDB class Real # Get DynamoDB items # # ==== Parameters # * 'request_items'<~Hash>: # * 'table_name'<~Hash>: # * 'Keys'<~Array>: array of keys # # ==== Returns # * response<~Excon::Response>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/query.rb
Ruby
mit
304
master
2,364
module Fog module AWS class DynamoDB class Real # Query DynamoDB items # # ==== Parameters # * 'table_name'<~String> - name of table to query # * options<~Hash>: # * 'AttributesToGet'<~Array> - Array of attributes to get for each item, defaults to all ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/get_item.rb
Ruby
mit
304
master
1,378
module Fog module AWS class DynamoDB class Real # Get DynamoDB item # # ==== Parameters # * 'table_name'<~String> - name of table for item # * 'key'<~Hash>: # { # "ForumName": { # "S": "Amazon DynamoDB" # } ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/list_tables.rb
Ruby
mit
304
master
985
module Fog module AWS class DynamoDB class Real # List DynamoDB tables # # ==== Parameters # * 'options'<~Hash> - options, defaults to {} # * 'ExclusiveStartTableName'<~String> - name of table to begin listing with # * 'Limit'<~Integer> - limit number of t...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/dynamodb/batch_write_item.rb
Ruby
mit
304
master
931
module Fog module AWS class DynamoDB class Real def batch_put_item(request_items) Fog::Logger.deprecation("batch_put_item is deprecated, use batch_write_item instead") batch_write_item(request_items) end # request_items has form: # # {"table_name"...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/federation/get_signin_token.rb
Ruby
mit
304
master
376
module Fog module AWS class Federation class Real def get_signin_token(session) request('getSigninToken', CGI.escape(Fog::JSON.encode(session))) end end class Mock def get_signin_token(session) { 'SigninToken' => Fog::Mock.random_base64(7...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/send_raw_email.rb
Ruby
mit
304
master
1,321
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/send_raw_email' # Send a raw email # # ==== Parameters # * RawMessage <~String> - The message to be sent. # * Options <~Hash> # * Source <~String> - The sender's email address. ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/get_send_statistics.rb
Ruby
mit
304
master
929
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/get_send_statistics' # Returns the user's current activity limits. # # ==== Parameters # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/verify_domain_identity.rb
Ruby
mit
304
master
913
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/verify_domain_identity' # Verifies a domain. This action returns a verification authorization # token which must be added as a DNS TXT record to the domain. # # ==== Parameters # * domain...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/verify_email_address.rb
Ruby
mit
304
master
838
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/verify_email_address' # Verifies an email address. This action causes a confirmation email message to be sent to the specified address. # # ==== Parameters # * email_address<~String> - The email ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/delete_verified_email_address.rb
Ruby
mit
304
master
797
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/delete_verified_email_address' # Delete an existing verified email address # # ==== Parameters # * email_address<~String> - Email Address to be removed # ==== Returns # * response...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/send_email.rb
Ruby
mit
304
master
2,741
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/send_email' # Send an email # # ==== Parameters # * Source <~String> - The sender's email address # * Destination <~Hash> - The destination for this email, composed of To:, From:, and CC:...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/get_send_quota.rb
Ruby
mit
304
master
778
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/get_send_quota' # Returns the user's current activity limits. # # ==== Parameters # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'GetS...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/ses/list_verified_email_addresses.rb
Ruby
mit
304
master
743
module Fog module AWS class SES class Real require 'fog/aws/parsers/ses/list_verified_email_addresses' # Returns a list containing all of the email addresses that have been verified # # ==== Parameters # # ==== Returns # * response<~Excon::Response>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_attached_group_policies.rb
Ruby
mit
304
master
3,101
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_managed_policies' # Attaches a managed policy to a group # # ==== Parameters # * group_name<~String>: name of the group # # ==== Returns # * response<~Excon::Response...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/update_user.rb
Ruby
mit
304
master
1,363
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/update_user' # Update a user # # ==== Parameters # * user_name<~String> - Required. Name of the User to update. If you're changing the name of the User, this is the original User name. # ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_signing_certificate.rb
Ruby
mit
304
master
1,004
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Upload signing certificate for user (by default detects user from access credentials) # # ==== Parameters # * options<~Hash>: # * 'UserName'<~String> - name of the user to uplo...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_instance_profiles.rb
Ruby
mit
304
master
2,093
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_instance_profiles' # Lists instance profiles # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String>: used to paginate subsequent requests # * 'MaxItems'<~Integer>:...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/detach_user_policy.rb
Ruby
mit
304
master
1,888
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Detaches a managed policy to a user # # ==== Parameters # * user_name<~String>: name of the user # * policy_arn<~String>: arn of the managed policy # # ==== Retur...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_account_password_policy.rb
Ruby
mit
304
master
985
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add or update the account password policy # # ==== Parameters # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'RequestId'<~Stri...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_user.rb
Ruby
mit
304
master
1,216
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Delete a user # # ==== Parameters # * user_name<~String>: name of the user to delete # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_group.rb
Ruby
mit
304
master
1,976
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/create_group' # Create a new group # # ==== Parameters # * group_name<~String>: name of the group to create (do not include path) # * path<~String>: optional path to group, defaults to '/...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_instance_profile.rb
Ruby
mit
304
master
2,350
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/instance_profile' # Create a new instance_profile # # ==== Parameters # * instance_profile_name<~String>: name of the instance profile to create (do not include path) # * path<~String>: o...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/update_login_profile.rb
Ruby
mit
304
master
1,599
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Updates a login profile for a user # # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_UpdateLoginProfile.html # ==== Parameters # * user_name<~String> - Name of us...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb
Ruby
mit
304
master
1,792
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # removes a role from an instance profile # # Make sure you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. # ==== Parameters ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_access_key.rb
Ruby
mit
304
master
2,249
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/create_access_key' # Create a access keys for user (by default detects user from access credentials) # # ==== Parameters # * options<~Hash>: # * 'UserName'<~String> - name of the user t...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_login_profile.rb
Ruby
mit
304
master
1,467
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Deletes a user's login profile # # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_DeleteLoginProfile.html # ==== Parameters # * user_name<~String> - Name of user w...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/add_user_to_group.rb
Ruby
mit
304
master
1,604
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add a user to a group # # ==== Parameters # * group_name<~String>: name of the group # * user_name<~String>: name of user to add # # ==== Returns # * resp...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/put_group_policy.rb
Ruby
mit
304
master
1,818
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add or update a policy for a group # # ==== Parameters # * group_name<~String>: name of the group # * policy_name<~String>: name of policy document # * policy_document<~H...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_group.rb
Ruby
mit
304
master
2,662
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/get_group' # Get Group # # ==== Parameters # * 'GroupName'<~String>: Name of the Group # * options<~Hash>: # * 'Marker'<~String>: Use this only when paginating results, and only...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_user.rb
Ruby
mit
304
master
1,808
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/create_user' # Create a new user # # ==== Parameters # * user_name<~String>: name of the user to create (do not include path) # * path<~String>: optional path to group, defaults to '/' ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb
Ruby
mit
304
master
2,294
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_instance_profiles' # Lists the instance profiles that have the specified associated role # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String>: used to paginate subsequent ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/attach_role_policy.rb
Ruby
mit
304
master
1,870
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Attaches a managed policy to a role # # ==== Parameters # * role_name<~String>: name of the role # * policy_arn<~String>: arn of the managed policy # # ==== Retur...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_account_aliases.rb
Ruby
mit
304
master
370
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_account_aliases' def list_account_aliases(options = {}) request({ 'Action' => 'ListAccountAliases', :parser => Fog::Parsers::AWS::IAM::ListAccountAliases.new }.merge!(...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_server_certificate.rb
Ruby
mit
304
master
1,324
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/upload_server_certificate' # Gets the specified server certificate. # # ==== Parameters # * server_certificate_name<~String>: The name of the server certificate you want to get. # ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/update_account_password_policy.rb
Ruby
mit
304
master
3,324
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add or update the account password policy # # ==== Parameters # * MinimumPasswordLength<~integer> Minimum length to require for IAM user passwords. # * MaxPasswordAge<~integ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_signing_certificates.rb
Ruby
mit
304
master
1,354
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_signing_certificates' # List signing certificates for user (by default detects user from access credentials) # # ==== Parameters # * options<~Hash>: # * 'UserName'<~String> - name ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_policy.rb
Ruby
mit
304
master
2,463
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/single_policy' # Creates a managed policy # # ==== Parameters # * policy_name<~String>: name of policy document # * policy_document<~Hash>: policy document, see: http://docs.amazonwebserv...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_role_policy.rb
Ruby
mit
304
master
1,078
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/get_role_policy' # Get Role Policy # # ==== Parameters # * 'PolicyName'<~String>: Name of the policy to get # * 'RoleName'<~String>: Name of the Role who the policy is associated with. ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_roles.rb
Ruby
mit
304
master
3,438
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_roles' # Lists roles # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String>: used to paginate subsequent requests # * 'MaxItems'<~Integer>: limit results to this n...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/attach_group_policy.rb
Ruby
mit
304
master
1,879
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Attaches a managed policy to a group # # ==== Parameters # * group_name<~String>: name of the group # * policy_arn<~String>: arn of the managed policy # # ==== Re...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_account_summary.rb
Ruby
mit
304
master
3,748
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/get_account_summary' # Retrieve account level information about account entity usage and IAM quotas # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'Su...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_access_key.rb
Ruby
mit
304
master
1,648
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Delete an access key # # ==== Parameters # * access_key_id<~String> - Access key id to delete # * options<~Hash>: # * 'UserName'<~String> - name of the user to create (...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_group.rb
Ruby
mit
304
master
1,455
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Delete a group # # ==== Parameters # * group_name<~String>: name of the group to delete # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_policy_version.rb
Ruby
mit
304
master
1,206
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Deletes a manged policy # # ==== Parameters # * policy_arn<~String>: arn of the policy # * version_id<~String>: version of policy to delete # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_role.rb
Ruby
mit
304
master
1,905
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/single_role' # Get the specified role # # ==== Parameters # role_name<~String> # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * Role<~Has...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_server_certificate.rb
Ruby
mit
304
master
1,441
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Deletes the specified server certificate. # # ==== Parameters # * server_certificate_name<~String>: The name of the server certificate you want to delete. # # ==== Return...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/add_role_to_instance_profile.rb
Ruby
mit
304
master
1,624
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add a role to an instance profile # # ==== Parameters # * instance_profile_name<~String>: Name of the instance profile to update. # * role_name<~String>:Name of the role to add. ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_role_policies.rb
Ruby
mit
304
master
1,282
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_policies' # Lists the names of policies associated with a role # # ==== Parameters # * role_name<~String>: the role to list policies for # * options<~Hash>: # * 'Marker'<~S...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_account_alias.rb
Ruby
mit
304
master
375
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' def create_account_alias(account_alias) request( 'Action' => 'CreateAccountAlias', 'AccountAlias' => account_alias, :parser => Fog::Parsers::AWS::IAM::Basic.n...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/put_user_policy.rb
Ruby
mit
304
master
1,803
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add or update a policy for a user # # ==== Parameters # * user_name<~String>: name of the user # * policy_name<~String>: name of policy document # * policy_document<~Hash...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_role_policy.rb
Ruby
mit
304
master
912
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Remove a policy from a role # # ==== Parameters # * role_name<~String>: name of the role # * policy_name<~String>: name of policy document # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/update_server_certificate.rb
Ruby
mit
304
master
2,516
module Fog module AWS class IAM class Real # Updates the name and/or the path of the specified server certificate. # # ==== Parameters # * server_certificate_name<~String> - The name of the server # certificate that you want to update. # * options<~Hash>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_user_policies.rb
Ruby
mit
304
master
1,953
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_policies' # List policies for a user # # ==== Parameters # * user_name<~String> - Name of user to list policies for # * options<~Hash>: Optional # * 'Marker'<~String>: used...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/put_role_policy.rb
Ruby
mit
304
master
1,128
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add or update a policy for a role # # ==== Parameters # * role_name<~String>: name of the role # * policy_name<~String>: name of policy document # * policy_document<~Hash...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_user_policy.rb
Ruby
mit
304
master
1,484
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Remove a policy from a user # # ==== Parameters # * user_name<~String>: name of the user # * policy_name<~String>: name of policy document # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/set_default_policy_version.rb
Ruby
mit
304
master
1,193
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Remove a user from a group # # ==== Parameters # * policy_arn<~String>: arn of the policy # * version_id<~String>: version of policy to delete # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_users.rb
Ruby
mit
304
master
2,173
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_users' # List users # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String>: used to paginate subsequent requests # * 'MaxItems'<~Integer>: limit results to this nu...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_group_policy.rb
Ruby
mit
304
master
1,616
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Remove a policy from a group # # ==== Parameters # * group_name<~String>: name of the group # * policy_name<~String>: name of policy document # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_groups.rb
Ruby
mit
304
master
2,101
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_groups' # List groups # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String>: used to paginate subsequent requests # * 'MaxItems'<~Integer>: limit results to this ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_role.rb
Ruby
mit
304
master
1,238
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Delete a role # # ==== Parameters # * role_name<~String>: name of the role to delete # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_policy_version.rb
Ruby
mit
304
master
2,233
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/policy_version' # Contains information about a version of a managed policy. # # ==== Parameters # * PolicyArn<~String>: The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resourc...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_mfa_devices.rb
Ruby
mit
304
master
2,263
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_mfa_devices' # List MFA Devices # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String> - used to paginate subsequent requests # * 'MaxItems'<~Integer> - limit resu...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/upload_signing_certificate.rb
Ruby
mit
304
master
1,252
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/upload_signing_certificate' # Upload signing certificate for user (by default detects user from access credentials) # # ==== Parameters # * options<~Hash>: # * 'UserName'<~String> - nam...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_login_profile.rb
Ruby
mit
304
master
1,960
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/login_profile' # Creates a login profile for a user # # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_CreateLoginProfile.html # ==== Parameters # * user_name<~String> - Na...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_role.rb
Ruby
mit
304
master
2,850
module Fog module AWS class IAM # At the moment this is the only policy you can use EC2_ASSUME_ROLE_POLICY = <<-JSON { "Version":"2008-10-17", "Statement":[ { "Effect":"Allow", "Principal":{ "Service":["ec2.amazonaws.com"] }, "Action":["sts:Assum...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_server_certificates.rb
Ruby
mit
304
master
2,005
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_server_certificates' # List server certificates # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String> - The marker from the previous result (for pagination) # * '...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_login_profile.rb
Ruby
mit
304
master
1,750
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/login_profile' # Retrieves the login profile for a user # # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_CreateLoginProfile.html # ==== Parameters # * user_name<~String> ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_group_policies.rb
Ruby
mit
304
master
1,967
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_policies' # List policies for a group # # ==== Parameters # * group_name<~String> - Name of group to list policies for # * options<~Hash>: Optional # * 'Marker'<~String>: u...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_user_policy.rb
Ruby
mit
304
master
2,020
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/get_user_policy' # Get User Policy # # ==== Parameters # * 'PolicyName'<~String>: Name of the policy to get # * 'UserName'<~String>: Name of the User who the policy is associated with. ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/attach_user_policy.rb
Ruby
mit
304
master
1,861
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Attaches a managed policy to a user # # ==== Parameters # * user_name<~String>: name of the user # * policy_arn<~String>: arn of the managed policy # # ==== Retur...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_group_policy.rb
Ruby
mit
304
master
2,040
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/get_group_policy' # Get Group Policy # # ==== Parameters # * 'PolicyName'<~String>: Name of the policy to get # * 'GroupName'<~String>: Name of the Group who the policy is associated with...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/delete_policy.rb
Ruby
mit
304
master
1,248
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Deletes a manged policy # # ==== Parameters # * policy_arn<~String>: arn of the policy # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>:...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_policies.rb
Ruby
mit
304
master
3,009
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_managed_policies' # Lists managed policies # # ==== Parameters # * options <~Hash>: options that filter the result set # * Marker <~String> # * MaxItems <~Integer> ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_attached_user_policies.rb
Ruby
mit
304
master
3,116
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_managed_policies' # Attaches a managed policy to a user # # ==== Parameters # * user_name<~String>: name of the user # # ==== Returns # * response<~Excon::Response>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/update_assume_role_policy.rb
Ruby
mit
304
master
1,362
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Creates a managed policy # # ==== Parameters # * policy_document<~Hash>: policy document, see: http://docs.amazonwebservices.com/IAM/latest/UserGuide/PoliciesOverview.html # * ro...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_attached_role_policies.rb
Ruby
mit
304
master
3,083
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_managed_policies' # Lists managed role policies # # ==== Parameters # * role_name<~String>: name of the role # # ==== Returns # * response<~Excon::Response>: ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/update_access_key.rb
Ruby
mit
304
master
1,857
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Update an access key for a user # # ==== Parameters # * access_key_id<~String> - Access key id to delete # * status<~String> - status of keys in ['Active', 'Inactive'] # ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_account_password_policy.rb
Ruby
mit
304
master
983
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Add or update the account password policy # # ==== Parameters # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'RequestId'<~Stri...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_access_keys.rb
Ruby
mit
304
master
2,318
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_access_keys' # List access_keys # # ==== Parameters # * options<~Hash>: # * 'Marker'<~String> - used to paginate subsequent requests # * 'MaxItems'<~Integer> - limit resu...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/detach_group_policy.rb
Ruby
mit
304
master
1,909
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Detaches a managed policy from a group # # ==== Parameters # * group_name<~String>: name of the group # * policy_arn<~String>: arn of the managed policy # # ==== ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/remove_user_from_group.rb
Ruby
mit
304
master
1,614
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Remove a user from a group # # ==== Parameters # * group_name<~String>: name of the group # * user_name<~String>: name of user to remove # # ==== Returns ...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/get_user.rb
Ruby
mit
304
master
2,354
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/get_user' # Get User # # ==== Parameters # * username<String> # * options<~Hash>: # * 'UserName'<~String>: Name of the User. Defaults to current user # # ==== Re...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/detach_role_policy.rb
Ruby
mit
304
master
1,853
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Detaches a managed policy from a role # # ==== Parameters # * role_name<~String>: name of the role # * policy_arn<~String>: arn of the managed policy # # ==== Ret...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/create_policy_version.rb
Ruby
mit
304
master
2,480
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/policy_version' # Creates a managed policy # # ==== Parameters # * policy_arn<~String>: arn of the policy # * policy_document<~Hash>: policy document, see: http://docs.amazonwebservices.c...
github
fog/fog-aws
https://github.com/fog/fog-aws
lib/fog/aws/requests/iam/list_groups_for_user.rb
Ruby
mit
304
master
2,666
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_groups_for_user' # List groups_for_user # # ==== Parameters # * user_name<~String> - the username you want to look up group membership for # * options<~Hash>: # * 'Marker'<...