forked from aws/aws-sdk-php
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
2,302 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# language: en | ||
@es @elasticsearchservice | ||
Feature: Amazon ElasticsearchService | ||
|
||
Scenario: Making a request | ||
When I call the "ListDomainNames" API | ||
Then the value at "DomainNames" should be a list | ||
|
||
Scenario: Handling errors | ||
When I attempt to call the "DescribeElasticsearchDomain" API with: | ||
| DomainName | not-a-domain | | ||
Then the error code should be "ResourceNotFoundException" | ||
And I expect the response error message to include: | ||
""" | ||
Domain not found: not-a-domain | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
namespace Aws\ElasticsearchService; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon Elasticsearch Service** service. | ||
*/ | ||
class ElasticsearchServiceClient extends AwsClient {} |
9 changes: 9 additions & 0 deletions
9
src/ElasticsearchService/Exception/ElasticsearchServiceException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
namespace Aws\ElasticsearchService\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the **Amazon Elasticsearch Service** service. | ||
*/ | ||
class ElasticsearchServiceException extends AwsException {} |
Oops, something went wrong.