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.
- Loading branch information
Showing
43 changed files
with
5,727 additions
and
21 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,12 @@ | ||
# language: en | ||
@firehose | ||
Feature: AWS Kinesis Firehose | ||
|
||
Scenario: Making a request | ||
When I call the "ListDeliveryStreams" API | ||
Then the value at "DeliveryStreamNames" should be a list | ||
|
||
Scenario: Handling errors | ||
When I attempt to call the "DescribeDeliveryStream" API with: | ||
| DeliveryStreamName | bogus-stream-name | | ||
Then I expect the response error code to be "ResourceNotFoundException" |
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 | ||
@inspector | ||
Feature: Amazon Inspector | ||
|
||
Scenario: Making a request | ||
When I call the "ListApplications" API | ||
Then the value at "applicationArnList" should be a list | ||
|
||
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" |
12 changes: 12 additions & 0 deletions
12
features/smoke/marketplacecommerceanalytics/marketplacecommerceanalytics.feature
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 | ||
@marketplacecommerceanalytics | ||
Feature: AWS Marketplace Commerce Analytics | ||
|
||
Scenario: Handling errors | ||
When I attempt to call the "GenerateDataSet" API with: | ||
| dataSetType | fake-type | | ||
| dataSetPublicationDate | fake-date | | ||
| roleNameArn | fake-arn | | ||
| destinationS3BucketName | fake-bucket | | ||
| snsTopicArn | fake-arn | | ||
Then I expect the response error code to be "MarketplaceCommerceAnalyticsException" |
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
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
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\Firehose\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the **Amazon Kinesis Firehose** service. | ||
*/ | ||
class FirehoseException 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,24 @@ | ||
<?php | ||
namespace Aws\Firehose; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon Kinesis Firehose** service. | ||
* | ||
* @method \Aws\Result createDeliveryStream(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createDeliveryStreamAsync(array $args = []) | ||
* @method \Aws\Result deleteDeliveryStream(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteDeliveryStreamAsync(array $args = []) | ||
* @method \Aws\Result describeDeliveryStream(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeDeliveryStreamAsync(array $args = []) | ||
* @method \Aws\Result listDeliveryStreams(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listDeliveryStreamsAsync(array $args = []) | ||
* @method \Aws\Result putRecord(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise putRecordAsync(array $args = []) | ||
* @method \Aws\Result putRecordBatch(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise putRecordBatchAsync(array $args = []) | ||
* @method \Aws\Result updateDestination(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateDestinationAsync(array $args = []) | ||
*/ | ||
class FirehoseClient 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\Inspector\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the **Amazon Inspector** service. | ||
*/ | ||
class InspectorException 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,82 @@ | ||
<?php | ||
namespace Aws\Inspector; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon Inspector** service. | ||
* | ||
* @method \Aws\Result addAttributesToFindings(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise addAttributesToFindingsAsync(array $args = []) | ||
* @method \Aws\Result attachAssessmentAndRulesPackage(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise attachAssessmentAndRulesPackageAsync(array $args = []) | ||
* @method \Aws\Result createApplication(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createApplicationAsync(array $args = []) | ||
* @method \Aws\Result createAssessment(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createAssessmentAsync(array $args = []) | ||
* @method \Aws\Result createResourceGroup(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createResourceGroupAsync(array $args = []) | ||
* @method \Aws\Result deleteApplication(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteApplicationAsync(array $args = []) | ||
* @method \Aws\Result deleteAssessment(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteAssessmentAsync(array $args = []) | ||
* @method \Aws\Result deleteRun(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteRunAsync(array $args = []) | ||
* @method \Aws\Result describeApplication(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeApplicationAsync(array $args = []) | ||
* @method \Aws\Result describeAssessment(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeAssessmentAsync(array $args = []) | ||
* @method \Aws\Result describeCrossAccountAccessRole(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeCrossAccountAccessRoleAsync(array $args = []) | ||
* @method \Aws\Result describeFinding(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeFindingAsync(array $args = []) | ||
* @method \Aws\Result describeResourceGroup(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeResourceGroupAsync(array $args = []) | ||
* @method \Aws\Result describeRulesPackage(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeRulesPackageAsync(array $args = []) | ||
* @method \Aws\Result describeRun(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeRunAsync(array $args = []) | ||
* @method \Aws\Result detachAssessmentAndRulesPackage(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise detachAssessmentAndRulesPackageAsync(array $args = []) | ||
* @method \Aws\Result getAssessmentTelemetry(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise getAssessmentTelemetryAsync(array $args = []) | ||
* @method \Aws\Result listApplications(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listApplicationsAsync(array $args = []) | ||
* @method \Aws\Result listAssessmentAgents(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listAssessmentAgentsAsync(array $args = []) | ||
* @method \Aws\Result listAssessments(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listAssessmentsAsync(array $args = []) | ||
* @method \Aws\Result listAttachedAssessments(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listAttachedAssessmentsAsync(array $args = []) | ||
* @method \Aws\Result listAttachedRulesPackages(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listAttachedRulesPackagesAsync(array $args = []) | ||
* @method \Aws\Result listFindings(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listFindingsAsync(array $args = []) | ||
* @method \Aws\Result listRulesPackages(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listRulesPackagesAsync(array $args = []) | ||
* @method \Aws\Result listRuns(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listRunsAsync(array $args = []) | ||
* @method \Aws\Result listTagsForResource(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = []) | ||
* @method \Aws\Result localizeText(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise localizeTextAsync(array $args = []) | ||
* @method \Aws\Result previewAgentsForResourceGroup(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise previewAgentsForResourceGroupAsync(array $args = []) | ||
* @method \Aws\Result registerCrossAccountAccessRole(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise registerCrossAccountAccessRoleAsync(array $args = []) | ||
* @method \Aws\Result removeAttributesFromFindings(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise removeAttributesFromFindingsAsync(array $args = []) | ||
* @method \Aws\Result runAssessment(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise runAssessmentAsync(array $args = []) | ||
* @method \Aws\Result setTagsForResource(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise setTagsForResourceAsync(array $args = []) | ||
* @method \Aws\Result startDataCollection(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise startDataCollectionAsync(array $args = []) | ||
* @method \Aws\Result stopDataCollection(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise stopDataCollectionAsync(array $args = []) | ||
* @method \Aws\Result updateApplication(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateApplicationAsync(array $args = []) | ||
* @method \Aws\Result updateAssessment(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateAssessmentAsync(array $args = []) | ||
*/ | ||
class InspectorClient 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
9 changes: 9 additions & 0 deletions
9
src/MarketplaceCommerceAnalytics/Exception/MarketplaceCommerceAnalyticsException.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\MarketplaceCommerceAnalytics\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the **AWS Marketplace Commerce Analytics** service. | ||
*/ | ||
class MarketplaceCommerceAnalyticsException extends AwsException {} |
12 changes: 12 additions & 0 deletions
12
src/MarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.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,12 @@ | ||
<?php | ||
namespace Aws\MarketplaceCommerceAnalytics; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **AWS Marketplace Commerce Analytics** service. | ||
* | ||
* @method \Aws\Result generateDataSet(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise generateDataSetAsync(array $args = []) | ||
*/ | ||
class MarketplaceCommerceAnalyticsClient extends AwsClient {} |
Oops, something went wrong.