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/signaturev4.rb | Ruby | mit | 304 | master | 4,097 | # See http://docs.amazonwebservices.com/general/latest/gr/signature-version-4.html
module Fog
module AWS
class SignatureV4
ALGORITHM = 'AWS4-HMAC-SHA256'
def initialize(aws_access_key_id, secret_key, region, service)
@region = region
@service = service
@aws_access_key_id = a... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/describe_job_flows.rb | Ruby | mit | 304 | master | 8,294 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/describe_job_flows'
# returns a list of job flows that match all of the supplied parameters.
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_DescribeJobFlows.html
# ==== Parameters
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/run_job_flow.rb | Ruby | mit | 304 | master | 6,364 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/run_job_flow'
# creates and starts running a new job flow
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_RunJobFlow.html
# ==== Parameters
# * AdditionalInfo <~String> - A JS... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/set_termination_protection.rb | Ruby | mit | 304 | master | 1,271 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/set_termination_protection'
# locks a job flow so the Amazon EC2 instances in the cluster cannot be terminated by user intervention.
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_SetTermina... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/terminate_job_flows.rb | Ruby | mit | 304 | master | 1,004 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/terminate_job_flows'
# shuts a list of job flows down.
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_TerminateJobFlows.html
# ==== Parameters
# * JobFlowIds <~String list> -... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/add_job_flow_steps.rb | Ruby | mit | 304 | master | 2,093 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/add_job_flow_steps'
# adds new steps to a running job flow.
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_AddJobFlowSteps.html
# ==== Parameters
# * JobFlowId <~String> - A ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/add_instance_groups.rb | Ruby | mit | 304 | master | 1,809 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/add_instance_groups'
# adds an instance group to a running cluster
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_AddInstanceGroups.html
# ==== Parameters
# * JobFlowId <~Str... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/emr/modify_instance_groups.rb | Ruby | mit | 304 | master | 1,220 | module Fog
module AWS
class EMR
class Real
require 'fog/aws/parsers/emr/modify_instance_groups'
# modifies the number of nodes and configuration settings of an instance group..
# http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_ModifyInstanceGroups.html
# ==... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/select.rb | Ruby | mit | 304 | master | 1,706 | module Fog
module AWS
class SimpleDB
class Real
require 'fog/aws/parsers/simpledb/select'
# Select item data from SimpleDB
#
# ==== Parameters
# * select_expression<~String> - Expression to query domain with.
# * options<~Hash>:
# * ConsistentRead<~... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/delete_attributes.rb | Ruby | mit | 304 | master | 2,652 | module Fog
module AWS
class SimpleDB
class Real
# List metadata for SimpleDB domain
#
# ==== Parameters
# * domain_name<~String> - Name of domain. Must be between 3 and 255 of the
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
# * item_name<~String... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/get_attributes.rb | Ruby | mit | 304 | master | 3,607 | module Fog
module AWS
class SimpleDB
class Real
require 'fog/aws/parsers/simpledb/get_attributes'
# List metadata for SimpleDB domain
#
# ==== Parameters
# * domain_name<~String> - Name of domain. Must be between 3 and 255 of the
# following characters: a-z... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/delete_domain.rb | Ruby | mit | 304 | master | 1,142 | module Fog
module AWS
class SimpleDB
class Real
# Delete a SimpleDB domain
#
# ==== Parameters
# * domain_name<~String>:: Name of domain. Must be between 3 and 255 of the
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
#
# ==== Returns
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/list_domains.rb | Ruby | mit | 304 | master | 1,751 | module Fog
module AWS
class SimpleDB
class Real
require 'fog/aws/parsers/simpledb/list_domains'
# List SimpleDB domains
#
# ==== Parameters
# * options<~Hash> - options, defaults to {}
# * 'MaxNumberOfDomains'<~Integer> - number of domains to return
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/batch_put_attributes.rb | Ruby | mit | 304 | master | 2,459 | module Fog
module AWS
class SimpleDB
class Real
# Put items attributes into a SimpleDB domain
#
# ==== Parameters
# * domain_name<~String> - Name of domain. Must be between 3 and 255 of the
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
# * items<~... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/create_domain.rb | Ruby | mit | 304 | master | 1,113 | module Fog
module AWS
class SimpleDB
class Real
# Create a SimpleDB domain
#
# ==== Parameters
# * domain_name<~String>:: Name of domain. Must be between 3 and 255 of the
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
#
# ==== Returns
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/domain_metadata.rb | Ruby | mit | 304 | master | 2,726 | module Fog
module AWS
class SimpleDB
class Real
require 'fog/aws/parsers/simpledb/domain_metadata'
# List metadata for SimpleDB domain
#
# ==== Parameters
# * domain_name<~String> - Name of domain. Must be between 3 and 255 of the
# following characters: a-z,... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/simpledb/put_attributes.rb | Ruby | mit | 304 | master | 3,175 | module Fog
module AWS
class SimpleDB
class Real
# Put item attributes into a SimpleDB domain
#
# ==== Parameters
# * domain_name<~String> - Name of domain. Must be between 3 and 255 of the
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
# * item_name<... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb | Ruby | mit | 304 | master | 1,850 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_parameter_group'
# creates a cache parameter group
#
# === Parameters
# * name <~String> - The name for the Cache Parameter Group
# === Optional Parameters
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb | Ruby | mit | 304 | master | 1,775 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_cache_cluster'
# Reboots some or all of an existing cache cluster's nodes
# Returns a cache cluster description
#
# === Required Parameters
# * id <~String> - The I... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/create_cache_cluster.rb | Ruby | mit | 304 | master | 4,794 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_cache_cluster'
# creates a cache cluster
#
# === Required Parameters
# * id <~String> - A unique cluster ID - 20 characters max.
# === Optional Parameters
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/modify_cache_parameter_group.rb | Ruby | mit | 304 | master | 1,652 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/modify_parameter_group'
# Modifies an existing cache parameter group
# Returns a the name of the modified parameter group
#
# === Required Parameters
# * id <~String> - Th... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/modify_cache_cluster.rb | Ruby | mit | 304 | master | 4,805 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_cache_cluster'
# Modifies an existing cache cluster
# Returns a cache cluster description
#
# === Required Parameters
# * id <~String> - The ID of the existing clus... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb | Ruby | mit | 304 | master | 1,636 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_parameter_groups'
# Returns a list of CacheParameterGroup descriptions
#
# === Parameters (optional)
# * name <~String> - The name of an existing cache parameter group
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/revoke_cache_security_group_ingress.rb | Ruby | mit | 304 | master | 1,125 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_security_group'
# Revoke ingress to a CacheSecurityGroup using EC2 Security Groups
#
# === Parameters
# * name <~String> - The name of the cache security group
# * ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/delete_cache_subnet_group.rb | Ruby | mit | 304 | master | 1,105 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/base'
# deletes a cache subnet group
#
# === Parameters
# * name <~String> - The name for the Cache Subnet Group
# === Returns
# * response <~Excon::Response>:
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/create_cache_subnet_group.rb | Ruby | mit | 304 | master | 2,387 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/create_cache_subnet_group'
# Creates a cache subnet group
# http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheSubnetGroup.html
#
# ==== Parameters
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb | Ruby | mit | 304 | master | 1,206 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_engine_default_parameters'
# Returns the default engine and system parameter information
# for the specified cache engine.
#
# === Parameters (optional)
# * optio... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/delete_cache_security_group.rb | Ruby | mit | 304 | master | 1,110 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/base'
# deletes a cache security group
#
# === Parameters
# * name <~String> - The name for the Cache Security Group
# === Returns
# * response <~Excon::Response>:... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_events.rb | Ruby | mit | 304 | master | 1,791 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/event_list'
# Returns a list of service events
#
# For more information see:
# http://docs.amazonwebservices.com/AmazonElastiCache/latest/APIReference/API_DescribeEvents.html
#
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_cache_clusters.rb | Ruby | mit | 304 | master | 1,859 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_cache_clusters'
# Returns a list of Cache Cluster descriptions
#
# === Parameters (optional)
# * id - The ID of an existing cache cluster
# * options <~Hash> (opt... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/delete_cache_cluster.rb | Ruby | mit | 304 | master | 1,167 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_cache_clusters'
# Deletes a Cache Cluster
#
# === Parameter (required):
# * id <~String> - The ID of the cache cluster to delete
# === Returns
# * respon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/reset_cache_parameter_group.rb | Ruby | mit | 304 | master | 1,590 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/reset_parameter_group'
# Resets an existing cache parameter group
# Returns a the name of the modified parameter group
#
# === Required Parameters
# * id <~String> - The I... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb | Ruby | mit | 304 | master | 2,155 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_security_group'
# Authorize ingress to a CacheSecurityGroup using EC2 Security Groups
#
# === Parameters
# * name <~String> - The name of the cache security group
#... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_cache_parameters.rb | Ruby | mit | 304 | master | 1,232 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_cache_parameters'
# Returns a list of CacheParameterGroup descriptions
#
# === Parameters (optional)
# * name <~String> - The name of an existing cache parameter group
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/create_cache_security_group.rb | Ruby | mit | 304 | master | 1,619 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/single_security_group'
# creates a cache security group
#
# === Parameters
# * name <~String> - The name for the Cache Security Group
# * description <~String> - The descr... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_cache_subnet_groups.rb | Ruby | mit | 304 | master | 2,040 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_cache_subnet_groups'
# This API returns a list of CacheSubnetGroup descriptions. If a CacheSubnetGroupName is specified, the list will contain only
# the descriptions of the specified Ca... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb | Ruby | mit | 304 | master | 1,121 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/base'
# deletes a cache parameter group
#
# === Parameters
# * name <~String> - The name for the Cache Parameter Group
# === Returns
# * response <~Excon::Response... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_reserved_cache_nodes.rb | Ruby | mit | 304 | master | 1,281 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_reserved_cache_nodes'
# Describe all or specified reserved Elasticache nodes
# http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DescribeReservedCacheNodes.html
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb | Ruby | mit | 304 | master | 2,575 | module Fog
module AWS
class Elasticache
class Real
require 'fog/aws/parsers/elasticache/describe_security_groups'
# Returns a list of CacheSecurityGroup descriptions
#
# === Parameters (optional)
# * name <~String> - The name of an existing cache security group
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/create_queue.rb | Ruby | mit | 304 | master | 2,159 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/create_queue'
# Create a queue
#
# ==== Parameters
# * name<~String> - Name of queue to create
# * options<~Hash>:
# * DefaultVisibilityTimeout<~String> - Time, in seconds, to h... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/delete_message.rb | Ruby | mit | 304 | master | 1,757 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/basic'
# Delete a message from a queue
#
# ==== Parameters
# * queue_url<~String> - Url of queue to delete message from
# * receipt_handle<~String> - Token from previous receive message
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/change_message_visibility.rb | Ruby | mit | 304 | master | 2,065 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/basic'
# Change visibility timeout for a message
#
# ==== Parameters
# * queue_url<~String> - Url of queue for message to update
# * receipt_handle<~String> - Token from previous receive ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/delete_queue.rb | Ruby | mit | 304 | master | 1,222 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/basic'
# Delete a queue
#
# ==== Parameters
# * queue_url<~String> - Url of queue to delete
#
# ==== See Also
# http://docs.amazonwebservices.com/AWSSimpleQueueService/lat... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/send_message.rb | Ruby | mit | 304 | master | 1,998 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/send_message'
# Add a message to a queue
#
# ==== Parameters
# * queue_url<~String> - Url of queue to add message to
# * message<~String> - Message to add to queue
#
# ===... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/set_queue_attributes.rb | Ruby | mit | 304 | master | 1,704 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/basic'
# Get attributes of a queue
#
# ==== Parameters
# * queue_url<~String> - Url of queue to get attributes for
# * attribute_name<~String> - Name of attribute to set, keys in ['Maximu... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/get_queue_attributes.rb | Ruby | mit | 304 | master | 1,693 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/get_queue_attributes'
# Get attributes of a queue
#
# ==== Parameters
# * queue_url<~String> - Url of queue to get attributes for
# * attribute_name<~Array> - Name of attribute to return,... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/receive_message.rb | Ruby | mit | 304 | master | 3,220 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/receive_message'
# Get a message from a queue (marks it as unavailable temporarily, but does not remove from queue, see delete_message)
#
# ==== Parameters
# * queue_url<~String> - Url of queue t... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sqs/list_queues.rb | Ruby | mit | 304 | master | 1,065 | module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/list_queues'
# List queues
#
# ==== Parameters
# * options<~Hash>:
# * QueueNamePrefix<~String> - String used to filter results to only those with matching prefixes
#
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/remove_permission.rb | Ruby | mit | 304 | master | 715 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/remove_permission'
def remove_permission(options = {})
request({
'Action' => 'RemovePermission',
:parser => Fog::Parsers::AWS::SNS::RemovePermission.new
}.merge!(options))
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/create_topic.rb | Ruby | mit | 304 | master | 2,056 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/create_topic'
# Create a topic
#
# ==== Parameters
# * name<~String> - Name of topic to create
#
# ==== See Also
# http://docs.amazonwebservices.com/sns/latest/api/API_Cre... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/confirm_subscription.rb | Ruby | mit | 304 | master | 958 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/confirm_subscription'
# Confirm a subscription
#
# ==== Parameters
# * arn<~String> - Arn of topic to confirm subscription to
# * token<~String> - Token sent to endpoint during subscribe ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/unsubscribe.rb | Ruby | mit | 304 | master | 623 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/unsubscribe'
# Delete a subscription
#
# ==== Parameters
# * arn<~String> - Arn of subscription to delete
#
# ==== See Also
# http://docs.amazonwebservices.com/sns/latest/... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/subscribe.rb | Ruby | mit | 304 | master | 3,312 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/subscribe'
# Create a subscription
#
# ==== Parameters
# * arn<~String> - Arn of topic to subscribe to
# * endpoint<~String> - Endpoint to notify
# * protocol<~String> - Protocol ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb | Ruby | mit | 304 | master | 1,188 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/list_subscriptions'
# List subscriptions for a topic
#
# ==== Parameters
# * arn<~String> - Arn of topic to list subscriptions for
# * options<~Hash>:
# * 'NextToken'<~String> -... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/delete_topic.rb | Ruby | mit | 304 | master | 842 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/delete_topic'
# Delete a topic
#
# ==== Parameters
# * arn<~String> - The Arn of the topic to delete
#
# ==== See Also
# http://docs.amazonwebservices.com/sns/latest/api/A... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/list_topics.rb | Ruby | mit | 304 | master | 884 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/list_topics'
# List topics
#
# ==== Parameters
# * options<~Hash>:
# * 'NextToken'<~String> - Token returned from previous request, used for pagination
#
# ==== See Also... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/list_subscriptions.rb | Ruby | mit | 304 | master | 947 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/list_subscriptions'
# List subscriptions
#
# ==== Parameters
# * options<~Hash>:
# * 'NextToken'<~String> - Token returned from previous request, used for pagination
#
#... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/set_topic_attributes.rb | Ruby | mit | 304 | master | 1,446 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/set_topic_attributes'
# Set attributes of a topic
#
# ==== Parameters
# * arn<~Hash> - The Arn of the topic to get attributes for
# * attribute_name<~String> - Name of attribute to set, i... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/get_topic_attributes.rb | Ruby | mit | 304 | master | 943 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/get_topic_attributes'
# Get attributes of a topic
#
# ==== Parameters
# * arn<~Hash>: The Arn of the topic to get attributes for
#
# ==== See Also
# http://docs.amazonwebs... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/add_permission.rb | Ruby | mit | 304 | master | 957 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/add_permission'
def add_permission(options = {})
request({
'Action' => 'AddPermission',
:parser => Fog::Parsers::AWS::SNS::AddPermission.new
}.merge!(options))
end
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sns/publish.rb | Ruby | mit | 304 | master | 906 | module Fog
module AWS
class SNS
class Real
require 'fog/aws/parsers/sns/publish'
# Send a message to a topic
#
# ==== Parameters
# * arn<~String> - Arn of topic to send message to
# * message<~String> - Message to send to topic
# * options<~Hash>:
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/get_function_configuration.rb | Ruby | mit | 304 | master | 2,006 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Returns the configuration information of the Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_GetFunction.html
# ==== Parameters
# * FunctionName <~String> - Lambd... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/create_event_source_mapping.rb | Ruby | mit | 304 | master | 4,420 | module Fog
module AWS
class Lambda
class Real
# Identifies a stream as an event source for a Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html
# ==== Parameters
# * BatchSize <~Integer> - largest number of records that AWS Lambda... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/delete_function.rb | Ruby | mit | 304 | master | 1,235 | module Fog
module AWS
class Lambda
class Real
# Deletes the specified Lambda function code and configuration.
# http://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunction.html
# ==== Parameters
# * FunctionName <~String> - Lambda function to delete.
# ==== Return... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/get_policy.rb | Ruby | mit | 304 | master | 1,741 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Returns the access policy, containing a list of permissions granted via the AddPermission API, associated with the specified bucket.
# http://docs.aws.amazon.com/lambda/latest/dg/API_GetPolicy.html... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/create_function.rb | Ruby | mit | 304 | master | 5,937 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Creates a new Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html
# ==== Parameters
# * Code <~Hash> - code for the Lambda function.
# * D... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/list_event_source_mappings.rb | Ruby | mit | 304 | master | 2,741 | module Fog
module AWS
class Lambda
class Real
# Returns a list of event source mappings where you can identify a stream as an event source.
# http://docs.aws.amazon.com/lambda/latest/dg/API_ListEventSourceMappings.html
# ==== Parameters
# * EventSourceArn <~String> - Amazon R... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/delete_event_source_mapping.rb | Ruby | mit | 304 | master | 1,310 | module Fog
module AWS
class Lambda
class Real
# Removes an event source mapping.
# http://docs.aws.amazon.com/lambda/latest/dg/API_DeleteEventSourceMapping.html
# ==== Parameters
# * UUID <~String> - event source mapping ID.
# ==== Returns
# * response<~Excon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/update_function_configuration.rb | Ruby | mit | 304 | master | 3,930 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Updates the configuration parameters for the specified Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionConfiguration.html
# ==== Parameters
# * Func... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/remove_permission.rb | Ruby | mit | 304 | master | 2,042 | module Fog
module AWS
class Lambda
class Real
# Remove individual permissions from an access policy associated with a Lambda function by providing a Statement ID.
# http://docs.aws.amazon.com/lambda/latest/dg/API_RemovePermission.html
# ==== Parameters
# * FunctionName <~Str... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/update_event_source_mapping.rb | Ruby | mit | 304 | master | 3,816 | module Fog
module AWS
class Lambda
class Real
# Change the parameters of the existing mapping without losing your position in the stream.
# http://docs.aws.amazon.com/lambda/latest/dg/API_UpdateEventSourceMapping.html
# ==== Parameters
# * UUID <~String> - event source mappin... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/list_functions.rb | Ruby | mit | 304 | master | 1,312 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Returns a list of your Lambda functions.
# http://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctions.html
# ==== Parameters
# * Marker <~String> - opaque pagination token return... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/update_function_code.rb | Ruby | mit | 304 | master | 3,505 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Updates the code for the specified Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionCode.html
# ==== Parameters
# * FunctionName <~String> - existing... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/get_function.rb | Ruby | mit | 304 | master | 2,532 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Returns the configuration information of the Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_GetFunction.html
# ==== Parameters
# * FunctionName <~String> - Lambd... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/add_permission.rb | Ruby | mit | 304 | master | 3,773 | module Fog
module AWS
class Lambda
class Real
require 'fog/aws/parsers/lambda/base'
# Adds a permission to the access policy associated with the specified AWS Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html
# ==== Parameters
# * ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/invoke.rb | Ruby | mit | 304 | master | 3,230 | module Fog
module AWS
class Lambda
class Real
# Invokes a specified Lambda function.
# http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html
# ==== Parameters
# * ClientContext <~Hash> - client-specific information to the Lambda function you are invoking.
# * F... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/lambda/get_event_source_mapping.rb | Ruby | mit | 304 | master | 2,412 | module Fog
module AWS
class Lambda
class Real
# Returns configuration information for the specified event source mapping.
# http://docs.aws.amazon.com/lambda/latest/dg/API_GetEventSourceMapping.html
# ==== Parameters
# * UUID <~String> - AWS Lambda assigned ID of the event so... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb | Ruby | mit | 304 | master | 2,325 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/register_instances_with_load_balancer'
# Register an instance with an existing ELB
#
# ==== Parameters
# * instance_ids<~Array> - List of instance IDs to associate with ELB
# * lb_name<~S... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb | Ruby | mit | 304 | master | 3,575 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Associates, updates, or disables a policy with a listener on the
# load balancer. Currently only zero (0) or one (1) policy can be
# associated with a listener.
#
# ==== Paramete... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/set_load_balancer_policies_for_backend_server.rb | Ruby | mit | 304 | master | 2,780 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Replaces the current set of policies associated with a port on which the back-end server is listening with a new set of policies.
# After the policies have been created using CreateLoadBalancerPolicy, t... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb | Ruby | mit | 304 | master | 1,581 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Delete Elastic Load Balancer Listeners
#
# ==== Parameters
# * lb_name<~String> - Name for the new ELB -- must be unique
# * load_balancer_ports<~Array> - Array of client port nu... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/describe_tags.rb | Ruby | mit | 304 | master | 1,904 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/tag_list_parser'
# returns a Hash of tags for a load balancer
# http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeTags.html
# ==== Parameters
# * elb_id <~String> -... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/describe_load_balancer_policy_types.rb | Ruby | mit | 304 | master | 2,767 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/describe_load_balancer_policy_types'
# Describe all or specified load balancer policy types
#
# ==== Parameters
# * type_name<~Array> - Specifies the name of the policy types. If no names are spe... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb | Ruby | mit | 304 | master | 2,145 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/disable_availability_zones_for_load_balancer'
# Disable an availability zone for an existing ELB
#
# ==== Parameters
# * availability_zones<~Array> - List of availability zones to disable on ELB
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/describe_load_balancer_policies.rb | Ruby | mit | 304 | master | 2,783 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/describe_load_balancer_policies'
# Describe all or specified load balancer policies
#
# ==== Parameters
# * lb_name<~String> - The mnemonic name associated with the LoadBalancer. If no name is sp... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb | Ruby | mit | 304 | master | 2,160 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/enable_availability_zones_for_load_balancer'
# Enable an availability zone for an existing ELB
#
# ==== Parameters
# * availability_zones<~Array> - List of availability zones to enable on ELB
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb | Ruby | mit | 304 | master | 2,006 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Create a Load Balancer Cookie Stickiness Policy
#
# ==== Parameters
# * lb_name<~String> - Name of the ELB
# * policy_name<~String> - The name of the policy being created. The na... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/create_load_balancer_policy.rb | Ruby | mit | 304 | master | 3,345 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Create Elastic Load Balancer Policy
#
# ==== Parameters
# * lb_name<~String> - The name associated with the LoadBalancer for which the policy is being created. This name must be unique w... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb | Ruby | mit | 304 | master | 1,738 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Create an app cookie stickiness policy
#
# ==== Parameters
# * lb_name<~String> - Name of the ELB
# * policy_name<~String> - The name of the policy being created.
# The... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/delete_load_balancer.rb | Ruby | mit | 304 | master | 1,407 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/delete_load_balancer'
# Delete an existing Elastic Load Balancer
#
# Note that this API call, as defined by Amazon, is idempotent.
# That is, it will not return an error if you try to delete an
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/remove_tags.rb | Ruby | mit | 304 | master | 1,612 | module Fog
module AWS
class ELB
class Real
# removes tags from an elastic load balancer instance
# http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_RemoveTags.html
# ==== Parameters
# * elb_id <~String> - name of the ELB instance whose tags are to be r... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/modify_load_balancer_attributes.rb | Ruby | mit | 304 | master | 2,469 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Sets attributes of the load balancer
#
# The following attributes can be set:
# * CrossZoneLoadBalancing (enable/disable)
# * ConnectionDraining (enable/disable and timeout)
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/apply_security_groups_to_load_balancer.rb | Ruby | mit | 304 | master | 2,112 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/apply_security_groups_to_load_balancer'
# Sets the security groups for an ELB in VPC
#
# ==== Parameters
# * security_group_ids<~Array> - List of security group ids to enable on ELB
# * l... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb | Ruby | mit | 304 | master | 2,722 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Sets the certificate that terminates the specified listener's SSL
# connections. The specified certificate replaces any prior certificate
# that was used on the same LoadBalancer and port.
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/configure_health_check.rb | Ruby | mit | 304 | master | 2,511 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/configure_health_check'
# Enables the client to define an application healthcheck for the instances.
# See http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/APIReference/index.html?API_ConfigureHealt... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb | Ruby | mit | 304 | master | 2,330 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/deregister_instances_from_load_balancer'
# Deregister an instance from an existing ELB
#
# ==== Parameters
# * instance_ids<~Array> - List of instance IDs to remove from ELB
# * lb_name<~... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/add_tags.rb | Ruby | mit | 304 | master | 1,485 | module Fog
module AWS
class ELB
class Real
# adds tags to a load balancer instance
# http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_AddTags.html
# ==== Parameters
# * elb_id <~String> - name of the ELB instance to be tagged
# * tags <~Hash> A... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/describe_instance_health.rb | Ruby | mit | 304 | master | 2,396 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/describe_instance_health'
# Get health status for one or more instances on an existing ELB
#
# ==== Parameters
# * lb_name<~String> - Load balancer to check instances health on
# * instan... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/describe_load_balancers.rb | Ruby | mit | 304 | master | 7,239 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/describe_load_balancers'
# Describe all or specified load balancers
#
# ==== Parameters
# * options<~Hash>
# * 'LoadBalancerNames'<~Array> - List of load balancer names to describe, def... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/elb/describe_load_balancer_attributes.rb | Ruby | mit | 304 | master | 2,302 | module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/describe_load_balancer_attributes'
# Describe the load balancer attributes
# http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancerAttributes.html
# ==== Parameters
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.