forked from aws/aws-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update models and manifest for next release
- Loading branch information
Showing
19 changed files
with
4,968 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# language: en | ||
@codecommit | ||
Feature: Amazon CodeCommit | ||
|
||
Scenario: Making a request | ||
When I call the "ListRepositories" API | ||
Then the value at "repositories" should be a list | ||
|
||
Scenario: Handling errors | ||
When I attempt to call the "ListBranches" API with: | ||
| repositoryName | fake-repo | | ||
Then I expect the response error code to be "RepositoryDoesNotExistException" | ||
And I expect the response error message to include: | ||
""" | ||
fake-repo does not exist | ||
""" |
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,12 @@ | ||
# language: en | ||
@codepipeline | ||
Feature: Amazon CodePipeline | ||
|
||
Scenario: Making a basic request | ||
When I call the "ListPipelines" API | ||
Then the value at "pipelines" should be a list | ||
|
||
Scenario: Error handling | ||
When I attempt to call the "GetPipeline" API with: | ||
| name | bogus-pipeline | | ||
Then I expect the response error code to be "PipelineNotFoundException" |
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\CodeCommit; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon CodeCommit** service. | ||
*/ | ||
class CodeCommitClient extends AwsClient {} |
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\CodeCommit\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the Amazon CodeCommit service. | ||
*/ | ||
class CodeCommitException extends AwsException{} |
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\CodePipeline; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon CodePipeline** service. | ||
*/ | ||
class CodePipelineClient extends AwsClient {} |
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\CodePipeline\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the Amazon CodePipeline service. | ||
*/ | ||
class CodePipelineException extends AwsException {} |
Oops, something went wrong.