awscosts 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -0
- data/Rakefile +1 -0
- data/awscosts.gemspec +2 -0
- data/fixtures/vcr_cassettes/AWSCosts_EBS.yml +225 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2OnDemand/EC2_type_of_linux.yml +726 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2OnDemand/EC2_type_of_rhel.yml +740 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2OnDemand/EC2_type_of_sles.yml +740 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2OnDemand/EC2_type_of_windows.yml +450 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2OnDemand/EC2_type_of_windows_with_sql.yml +450 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2OnDemand/EC2_type_of_windows_with_sql_web.yml +450 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2ReservedInstances/EC2_type_of_linux.yml +1810 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2ReservedInstances/EC2_type_of_rhel.yml +1810 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2ReservedInstances/EC2_type_of_sles.yml +1810 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2ReservedInstances/EC2_type_of_windows.yml +1609 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2ReservedInstances/EC2_type_of_windows_with_sql.yml +1810 -0
- data/fixtures/vcr_cassettes/AWSCosts_EC2ReservedInstances/EC2_type_of_windows_with_sql_web.yml +1810 -0
- data/fixtures/vcr_cassettes/AWSCosts_ELB.yml +119 -0
- data/fixtures/vcr_cassettes/AWSCosts_EMR.yml +767 -0
- data/fixtures/vcr_cassettes/AWSCosts_S3DataTransfer.yml +369 -0
- data/fixtures/vcr_cassettes/AWSCosts_S3Requests.yml +170 -0
- data/fixtures/vcr_cassettes/AWSCosts_S3Storage.yml +591 -0
- data/lib/awscosts/cache.rb +22 -0
- data/lib/awscosts/ec2.rb +7 -2
- data/lib/awscosts/ec2_ebs.rb +36 -0
- data/lib/awscosts/ec2_elb.rb +2 -6
- data/lib/awscosts/ec2_on_demand.rb +6 -14
- data/lib/awscosts/ec2_reserved_instances.rb +4 -11
- data/lib/awscosts/emr.rb +2 -7
- data/lib/awscosts/s3_data_transfer.rb +2 -3
- data/lib/awscosts/s3_requests.rb +2 -5
- data/lib/awscosts/s3_storage.rb +2 -6
- data/lib/awscosts/version.rb +1 -1
- data/lib/awscosts.rb +1 -0
- data/spec/awscosts/ec2_ebs_spec.rb +42 -0
- data/spec/awscosts/ec2_elb_spec.rb +12 -0
- data/spec/awscosts/ec2_on_demand_spec.rb +14 -0
- data/spec/awscosts/ec2_reserved_instances_spec.rb +28 -0
- data/spec/awscosts/emr_spec.rb +15 -0
- data/spec/awscosts/s3_data_transfer_spec.rb +11 -0
- data/spec/awscosts/s3_requests_spec.rb +10 -0
- data/spec/awscosts/s3_storage_spec.rb +12 -0
- data/spec/spec_helper.rb +9 -0
- metadata +72 -4
@@ -0,0 +1,369 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://aws.amazon.com/s3/pricing/pricing-data-transfer.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
connection:
|
11
|
+
- close
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Mon, 27 May 2013 05:46:06 GMT
|
19
|
+
server:
|
20
|
+
- Server
|
21
|
+
x-amz-id-1:
|
22
|
+
- 1TT5TJKHRYGFQDXWD6QB
|
23
|
+
x-amz-id-2:
|
24
|
+
- wiYRtnpik1vGEmKk001RQOt+0G2zzEXr93XkCOSiPyRb5quH4svfmA==
|
25
|
+
cache-control:
|
26
|
+
- max-age=0
|
27
|
+
expires:
|
28
|
+
- Mon, 27 May 2013 05:46:06 GMT
|
29
|
+
content-type:
|
30
|
+
- text/html; charset=UTF-8
|
31
|
+
set-cookie:
|
32
|
+
- x-wl-uid=11iEg9vQ8FsXDv1cBtvanNwADdWk9DhChECOzuraxvhzQW11gQY+zW5pqMav1uFHUDw0YZKk5dM8=;
|
33
|
+
path=/; domain=.amazon.com; expires=Tue, 01-Jan-2036 00:00:01 GMT
|
34
|
+
- aws-session-id-time=2082758401l; path=/; domain=.amazon.com; expires=Tue,
|
35
|
+
01-Jan-2036 00:00:01 GMT
|
36
|
+
- aws-session-id=183-5408326-4820148; path=/; domain=.amazon.com; expires=Tue,
|
37
|
+
01-Jan-2036 00:00:01 GMT
|
38
|
+
vary:
|
39
|
+
- User-Agent
|
40
|
+
transfer-encoding:
|
41
|
+
- chunked
|
42
|
+
body:
|
43
|
+
encoding: US-ASCII
|
44
|
+
string: ! "\n\n {\n \"vers\": 0.01,\n \"config\": {\n \"currencies\":
|
45
|
+
[\"USD\"],\n \"valueColumns\": [\"pricing\"],\n \"rate\": \"perGB\",\n
|
46
|
+
\ \"regions\": [\n {\n \"region\": \"us-east\",\n
|
47
|
+
\ \"types\": [\n {\n \"name\":
|
48
|
+
\"dataXferInS3\",\n \"tiers\": [\n {\n
|
49
|
+
\ \"name\": \"allDataXferIn\",\n \"prices\":
|
50
|
+
{\n \"USD\": \"0.000\"\n }\n
|
51
|
+
\ }\n ]\n },\n
|
52
|
+
\ {\n \"name\": \"dataXferOutS3CrossRegion\",\n
|
53
|
+
\ \"tiers\": [\n {\n \"name\":
|
54
|
+
\"inRegionUSStandard\",\n \"prices\": {\n \"USD\":
|
55
|
+
\"0.000\"\n }\n },\n
|
56
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
57
|
+
\ \"prices\": {\n \"USD\":
|
58
|
+
\"0.020\"\n }\n }\n
|
59
|
+
\ ]\n },\n {\n
|
60
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
61
|
+
[\n {\n \"name\":
|
62
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
63
|
+
\"0.000\"\n }\n },\n
|
64
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
65
|
+
\ \"prices\": {\n \"USD\":
|
66
|
+
\"0.120\"\n }\n },\n
|
67
|
+
\ {\n \"name\": \"next40TBout\",\n
|
68
|
+
\ \"prices\": {\n \"USD\":
|
69
|
+
\"0.090\"\n }\n },\n
|
70
|
+
\ {\n \"name\": \"next100TBout\",\n
|
71
|
+
\ \"prices\": {\n \"USD\":
|
72
|
+
\"0.070\"\n }\n },\n
|
73
|
+
\ {\n \"name\": \"next350TBout\",\n
|
74
|
+
\ \"prices\": {\n \"USD\":
|
75
|
+
\"0.050\"\n }\n },\n
|
76
|
+
\ {\n \"name\": \"next05PBout\",\n
|
77
|
+
\ \"prices\": {\n \"USD\":
|
78
|
+
\"contactus\"\n }\n },\n
|
79
|
+
\ {\n \"name\": \"next4PBout\",\n
|
80
|
+
\ \"prices\": {\n \"USD\":
|
81
|
+
\"contactus\"\n }\n },\n
|
82
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
83
|
+
\ \"prices\": {\n \"USD\":
|
84
|
+
\"contactus\"\n }\n }\n
|
85
|
+
\ ]\n }\n ]\n },\n
|
86
|
+
\ {\n \"region\": \"us-west-2\",\n \"types\":
|
87
|
+
[\n {\n \"name\": \"dataXferInS3\",\n
|
88
|
+
\ \"tiers\": [\n {\n \"name\":
|
89
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
90
|
+
\"0.000\"\n }\n }\n
|
91
|
+
\ ]\n }, \n {\n
|
92
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
93
|
+
[\n {\n \"name\":
|
94
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
95
|
+
\"0.000\"\n }\n },\n
|
96
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
97
|
+
\ \"prices\": {\n \"USD\":
|
98
|
+
\"0.020\"\n }\n }\n
|
99
|
+
\ ]\n },\n {\n
|
100
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
101
|
+
[\n {\n \"name\":
|
102
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
103
|
+
\"0.000\"\n }\n },\n
|
104
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
105
|
+
\ \"prices\": {\n \"USD\":
|
106
|
+
\"0.120\"\n }\n },\n
|
107
|
+
\ {\n \"name\": \"next40TBout\",\n
|
108
|
+
\ \"prices\": {\n \"USD\":
|
109
|
+
\"0.090\"\n }\n },\n
|
110
|
+
\ {\n \"name\": \"next100TBout\",\n
|
111
|
+
\ \"prices\": {\n \"USD\":
|
112
|
+
\"0.070\"\n }\n },\n
|
113
|
+
\ {\n \"name\": \"next350TBout\",\n
|
114
|
+
\ \"prices\": {\n \"USD\":
|
115
|
+
\"0.050\"\n }\n },\n
|
116
|
+
\ {\n \"name\": \"next05PBout\",\n
|
117
|
+
\ \"prices\": {\n \"USD\":
|
118
|
+
\"contactus\"\n }\n },\n
|
119
|
+
\ {\n \"name\": \"next4PBout\",\n
|
120
|
+
\ \"prices\": {\n \"USD\":
|
121
|
+
\"contactus\"\n }\n },\n
|
122
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
123
|
+
\ \"prices\": {\n \"USD\":
|
124
|
+
\"contactus\"\n }\n }\n
|
125
|
+
\ ]\n }\n ]\n },\n
|
126
|
+
\ {\n \"region\": \"us-west\",\n \"types\":
|
127
|
+
[\n {\n \"name\": \"dataXferInS3\",\n
|
128
|
+
\ \"tiers\": [\n {\n \"name\":
|
129
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
130
|
+
\"0.000\"\n }\n }\n
|
131
|
+
\ ]\n },\n {\n
|
132
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
133
|
+
[\n {\n \"name\":
|
134
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
135
|
+
\"0.000\"\n }\n },\n
|
136
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
137
|
+
\ \"prices\": {\n \"USD\":
|
138
|
+
\"0.020\"\n }\n }\n
|
139
|
+
\ ]\n },\n {\n
|
140
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
141
|
+
[\n {\n \"name\":
|
142
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
143
|
+
\"0.000\"\n }\n },\n
|
144
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
145
|
+
\ \"prices\": {\n \"USD\":
|
146
|
+
\"0.120\"\n }\n },\n
|
147
|
+
\ {\n \"name\": \"next40TBout\",\n
|
148
|
+
\ \"prices\": {\n \"USD\":
|
149
|
+
\"0.090\"\n }\n },\n
|
150
|
+
\ {\n \"name\": \"next100TBout\",\n
|
151
|
+
\ \"prices\": {\n \"USD\":
|
152
|
+
\"0.070\"\n }\n },\n
|
153
|
+
\ {\n \"name\": \"next350TBout\",\n
|
154
|
+
\ \"prices\": {\n \"USD\":
|
155
|
+
\"0.050\"\n }\n },\n
|
156
|
+
\ {\n \"name\": \"next05PBout\",\n
|
157
|
+
\ \"prices\": {\n \"USD\":
|
158
|
+
\"contactus\"\n }\n },\n
|
159
|
+
\ {\n \"name\": \"next4PBout\",\n
|
160
|
+
\ \"prices\": {\n \"USD\":
|
161
|
+
\"contactus\"\n }\n },\n
|
162
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
163
|
+
\ \"prices\": {\n \"USD\":
|
164
|
+
\"contactus\"\n }\n }\n
|
165
|
+
\ ]\n }\n ] \n },\n
|
166
|
+
\ {\n \"region\": \"eu-ireland\",\n \"types\":
|
167
|
+
[\n {\n \"name\": \"dataXferInS3\",\n
|
168
|
+
\ \"tiers\": [\n {\n \"name\":
|
169
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
170
|
+
\"0.000\"\n }\n }\n
|
171
|
+
\ ]\n },\n {\n
|
172
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
173
|
+
[\n {\n \"name\":
|
174
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
175
|
+
\"0.000\"\n }\n },\n
|
176
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
177
|
+
\ \"prices\": {\n \"USD\":
|
178
|
+
\"0.020\"\n }\n }\n
|
179
|
+
\ ]\n },\n {\n
|
180
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
181
|
+
[\n {\n \"name\":
|
182
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
183
|
+
\"0.000\"\n }\n },\n
|
184
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
185
|
+
\ \"prices\": {\n \"USD\":
|
186
|
+
\"0.120\"\n }\n },\n
|
187
|
+
\ {\n \"name\": \"next40TBout\",\n
|
188
|
+
\ \"prices\": {\n \"USD\":
|
189
|
+
\"0.090\"\n }\n },\n
|
190
|
+
\ {\n \"name\": \"next100TBout\",\n
|
191
|
+
\ \"prices\": {\n \"USD\":
|
192
|
+
\"0.070\"\n }\n },\n
|
193
|
+
\ {\n \"name\": \"next350TBout\",\n
|
194
|
+
\ \"prices\": {\n \"USD\":
|
195
|
+
\"0.050\"\n }\n },\n
|
196
|
+
\ {\n \"name\": \"next05PBout\",\n
|
197
|
+
\ \"prices\": {\n \"USD\":
|
198
|
+
\"contactus\"\n }\n },\n
|
199
|
+
\ {\n \"name\": \"next4PBout\",\n
|
200
|
+
\ \"prices\": {\n \"USD\":
|
201
|
+
\"contactus\"\n }\n },\n
|
202
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
203
|
+
\ \"prices\": {\n \"USD\":
|
204
|
+
\"contactus\"\n }\n }\n
|
205
|
+
\ ]\n }\n ]\n },\n
|
206
|
+
\ {\n \"region\": \"apac-sin\",\n \"types\":
|
207
|
+
[\n {\n \"name\": \"dataXferInS3\",\n
|
208
|
+
\ \"tiers\": [\n {\n \"name\":
|
209
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
210
|
+
\"0.000\"\n }\n }\n
|
211
|
+
\ ]\n },\n {\n
|
212
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
213
|
+
[\n {\n \"name\":
|
214
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
215
|
+
\"0.000\"\n }\n },\n
|
216
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
217
|
+
\ \"prices\": {\n \"USD\":
|
218
|
+
\"0.090\"\n }\n }\n
|
219
|
+
\ ]\n },\n {\n
|
220
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
221
|
+
[\n {\n \"name\":
|
222
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
223
|
+
\"0.000\"\n }\n },\n
|
224
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
225
|
+
\ \"prices\": {\n \"USD\":
|
226
|
+
\"0.190\"\n }\n },\n
|
227
|
+
\ {\n \"name\": \"next40TBout\",\n
|
228
|
+
\ \"prices\": {\n \"USD\":
|
229
|
+
\"0.150\"\n }\n },\n
|
230
|
+
\ {\n \"name\": \"next100TBout\",\n
|
231
|
+
\ \"prices\": {\n \"USD\":
|
232
|
+
\"0.130\"\n }\n },\n
|
233
|
+
\ {\n \"name\": \"next350TBout\",\n
|
234
|
+
\ \"prices\": {\n \"USD\":
|
235
|
+
\"0.120\"\n }\n },\n
|
236
|
+
\ {\n \"name\": \"next05PBout\",\n
|
237
|
+
\ \"prices\": {\n \"USD\":
|
238
|
+
\"contactus\"\n }\n },\n
|
239
|
+
\ {\n \"name\": \"next4PBout\",\n
|
240
|
+
\ \"prices\": {\n \"USD\":
|
241
|
+
\"contactus\"\n }\n },\n
|
242
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
243
|
+
\ \"prices\": {\n \"USD\":
|
244
|
+
\"contactus\"\n }\n }\n
|
245
|
+
\ ]\n }\n ]\n },\n
|
246
|
+
\ {\n \"region\": \"apac-tokyo\",\n \"types\":
|
247
|
+
[\n {\n \"name\": \"dataXferInS3\",\n
|
248
|
+
\ \"tiers\": [\n {\n \"name\":
|
249
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
250
|
+
\"0.000\"\n }\n }\n
|
251
|
+
\ ]\n },\n {\n
|
252
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
253
|
+
[\n {\n \"name\":
|
254
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
255
|
+
\"0.000\"\n }\n },\n
|
256
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
257
|
+
\ \"prices\": {\n \"USD\":
|
258
|
+
\"0.090\"\n }\n }\n
|
259
|
+
\ ]\n },\n {\n
|
260
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
261
|
+
[\n {\n \"name\":
|
262
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
263
|
+
\"0.000\"\n }\n },\n
|
264
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
265
|
+
\ \"prices\": {\n \"USD\":
|
266
|
+
\"0.201\"\n }\n },\n
|
267
|
+
\ {\n \"name\": \"next40TBout\",\n
|
268
|
+
\ \"prices\": {\n \"USD\":
|
269
|
+
\"0.158\"\n }\n },\n
|
270
|
+
\ {\n \"name\": \"next100TBout\",\n
|
271
|
+
\ \"prices\": {\n \"USD\":
|
272
|
+
\"0.137\"\n }\n },\n
|
273
|
+
\ {\n \"name\": \"next350TBout\",\n
|
274
|
+
\ \"prices\": {\n \"USD\":
|
275
|
+
\"0.127\"\n }\n },\n
|
276
|
+
\ {\n \"name\": \"next05PBout\",\n
|
277
|
+
\ \"prices\": {\n \"USD\":
|
278
|
+
\"contactus\"\n }\n },\n
|
279
|
+
\ {\n \"name\": \"next4PBout\",\n
|
280
|
+
\ \"prices\": {\n \"USD\":
|
281
|
+
\"contactus\"\n }\n },\n
|
282
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
283
|
+
\ \"prices\": {\n \"USD\":
|
284
|
+
\"contactus\"\n }\n }\n
|
285
|
+
\ ]\n }\n ]\n },\n\t\t\t{\n
|
286
|
+
\ \"region\": \"apac-syd\",\n \"types\": [\n
|
287
|
+
\ {\n \"name\": \"dataXferInS3\",\n
|
288
|
+
\ \"tiers\": [\n {\n \"name\":
|
289
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
290
|
+
\"0.000\"\n }\n }\n
|
291
|
+
\ ]\n },\n {\n
|
292
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
293
|
+
[\n {\n \"name\":
|
294
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
295
|
+
\"0.000\"\n }\n },\n
|
296
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
297
|
+
\ \"prices\": {\n \"USD\":
|
298
|
+
\"0.140\"\n }\n }\n
|
299
|
+
\ ]\n },\n {\n
|
300
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
301
|
+
[\n {\n \"name\":
|
302
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
303
|
+
\"0.000\"\n }\n },\n
|
304
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
305
|
+
\ \"prices\": {\n \"USD\":
|
306
|
+
\"0.190\"\n }\n },\n
|
307
|
+
\ {\n \"name\": \"next40TBout\",\n
|
308
|
+
\ \"prices\": {\n \"USD\":
|
309
|
+
\"0.170\"\n }\n },\n
|
310
|
+
\ {\n \"name\": \"next100TBout\",\n
|
311
|
+
\ \"prices\": {\n \"USD\":
|
312
|
+
\"0.150\"\n }\n },\n
|
313
|
+
\ {\n \"name\": \"next350TBout\",\n
|
314
|
+
\ \"prices\": {\n \"USD\":
|
315
|
+
\"0.140\"\n }\n },\n
|
316
|
+
\ {\n \"name\": \"next05PBout\",\n
|
317
|
+
\ \"prices\": {\n \"USD\":
|
318
|
+
\"contactus\"\n }\n },\n
|
319
|
+
\ {\n \"name\": \"next4PBout\",\n
|
320
|
+
\ \"prices\": {\n \"USD\":
|
321
|
+
\"contactus\"\n }\n },\n
|
322
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
323
|
+
\ \"prices\": {\n \"USD\":
|
324
|
+
\"contactus\"\n }\n }\n
|
325
|
+
\ ]\n }\n ]\n },\n
|
326
|
+
\ {\n \"region\": \"sa-east-1\",\n \"types\":
|
327
|
+
[\n {\n \"name\": \"dataXferInS3\",\n
|
328
|
+
\ \"tiers\": [\n {\n \"name\":
|
329
|
+
\"allDataXferIn\",\n \"prices\": {\n \"USD\":
|
330
|
+
\"0.000\"\n }\n }\n
|
331
|
+
\ ]\n },\n {\n
|
332
|
+
\ \"name\": \"dataXferOutS3CrossRegion\",\n \"tiers\":
|
333
|
+
[\n {\n \"name\":
|
334
|
+
\"inRegion\",\n \"prices\": {\n \"USD\":
|
335
|
+
\"0.000\"\n }\n },\n
|
336
|
+
\ {\n \"name\": \"crossRegionS3\",\n
|
337
|
+
\ \"prices\": {\n \"USD\":
|
338
|
+
\"0.160\"\n }\n }\n
|
339
|
+
\ ]\n },\n {\n
|
340
|
+
\ \"name\": \"dataXferOutS3\",\n \"tiers\":
|
341
|
+
[\n {\n \"name\":
|
342
|
+
\"firstGBout\",\n \"prices\": {\n \"USD\":
|
343
|
+
\"0.000\"\n }\n },\n
|
344
|
+
\ {\n \"name\": \"upTo10TBout\",\n
|
345
|
+
\ \"prices\": {\n \"USD\":
|
346
|
+
\"0.250\"\n }\n },\n
|
347
|
+
\ {\n \"name\": \"next40TBout\",\n
|
348
|
+
\ \"prices\": {\n \"USD\":
|
349
|
+
\"0.230\"\n }\n },\n
|
350
|
+
\ {\n \"name\": \"next100TBout\",\n
|
351
|
+
\ \"prices\": {\n \"USD\":
|
352
|
+
\"0.210\"\n }\n },\n
|
353
|
+
\ {\n \"name\": \"next350TBout\",\n
|
354
|
+
\ \"prices\": {\n \"USD\":
|
355
|
+
\"0.190\"\n }\n },\n
|
356
|
+
\ {\n \"name\": \"next05PBout\",\n
|
357
|
+
\ \"prices\": {\n \"USD\":
|
358
|
+
\"contactus\"\n }\n },\n
|
359
|
+
\ {\n \"name\": \"next4PBout\",\n
|
360
|
+
\ \"prices\": {\n \"USD\":
|
361
|
+
\"contactus\"\n }\n },\n
|
362
|
+
\ {\n \"name\": \"greater5PBout\",\n
|
363
|
+
\ \"prices\": {\n \"USD\":
|
364
|
+
\"contactus\"\n }\n }\n
|
365
|
+
\ ]\n }\n ]\n }\n
|
366
|
+
\ ]\n }\n}\n\n\n\n"
|
367
|
+
http_version: '1.1'
|
368
|
+
recorded_at: Mon, 27 May 2013 05:46:11 GMT
|
369
|
+
recorded_with: VCR 2.0.1
|
@@ -0,0 +1,170 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://aws.amazon.com/s3/pricing/pricing-requests.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
connection:
|
11
|
+
- close
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Mon, 27 May 2013 05:48:33 GMT
|
19
|
+
server:
|
20
|
+
- Server
|
21
|
+
x-amz-id-1:
|
22
|
+
- 0TM5HZS5FNWZW7TN6CMB
|
23
|
+
x-amz-id-2:
|
24
|
+
- GxUSJTG2wexB21h/sG3UeSzhHcdDqRlZtHI87p/g3WHzAJax+QiBsw==
|
25
|
+
cache-control:
|
26
|
+
- max-age=0
|
27
|
+
expires:
|
28
|
+
- Mon, 27 May 2013 05:48:33 GMT
|
29
|
+
content-type:
|
30
|
+
- text/html; charset=UTF-8
|
31
|
+
set-cookie:
|
32
|
+
- x-wl-uid=1S9AM3Ln55II36B0ZS0QxjAnrQMuSvFs9Dsqbr+p/3eHKuNel03rPalysSkdeiXy0nWBcL5lEfOA=;
|
33
|
+
path=/; domain=.amazon.com; expires=Tue, 01-Jan-2036 00:00:01 GMT
|
34
|
+
- aws-session-id-time=2082758401l; path=/; domain=.amazon.com; expires=Tue,
|
35
|
+
01-Jan-2036 00:00:01 GMT
|
36
|
+
- aws-session-id=183-3782051-3835448; path=/; domain=.amazon.com; expires=Tue,
|
37
|
+
01-Jan-2036 00:00:01 GMT
|
38
|
+
vary:
|
39
|
+
- User-Agent
|
40
|
+
transfer-encoding:
|
41
|
+
- chunked
|
42
|
+
body:
|
43
|
+
encoding: US-ASCII
|
44
|
+
string: ! "\n\n {\n \"vers\": 0.01,\n \"config\": {\n \"currencies\":
|
45
|
+
[\"USD\"],\n \"valueColumns\": [\"pricing\"],\n \"regions\":
|
46
|
+
[\n {\n \"region\": \"us-east\",\n \"footnotes\":
|
47
|
+
{\n \"†\": \"chargesForGlacierDeletes03\",\n \"††\":
|
48
|
+
\"glacierNotes01\"\n },\n \"tiers\": [\n {\n
|
49
|
+
\ \"name\": \"putcopypost\",\n \"prices\":
|
50
|
+
{\n \"USD\": \"0.005\"\n },\n
|
51
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
52
|
+
\ \"name\": \"glacierRequests\",\n \"prices\":
|
53
|
+
{\n \"USD\": \"0.05\"\n },\n
|
54
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
55
|
+
\ \"name\": \"deleteRequests\",\n \"prices\":
|
56
|
+
{\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t },\n \"rate\":
|
57
|
+
\"per1kReq\"\n },\n {\n \"name\":
|
58
|
+
\"getEtc\",\n \"prices\": {\n \"USD\":
|
59
|
+
\"0.004\"\n },\n \"rate\": \"per10kReq\"\n
|
60
|
+
\ },\n\t\t\t\t\t{\n \"name\": \"glacierDataRestore\",\n
|
61
|
+
\ \"prices\": {\n\t\t\t\t\t \"USD\": \"Free ††\"\n\t\t\t\t\t
|
62
|
+
\ }\n }\n ]\n },\n {\n
|
63
|
+
\ \"region\": \"us-west-2\",\n \"footnotes\":
|
64
|
+
{\n \"†\": \"chargesForGlacierDeletes03\",\n \"††\":
|
65
|
+
\"glacierNotes01\"\n },\n \"tiers\": [\n {\n
|
66
|
+
\ \"name\": \"putcopypost\",\n \"prices\":
|
67
|
+
{\n \"USD\": \"0.005\"\n },\n
|
68
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
69
|
+
\ \"name\": \"glacierRequests\",\n \"prices\":
|
70
|
+
{\n \"USD\": \"0.05\"\n },\n
|
71
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
72
|
+
\ \"name\": \"deleteRequests\",\n \"prices\":
|
73
|
+
{\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t },\n \"rate\":
|
74
|
+
\"per1kReq\"\n },\n {\n \"name\":
|
75
|
+
\"getEtc\",\n \"prices\": {\n \"USD\":
|
76
|
+
\"0.004\"\n },\n \"rate\": \"per10kReq\"\n
|
77
|
+
\ },\n\t\t\t\t\t{\n \"name\": \"glacierDataRestore\",\n
|
78
|
+
\ \"prices\": {\n\t\t\t\t\t \"USD\": \"Free ††\"\n\t\t\t\t\t
|
79
|
+
\ }\n }\n ]\n },\n {\n
|
80
|
+
\ \"region\": \"us-west\",\n \"footnotes\": {\n
|
81
|
+
\ \"†\": \"chargesForGlacierDeletes033\",\n \"††\":
|
82
|
+
\"glacierNotes011\"\n },\n \"tiers\": [\n {\n
|
83
|
+
\ \"name\": \"putcopypost\",\n \"prices\":
|
84
|
+
{\n \"USD\": \"0.0055\"\n },\n
|
85
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
86
|
+
\ \"name\": \"glacierRequests\",\n \"prices\":
|
87
|
+
{\n \"USD\": \"0.055\"\n },\n
|
88
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
89
|
+
\ \"name\": \"deleteRequests\",\n \"prices\":
|
90
|
+
{\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t },\n \"rate\":
|
91
|
+
\"per1kReq\"\n },\n {\n \"name\":
|
92
|
+
\"getEtc\",\n \"prices\": {\n \"USD\":
|
93
|
+
\"0.0044\"\n },\n \"rate\":
|
94
|
+
\"per10kReq\"\n },\n\t\t\t\t\t{\n \"name\":
|
95
|
+
\"glacierDataRestore\",\n \"prices\": {\n\t\t\t\t\t
|
96
|
+
\ \"USD\": \"Free ††\"\n\t\t\t\t\t }\n }\n
|
97
|
+
\ ]\n },\n {\n \"region\":
|
98
|
+
\"eu-ireland\",\n \"footnotes\": {\n \"†\":
|
99
|
+
\"chargesForGlacierDeletes033\",\n \"††\":
|
100
|
+
\"glacierNotes011\"\n },\n \"tiers\": [\n {\n
|
101
|
+
\ \"name\": \"putcopypost\",\n \"prices\":
|
102
|
+
{\n \"USD\": \"0.005\"\n },\n
|
103
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
104
|
+
\ \"name\": \"glacierRequests\",\n \"prices\":
|
105
|
+
{\n \"USD\": \"0.055\"\n },\n
|
106
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
107
|
+
\ \"name\": \"deleteRequests\",\n \"prices\":
|
108
|
+
{\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t },\n \"rate\":
|
109
|
+
\"per1kReq\"\n },\n {\n \"name\":
|
110
|
+
\"getEtc\",\n \"prices\": {\n \"USD\":
|
111
|
+
\"0.004\"\n },\n \"rate\": \"per10kReq\"\n
|
112
|
+
\ },\n\t\t\t\t\t{\n \"name\": \"glacierDataRestore\",\n
|
113
|
+
\ \"prices\": {\n\t\t\t\t\t \"USD\": \"Free ††\"\n\t\t\t\t\t
|
114
|
+
\ }\n }\n ]\n },\n {\n
|
115
|
+
\ \"region\": \"apac-sin\",\n \"footnotes\":
|
116
|
+
{\n \"†\": \"noChargeForDeletes\"\n },\n
|
117
|
+
\ \"tiers\": [\n {\n \"name\":
|
118
|
+
\"putcopypost\",\n \"prices\": {\n \"USD\":
|
119
|
+
\"0.005\"\n },\n \"rate\": \"per1kReq\"\n
|
120
|
+
\ },\n\t\t\t\t\t{\n \"name\": \"deleteRequests\",\n
|
121
|
+
\ \"prices\": {\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t
|
122
|
+
\ },\n \"rate\": \"per1kReq\"\n },\n
|
123
|
+
\ {\n \"name\": \"getEtc\",\n \"prices\":
|
124
|
+
{\n \"USD\": \"0.004\"\n },\n
|
125
|
+
\ \"rate\": \"per10kReq\"\n }\n ]\n
|
126
|
+
\ },\n {\n \"region\": \"apac-tokyo\",\n
|
127
|
+
\ \"footnotes\": {\n \"†\": \"chargesForGlacierDeletes036\",\n
|
128
|
+
\ \"††\": \"glacierNotes012\"\n },\n
|
129
|
+
\ \"tiers\": [\n {\n \"name\":
|
130
|
+
\"putcopypost\",\n \"prices\": {\n \"USD\":
|
131
|
+
\"0.005\"\n },\n \"rate\": \"per1kReq\"\n
|
132
|
+
\ },\n\t\t\t\t\t{\n \"name\": \"glacierRequests\",\n
|
133
|
+
\ \"prices\": {\n \"USD\":
|
134
|
+
\"0.060\"\n },\n \"rate\": \"per1kReq\"\n
|
135
|
+
\ },\n\t\t\t\t\t{\n \"name\": \"deleteRequests\",\n
|
136
|
+
\ \"prices\": {\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t
|
137
|
+
\ },\n \"rate\": \"per1kReq\"\n },\n
|
138
|
+
\ {\n \"name\": \"getEtc\",\n \"prices\":
|
139
|
+
{\n \"USD\": \"0.004\"\n },\n
|
140
|
+
\ \"rate\": \"per10kReq\"\n },\n\t\t\t\t\t{\n
|
141
|
+
\ \"name\": \"glacierDataRestore\",\n \"prices\":
|
142
|
+
{\n\t\t\t\t\t \"USD\": \"Free ††\"\n\t\t\t\t\t }\n
|
143
|
+
\ }\n ]\n },\n\t\t\t{\n \"region\":
|
144
|
+
\"apac-syd\",\n \"footnotes\": {\n \"†\":
|
145
|
+
\"noChargeForDeletes\"\n },\n \"tiers\": [\n
|
146
|
+
\ {\n \"name\": \"putcopypost\",\n
|
147
|
+
\ \"prices\": {\n \"USD\":
|
148
|
+
\"0.0055\"\n },\n \"rate\":
|
149
|
+
\"per1kReq\"\n },\n\t\t\t\t\t{\n \"name\":
|
150
|
+
\"deleteRequests\",\n \"prices\": {\n\t\t\t\t\t \"USD\":
|
151
|
+
\"Free †\"\n\t\t\t\t\t }\n },\n {\n
|
152
|
+
\ \"name\": \"getEtc\",\n \"prices\":
|
153
|
+
{\n \"USD\": \"0.0044\"\n },\n
|
154
|
+
\ \"rate\": \"per10kReq\"\n }\n ]\n
|
155
|
+
\ },\n {\n \"region\": \"sa-east-1\",\n
|
156
|
+
\ \"footnotes\": {\n \"†\": \"noChargeForDeletes\"\n
|
157
|
+
\ },\n \"tiers\": [\n {\n
|
158
|
+
\ \"name\": \"putcopypost\",\n \"prices\":
|
159
|
+
{\n \"USD\": \"0.007\"\n },\n
|
160
|
+
\ \"rate\": \"per1kReq\"\n },\n\t\t\t\t\t{\n
|
161
|
+
\ \"name\": \"deleteRequests\",\n \"prices\":
|
162
|
+
{\n\t\t\t\t\t \"USD\": \"Free †\"\n\t\t\t\t\t },\n \"rate\":
|
163
|
+
\"per1kReq\"\n },\n {\n \"name\":
|
164
|
+
\"getEtc\",\n \"prices\": {\n \"USD\":
|
165
|
+
\"0.0056\"\n },\n \"rate\":
|
166
|
+
\"per10kReq\"\n }\n ]\n }\n ]\n
|
167
|
+
\ }\n}\n\n\n\n"
|
168
|
+
http_version: '1.1'
|
169
|
+
recorded_at: Mon, 27 May 2013 05:48:38 GMT
|
170
|
+
recorded_with: VCR 2.0.1
|