mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix docs to show that Excon::Response is returned
This commit is contained in:
parent
41ace1cd2f
commit
d6e857e52d
65 changed files with 65 additions and 65 deletions
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# Acquire an elastic IP address.
|
# Acquire an elastic IP address.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'publicIp'<~String> - The acquired address
|
# * 'publicIp'<~String> - The acquired address
|
||||||
# * 'requestId'<~String> - Id of the request
|
# * 'requestId'<~String> - Id of the request
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# * public_ip<~String> - Public ip to assign to instance
|
# * public_ip<~String> - Public ip to assign to instance
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -12,7 +12,7 @@ unless Fog.mocking?
|
||||||
# * device<~String> - Specifies how the device is exposed to the instance (e.g. "/dev/sdh")
|
# * device<~String> - Specifies how the device is exposed to the instance (e.g. "/dev/sdh")
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'attachTime'<~Time> - Time of attachment was initiated at
|
# * 'attachTime'<~Time> - Time of attachment was initiated at
|
||||||
# * 'device'<~String> - Device as it is exposed to the instance
|
# * 'device'<~String> - Device as it is exposed to the instance
|
||||||
|
|
|
@ -19,7 +19,7 @@ unless Fog.mocking?
|
||||||
# * 'ToPort' - End of port range (or -1 for ICMP wildcard)
|
# * 'ToPort' - End of port range (or -1 for ICMP wildcard)
|
||||||
#
|
#
|
||||||
# === Returns
|
# === Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * key_name<~String> - Unique name for key pair.
|
# * key_name<~String> - Unique name for key pair.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'keyFingerprint'<~String> - SHA-1 digest of DER encoded private key
|
# * 'keyFingerprint'<~String> - SHA-1 digest of DER encoded private key
|
||||||
# * 'keyMaterial'<~String> - Unencrypted encoded PEM private key
|
# * 'keyMaterial'<~String> - Unencrypted encoded PEM private key
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# * group_description<~String> - Description of group.
|
# * group_description<~String> - Description of group.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * volume_id<~String> - Id of EBS volume to snapshot
|
# * volume_id<~String> - Id of EBS volume to snapshot
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'progress'<~String> - The percentage progress of the snapshot
|
# * 'progress'<~String> - The percentage progress of the snapshot
|
||||||
# * 'requestId'<~String> - id of request
|
# * 'requestId'<~String> - id of request
|
||||||
|
|
|
@ -12,7 +12,7 @@ unless Fog.mocking?
|
||||||
# * snapshot_id<~String> - Optional, snapshot to create volume from
|
# * snapshot_id<~String> - Optional, snapshot to create volume from
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'availabilityZone'<~String> - Availability zone for volume
|
# * 'availabilityZone'<~String> - Availability zone for volume
|
||||||
# * 'createTime'<~Time> - Timestamp for creation
|
# * 'createTime'<~Time> - Timestamp for creation
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * key_name<~String> - Name of the key pair.
|
# * key_name<~String> - Name of the key pair.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> id of request
|
# * 'requestId'<~String> id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * group_name<~String> - Name of the security group.
|
# * group_name<~String> - Name of the security group.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * snapshot_id<~String> - ID of snapshot to delete
|
# * snapshot_id<~String> - ID of snapshot to delete
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * volume_id<~String> - Id of volume to delete.
|
# * volume_id<~String> - Id of volume to delete.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * public_ip<~Array> - List of ips to describe, defaults to all
|
# * public_ip<~Array> - List of ips to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'addressesSet'<~Array>:
|
# * 'addressesSet'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * zone_name<~String> - List of availability zones to describe, defaults to all
|
# * zone_name<~String> - List of availability zones to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'availabilityZoneInfo'<~Array>:
|
# * 'availabilityZoneInfo'<~Array>:
|
||||||
|
|
|
@ -14,7 +14,7 @@ unless Fog.mocking?
|
||||||
# * 'Owner'<~String> - Only return images belonging to owner.
|
# * 'Owner'<~String> - Only return images belonging to owner.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'imagesSet'<~Array>:
|
# * 'imagesSet'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * instance_id<~Array> - List of instance ids to describe, defaults to all
|
# * instance_id<~Array> - List of instance ids to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'reservationSet'<~Array>:
|
# * 'reservationSet'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * key_name<~Array>:: List of key names to describe, defaults to all
|
# * key_name<~Array>:: List of key names to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'keySet'<~Array>:
|
# * 'keySet'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * region_name<~String> - List of regions to describe, defaults to all
|
# * region_name<~String> - List of regions to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'regionInfo'<~Array>:
|
# * 'regionInfo'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * group_name<~Array> - List of groups to describe, defaults to all
|
# * group_name<~Array> - List of groups to describe, defaults to all
|
||||||
#
|
#
|
||||||
# === Returns
|
# === Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'securityGroupInfo'<~Array>:
|
# * 'securityGroupInfo'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * snapshot_id<~Array> - List of snapshots to describe, defaults to all
|
# * snapshot_id<~Array> - List of snapshots to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'snapshotSet'<~Array>:
|
# * 'snapshotSet'<~Array>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * volume_id<~Array> - List of volumes to describe, defaults to all
|
# * volume_id<~Array> - List of volumes to describe, defaults to all
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'volumeSet'<~Array>:
|
# * 'volumeSet'<~Array>:
|
||||||
# * 'availabilityZone'<~String> - Availability zone for volume
|
# * 'availabilityZone'<~String> - Availability zone for volume
|
||||||
|
|
|
@ -14,7 +14,7 @@ unless Fog.mocking?
|
||||||
# * 'InstanceId'<~String> - Id of instance to associate volume with
|
# * 'InstanceId'<~String> - Id of instance to associate volume with
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'attachTime'<~Time> - Time of attachment was initiated at
|
# * 'attachTime'<~Time> - Time of attachment was initiated at
|
||||||
# * 'device'<~String> - Device as it is exposed to the instance
|
# * 'device'<~String> - Device as it is exposed to the instance
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * public_ip<~String> - Public ip to assign to instance
|
# * public_ip<~String> - Public ip to assign to instance
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * instance_id<~String> - Id of instance to get console output from
|
# * instance_id<~String> - Id of instance to get console output from
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# # * response<~Fog::AWS::Response>:
|
# # * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'instanceId'<~String> - Id of instance
|
# * 'instanceId'<~String> - Id of instance
|
||||||
# * 'output'<~String> - Console output
|
# * 'output'<~String> - Console output
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * instance_id<~Array> - Ids of instances to reboot
|
# * instance_id<~Array> - Ids of instances to reboot
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# # * response<~Fog::AWS::Response>:
|
# # * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# Release an elastic IP address.
|
# Release an elastic IP address.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -19,7 +19,7 @@ unless Fog.mocking?
|
||||||
# * 'ToPort' - End of port range (or -1 for ICMP wildcard)
|
# * 'ToPort' - End of port range (or -1 for ICMP wildcard)
|
||||||
#
|
#
|
||||||
# === Returns
|
# === Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'return'<~Boolean> - success?
|
||||||
|
|
|
@ -35,7 +35,7 @@ unless Fog.mocking?
|
||||||
# * 'VirtualName'<~String> - ?
|
# * 'VirtualName'<~String> - ?
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'groupSet'<~Array>: groups the instances are members in
|
# * 'groupSet'<~Array>: groups the instances are members in
|
||||||
# * 'groupName'<~String> - Name of group
|
# * 'groupName'<~String> - Name of group
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * instance_id<~Array> - Ids of instances to terminates
|
# * instance_id<~Array> - Ids of instances to terminates
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# # * response<~Fog::AWS::Response>:
|
# # * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'requestId'<~String> - Id of request
|
||||||
# * 'instancesSet'<~Array>:
|
# * 'instancesSet'<~Array>:
|
||||||
|
|
|
@ -19,7 +19,7 @@ unless Fog.mocking?
|
||||||
# * 'x-amz-copy_source-if-unmodified-since'<~Time> - Copies object it it has not been modified since this time
|
# * 'x-amz-copy_source-if-unmodified-since'<~Time> - Copies object it it has not been modified since this time
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'ETag'<~String> - etag of new object
|
# * 'ETag'<~String> - etag of new object
|
||||||
# * 'LastModified'<~Time> - date object was last modified
|
# * 'LastModified'<~Time> - date object was last modified
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * bucket_name<~String> - name of bucket to delete
|
# * bucket_name<~String> - name of bucket to delete
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * status<~Integer> - 204
|
# * status<~Integer> - 204
|
||||||
def delete_bucket(bucket_name)
|
def delete_bucket(bucket_name)
|
||||||
request({
|
request({
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# * object_name<~String> - Name of object to delete
|
# * object_name<~String> - Name of object to delete
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * status<~Integer> - 204
|
# * status<~Integer> - 204
|
||||||
def delete_object(bucket_name, object_name)
|
def delete_object(bucket_name, object_name)
|
||||||
request({
|
request({
|
||||||
|
|
|
@ -17,7 +17,7 @@ unless Fog.mocking?
|
||||||
# value and the first occurence of delimiter to be rolled up
|
# value and the first occurence of delimiter to be rolled up
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'Delimeter'<~String> - Delimiter specified for query
|
# * 'Delimeter'<~String> - Delimiter specified for query
|
||||||
# * 'Marker'<~String> - Marker specified for query
|
# * 'Marker'<~String> - Marker specified for query
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * bucket_name<~String> - name of bucket to get location constraint for
|
# * bucket_name<~String> - name of bucket to get location constraint for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'LocationConstraint'<~String> - Location constraint of the bucket
|
# * 'LocationConstraint'<~String> - Location constraint of the bucket
|
||||||
def get_bucket_location(bucket_name)
|
def get_bucket_location(bucket_name)
|
||||||
|
|
|
@ -16,7 +16,7 @@ unless Fog.mocking?
|
||||||
# * 'If-Unmodified-Since'<~Time> - Returns object only if it has not been modified since this time, otherwise returns 412 (Precodition Failed).
|
# * 'If-Unmodified-Since'<~Time> - Returns object only if it has not been modified since this time, otherwise returns 412 (Precodition Failed).
|
||||||
# * 'Range'<~String> - Range of object to download
|
# * 'Range'<~String> - Range of object to download
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~String> - Contents of object
|
# * body<~String> - Contents of object
|
||||||
# * headers<~Hash>:
|
# * headers<~Hash>:
|
||||||
# * 'Content-Length'<~String> - Size of object contents
|
# * 'Content-Length'<~String> - Size of object contents
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * bucket_name<~String> - name of bucket to get payer for
|
# * bucket_name<~String> - name of bucket to get payer for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'Payer'<~String> - Specifies who pays for download and requests
|
# * 'Payer'<~String> - Specifies who pays for download and requests
|
||||||
def get_request_payment(bucket_name)
|
def get_request_payment(bucket_name)
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List information about S3 buckets for authorized user
|
# List information about S3 buckets for authorized user
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'Buckets'<~Hash>:
|
# * 'Buckets'<~Hash>:
|
||||||
# * 'Name'<~String> - Name of bucket
|
# * 'Name'<~String> - Name of bucket
|
||||||
|
|
|
@ -17,7 +17,7 @@ unless Fog.mocking?
|
||||||
# * 'Range'<~String> - Range of object to download
|
# * 'Range'<~String> - Range of object to download
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~String> - Contents of object
|
# * body<~String> - Contents of object
|
||||||
# * headers<~Hash>:
|
# * headers<~Hash>:
|
||||||
# * 'Content-Length'<~String> - Size of object contents
|
# * 'Content-Length'<~String> - Size of object contents
|
||||||
|
|
|
@ -12,7 +12,7 @@ unless Fog.mocking?
|
||||||
# * :location_constraint<~Symbol> - sets the location for the bucket
|
# * :location_constraint<~Symbol> - sets the location for the bucket
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * status<~Integer> - 200
|
# * status<~Integer> - 200
|
||||||
def put_bucket(bucket_name, options = {})
|
def put_bucket(bucket_name, options = {})
|
||||||
if options['LocationConstraint']
|
if options['LocationConstraint']
|
||||||
|
|
|
@ -21,7 +21,7 @@ unless Fog.mocking?
|
||||||
# * "x-amz-meta-#{name}" - Headers to be returned with object, note total size of request without body must be less than 8 KB.
|
# * "x-amz-meta-#{name}" - Headers to be returned with object, note total size of request without body must be less than 8 KB.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * headers<~Hash>:
|
# * headers<~Hash>:
|
||||||
# * 'ETag'<~String> - etag of new object
|
# * 'ETag'<~String> - etag of new object
|
||||||
def put_object(bucket_name, object_name, data, options = {})
|
def put_object(bucket_name, object_name, data, options = {})
|
||||||
|
|
|
@ -17,7 +17,7 @@ unless Fog.mocking?
|
||||||
# not valid. Each name and value can be up to 1024 bytes long.
|
# not valid. Each name and value can be up to 1024 bytes long.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
# * 'RequestId'
|
# * 'RequestId'
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
# * 'RequestId'
|
# * 'RequestId'
|
||||||
|
|
|
@ -19,7 +19,7 @@ unless Fog.mocking?
|
||||||
# bytes long.
|
# bytes long.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
# * 'RequestId'
|
# * 'RequestId'
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
# * 'RequestId'
|
# * 'RequestId'
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'AttributeNameCount' - number of unique attribute names in domain
|
# * 'AttributeNameCount' - number of unique attribute names in domain
|
||||||
# * 'AttributeNamesSizeBytes' - total size of unique attribute names, in bytes
|
# * 'AttributeNamesSizeBytes' - total size of unique attribute names, in bytes
|
||||||
|
|
|
@ -19,7 +19,7 @@ unless Fog.mocking?
|
||||||
# bytes long.
|
# bytes long.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'Attributes' - list of attribute name/values for the item
|
# * 'Attributes' - list of attribute name/values for the item
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
|
|
|
@ -13,7 +13,7 @@ unless Fog.mocking?
|
||||||
# * 'NextToken'<~String> - Offset token to start listing, defaults to nil
|
# * 'NextToken'<~String> - Offset token to start listing, defaults to nil
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
# * 'Domains' - array of domain names.
|
# * 'Domains' - array of domain names.
|
||||||
|
|
|
@ -18,7 +18,7 @@ unless Fog.mocking?
|
||||||
# be up to 1024 bytes long.
|
# be up to 1024 bytes long.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'
|
# * 'BoxUsage'
|
||||||
# * 'RequestId'
|
# * 'RequestId'
|
||||||
|
|
|
@ -9,7 +9,7 @@ module Fog
|
||||||
# * next_token<~String> - Offset token to start list, defaults to nil.
|
# * next_token<~String> - Offset token to start list, defaults to nil.
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'BoxUsage'<~Float>
|
# * 'BoxUsage'<~Float>
|
||||||
# * 'RequestId'<~String>
|
# * 'RequestId'<~String>
|
||||||
|
|
|
@ -15,7 +15,7 @@ unless Fog.mocking?
|
||||||
# * 'path'<~String> - Return objects nested in the pseudo path
|
# * 'path'<~String> - Return objects nested in the pseudo path
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * headers<~Hash>:
|
# * headers<~Hash>:
|
||||||
# * 'X-Account-Container-Count'<~String> - Count of containers
|
# * 'X-Account-Container-Count'<~String> - Count of containers
|
||||||
# * 'X-Account-Bytes-Used'<~String> - Bytes used
|
# * 'X-Account-Bytes-Used'<~String> - Bytes used
|
||||||
|
|
|
@ -12,7 +12,7 @@ unless Fog.mocking?
|
||||||
# * 'marker'<~String> - Only return objects with name greater than this value
|
# * 'marker'<~String> - Only return objects with name greater than this value
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Array>:
|
# * body<~Array>:
|
||||||
# * container<~Hash>:
|
# * container<~Hash>:
|
||||||
# * 'bytes'<~Integer>: - Number of bytes used by container
|
# * 'bytes'<~Integer>: - Number of bytes used by container
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * container<~String> - Name of container to retrieve info for
|
# * container<~String> - Name of container to retrieve info for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * headers<~Hash>:
|
# * headers<~Hash>:
|
||||||
# * 'X-Container-Object-Count'<~String> - Count of containers
|
# * 'X-Container-Object-Count'<~String> - Count of containers
|
||||||
# * 'X-Container-Bytes-Used'<~String> - Bytes used
|
# * 'X-Container-Bytes-Used'<~String> - Bytes used
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List number of containers and total bytes stored
|
# List number of containers and total bytes stored
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * headers<~Hash>:
|
# * headers<~Hash>:
|
||||||
# * 'X-Account-Container-Count'<~String> - Count of containers
|
# * 'X-Account-Container-Count'<~String> - Count of containers
|
||||||
# * 'X-Account-Bytes-Used'<~String> - Bytes used
|
# * 'X-Account-Bytes-Used'<~String> - Bytes used
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless Fog.mocking?
|
||||||
# * options<~Hash> - Name
|
# * options<~Hash> - Name
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * 'image'<~Hash>:
|
# * 'image'<~Hash>:
|
||||||
# * 'created'<~Time> - Creation time
|
# * 'created'<~Time> - Creation time
|
||||||
# * 'id'<~Integer> - Id of image
|
# * 'id'<~Integer> - Id of image
|
||||||
|
|
|
@ -19,7 +19,7 @@ unless Fog.mocking?
|
||||||
# * 'path'<~String> - Path to file (255 bytes total of path strings)
|
# * 'path'<~String> - Path to file (255 bytes total of path strings)
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'server'<~Hash>:
|
# * 'server'<~Hash>:
|
||||||
# * 'addresses'<~Hash>:
|
# * 'addresses'<~Hash>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * server_id<~Integer> - Id of server to get details for
|
# * server_id<~Integer> - Id of server to get details for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'server'<~Hash>:
|
# * 'server'<~Hash>:
|
||||||
# * 'addresses'<~Hash>:
|
# * 'addresses'<~Hash>:
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * server_id<~Integer> - Id of server to list addresses for
|
# * server_id<~Integer> - Id of server to list addresses for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'addresses'<~Array>:
|
# * 'addresses'<~Array>:
|
||||||
# * 'public'<~Array> - Public ip addresses
|
# * 'public'<~Array> - Public ip addresses
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List all images (IDs and names only)
|
# List all images (IDs and names only)
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'id'<~Integer> - Id of the flavor
|
# * 'id'<~Integer> - Id of the flavor
|
||||||
# * 'name'<~String> - Name of the flavor
|
# * 'name'<~String> - Name of the flavor
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List all images (IDs and names only)
|
# List all images (IDs and names only)
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'id'<~Integer> - Id of the flavor
|
# * 'id'<~Integer> - Id of the flavor
|
||||||
# * 'name'<~String> - Name of the flavor
|
# * 'name'<~String> - Name of the flavor
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List all images (IDs and names only)
|
# List all images (IDs and names only)
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'id'<~Integer> - Id of the image
|
# * 'id'<~Integer> - Id of the image
|
||||||
# * 'name'<~String> - Name of the image
|
# * 'name'<~String> - Name of the image
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List all images
|
# List all images
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'id'<~Integer> - Id of the image
|
# * 'id'<~Integer> - Id of the image
|
||||||
# * 'name'<~String> - Name of the image
|
# * 'name'<~String> - Name of the image
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * server_id<~Integer> - Id of server to list addresses for
|
# * server_id<~Integer> - Id of server to list addresses for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'private'<~Array> - Public ip addresses
|
# * 'private'<~Array> - Public ip addresses
|
||||||
def list_private_addresses
|
def list_private_addresses
|
||||||
|
|
|
@ -10,7 +10,7 @@ unless Fog.mocking?
|
||||||
# * server_id<~Integer> - Id of server to list addresses for
|
# * server_id<~Integer> - Id of server to list addresses for
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'public'<~Array> - Public ip addresses
|
# * 'public'<~Array> - Public ip addresses
|
||||||
def list_public_addresses
|
def list_public_addresses
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List all servers (IDs and names only)
|
# List all servers (IDs and names only)
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'servers'<~Array>:
|
# * 'servers'<~Array>:
|
||||||
# * 'id'<~Integer> - Id of server
|
# * 'id'<~Integer> - Id of server
|
||||||
|
|
|
@ -7,7 +7,7 @@ unless Fog.mocking?
|
||||||
# List all servers details
|
# List all servers details
|
||||||
#
|
#
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Fog::AWS::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'servers'<~Array>:
|
# * 'servers'<~Array>:
|
||||||
# * 'id'<~Integer> - Id of server
|
# * 'id'<~Integer> - Id of server
|
||||||
|
|
Loading…
Reference in a new issue