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 Oct 8, 2015
1 parent 4cd2d5c commit fe2109b
Show file tree
Hide file tree
Showing 30 changed files with 5,632 additions and 147 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,16 @@
# CHANGELOG

## next release

* `Aws\Ecs` - Added support for more Docker options hostname, Docker labels,
working directory, networking disabled, privileged execution, read-only root
filesystem, DNS servers, DNS search domains, ulimits, log configuration, extra
hosts (hosts to add to /etc/hosts), and security options (for MLS systems like
SELinux).
* `Aws\Iot` - Added support for the **AWS IoT** service.
* `Aws\IotDataPlane` - Added support for the **AWS IoT Data Plane** service.
* `Aws\Lambda` - Added support for function versioning.

## 3.7.0 - 2015-10-07

* `Aws\ConfigService` - Added support for config rules, evaluation strategies,
Expand Down
6 changes: 5 additions & 1 deletion features/smoke/ecs/ecs.feature
Expand Up @@ -11,4 +11,8 @@ Feature: Amazon ECS
Scenario: Handling errors
When I attempt to call the "StopTask" API with:
| task | xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx |
Then the error code should be "ClusterNotFoundException"
Then the error code should be "ClientException"
And I expect the response error message to include:
"""
task was not found
"""
2 changes: 1 addition & 1 deletion features/smoke/inspector/inspector.feature
Expand Up @@ -9,4 +9,4 @@ Feature: Amazon Inspector
Scenario: Handling errors
When I attempt to call the "DescribeApplication" API with:
| applicationArn | fake-arn |
Then I expect the response error code to be "NoSuchEntityException"
Then I expect the response error code to be "InvalidInputException"
12 changes: 12 additions & 0 deletions features/smoke/iot/iot.feature
@@ -0,0 +1,12 @@
# language: en
@iot
Feature: AWS IoT

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

Scenario: Handling errors
When I attempt to call the "DescribeThing" API with:
| thingName | fake-thing |
Then I expect the response error code to be "ResourceNotFoundException"
8 changes: 8 additions & 0 deletions features/smoke/iotdataplane/iot.feature
@@ -0,0 +1,8 @@
# language: en
@iotdataplane @data.iot
Feature: AWS IoT Data Plane

Scenario: Handling errors
When I attempt to call the "GetThingShadow" API with:
| thingName | fake-thing |
Then I expect the response error code to be "ResourceNotFoundException"
Expand Up @@ -9,4 +9,4 @@ Feature: AWS Marketplace Commerce Analytics
| roleNameArn | fake-arn |
| destinationS3BucketName | fake-bucket |
| snsTopicArn | fake-arn |
Then I expect the response error code to be "MarketplaceCommerceAnalyticsException"
Then I expect the response error code to be "SerializationException"
9 changes: 9 additions & 0 deletions src/Iot/Exception/IotException.php
@@ -0,0 +1,9 @@
<?php
namespace Aws\Iot\Exception;

use Aws\Exception\AwsException;

/**
* Represents an error interacting with the **AWS IoT** service.
*/
class IotException extends AwsException {}
88 changes: 88 additions & 0 deletions src/Iot/IotClient.php
@@ -0,0 +1,88 @@
<?php
namespace Aws\Iot;

use Aws\AwsClient;

/**
* This client is used to interact with the **AWS IoT** service.
*
* @method \Aws\Result acceptCertificateTransfer(array $args = [])
* @method \GuzzleHttp\Promise\Promise acceptCertificateTransferAsync(array $args = [])
* @method \Aws\Result attachPrincipalPolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise attachPrincipalPolicyAsync(array $args = [])
* @method \Aws\Result attachThingPrincipal(array $args = [])
* @method \GuzzleHttp\Promise\Promise attachThingPrincipalAsync(array $args = [])
* @method \Aws\Result cancelCertificateTransfer(array $args = [])
* @method \GuzzleHttp\Promise\Promise cancelCertificateTransferAsync(array $args = [])
* @method \Aws\Result createCertificateFromCsr(array $args = [])
* @method \GuzzleHttp\Promise\Promise createCertificateFromCsrAsync(array $args = [])
* @method \Aws\Result createKeysAndCertificate(array $args = [])
* @method \GuzzleHttp\Promise\Promise createKeysAndCertificateAsync(array $args = [])
* @method \Aws\Result createPolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise createPolicyAsync(array $args = [])
* @method \Aws\Result createPolicyVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise createPolicyVersionAsync(array $args = [])
* @method \Aws\Result createThing(array $args = [])
* @method \GuzzleHttp\Promise\Promise createThingAsync(array $args = [])
* @method \Aws\Result createTopicRule(array $args = [])
* @method \GuzzleHttp\Promise\Promise createTopicRuleAsync(array $args = [])
* @method \Aws\Result deleteCertificate(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteCertificateAsync(array $args = [])
* @method \Aws\Result deletePolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise deletePolicyAsync(array $args = [])
* @method \Aws\Result deletePolicyVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise deletePolicyVersionAsync(array $args = [])
* @method \Aws\Result deleteThing(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteThingAsync(array $args = [])
* @method \Aws\Result deleteTopicRule(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteTopicRuleAsync(array $args = [])
* @method \Aws\Result describeCertificate(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeCertificateAsync(array $args = [])
* @method \Aws\Result describeEndpoint(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeEndpointAsync(array $args = [])
* @method \Aws\Result describeThing(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeThingAsync(array $args = [])
* @method \Aws\Result detachPrincipalPolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise detachPrincipalPolicyAsync(array $args = [])
* @method \Aws\Result detachThingPrincipal(array $args = [])
* @method \GuzzleHttp\Promise\Promise detachThingPrincipalAsync(array $args = [])
* @method \Aws\Result getLoggingOptions(array $args = [])
* @method \GuzzleHttp\Promise\Promise getLoggingOptionsAsync(array $args = [])
* @method \Aws\Result getPolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise getPolicyAsync(array $args = [])
* @method \Aws\Result getPolicyVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise getPolicyVersionAsync(array $args = [])
* @method \Aws\Result getTopicRule(array $args = [])
* @method \GuzzleHttp\Promise\Promise getTopicRuleAsync(array $args = [])
* @method \Aws\Result listCertificates(array $args = [])
* @method \GuzzleHttp\Promise\Promise listCertificatesAsync(array $args = [])
* @method \Aws\Result listPolicies(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPoliciesAsync(array $args = [])
* @method \Aws\Result listPolicyVersions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPolicyVersionsAsync(array $args = [])
* @method \Aws\Result listPrincipalPolicies(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPrincipalPoliciesAsync(array $args = [])
* @method \Aws\Result listPrincipalThings(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPrincipalThingsAsync(array $args = [])
* @method \Aws\Result listThingPrincipals(array $args = [])
* @method \GuzzleHttp\Promise\Promise listThingPrincipalsAsync(array $args = [])
* @method \Aws\Result listThings(array $args = [])
* @method \GuzzleHttp\Promise\Promise listThingsAsync(array $args = [])
* @method \Aws\Result listTopicRules(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTopicRulesAsync(array $args = [])
* @method \Aws\Result rejectCertificateTransfer(array $args = [])
* @method \GuzzleHttp\Promise\Promise rejectCertificateTransferAsync(array $args = [])
* @method \Aws\Result replaceTopicRule(array $args = [])
* @method \GuzzleHttp\Promise\Promise replaceTopicRuleAsync(array $args = [])
* @method \Aws\Result setDefaultPolicyVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise setDefaultPolicyVersionAsync(array $args = [])
* @method \Aws\Result setLoggingOptions(array $args = [])
* @method \GuzzleHttp\Promise\Promise setLoggingOptionsAsync(array $args = [])
* @method \Aws\Result transferCertificate(array $args = [])
* @method \GuzzleHttp\Promise\Promise transferCertificateAsync(array $args = [])
* @method \Aws\Result updateCertificate(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateCertificateAsync(array $args = [])
* @method \Aws\Result updateThing(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateThingAsync(array $args = [])
*/
class IotClient extends AwsClient {}
9 changes: 9 additions & 0 deletions src/IotDataPlane/Exception/IotDataPlaneException.php
@@ -0,0 +1,9 @@
<?php
namespace Aws\IotDataPlane\Exception;

use Aws\Exception\AwsException;

/**
* Represents an error interacting with the **AWS IoT Data Plane** service.
*/
class IotDataPlaneException extends AwsException {}
18 changes: 18 additions & 0 deletions src/IotDataPlane/IotDataPlaneClient.php
@@ -0,0 +1,18 @@
<?php
namespace Aws\IotDataPlane;

use Aws\AwsClient;

/**
* This client is used to interact with the **AWS IoT Data Plane** service.
*
* @method \Aws\Result deleteThingShadow(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteThingShadowAsync(array $args = [])
* @method \Aws\Result getThingShadow(array $args = [])
* @method \GuzzleHttp\Promise\Promise getThingShadowAsync(array $args = [])
* @method \Aws\Result publish(array $args = [])
* @method \GuzzleHttp\Promise\Promise publishAsync(array $args = [])
* @method \Aws\Result updateThingShadow(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateThingShadowAsync(array $args = [])
*/
class IotDataPlaneClient extends AwsClient {}
14 changes: 14 additions & 0 deletions src/Lambda/LambdaClient.php
Expand Up @@ -8,14 +8,20 @@
*
* @method \Aws\Result addPermission(array $args = [])
* @method \GuzzleHttp\Promise\Promise addPermissionAsync(array $args = [])
* @method \Aws\Result createAlias(array $args = [])
* @method \GuzzleHttp\Promise\Promise createAliasAsync(array $args = [])
* @method \Aws\Result createEventSourceMapping(array $args = [])
* @method \GuzzleHttp\Promise\Promise createEventSourceMappingAsync(array $args = [])
* @method \Aws\Result createFunction(array $args = [])
* @method \GuzzleHttp\Promise\Promise createFunctionAsync(array $args = [])
* @method \Aws\Result deleteAlias(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteAliasAsync(array $args = [])
* @method \Aws\Result deleteEventSourceMapping(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteEventSourceMappingAsync(array $args = [])
* @method \Aws\Result deleteFunction(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteFunctionAsync(array $args = [])
* @method \Aws\Result getAlias(array $args = [])
* @method \GuzzleHttp\Promise\Promise getAliasAsync(array $args = [])
* @method \Aws\Result getEventSourceMapping(array $args = [])
* @method \GuzzleHttp\Promise\Promise getEventSourceMappingAsync(array $args = [])
* @method \Aws\Result getFunction(array $args = [])
Expand All @@ -28,12 +34,20 @@
* @method \GuzzleHttp\Promise\Promise invokeAsync(array $args = [])
* @method \Aws\Result invokeAsync(array $args = [])
* @method \GuzzleHttp\Promise\Promise invokeAsyncAsync(array $args = [])
* @method \Aws\Result listAliases(array $args = [])
* @method \GuzzleHttp\Promise\Promise listAliasesAsync(array $args = [])
* @method \Aws\Result listEventSourceMappings(array $args = [])
* @method \GuzzleHttp\Promise\Promise listEventSourceMappingsAsync(array $args = [])
* @method \Aws\Result listFunctions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listFunctionsAsync(array $args = [])
* @method \Aws\Result listVersionsByFunction(array $args = [])
* @method \GuzzleHttp\Promise\Promise listVersionsByFunctionAsync(array $args = [])
* @method \Aws\Result publishVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise publishVersionAsync(array $args = [])
* @method \Aws\Result removePermission(array $args = [])
* @method \GuzzleHttp\Promise\Promise removePermissionAsync(array $args = [])
* @method \Aws\Result updateAlias(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateAliasAsync(array $args = [])
* @method \Aws\Result updateEventSourceMapping(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateEventSourceMappingAsync(array $args = [])
* @method \Aws\Result updateFunctionCode(array $args = [])
Expand Down
2 changes: 2 additions & 0 deletions src/Sdk.php
Expand Up @@ -38,6 +38,8 @@
* @method \Aws\Glacier\GlacierClient createGlacier(array $args = [])
* @method \Aws\Iam\IamClient createIam(array $args = [])
* @method \Aws\Inspector\InspectorClient createInspector(array $args = [])
* @method \Aws\Iot\IotClient createIot(array $args = [])
* @method \Aws\IotDataPlane\IotDataPlaneClient createIotDataPlane(array $args = [])
* @method \Aws\Kinesis\KinesisClient createKinesis(array $args = [])
* @method \Aws\Kms\KmsClient createKms(array $args = [])
* @method \Aws\Lambda\LambdaClient createLambda(array $args = [])
Expand Down

0 comments on commit fe2109b

Please sign in to comment.