fog-aws 3.22.0 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -1286
  3. data/fog-aws.gemspec +2 -0
  4. data/lib/fog/aws/credential_fetcher.rb +1 -1
  5. data/lib/fog/aws/elasticache.rb +1 -1
  6. data/lib/fog/aws/models/compute/dhcp_option.rb +1 -1
  7. data/lib/fog/aws/models/compute/flavors.rb +3 -3
  8. data/lib/fog/aws/models/compute/network_interfaces.rb +1 -1
  9. data/lib/fog/aws/models/elasticache/cluster.rb +1 -1
  10. data/lib/fog/aws/models/storage/file.rb +1 -1
  11. data/lib/fog/aws/parsers/iam/list_server_certificates.rb +1 -1
  12. data/lib/fog/aws/parsers/rds/db_cluster_parser.rb +1 -1
  13. data/lib/fog/aws/parsers/rds/db_parser.rb +1 -1
  14. data/lib/fog/aws/parsers/rds/modify_db_subnet_group.rb +1 -1
  15. data/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +1 -1
  16. data/lib/fog/aws/requests/auto_scaling/attach_load_balancer_target_groups.rb +1 -1
  17. data/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +1 -1
  18. data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +1 -1
  19. data/lib/fog/aws/requests/cloud_formation/create_change_set.rb +1 -1
  20. data/lib/fog/aws/requests/cloud_formation/create_stack.rb +1 -1
  21. data/lib/fog/aws/requests/cloud_formation/get_template_summary.rb +1 -1
  22. data/lib/fog/aws/requests/cloud_formation/update_stack.rb +1 -1
  23. data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +1 -1
  24. data/lib/fog/aws/requests/compute/authorize_security_group_egress.rb +1 -1
  25. data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +1 -1
  26. data/lib/fog/aws/requests/compute/create_network_interface.rb +1 -1
  27. data/lib/fog/aws/requests/compute/create_vpc.rb +1 -1
  28. data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +2 -2
  29. data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +1 -1
  30. data/lib/fog/aws/requests/compute/modify_volume.rb +1 -1
  31. data/lib/fog/aws/requests/compute/revoke_security_group_egress.rb +1 -1
  32. data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +1 -1
  33. data/lib/fog/aws/requests/compute/run_instances.rb +2 -2
  34. data/lib/fog/aws/requests/data_pipeline/deactivate_pipeline.rb +1 -1
  35. data/lib/fog/aws/requests/ecs/list_task_definitions.rb +1 -1
  36. data/lib/fog/aws/requests/efs/create_file_system.rb +1 -1
  37. data/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +1 -1
  38. data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +2 -2
  39. data/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb +1 -1
  40. data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +1 -1
  41. data/lib/fog/aws/requests/elbv2/describe_tags.rb +2 -2
  42. data/lib/fog/aws/requests/glacier/initiate_job.rb +1 -1
  43. data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +1 -1
  44. data/lib/fog/aws/requests/kinesis/list_streams.rb +1 -1
  45. data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +2 -2
  46. data/lib/fog/aws/requests/rds/create_db_cluster.rb +1 -1
  47. data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +1 -1
  48. data/lib/fog/aws/requests/rds/modify_db_instance.rb +1 -1
  49. data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +1 -1
  50. data/lib/fog/aws/requests/ses/send_raw_email.rb +1 -1
  51. data/lib/fog/aws/requests/sqs/change_message_visibility.rb +1 -1
  52. data/lib/fog/aws/requests/sqs/delete_message.rb +1 -1
  53. data/lib/fog/aws/requests/storage/copy_object.rb +1 -1
  54. data/lib/fog/aws/requests/storage/get_bucket.rb +2 -2
  55. data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +2 -2
  56. data/lib/fog/aws/requests/storage/list_parts.rb +1 -1
  57. data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +1 -1
  58. data/lib/fog/aws/requests/storage/put_bucket_notification.rb +1 -1
  59. data/lib/fog/aws/requests/storage/put_object.rb +1 -1
  60. data/lib/fog/aws/requests/storage/upload_part_copy.rb +1 -1
  61. data/lib/fog/aws/signaturev4.rb +1 -1
  62. data/lib/fog/aws/version.rb +1 -1
  63. data/lib/fog/aws.rb +4 -2
  64. metadata +5 -4
data/fog-aws.gemspec CHANGED
@@ -31,4 +31,6 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency 'fog-core', '~> 2.1'
32
32
  spec.add_dependency 'fog-json', '~> 1.1'
33
33
  spec.add_dependency 'fog-xml', '~> 0.1'
34
+
35
+ spec.metadata['changelog_uri'] = spec.homepage + '/blob/master/CHANGELOG.md'
34
36
  end
@@ -21,7 +21,7 @@ module Fog
21
21
  if options[:use_iam_profile]
22
22
  begin
23
23
  role_data = nil
24
- region = options[:region] || ENV["AWS_DEFAULT_REGION"]
24
+ region = options[:region] || ENV["AWS_REGION"] || ENV["AWS_DEFAULT_REGION"]
25
25
 
26
26
  if ENV["AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"]
27
27
  connection = options[:connection] || Excon.new(CONTAINER_CREDENTIALS_HOST)
@@ -195,7 +195,7 @@ module Fog
195
195
  @aws_access_key_id = options[:aws_access_key_id]
196
196
  end
197
197
 
198
- # returns an Array of (Mock) elasticache nodes, representated as Hashes
198
+ # returns an Array of (Mock) elasticache nodes, represented as Hashes
199
199
  def create_cache_nodes(cluster_id, num_nodes = 1, port = '11211')
200
200
  (1..num_nodes).map do |node_number|
201
201
  node_id = "%04d" % node_number
@@ -10,7 +10,7 @@ module Fog
10
10
  super
11
11
  end
12
12
 
13
- # Associates an existing dhcp configration set with a VPC
13
+ # Associates an existing dhcp configuration set with a VPC
14
14
  #
15
15
  # dhcp_option.attach(dopt-id, vpc-id)
16
16
  #
@@ -288,7 +288,7 @@ module Fog
288
288
  },
289
289
  {
290
290
  :id => 't4g.nano',
291
- :name => 'T4G Nano Instace',
291
+ :name => 'T4G Nano Instance',
292
292
  :bits => 64,
293
293
  :cores => 2,
294
294
  :disk => 0,
@@ -318,7 +318,7 @@ module Fog
318
318
  },
319
319
  {
320
320
  :id => 't4g.medium',
321
- :name => 'T4G Medium Instace',
321
+ :name => 'T4G Medium Instance',
322
322
  :bits => 64,
323
323
  :cores => 2,
324
324
  :disk => 0,
@@ -3558,7 +3558,7 @@ module Fog
3558
3558
  },
3559
3559
  {
3560
3560
  :id => "m6a.48xlarge",
3561
- :name => "m6a Fourty Eight Extra Large",
3561
+ :name => "m6a Forty Eight Extra Large",
3562
3562
  :bits => 64,
3563
3563
  :cores => 192,
3564
3564
  :ram => 824634,
@@ -54,7 +54,7 @@ module Fog
54
54
  #
55
55
  # Returns an array of all network interfaces
56
56
  #
57
- #>> AWS.network_interfaves.all
57
+ #>> AWS.network_interfaces.all
58
58
  # <Fog::AWS::Compute::NetworkInterfaces
59
59
  # filters={}
60
60
  # [
@@ -54,7 +54,7 @@ module Fog
54
54
  :engine_version => engine_version,
55
55
  :notification_topic_arn => notification_config['TopicArn'],
56
56
  :port => port,
57
- :preferred_availablility_zone => zone,
57
+ :preferred_availability_zone => zone,
58
58
  :preferred_maintenance_window => maintenance_window,
59
59
  :s3_snapshot_location => s3_snapshot_location,
60
60
  :parameter_group_name => parameter_group_name || parameter_group['CacheParameterGroupName'],
@@ -246,7 +246,7 @@ module Fog
246
246
  # @param [Hash] options
247
247
  # @option options [String] acl sets x-amz-acl HTTP header. Valid values include, private | public-read | public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-control
248
248
  # @option options [String] cache_control sets Cache-Control header. For example, 'No-cache'
249
- # @option options [String] content_disposition sets Content-Disposition HTTP header. For exampple, 'attachment; filename=testing.txt'
249
+ # @option options [String] content_disposition sets Content-Disposition HTTP header. For example, 'attachment; filename=testing.txt'
250
250
  # @option options [String] content_encoding sets Content-Encoding HTTP header. For example, 'x-gzip'
251
251
  # @option options [String] content_md5 sets Content-MD5. For example, '79054025255fb1a26e4bc422aef54eb4'
252
252
  # @option options [String] content_type Content-Type. For example, 'text/plain'
@@ -21,7 +21,7 @@ module Fog
21
21
  when 'member'
22
22
  @response['Certificates'] << @certificate
23
23
  reset_certificate
24
- when 'IsTrunctated'
24
+ when 'IsTruncated'
25
25
  @response[name] = !!value
26
26
  when 'Marker'
27
27
  @response[name] = value
@@ -42,7 +42,7 @@ module Fog
42
42
  when 'VpcSecurityGroupId'
43
43
  @vpc_security_group[name] = value
44
44
  when 'Status'
45
- # Unfortunately, status is used in VpcSecurityGroupMemebership and
45
+ # Unfortunately, status is used in VpcSecurityGroupMembership and
46
46
  # DBSecurityGroups
47
47
  if @in_db_security_groups
48
48
  @db_security_group[name]=value
@@ -105,7 +105,7 @@ module Fog
105
105
  when 'VpcSecurityGroupId'
106
106
  @vpc_security_group[name] = value
107
107
  when 'Status'
108
- # Unfortunately, status is used in VpcSecurityGroupMemebership and
108
+ # Unfortunately, status is used in VpcSecurityGroupMembership and
109
109
  # DBSecurityGroups
110
110
  if @in_db_security_groups
111
111
  @db_security_group[name]=value
@@ -4,7 +4,7 @@ module Fog
4
4
  module RDS
5
5
  class ModifyDBSubnetGroup < Fog::Parsers::Base
6
6
  def reset
7
- @response = { 'ModifyDBSubnetGrouptAttributeResult' => {}, 'ResponseMetadata' => {} }
7
+ @response = { 'ModifyDBSubnetGroupAttributeResult' => {}, 'ResponseMetadata' => {} }
8
8
  end
9
9
 
10
10
  def start_element(name, attrs = [])
@@ -32,7 +32,7 @@ module Fog
32
32
  def end_element(name)
33
33
  super
34
34
  case name
35
- when 'ClusterSubnetGroupName', 'Desciption', 'VpcId', 'SubnetGroupStatus'
35
+ when 'ClusterSubnetGroupName', 'Description', 'VpcId', 'SubnetGroupStatus'
36
36
  @response[name] = value
37
37
  when 'SubnetIdentifier', 'SubnetStatus'
38
38
  @subnet[name] = value
@@ -11,7 +11,7 @@ module Fog
11
11
  # * auto_scaling_group_name<~String> - The name of the Auto Scaling
12
12
  # group.
13
13
  # * options<~Hash>:
14
- # 'TagetGroupARNs'<~Array> - A list of target group arns to use.
14
+ # 'TargetGroupARNs'<~Array> - A list of target group arns to use.
15
15
  #
16
16
  # ==== See Also
17
17
  # http://docs.amazonwebservices.com/AutoScaling/latest/APIReference/API_AttachLoadBalancerTargetGroups.html
@@ -40,7 +40,7 @@ module Fog
40
40
  # * 'ActivityId'<~String> - Specifies the ID of the activity.
41
41
  # * 'AutoScalingGroupName'<~String> - The name of the Auto
42
42
  # Scaling group.
43
- # * 'Cause'<~String> - Contins the reason the activity was
43
+ # * 'Cause'<~String> - Contains the reason the activity was
44
44
  # begun.
45
45
  # * 'Description'<~String> - Contains a friendly, more verbose
46
46
  # description of the scaling activity.
@@ -39,7 +39,7 @@ module Fog
39
39
  # http://docs.amazonwebservices.com/AutoScaling/latest/APIReference/API_PutScheduledUpdateGroupAction.html
40
40
  #
41
41
  def put_scheduled_update_group_action(auto_scaling_group_name, scheduled_action_name, time=nil, options = {})
42
- # The 'Time' paramenter is now an alias for StartTime and needs to be identical if specified.
42
+ # The 'Time' parameter is now an alias for StartTime and needs to be identical if specified.
43
43
  time = options['StartTime'].nil? ? time : options['StartTime']
44
44
  if !time.nil?
45
45
  time = time.class == Time ? time.utc.iso8601 : Time.parse(time).utc.iso8601
@@ -16,7 +16,7 @@ module Fog
16
16
  # * UsePreviousTemplate [Boolean] Reuse the template that is associated with the stack to create the change set.
17
17
  # * NotificationARNs [Array] List of SNS topics to publish events to.
18
18
  # * Parameters [Hash] Hash of providers to supply to template.
19
- # * Capabilities [Array] List of capabilties the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources.
19
+ # * Capabilities [Array] List of capabilities the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources.
20
20
  #
21
21
  # @return [Excon::Response]:
22
22
  # * body [Hash:
@@ -16,7 +16,7 @@ module Fog
16
16
  # * NotificationARNs [Array] List of SNS topics to publish events to.
17
17
  # * Parameters [Hash] Hash of providers to supply to template
18
18
  # * TimeoutInMinutes [Integer] Minutes to wait before status is set to CREATE_FAILED
19
- # * Capabilities [Array] List of capabilties the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources
19
+ # * Capabilities [Array] List of capabilities the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources
20
20
  # * StackPolicyBody [String] Structure containing the stack policy body.
21
21
  # * StackPolicyURL [String] URL of file containing the stack policy.
22
22
  # * Tags [Array] Key-value pairs to associate with this stack.
@@ -15,7 +15,7 @@ module Fog
15
15
  #
16
16
  # @return [Excon::Response]:
17
17
  # * body [Hash:
18
- # * Capabilities [Array] List of capabilties in the template.
18
+ # * Capabilities [Array] List of capabilities in the template.
19
19
  # * CapabilitiesReason [String] The list of resources that generated the values in the Capabilities response element.
20
20
  # * Description [String] Template Description.
21
21
  # * Metadata [String] Template Metadata.
@@ -12,7 +12,7 @@ module Fog
12
12
  # or (one of the two Template parameters is required)
13
13
  # * TemplateURL [String] URL of file containing the template body.
14
14
  # * Parameters [Hash] Hash of providers to supply to template.
15
- # * Capabilities [Array] List of capabilties the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources.
15
+ # * Capabilities [Array] List of capabilities the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources.
16
16
  # * NotificationARNs [Array] List of SNS topics to publish events to.
17
17
  # * ResourceTypes [Array] The template resource types that you have permissions to work.
18
18
  # * StackPolicyBody [String] Structure containing the stack policy body.
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  require 'fog/aws/parsers/cloud_watch/list_metrics'
6
6
 
7
- # List availabe metrics
7
+ # List available metrics
8
8
  #
9
9
  # ==== Options
10
10
  # * Dimensions<~Array>: a list of dimensions to filter against,
@@ -7,7 +7,7 @@ module Fog
7
7
  # Add permissions to a security group
8
8
  #
9
9
  # ==== Parameters
10
- # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options)
10
+ # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options)
11
11
  # * options<~Hash>:
12
12
  # * 'GroupName'<~String> - Name of security group to modify
13
13
  # * 'GroupId'<~String> - Id of security group to modify
@@ -7,7 +7,7 @@ module Fog
7
7
  # Add permissions to a security group
8
8
  #
9
9
  # ==== Parameters
10
- # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options)
10
+ # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options)
11
11
  # * options<~Hash>:
12
12
  # * 'GroupName'<~String> - Name of security group to modify
13
13
  # * 'GroupId'<~String> - Id of security group to modify
@@ -25,7 +25,7 @@ module Fog
25
25
  # * 'availabilityZone'<~String> - The availability zone
26
26
  # * 'description'<~String> - The description
27
27
  # * 'ownerId'<~String> - The ID of the person who created the interface
28
- # * 'requesterId'<~String> - The ID ot teh entity requesting this interface
28
+ # * 'requesterId'<~String> - The ID or the entity requesting this interface
29
29
  # * 'requesterManaged'<~String> -
30
30
  # * 'status'<~String> - "available" or "in-use"
31
31
  # * 'macAddress'<~String> -
@@ -67,7 +67,7 @@ module Fog
67
67
  route_table = self.data[:route_tables].find { |routetable| routetable["routeTableId"].eql? default_route.id }
68
68
 
69
69
  # This pushes a main route to the associationSet
70
- # add_route_association(routeTableId, subnetId, main=false) is declared in assocate_route_table.rb
70
+ # add_route_association(routeTableId, subnetId, main=false) is declared in associate_route_table.rb
71
71
  assoc = add_route_association(default_route.id, nil, true)
72
72
  route_table["associationSet"].push(assoc)
73
73
 
@@ -20,7 +20,7 @@ module Fog
20
20
  # * 'availabilityZone'<~String> - The availability zone
21
21
  # * 'description'<~String> - The description
22
22
  # * 'ownerId'<~String> - The ID of the person who created the interface
23
- # * 'requesterId'<~String> - The ID ot teh entity requesting this interface
23
+ # * 'requesterId'<~String> - The ID of the entity requesting this interface
24
24
  # * 'requesterManaged'<~String> -
25
25
  # * 'status'<~String> - "available" or "in-use"
26
26
  # * 'macAddress'<~String> -
@@ -49,7 +49,7 @@ module Fog
49
49
  # * 'privateIpAddresses' <~Array>:
50
50
  # * 'privateIpAddress'<~String> - One of the additional private ip address
51
51
  # * 'privateDnsName'<~String> - The private DNS associate to the ip address
52
- # * 'primay'<~String> - Whether main ip associate with NIC true of false
52
+ # * 'primary'<~String> - Whether main ip associate with NIC true of false
53
53
  #
54
54
  # {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/2012-03-01/APIReference/index.html?ApiReference-query-DescribeNetworkInterfaces.html]
55
55
  def describe_network_interfaces(filters = {})
@@ -9,7 +9,7 @@ module Fog
9
9
  # ==== Parameters
10
10
  # * network_interface_id<~String> - The ID of the network interface you want to describe an attribute of
11
11
  # * attribute<~String> - The attribute to modify, must be one of 'description', 'groupSet', 'sourceDestCheck' or 'attachment'
12
- # * value<~Object> - New value of attribute, the actual tyep depends on teh attribute:
12
+ # * value<~Object> - New value of attribute, the actual type depends on the attribute:
13
13
  # description - a string
14
14
  # groupSet - a list of group id's
15
15
  # sourceDestCheck - a boolean value
@@ -10,7 +10,7 @@ module Fog
10
10
  # * volume_id<~String> - The ID of the volume
11
11
  # * options<~Hash>:
12
12
  # * 'VolumeType'<~String> - Type of volume
13
- # * 'Size'<~Integer> - Size in GiBs fo the volume
13
+ # * 'Size'<~Integer> - Size in GiBs of the volume
14
14
  # * 'Iops'<~Integer> - Number of IOPS the volume supports
15
15
  #
16
16
  # ==== Response
@@ -7,7 +7,7 @@ module Fog
7
7
  # Remove permissions from a security group
8
8
  #
9
9
  # ==== Parameters
10
- # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options)
10
+ # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options)
11
11
  # * options<~Hash>:
12
12
  # * 'GroupName'<~String> - Name of security group to modify
13
13
  # * 'GroupId'<~String> - Id of security group to modify
@@ -7,7 +7,7 @@ module Fog
7
7
  # Remove permissions from a security group
8
8
  #
9
9
  # ==== Parameters
10
- # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options)
10
+ # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options)
11
11
  # * options<~Hash>:
12
12
  # * 'GroupName'<~String> - Name of security group to modify
13
13
  # * 'GroupId'<~String> - Id of security group to modify
@@ -31,7 +31,7 @@ module Fog
31
31
  # * 'Ebs.VolumeType'<~String> - Type of EBS volue. Valid options in ['standard', 'io1'] default is 'standard'.
32
32
  # * 'Ebs.Iops'<~String> - The number of I/O operations per second (IOPS) that the volume supports. Required when VolumeType is 'io1'
33
33
  # * 'HibernationOptions'<~Array>: array of hashes
34
- # * 'Configured'<~Boolean> - specifies whether or not the instance is configued for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites.
34
+ # * 'Configured'<~Boolean> - specifies whether or not the instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites.
35
35
  # * 'NetworkInterfaces'<~Array>: array of hashes
36
36
  # * 'NetworkInterfaceId'<~String> - An existing interface to attach to a single instance
37
37
  # * 'DeviceIndex'<~String> - The device index. Applies both to attaching an existing network interface and creating a network interface
@@ -46,7 +46,7 @@ module Fog
46
46
  # * 'AssociatePublicIpAddress'<~String> - Indicates whether to assign a public IP address to an instance in a VPC. The public IP address is assigned to a specific network interface
47
47
  # * 'TagSpecifications'<~Array>: array of hashes
48
48
  # * 'ResourceType'<~String> - Type of resource to apply tags on, e.g: instance or volume
49
- # * 'Tags'<~Array> - List of hashs reprensenting tag to be set
49
+ # * 'Tags'<~Array> - List of hashes reprensenting tag to be set
50
50
  # * 'Key'<~String> - Tag name
51
51
  # * 'Value'<~String> - Tag value
52
52
  # * 'ClientToken'<~String> - unique case-sensitive token for ensuring idempotency
@@ -15,7 +15,7 @@ module Fog
15
15
 
16
16
  response = request({
17
17
  :body => Fog::JSON.encode(params),
18
- :headers => { 'X-Amz-Target' => 'DataPipeline.DectivatePipeline' }
18
+ :headers => { 'X-Amz-Target' => 'DataPipeline.DeactivatePipeline' }
19
19
  })
20
20
  end
21
21
  end
@@ -13,7 +13,7 @@ module Fog
13
13
  # ==== Returns
14
14
  # * response<~Excon::Response>:
15
15
  # * body<~Hash>:
16
- # * 'TaskDefinitionArns' <~Array> - list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefintions request.
16
+ # * 'TaskDefinitionArns' <~Array> - list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions request.
17
17
  # * 'NextToken' <~String> - nextToken value to include in a future ListTaskDefinitions request
18
18
  def list_task_definitions(params={})
19
19
  request({
@@ -23,7 +23,7 @@ module Fog
23
23
  :method => 'POST',
24
24
  :expects => 201,
25
25
  'CreationToken' => creation_token,
26
- 'PerformanceMode' => options[:peformance_mode] || 'generalPurpose',
26
+ 'PerformanceMode' => options[:performance_mode] || 'generalPurpose',
27
27
  'Encrypted' => options[:encrypted] || false
28
28
  }
29
29
  params[:kms_key_id] = options[:kms_key_id] if options.key?(:kms_key_id)
@@ -34,7 +34,7 @@ module Fog
34
34
  if sec_group = self.data[:security_groups][name]
35
35
 
36
36
  if sec_group['EC2SecurityGroups'].find{|h| h['EC2SecurityGroupName'] == opts['EC2SecurityGroupName']}
37
- raise Fog::AWS::Elasticache::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is alreay defined")
37
+ raise Fog::AWS::Elasticache::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is already defined")
38
38
  end
39
39
  sec_group['EC2SecurityGroups'] << opts.merge({'Status' => 'authorizing'})
40
40
 
@@ -19,7 +19,7 @@ module Fog
19
19
  # * :engine_version <~String> - The Cluster's caching software version
20
20
  # * :notification_topic_arn <~String> - Amazon SNS Resource Name
21
21
  # * :port <~Integer> - The memcached port number
22
- # * :preferred_availablility_zone <~String>
22
+ # * :preferred_availability_zone <~String>
23
23
  # * :preferred_maintenance_window <~String>
24
24
  # * :cache_subnet_group_name <~String>
25
25
  # * :s3_snapshot_location <~String> - Amazon resource location for snapshot
@@ -39,7 +39,7 @@ module Fog
39
39
  'EngineVersion' => options[:engine_version],
40
40
  'NotificationTopicArn' => options[:notification_topic_arn],
41
41
  'Port' => options[:port],
42
- 'PreferredAvailabilityZone' => options[:preferred_availablility_zone],
42
+ 'PreferredAvailabilityZone' => options[:preferred_availability_zone],
43
43
  'PreferredMaintenanceWindow' => options[:preferred_maintenance_window],
44
44
  :parser => Fog::Parsers::AWS::Elasticache::SingleCacheCluster.new
45
45
  }
@@ -24,7 +24,7 @@ module Fog
24
24
  end
25
25
 
26
26
  class Mock
27
- def describe_engine_defalut_parameters(options = {})
27
+ def describe_engine_default_parameters(options = {})
28
28
  Fog::Mock.not_implemented
29
29
  end
30
30
  end
@@ -4,7 +4,7 @@ module Fog
4
4
  class Real
5
5
  require 'fog/aws/parsers/elb/empty'
6
6
 
7
- # Delet Elastic Load Balancer Listeners
7
+ # Delete Elastic Load Balancer Listeners
8
8
  #
9
9
  # ==== Parameters
10
10
  # * lb_name<~String> - Name for the new ELB -- must be unique
@@ -25,7 +25,7 @@ module Fog
25
25
  response = Excon::Response.new
26
26
  resource_arns = [*resource_arns]
27
27
 
28
- tag_describtions = resource_arns.map do |resource_arn|
28
+ tag_descriptions = resource_arns.map do |resource_arn|
29
29
  if self.data[:load_balancers_v2][resource_arn]
30
30
  {
31
31
  "Tags"=>self.data[:tags][resource_arn],
@@ -39,7 +39,7 @@ module Fog
39
39
  response.status = 200
40
40
  response.body = {
41
41
  "ResponseMetadata"=>{"RequestId"=> Fog::AWS::Mock.request_id },
42
- "DescribeTagsResult"=>{"TagDescriptions"=> tag_describtions}
42
+ "DescribeTagsResult"=>{"TagDescriptions"=> tag_descriptions}
43
43
  }
44
44
 
45
45
  response
@@ -2,7 +2,7 @@ module Fog
2
2
  module AWS
3
3
  class Glacier
4
4
  class Real
5
- # This operation initates a multipart upload of an archive to a vault
5
+ # This operation initiates a multipart upload of an archive to a vault
6
6
  #
7
7
  # ==== Parameters
8
8
  # * name<~String> The vault name
@@ -2,7 +2,7 @@ module Fog
2
2
  module AWS
3
3
  class Glacier
4
4
  class Real
5
- # This operation initates a multipart upload of an archive to a vault
5
+ # This operation initiates a multipart upload of an archive to a vault
6
6
  #
7
7
  # ==== Parameters
8
8
  # * name<~String> The vault name
@@ -2,7 +2,7 @@ module Fog
2
2
  module AWS
3
3
  class Kinesis
4
4
  class Real
5
- # List availabe streams
5
+ # List available streams
6
6
  #
7
7
  # ==== Options
8
8
  # * ExclusiveStartStreamName<~String>: The name of the stream to start the list with.
@@ -43,12 +43,12 @@ module Fog
43
43
  if sec_group = self.data[:security_groups][name]
44
44
  if opts.key?('CIDRIP')
45
45
  if sec_group['IPRanges'].find{|h| h['CIDRIP'] == opts['CIDRIP']}
46
- raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['CIDRIP']} is alreay defined")
46
+ raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['CIDRIP']} is already defined")
47
47
  end
48
48
  sec_group['IPRanges'] << opts.merge({"Status" => 'authorizing'})
49
49
  else
50
50
  if sec_group['EC2SecurityGroups'].find{|h| h['EC2SecurityGroupName'] == opts['EC2SecurityGroupName'] || h['EC2SecurityGroupId'] == opts['EC2SecurityGroupId']}
51
- raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is alreay defined")
51
+ raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is already defined")
52
52
  end
53
53
  sec_group['EC2SecurityGroups'] << opts.merge({"Status" => 'authorizing'})
54
54
  end
@@ -12,7 +12,7 @@ module Fog
12
12
  # * AvailabilityZones<~Array> - A list of EC2 Availability Zones that instances in the DB cluster can be created in
13
13
  # * BackupRetentionPeriod<~String> - The number of days for which automated backups are retained
14
14
  # * CharacterSetName<~String> - A value that indicates that the DB cluster should be associated with the specified CharacterSet
15
- # * DatabaseName<~String> - The name for your database of up to 8 alpha-numeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating
15
+ # * DatabaseName<~String> - The name for your database of up to 8 alphanumeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating
16
16
  # * DBClusterIdentifier<~String> - The DB cluster identifier. This parameter is stored as a lowercase string
17
17
  # * DBClusterParameterGroupName<~String> - The name of the DB cluster parameter group to associate with this DB cluster
18
18
  # * DBSubnetGroupName<~String> - A DB subnet group to associate with this DB cluster
@@ -9,7 +9,7 @@ module Fog
9
9
  # ==== Parameters
10
10
  # * DBInstanceIdentifier <~String> - ID of instance to retrieve information for. if absent information for all instances is returned
11
11
  # * DBSnapshotIdentifier <~String> - ID of snapshot to retrieve information for. if absent information for all snapshots is returned
12
- # * SnapshotType <~String> - type of snapshot to retrive (automated|manual)
12
+ # * SnapshotType <~String> - type of snapshot to retrieve (automated|manual)
13
13
  # * Marker <~String> - An optional marker provided in the previous DescribeDBInstances request
14
14
  # * MaxRecords <~Integer> - Max number of records to return (between 20 and 100)
15
15
  # Only one of DBInstanceIdentifier or DBSnapshotIdentifier can be specified
@@ -56,7 +56,7 @@ module Fog
56
56
  self.data[:modify_time] = Time.now
57
57
  # TODO verify the params options
58
58
  # if apply_immediately is false, all the options go to pending_modified_values and then apply and clear after either
59
- # a reboot or the maintainance window
59
+ # a reboot or the maintenance window
60
60
  #if apply_immediately
61
61
  # modified_server = server.merge(options)
62
62
  #else
@@ -10,7 +10,7 @@ module Fog
10
10
  # * DBParameterGroupName <~String> - name of the parameter group
11
11
  # * Parameters<~Array> - Array of up to 20 Hashes describing parameters to set
12
12
  # * 'ParameterName'<~String> - parameter name.
13
- # * 'ParameterValue'<~String> - new paremeter value
13
+ # * 'ParameterValue'<~String> - new parameter value
14
14
  # * 'ApplyMethod'<~String> - immediate | pending-reboot whether to set the parameter immediately or not (may require an instance restart)
15
15
  #
16
16
  # ==== Returns
@@ -9,7 +9,7 @@ module Fog
9
9
  # ==== Parameters
10
10
  # * RawMessage <~String> - The message to be sent.
11
11
  # * Options <~Hash>
12
- # * Source <~String> - The sender's email address. Takes precenence over Return-Path if specified in RawMessage
12
+ # * Source <~String> - The sender's email address. Takes precedence over Return-Path if specified in RawMessage
13
13
  # * Destinations <~Array> - All destinations for this email.
14
14
  #
15
15
  # ==== Returns
@@ -8,7 +8,7 @@ module Fog
8
8
  #
9
9
  # ==== Parameters
10
10
  # * queue_url<~String> - Url of queue for message to update
11
- # * receipt_handle<~String> - Token from previous recieve message
11
+ # * receipt_handle<~String> - Token from previous receive message
12
12
  # * visibility_timeout<~Integer> - New visibility timeout in 0..43200
13
13
  #
14
14
  # ==== See Also
@@ -8,7 +8,7 @@ module Fog
8
8
  #
9
9
  # ==== Parameters
10
10
  # * queue_url<~String> - Url of queue to delete message from
11
- # * receipt_handle<~String> - Token from previous recieve message
11
+ # * receipt_handle<~String> - Token from previous receive message
12
12
  #
13
13
  # ==== See Also
14
14
  # http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QueryDeleteMessage.html
@@ -17,7 +17,7 @@ module Fog
17
17
  # @option options [Time] x-amz-copy_source-if-modified_since Copies object it it has been modified since this time
18
18
  # @option options [String] x-amz-copy_source-if-none-match Copies object if its etag does not match this value
19
19
  # @option options [Time] x-amz-copy_source-if-unmodified-since Copies object it it has not been modified since this time
20
- # @option options [String] x-amz-storage-class Default is 'STANDARD', set to 'REDUCED_REDUNDANCY' for non-critical, reproducable data
20
+ # @option options [String] x-amz-storage-class Default is 'STANDARD', set to 'REDUCED_REDUNDANCY' for non-critical, reproducible data
21
21
  #
22
22
  #
23
23
  # @return [Excon::Response]
@@ -9,7 +9,7 @@ module Fog
9
9
  # @param bucket_name [String] name of bucket to list object keys from
10
10
  # @param options [Hash] config arguments for list. Defaults to {}.
11
11
  # @option options delimiter [String] causes keys with the same string between the prefix
12
- # value and the first occurence of delimiter to be rolled up
12
+ # value and the first occurrence of delimiter to be rolled up
13
13
  # @option options marker [String] limits object keys to only those that appear
14
14
  # lexicographically after its value.
15
15
  # @option options max-keys [Integer] limits number of object keys returned
@@ -17,7 +17,7 @@ module Fog
17
17
  #
18
18
  # @return [Excon::Response] response:
19
19
  # * body [Hash]:
20
- # * Delimeter [String] - Delimiter specified for query
20
+ # * Delimiter [String] - Delimiter specified for query
21
21
  # * IsTruncated [Boolean] - Whether or not the listing is truncated
22
22
  # * Marker [String]- Marker specified for query
23
23
  # * MaxKeys [Integer] - Maximum number of keys specified for query