Skip to content

Commit

Permalink
Update models for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeskew committed Jul 14, 2015
1 parent 3f5843f commit 020182a
Show file tree
Hide file tree
Showing 18 changed files with 3,534 additions and 42 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,20 @@
# CHANGELOG

## next release

* `Aws\DeviceFarm` - Added support for AWS DeviceFarm, an app testing service
that enables you to test your Android and Fire OS apps on real, physical
phones and tablets that are hosted by AWS.
* `Aws\DynamoDb` - Added support for consistent scans and update streams.
* `Aws\DynamoDbStreams` - Added support for Amazon DynamoDB Streams, giving you
the ability to subscribe to the transactional log of all changes transpiring
in your DynamoDB table.
* `Aws\S3` - Fixed checksum encoding on multipart upload of non-seekable
streams.
* `Aws\S3\StreamWrapper` - Added guard on rename functionality to ensure wrapper
initialized.


## 3.1.0 - 2015-07-09

* `Aws\CodeCommit` - Added support for AWS CodeCommit, a secure, highly
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -39,6 +39,9 @@ coverage-show:
integ:
vendor/bin/phpunit --debug --testsuite=integ $(TEST)

smoke:
vendor/bin/behat --format=progress

# Packages the phar and zip
package:
php build/packager.php $(SERVICE)
Expand Down
12 changes: 12 additions & 0 deletions features/smoke/devicefarm/devicefarm.feature
@@ -0,0 +1,12 @@
# language: en
@devicefarm
Feature: AWS Device Farm

Scenario: Making a request
When I call the "ListProjects" API
Then the value at "projects" should be a list

Scenario: Error handling
When I attempt to call the "GetDevicePool" API with:
| arn | bogus-arn |
Then I expect the response error code to be "ValidationException"
16 changes: 16 additions & 0 deletions features/smoke/dynamodbstreams/dynamodbstreams.feature
@@ -0,0 +1,16 @@
# language: en
@dynamodbstreams
Feature: Amazon DynamoDB

Scenario: Making a request
When I call the "ListStreams" API
Then the value at "Streams" should be a list

Scenario: Handling errors
When I attempt to call the "DescribeStream" API with:
| StreamArn | fake-stream |
Then I expect the response error code to be "ValidationException"
And I expect the response error message to include:
"""
Invalid StreamArn
"""
9 changes: 9 additions & 0 deletions src/DeviceFarm/DeviceFarmClient.php
@@ -0,0 +1,9 @@
<?php
namespace Aws\DeviceFarm;

use Aws\AwsClient;

/**
* This client is used to interact with the **Amazon DeviceFarm** service.
*/
class DeviceFarmClient extends AwsClient {}
9 changes: 9 additions & 0 deletions src/DeviceFarm/Exception/DeviceFarmException.php
@@ -0,0 +1,9 @@
<?php
namespace Aws\DeviceFarm\Exception;

use Aws\Exception\AwsException;

/**
* Represents an error interacting with the Amazon DeviceFarm service.
*/
class DeviceFarmException extends AwsException {}
20 changes: 20 additions & 0 deletions src/DynamoDbStreams/DynamoDbStreamsClient.php
@@ -0,0 +1,20 @@
<?php
namespace Aws\DynamoDbStreams;

use Aws\AwsClient;
use Aws\DynamoDb\DynamoDbClient;

/**
* This client is used to interact with the **Amazon DynamoDb Streams** service.
*/
class DynamoDbStreamsClient extends AwsClient
{
public static function getArguments()
{
$args = parent::getArguments();
$args['retries']['default'] = 11;
$args['retries']['fn'] = [DynamoDbClient::class, '_applyRetryConfig'];

return $args;
}
}
9 changes: 9 additions & 0 deletions src/DynamoDbStreams/Exception/DynamoDbStreamsException.php
@@ -0,0 +1,9 @@
<?php
namespace Aws\DynamoDbStreams\Exception;

use Aws\Exception\AwsException;

/**
* Represents an error interacting with the Amazon DynamoDB Streams service.
*/
class DynamoDbStreamsException extends AwsException {}

0 comments on commit 020182a

Please sign in to comment.