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/compute/enable_vpc_classic_link_dns_support.rb | Ruby | mit | 304 | master | 1,412 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Enables a VPC to support DNS hostname resolution for ClassicLink
#
# ==== Parameters
# * vpc_id<~String> - The ID of the ClassicLink-enabled VPC.
#
# ==== Returns... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/start_instances.rb | Ruby | mit | 304 | master | 2,180 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/start_stop_instances'
# Start specified instance
#
# ==== Parameters
# * instance_id<~Array> - Id of instance to start
#
# ==== Returns
# * response<~Excon::Respon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/associate_dhcp_options.rb | Ruby | mit | 304 | master | 1,826 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
#
#
# ==== Parameters
# * dhcp_options_id<~String> - The ID of the DHCP options you want to associate with the VPC, or "default" if you want the VPC
# to use no DHCP optio... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb | Ruby | mit | 304 | master | 787 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Delete a spot datafeed subscription
#
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
# * 'requestId'<~String> id of request
# *... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_spot_price_history.rb | Ruby | mit | 304 | master | 5,270 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_spot_price_history'
# Describe all or specified spot price history
#
# ==== Parameters
# * filters<~Hash> - List of filters to limit results with
# * filters and/or the... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_dhcp_options.rb | Ruby | mit | 304 | master | 2,081 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_dhcp_options'
# Describe all or specified dhcp_options
#
# ==== Parameters
# * filters<~Hash> - List of filters to limit results with
#
# === Returns
# * ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/create_route_table.rb | Ruby | mit | 304 | master | 2,467 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/create_route_table'
# Creates a route table for the specified VPC.
#
# ==== Parameters
# * VpcId<~String> - The ID of the VPC.
#
# === Returns
# * response<~Excon:... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/delete_placement_group.rb | Ruby | mit | 304 | master | 898 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Delete a placement group that you own
#
# ==== Parameters
# * group_name<~String> - Name of the placement group.
#
# ==== Returns
# * response<~Excon::Res... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/modify_volume.rb | Ruby | mit | 304 | master | 3,400 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/modify_volume'
# Modifies a volume
#
# ==== Parameters
# * volume_id<~String> - The ID of the volume
# * options<~Hash>:
# * 'VolumeType'<~String> - Type of volume
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/create_image.rb | Ruby | mit | 304 | master | 5,018 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/create_image'
# Create a bootable EBS volume AMI
#
# ==== Parameters
# * instance_id<~String> - Instance used to create image.
# * name<~Name> - Name to give image.
# * de... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/get_password_data.rb | Ruby | mit | 304 | master | 1,879 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/get_password_data'
# Retrieves the encrypted administrator password for an instance running Windows.
#
# ==== Parameters
# * instance_id<~String> - A Windows instance ID
#
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/modify_network_interface_attribute.rb | Ruby | mit | 304 | master | 3,990 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Modifies a network interface attribute value
#
# ==== Parameters
# * network_interface_id<~String> - The ID of the network interface you want to describe an attribute of
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_vpc_classic_link.rb | Ruby | mit | 304 | master | 2,429 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_vpc_classic_link'
# Describes the ClassicLink status of one or more VPCs.
#
# ==== Parameters
# * options<~Hash>
# * vpc_ids<~Array> - An array of vpc ids to restruct t... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/reset_network_interface_attribute.rb | Ruby | mit | 304 | master | 2,158 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Resets a network interface attribute value
#
# ==== Parameters
# * network_interface_id<~String> - The ID of the network interface you want to describe an attribute of
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/delete_internet_gateway.rb | Ruby | mit | 304 | master | 1,666 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
#Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC
#
# ==== Parameters
# * internet_gateway_id<~String> - The ID of the InternetGateway yo... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/attach_network_interface.rb | Ruby | mit | 304 | master | 2,660 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/attach_network_interface'
# Attach a network interface
#
# ==== Parameters
# * networkInterfaceId<~String> - ID of the network interface to attach
# * instanceId<~String> ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_regions.rb | Ruby | mit | 304 | master | 2,467 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_regions'
# Describe all or specified regions
#
# ==== Params
# * filters<~Hash> - List of filters to limit results with
#
# ==== Returns
# * response<~Exc... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/disassociate_route_table.rb | Ruby | mit | 304 | master | 2,106 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Disassociates a subnet from a route table.
#
# ==== Parameters
# * AssociationId<~String> - The association ID representing the current association between the route table and su... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/create_volume.rb | Ruby | mit | 304 | master | 6,147 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/create_volume'
# Create an EBS volume
#
# ==== Parameters
# * availability_zone<~String> - availability zone to create volume in
# * size<~Integer> - Size in GiBs for volume. Mus... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_security_groups.rb | Ruby | mit | 304 | master | 5,842 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_security_groups'
# Describe all or specified security groups
#
# ==== Parameters
# * filters<~Hash> - List of filters to limit results with
# * 'MaxResults'<~Integer> -... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/modify_image_attribute.rb | Ruby | mit | 304 | master | 3,017 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Modify image attributes
#
# ==== Parameters
# * image_id<~String> - Id of machine image to modify
# * attributes<~Hash>:
# * 'Add.Group'<~Array> - One or more g... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/request_spot_instances.rb | Ruby | mit | 304 | master | 9,635 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/spot_instance_requests'
# Launch specified instances
#
# ==== Parameters
# * 'image_id'<~String> - Id of machine image to load on instances
# * 'instance_type'<~String> - Type of ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_vpcs.rb | Ruby | mit | 304 | master | 2,542 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_vpcs'
# Describe all or specified vpcs
#
# ==== Parameters
# * filters<~Hash> - List of filters to limit results with
#
# === Returns
# * response<~Excon:... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_spot_instance_requests.rb | Ruby | mit | 304 | master | 3,923 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/spot_instance_requests'
# Describe all or specified spot instance requests
#
# ==== Parameters
# * filters<~Hash> - List of filters to limit results with
#
# ==== Returns
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/create_placement_group.rb | Ruby | mit | 304 | master | 1,022 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Create a new placement group
#
# ==== Parameters
# * group_name<~String> - Name of the placement group.
# * strategy<~String> - Placement group strategy. Valid options in... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/delete_subnet.rb | Ruby | mit | 304 | master | 1,619 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon
# VPC returns an error
#
# ==== Parameters
# * sub... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/copy_snapshot.rb | Ruby | mit | 304 | master | 2,715 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/copy_snapshot'
# Copy a snapshot to a different region
#
# ==== Parameters
# * source_snapshot_id<~String> - Id of snapshot
# * source_region<~String> - Region to move it fro... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/describe_internet_gateways.rb | Ruby | mit | 304 | master | 2,370 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/describe_internet_gateways'
# Describe all or specified internet_gateways
#
# ==== Parameters
# * filters<~Hash> - List of filters to limit results with
#
# === Returns
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/allocate_address.rb | Ruby | mit | 304 | master | 1,894 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/allocate_address'
# Acquire an elastic IP address.
#
# ==== Parameters
# * domain<~String> - Type of EIP, either standard or vpc
# ==== Returns
# * response<~Excon::Respon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/compute/replace_route.rb | Ruby | mit | 304 | master | 4,319 | module Fog
module AWS
class Compute
class Real
require 'fog/aws/parsers/compute/basic'
# Replaces a route in a route table within a VPC.
#
# ==== Parameters
# * RouteTableId<~String> - The ID of the route table for the route.
# * options<~Hash>:
# *... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb | Ruby | mit | 304 | master | 4,565 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/streaming_distribution'
# Update a streaming distribution in CloudFront.
#
# @param distribution_id [String] - Id of distribution to update config for.
# @param options [Hash] - Config for distri... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/get_distribution_list.rb | Ruby | mit | 304 | master | 3,384 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/get_distribution_list'
# List information about distributions in CloudFront.
#
# @param options [Hash] Config arguments for list.
# @option options Marker [String] Limits object keys to only tho... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/get_distribution.rb | Ruby | mit | 304 | master | 3,245 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/distribution'
# Get information about a distribution from CloudFront.
#
# @param distribution_id [String] Id of distribution.
#
# @return [Excon::Response]
# * body [Hash]:
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/delete_streaming_distribution.rb | Ruby | mit | 304 | master | 1,765 | module Fog
module AWS
class CDN
class Real
# Delete a streaming distribution from CloudFront.
#
# @param [String] distribution_id Id of distribution to delete.
# @param [String] etag Etag of that distribution from earlier get or put
#
# @see http://docs.amazon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/post_invalidation.rb | Ruby | mit | 304 | master | 2,909 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/post_invalidation'
# List information about distributions in CloudFront.
#
# @param distribution_id [String] Id of distribution for invalidations.
# @param paths [Array] Array of string paths to ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/put_distribution_config.rb | Ruby | mit | 304 | master | 5,429 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/distribution'
# Update a distribution in CloudFront.
#
# @param distribution_id [String] Id of distribution to update config for.
# @param options [Hash] Config for distribution.
#
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/delete_distribution.rb | Ruby | mit | 304 | master | 1,730 | module Fog
module AWS
class CDN
class Real
# Delete a distribution from CloudFront.
#
# @param distribution_id [String] Id of distribution to delete.
# @param etag [String] etag of that distribution from earlier get or put
#
# @see http://docs.amazonwebservice... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/get_invalidation.rb | Ruby | mit | 304 | master | 1,905 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/get_invalidation'
# Get invalidation.
#
# @param distribution_id [String] Distribution id.
# @param invalidation_id [String] Invalidation id.
#
# @return [Excon::Response]
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/get_streaming_distribution.rb | Ruby | mit | 304 | master | 2,810 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/streaming_distribution'
# Get information about a streaming distribution from CloudFront.
#
# @param distribution_id [String] Id of distribution.
#
# @return [Excon::Response]
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/get_invalidation_list.rb | Ruby | mit | 304 | master | 2,664 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/get_invalidation_list'
# Get invalidation list.
#
# @param options [Hash] Config arguments for list.
# @option options Marker [String] Limits object keys to only those that appear lexicographical... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/post_streaming_distribution.rb | Ruby | mit | 304 | master | 4,630 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/streaming_distribution'
# Create a new streaming distribution in CloudFront.
#
# @param options [Hash] Config for distribution.
#
# REQUIRED:
# * S3Origin [Hash]:
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb | Ruby | mit | 304 | master | 3,491 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/get_streaming_distribution_list'
# List information about distributions in CloudFront.
#
# @param options [Hash] Config arguments for list.
# @option options Marker [String] Limits object keys to... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/cdn/post_distribution.rb | Ruby | mit | 304 | master | 5,814 | module Fog
module AWS
class CDN
class Real
require 'fog/aws/parsers/cdn/distribution'
# Create a new distribution in CloudFront.
#
# @param options [Hash] Config for distribution.
#
# REQUIRED:
# * S3Origin [Hash]:
# * DNSName [String]... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/create_mount_target.rb | Ruby | mit | 304 | master | 2,943 | module Fog
module AWS
class EFS
class Real
# Create a mount target for a specified file system
# http://docs.aws.amazon.com/efs/latest/ug/API_CreateMountTarget.html
# ==== Parameters
# * FileSystemId <~String> - ID of the file system for which to create the mount target.
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/delete_file_system.rb | Ruby | mit | 304 | master | 1,121 | module Fog
module AWS
class EFS
class Real
# Delete a file system
# http://docs.aws.amazon.com/efs/latest/ug/API_DeleteFileSystem.html
# ==== Parameters
# * FileSystemId <~String> - ID of the file system you want to delete.
# ==== Returns
# * response<~Excon::... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/create_file_system.rb | Ruby | mit | 304 | master | 3,774 | module Fog
module AWS
class EFS
class Real
# Create a new, empty file system
# http://docs.aws.amazon.com/efs/latest/ug/API_CreateFileSystem.html
# ==== Parameters
# * CreationToken <~String> - String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent cre... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/delete_mount_target.rb | Ruby | mit | 304 | master | 962 | module Fog
module AWS
class EFS
class Real
# Delete a mount target
# http://docs.aws.amazon.com/efs/latest/ug/API_DeleteMountTarget.html
# ==== Parameters
# * MountTargetId <~String> - ID of the mount target you want to delete
# ==== Returns
# * response<~Exco... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/modify_mount_target_security_groups.rb | Ruby | mit | 304 | master | 1,184 | module Fog
module AWS
class EFS
class Real
def modify_mount_target_security_groups(id, security_groups)
request({
:path => "mount-targets/#{id}/security-groups",
:method => "PUT",
:expects => 204,
'SecurityGroups' ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/describe_file_systems.rb | Ruby | mit | 304 | master | 2,279 | module Fog
module AWS
class EFS
class Real
# Describe all or specified elastic file systems
# http://docs.aws.amazon.com/efs/latest/ug/API_DescribeFileSystems.html
# ==== Parameters
# * CreationToken <~String> - (Optional) Restricts the list to the file system with this creat... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/describe_mount_targets.rb | Ruby | mit | 304 | master | 2,276 | module Fog
module AWS
class EFS
class Real
# Describe all mount targets for a filesystem, or specified mount target
# http://docs.aws.amazon.com/efs/latest/ug/API_DescribeMountTargets.html
# ==== Parameters
# * FileSystemId<~String> - Id of file system to describe mount targe... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/efs/describe_mount_target_security_groups.rb | Ruby | mit | 304 | master | 1,047 | module Fog
module AWS
class EFS
class Real
# Describe mount target security groups
# http://docs.aws.amazon.com/efs/latest/ug/API_DescribeMountTargetSecurityGroups.html
# ==== Parameters
# * MountTargetId - Id of the mount target for which you want to describe security groups... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kms/describe_key.rb | Ruby | mit | 304 | master | 588 | module Fog
module AWS
class KMS
class Real
require 'fog/aws/parsers/kms/describe_key'
def describe_key(identifier)
request(
'Action' => 'DescribeKey',
'KeyId' => identifier,
:parser => Fog::Parsers::AWS::KMS::DescribeKey.new
)
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kms/create_key.rb | Ruby | mit | 304 | master | 3,252 | module Fog
module AWS
class KMS
class Real
require 'fog/aws/parsers/kms/describe_key'
# Create Key
#
# ==== Parameters
# * options<~Hash>:
# * 'Description'<~String>:
# * 'KeyUsage'<~String>:
# * 'Policy'<~String>:
# * ... (see... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kms/list_keys.rb | Ruby | mit | 304 | master | 2,221 | module Fog
module AWS
class KMS
class Real
require 'fog/aws/parsers/kms/list_keys'
def list_keys(options={})
params = {}
if options[:marker]
params['Marker'] = options[:marker]
end
if options[:limit]
params['Limit'] = options... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kms/schedule_key_deletion.rb | Ruby | mit | 304 | master | 1,081 | module Fog
module AWS
class KMS
class Real
require 'fog/aws/parsers/kms/schedule_key_deletion'
def schedule_key_deletion(identifier, pending_window_in_days)
request(
'Action' => 'ScheduleKeyDeletion',
'KeyId' => identifier,
'PendingWindowInDays'... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kms/get_public_key.rb | Ruby | mit | 304 | master | 963 | module Fog
module AWS
class KMS
class Real
require 'fog/aws/parsers/kms/get_public_key'
def get_public_key(identifier, grant_tokens = nil)
request(
'Action' => 'GetPublicKey',
'GrantTokens' => grant_tokens,
'KeyId' => identifier,
:pa... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kms/sign.rb | Ruby | mit | 304 | master | 1,848 | module Fog
module AWS
class KMS
class Real
require 'fog/aws/parsers/kms/sign'
# Sign
#
# ==== Parameters
# * identifier<~String>: id, arn, alias name, or alias arn for key to sign with
# * message<~String>: base64 encoded message to sign
#
# =... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/describe_pipelines.rb | Ruby | mit | 304 | master | 977 | module Fog
module AWS
class DataPipeline
class Real
# Describe pipelines
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DescribePipelines.html
# ==== Parameters
# * PipelineIds <~String> - ID of pipeline to retrieve information for
# ==== Returns
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/delete_pipeline.rb | Ruby | mit | 304 | master | 891 | module Fog
module AWS
class DataPipeline
class Real
# Delete a pipeline
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DeletePipeline.html
# ==== Parameters
# * PipelineId <~String> - The id of the pipeline to delete
# ==== Returns
# * succe... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/create_pipeline.rb | Ruby | mit | 304 | master | 2,037 | module Fog
module AWS
class DataPipeline
class Real
# Create a pipeline
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_CreatePipeline.html
# ==== Parameters
# * UniqueId <~String> - A unique ID for of the pipeline
# * Name <~String> - The name of th... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/get_pipeline_definition.rb | Ruby | mit | 304 | master | 972 | module Fog
module AWS
class DataPipeline
class Real
# Get pipeline definition JSON
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_GetPipelineDefinition.html
# ==== Parameters
# * PipelineId <~String> - The ID of the pipeline
# ==== Returns
#... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/list_pipelines.rb | Ruby | mit | 304 | master | 995 | module Fog
module AWS
class DataPipeline
class Real
# List all pipelines
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ListPipelines.html
# ==== Parameters
# * Marker <~String> - The starting point for the results to be returned.
# ==== Returns
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/deactivate_pipeline.rb | Ruby | mit | 304 | master | 1,233 | module Fog
module AWS
class DataPipeline
class Real
# Activate a pipeline
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DectivatePipeline.html
# ==== Parameters
# * PipelineId <~String> - The ID of the pipeline to activate
# ' cancelActive <~Boolea... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/describe_objects.rb | Ruby | mit | 304 | master | 1,725 | module Fog
module AWS
class DataPipeline
class Real
# Queries a pipeline for the names of objects that match a specified set of conditions.
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DescribeObjects.html
# ==== Parameters
# * PipelineId <~String> - The ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/activate_pipeline.rb | Ruby | mit | 304 | master | 901 | module Fog
module AWS
class DataPipeline
class Real
# Activate a pipeline
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ActivatePipeline.html
# ==== Parameters
# * PipelineId <~String> - The ID of the pipeline to activate
# ==== Returns
# *... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/query_objects.rb | Ruby | mit | 304 | master | 1,358 | module Fog
module AWS
class DataPipeline
class Real
# Queries a pipeline for the names of objects that match a specified set of conditions.
# http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_QueryObjects.html
# ==== Parameters
# * PipelineId <~String> - The ID ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/data_pipeline/put_pipeline_definition.rb | Ruby | mit | 304 | master | 2,988 | module Fog
module AWS
class DataPipeline
module Shared
class JSONObject
def initialize(object)
@json_fields = object.clone
@id = @json_fields.delete('id')
@name = @json_fields.delete('name') || @id
end
def to_api
{
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/describe_stream.rb | Ruby | mit | 304 | master | 1,948 | module Fog
module AWS
class Kinesis
class Real
# Describes the specified stream.
#
# ==== Options
# * ExclusiveStartShardId<~String>: The shard ID of the shard to start with.
# * Limit<~Number>: The maximum number of shards to return.
# * StreamName<~String>: ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/merge_shards.rb | Ruby | mit | 304 | master | 3,634 | module Fog
module AWS
class Kinesis
class Real
# Merges two adjacent shards in a stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data.
#
# ==== Options
# * AdjacentShardToMerge<~String>: The shard ID of the adjacent shard f... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/create_stream.rb | Ruby | mit | 304 | master | 2,252 | module Fog
module AWS
class Kinesis
class Real
# Creates a Amazon Kinesis stream.
#
# ==== Options
# * ShardCount<~Number>: The number of shards that the stream will use.
# * StreamName<~String>: A name to identify the stream.
# ==== Returns
# * respon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/remove_tags_from_stream.rb | Ruby | mit | 304 | master | 1,519 | module Fog
module AWS
class Kinesis
class Real
# Deletes tags from the specified Amazon Kinesis stream.
#
# ==== Options
# * StreamName<~String>: The name of the stream.
# * TagKeys<~Array>: A list of tag keys.
# ==== Returns
# * response<~Excon::Respo... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/list_tags_for_stream.rb | Ruby | mit | 304 | master | 1,946 | module Fog
module AWS
class Kinesis
class Real
# Lists the tags for the specified Amazon Kinesis stream.
#
# ==== Options
# * ExclusiveStartTagKey<~String>: The key to use as the starting point for the list of tags.
# * Limit<~Number>: The number of tags to return.
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/put_record.rb | Ruby | mit | 304 | master | 2,833 | module Fog
module AWS
class Kinesis
class Real
# Writes a single data record from a producer into an Amazon Kinesis stream.
#
# ==== Options
# * Data<~Blob>: The data blob to put into the record, which is base64-encoded when the blob is serialized.
# * ExplicitHashKey... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/split_shard.rb | Ruby | mit | 304 | master | 3,391 | module Fog
module AWS
class Kinesis
class Real
# Splits a shard into two new shards in the stream, to increase the stream's capacity to ingest and transport data.
#
# ==== Options
# * NewStartingHashKey<~String>: A hash key value for the starting hash key of one of the child ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/get_records.rb | Ruby | mit | 304 | master | 2,664 | module Fog
module AWS
class Kinesis
class Real
# Gets data records from a shard.
#
# ==== Options
# * Limit<~Number>: The maximum number of records to return.
# * ShardIterator<~String>: The position in the shard from which you want to start sequentially reading data ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/delete_stream.rb | Ruby | mit | 304 | master | 1,305 | module Fog
module AWS
class Kinesis
class Real
# Deletes a stream and all its shards and data.
#
# ==== Options
# * StreamName<~String>: A name to identify the stream.
# ==== Returns
# * response<~Excon::Response>:
#
# ==== See Also
# h... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/put_records.rb | Ruby | mit | 304 | master | 2,684 | module Fog
module AWS
class Kinesis
class Real
# Writes multiple data records from a producer into an Amazon Kinesis stream in a single call (also referred to as a PutRecords request).
#
# ==== Options
# * Records<~Array>: The records associated with the request.
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/add_tags_to_stream.rb | Ruby | mit | 304 | master | 1,501 | module Fog
module AWS
class Kinesis
class Real
# Adds or updates tags for the specified Amazon Kinesis stream.
#
# ==== Options
# * StreamName<~String>: The name of the stream.
# * Tags<~Hash>: The set of key-value pairs to use to create the tags.
# ==== Retur... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/list_streams.rb | Ruby | mit | 304 | master | 1,277 | module Fog
module AWS
class Kinesis
class Real
# List available streams
#
# ==== Options
# * ExclusiveStartStreamName<~String>: The name of the stream to start the list with.
# * Limit<~Number>: The maximum number of streams to list.
# ==== Returns
# *... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/kinesis/get_shard_iterator.rb | Ruby | mit | 304 | master | 2,078 | module Fog
module AWS
class Kinesis
class Real
# Gets a shard iterator.
#
# ==== Options
# * ShardId<~String>: The shard ID of the shard to get the iterator for.
# * ShardIteratorType<~String>: Determines how the shard iterator is used to start reading data records fr... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/create_hosted_zone.rb | Ruby | mit | 304 | master | 4,729 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/create_hosted_zone'
# Creates a new hosted zone
#
# ==== Parameters
# * name<~String> - The name of the domain. Must be a fully-specified domain that ends with a period
# * options<~Hash>... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/change_resource_record_sets.rb | Ruby | mit | 304 | master | 8,760 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/change_resource_record_sets'
# Use this action to create or change your authoritative DNS information for a zone
# http://docs.amazonwebservices.com/Route53/latest/DeveloperGuide/RRSchanges.html#RRSchanges_API
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/get_change.rb | Ruby | mit | 304 | master | 1,796 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/get_change'
# returns the current state of a change request
#
# ==== Parameters
# * change_id<~String>
#
# ==== Returns
# * response<~Excon::Response>:
# * body<... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/list_health_checks.rb | Ruby | mit | 304 | master | 1,105 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/list_health_checks'
# This action gets a list of the health checks that are associated with the current AWS account.
# http://docs.aws.amazon.com/Route53/latest/APIReference/API_ListHealthChecks.html
#
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/get_health_check.rb | Ruby | mit | 304 | master | 1,366 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/health_check'
# This action gets information about a specified health check.
#http://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHealthCheck.html
#
# ==== Parameters
# * id<~St... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/delete_hosted_zone.rb | Ruby | mit | 304 | master | 2,060 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/delete_hosted_zone'
# Delete a hosted zone
#
# ==== Parameters
# * zone_id<~String> -
#
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
#... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/list_hosted_zones.rb | Ruby | mit | 304 | master | 2,627 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/list_hosted_zones'
# Describe all or specified instances
#
# ==== Parameters
# * options<~Hash>
# * marker<~String> - Indicates where to begin in your list of hosted zones.
# ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/list_resource_record_sets.rb | Ruby | mit | 304 | master | 5,091 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/list_resource_record_sets'
# list your resource record sets
#
# ==== Parameters
# * zone_id<~String> -
# * options<~Hash>
# * type<~String> -
# * name<~String> -
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/delete_health_check.rb | Ruby | mit | 304 | master | 603 | module Fog
module AWS
class DNS
class Real
# This action deletes a health check.
# http://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteHealthCheck.html
#
# ==== Parameters
# * id<~String> - Health check ID
# === Returns
# * response<~Excon... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/get_hosted_zone.rb | Ruby | mit | 304 | master | 1,935 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/get_hosted_zone'
# retrieve information about a hosted zone
#
# ==== Parameters
# * zone_id<~String> - The ID of the hosted zone
#
# ==== Returns
# * response<~Excon::Resp... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/dns/create_health_check.rb | Ruby | mit | 304 | master | 3,846 | module Fog
module AWS
class DNS
class Real
require 'fog/aws/parsers/dns/health_check'
# This action creates a new health check.
# http://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHealthCheck.html
#
# ==== Parameters (options as symbols Hash)
#... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sts/assume_role_with_saml.rb | Ruby | mit | 304 | master | 2,019 | module Fog
module AWS
class STS
class Real
require 'fog/aws/parsers/sts/assume_role_with_saml'
# Assume Role with SAML
#
# ==== Parameters
# * role_arn<~String> - The ARN of the role the caller is assuming.
# * principal_arn<~String> - The Amazon Resource Nam... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sts/assume_role.rb | Ruby | mit | 304 | master | 2,917 | module Fog
module AWS
class STS
class Real
require 'fog/aws/parsers/sts/assume_role'
# Assume Role
#
# ==== Parameters
# * role_session_name<~String> - An identifier for the assumed role.
# * role_arn<~String> - The ARN of the role the caller is assuming.
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sts/get_federation_token.rb | Ruby | mit | 304 | master | 2,467 | module Fog
module AWS
class STS
class Real
require 'fog/aws/parsers/sts/get_session_token'
# Get federation token
#
# ==== Parameters
# * name<~String>: The name of the federated user.
# Minimum length of 2. Maximum length of 32.
# * ... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sts/get_session_token.rb | Ruby | mit | 304 | master | 442 | module Fog
module AWS
class STS
class Real
require 'fog/aws/parsers/sts/get_session_token'
def get_session_token(duration=43200)
request({
'Action' => 'GetSessionToken',
'DurationSeconds' => duration,
:idempotent => true,
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/sts/assume_role_with_web_identity.rb | Ruby | mit | 304 | master | 1,719 | module Fog
module AWS
class STS
class Real
require 'fog/aws/parsers/sts/assume_role_with_web_identity'
def assume_role_with_web_identity(role_arn, web_identity_token, role_session_name, options={})
request_unsigned(
'Action' => 'AssumeRoleWithWebIdentity',
... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/rds/modify_db_instance.rb | Ruby | mit | 304 | master | 5,981 | module Fog
module AWS
class RDS
class Real
require 'fog/aws/parsers/rds/modify_db_instance'
# modifies a database instance
# http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_ModifyDBInstance.html
# ==== Parameters
# * DBInstanceIdentifier <~String>... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb | Ruby | mit | 304 | master | 3,166 | module Fog
module AWS
class RDS
class Real
require 'fog/aws/parsers/rds/revoke_db_security_group_ingress'
# revokes a db security group ingress
# http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?API_RevokeDBSecurityGroupIngress.html
# ==== Parameter... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/rds/describe_db_instances.rb | Ruby | mit | 304 | master | 3,667 | module Fog
module AWS
class RDS
class Real
require 'fog/aws/parsers/rds/describe_db_instances'
# Describe all or specified load db instances
# http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html
# ==== Parameters
# * DBInstanc... |
github | fog/fog-aws | https://github.com/fog/fog-aws | lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb | Ruby | mit | 304 | master | 4,713 | module Fog
module AWS
class RDS
class Real
require 'fog/aws/parsers/rds/restore_db_instance_from_db_snapshot'
# Restores a DB Instance from a DB Snapshot
# http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?API_RestoreDBInstanceFromDBSnapshot.html
# =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.