Skip to content

Commit 37edd5c

Browse files
committed
Merge branch 'release-0.0.14'
Conflicts: CHANGELOG.rst boto3/__init__.py setup.py
2 parents a155f53 + 338e769 commit 37edd5c

29 files changed

+2739
-172
lines changed

.coveragerc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
branch = True
33
include =
44
boto3/*
5-
omit =
6-
boto3/docs.py

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ python:
44
- "2.7"
55
- "3.3"
66
- "3.4"
7-
- "pypy"
87
sudo: false
98
install:
109
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install -r requirements26.txt; fi
10+
- if [[ $TRAVIS_PYTHON_VERSION == 2.* ]]; then travis_retry pip install -r requirements2.txt; fi
1111
- travis_retry pip install -r requirements.txt
1212
- travis_retry pip install coverage python-coveralls
1313
script: nosetests --with-coverage --cover-erase

CHANGELOG.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
Changelog
22
=========
33

4+
0.0.14 - 2015-04-02
5+
-------------------
6+
7+
* feature:Resources: Update to the latest resource models for:
8+
9+
* AWS CloudFormation
10+
* Amazon EC2
11+
* AWS IAM
12+
13+
* feature:Amazon S3: Add an ``upload_file`` and ``download_file``
14+
to S3 clients that transparently handle parallel multipart transfers.
15+
* feature:Botocore: Update to Botocore 0.102.0.
16+
17+
* Add support for Amazon Machine Learning.
18+
* Add support for Amazon Workspaces.
19+
* Update ``requests`` to 2.6.0.
20+
* Update AWS Lambda to the latest API.
21+
* Update Amazon EC2 Container Service to the latest API.
22+
* Update Amazon S3 to the latest API.
23+
* Add ``DBSnapshotCompleted`` support to Amazon RDS waiters.
24+
* Fixes for the REST-JSON protocol.
25+
426
0.0.13 - 2015-04-02
527
-------------------
628

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services that are supported.
1313
Boto 3 is in **developer preview**. This means that until a 1.0 release
1414
occurs, some of the interfaces may change based on your feedback.
1515
Once a 1.0 release happens, we guarantee backwards compatibility
16-
for all future 1.x.x releases. Try out boto3 and give us
16+
for all future 1.x.x releases. Try out Boto 3 and give us
1717
`feedback <https://github.com/boto/boto3/issues>`__ today!
1818

1919
.. _boto: https://docs.pythonboto.org/

boto3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
__author__ = 'Amazon Web Services'
20-
__version__ = '0.0.13'
20+
__version__ = '0.0.14'
2121

2222

2323
# The default Boto3 session; autoloaded when needed.

boto3/compat.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You
4+
# may not use this file except in compliance with the License. A copy of
5+
# the License is located at
6+
#
7+
# http://aws.amazon.com/apache2.0/
8+
#
9+
# or in the "license" file accompanying this file. This file is
10+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11+
# ANY KIND, either express or implied. See the License for the specific
12+
# language governing permissions and limitations under the License.
13+
import sys
14+
import os
15+
import errno
16+
17+
18+
if sys.platform.startswith('win'):
19+
def rename_file(current_filename, new_filename):
20+
try:
21+
os.remove(new_filename)
22+
except OSError as e:
23+
if not e.errno == errno.ENOENT:
24+
# We only want to a ignore trying to remove
25+
# a file that does not exist. If it fails
26+
# for any other reason we should be propagating
27+
# that exception.
28+
raise
29+
os.rename(current_filename, new_filename)
30+
else:
31+
rename_file = os.rename

boto3/data/resources/cloudformation-2010-05-15.resources.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,19 @@
4444
"resources": {
4545
"Event": {
4646
"identifiers": [
47-
{ "name": "Id" }
47+
{
48+
"name": "Id",
49+
"memberName": "EventId"
50+
}
4851
],
4952
"shape": "StackEvent"
5053
},
5154
"Stack": {
5255
"identifiers": [
53-
{ "name": "Name" }
56+
{
57+
"name": "Name",
58+
"memberName": "StackName"
59+
}
5460
],
5561
"shape": "Stack",
5662
"load": {
@@ -135,8 +141,11 @@
135141
},
136142
"StackResource": {
137143
"identifiers": [
138-
{ "name": "LogicalId", "memberName": "LogicalResourceId" },
139-
{ "name": "StackName" }
144+
{ "name": "StackName" },
145+
{
146+
"name": "LogicalId",
147+
"memberName": "LogicalResourceId"
148+
}
140149
],
141150
"shape": "StackResourceDetail",
142151
"load": {
@@ -162,8 +171,11 @@
162171
},
163172
"StackResourceSummary": {
164173
"identifiers": [
165-
{ "name": "LogicalId", "memberName": "LogicalResourceId" },
166-
{ "name": "StackName" }
174+
{ "name": "StackName" },
175+
{
176+
"name": "LogicalId",
177+
"memberName": "LogicalResourceId"
178+
}
167179
],
168180
"shape": "StackResourceSummary",
169181
"has": {

boto3/data/resources/ec2-2014-10-01.resources.json

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"resource": {
6666
"type": "PlacementGroup",
6767
"identifiers": [
68-
{ "target": "Id", "source": "requestParameter", "path": "GroupName" }
68+
{ "target": "Name", "source": "requestParameter", "path": "GroupName" }
6969
]
7070
}
7171
},
@@ -122,7 +122,7 @@
122122
"CreateVolume": {
123123
"request": { "operation": "CreateVolume" },
124124
"resource": {
125-
"type": "Image",
125+
"type": "Volume",
126126
"identifiers": [
127127
{ "target": "Id", "source": "response", "path": "VolumeId" }
128128
],
@@ -593,17 +593,17 @@
593593
"path": "Reservations[0].Instances[0]"
594594
},
595595
"actions": {
596-
"AttachVolume": {
596+
"AttachClassicLinkVpc": {
597597
"request": {
598-
"operation": "AttachVolume",
598+
"operation": "AttachClassicLinkVpc",
599599
"params": [
600600
{ "target": "InstanceId", "source": "identifier", "name": "Id" }
601601
]
602602
}
603603
},
604-
"AttachClassicLinkVpc": {
604+
"AttachVolume": {
605605
"request": {
606-
"operation": "AttachClassicLinkVpc",
606+
"operation": "AttachVolume",
607607
"params": [
608608
{ "target": "InstanceId", "source": "identifier", "name": "Id" }
609609
]
@@ -838,6 +838,13 @@
838838
}
839839
},
840840
"waiters": {
841+
"Exists": {
842+
"waiterName": "InstanceExists",
843+
"params": [
844+
{ "target": "InstanceIds[]", "source": "identifier", "name": "Id" }
845+
],
846+
"path": "Reservations[0].Instances[0]"
847+
},
841848
"Running": {
842849
"waiterName": "InstanceRunning",
843850
"params": [
@@ -1314,6 +1321,14 @@
13141321
{ "target": "Value", "source": "requestParameter", "path": "Tags[].Value" }
13151322
]
13161323
}
1324+
},
1325+
"Delete": {
1326+
"request": {
1327+
"operation": "DeleteRouteTable",
1328+
"params": [
1329+
{ "target": "RouteTableId", "source": "identifier", "name": "Id" }
1330+
]
1331+
}
13171332
}
13181333
},
13191334
"has": {
@@ -1546,6 +1561,15 @@
15461561
}
15471562
}
15481563
},
1564+
"waiters": {
1565+
"Completed": {
1566+
"waiterName": "SnapshotCompleted",
1567+
"params": [
1568+
{ "target": "SnapshotIds[]", "source": "identifier", "name": "Id" }
1569+
],
1570+
"path": "Snapshots[]"
1571+
}
1572+
},
15491573
"has": {
15501574
"Volume": {
15511575
"resource": {

0 commit comments

Comments
 (0)