From b348f1717c56a7f388780d984b5dbf5700369221 Mon Sep 17 00:00:00 2001 From: Henson Date: Tue, 8 Mar 2016 17:19:14 -0800 Subject: [PATCH] API update for CodeCommit: Delete branch, Triggers, Code browsing. DeviceFarm added support for XCUI. Quickbeamdocumentation updates. Cloudwatch events and logs updates. Direct Connect updates. Documentation update for AWS config. --- CMakeLists.txt | 2 +- aws-cpp-sdk-acm/source/ACMErrors.cpp | 10 +- .../include/aws/codecommit/CodeCommitClient.h | 259 +++- .../include/aws/codecommit/CodeCommitErrors.h | 16 +- .../include/aws/codecommit/model/Commit.h | 273 ++++ .../codecommit/model/CreateBranchRequest.h | 28 +- .../model/CreateRepositoryRequest.h | 119 +- .../aws/codecommit/model/GetBranchRequest.h | 35 +- .../aws/codecommit/model/GetCommitRequest.h | 117 ++ .../aws/codecommit/model/GetCommitResult.h | 76 + .../model/GetRepositoryTriggersRequest.h | 80 ++ .../model/GetRepositoryTriggersResult.h | 124 ++ .../model/PutRepositoryTriggersRequest.h | 126 ++ .../model/PutRepositoryTriggersResult.h | 86 ++ .../codecommit/model/RepositoryNameIdPair.h | 42 +- .../aws/codecommit/model/RepositoryTrigger.h | 284 ++++ .../model/RepositoryTriggerEventEnum.h | 42 + .../model/RepositoryTriggerExecutionFailure.h | 123 ++ .../model/TestRepositoryTriggersRequest.h | 119 ++ .../model/TestRepositoryTriggersResult.h | 144 ++ .../UpdateRepositoryDescriptionRequest.h | 21 +- .../model/UpdateRepositoryNameRequest.h | 56 +- .../include/aws/codecommit/model/UserInfo.h | 160 +++ .../source/CodeCommitClient.cpp | 128 ++ .../source/CodeCommitErrors.cpp | 172 ++- .../source/model/Commit.cpp | 141 ++ .../source/model/GetCommitRequest.cpp | 58 + .../source/model/GetCommitResult.cpp | 48 + .../model/GetRepositoryTriggersRequest.cpp | 51 + .../model/GetRepositoryTriggersResult.cpp | 57 + .../model/PutRepositoryTriggersRequest.cpp | 63 + .../model/PutRepositoryTriggersResult.cpp | 48 + .../source/model/RepositoryTrigger.cpp | 134 ++ .../model/RepositoryTriggerEventEnum.cpp | 92 ++ .../RepositoryTriggerExecutionFailure.cpp | 73 + .../model/TestRepositoryTriggersRequest.cpp | 63 + .../model/TestRepositoryTriggersResult.cpp | 60 + .../source/model/UserInfo.cpp | 88 ++ .../include/aws/config/ConfigServiceClient.h | 21 +- .../include/aws/config/model/Compliance.h | 10 +- .../include/aws/config/model/ConfigRule.h | 6 +- .../include/aws/config/model/RecordingGroup.h | 63 +- .../include/aws/core/VersionConfig.h | 2 +- .../include/aws/devicefarm/model/Artifact.h | 150 +- .../aws/devicefarm/model/ArtifactType.h | 3 +- .../devicefarm/model/CreateUploadRequest.h | 105 +- .../model/GetDevicePoolCompatibilityRequest.h | 85 +- .../include/aws/devicefarm/model/Job.h | 85 +- .../include/aws/devicefarm/model/Run.h | 85 +- .../aws/devicefarm/model/ScheduleRunTest.h | 85 +- .../include/aws/devicefarm/model/Suite.h | 85 +- .../include/aws/devicefarm/model/Test.h | 85 +- .../include/aws/devicefarm/model/TestType.h | 3 +- .../include/aws/devicefarm/model/Upload.h | 105 +- .../include/aws/devicefarm/model/UploadType.h | 3 +- .../source/model/ArtifactType.cpp | 7 + .../source/model/TestType.cpp | 7 + .../source/model/UploadType.cpp | 7 + .../aws/directconnect/DirectConnectClient.h | 30 +- .../aws/events/CloudWatchEventsClient.h | 216 +-- .../aws/events/model/PutEventsRequestEntry.h | 2 +- .../acm-2015-12-08.normal.json | 4 +- .../codecommit-2015-04-13.normal.json | 1248 +++++++++-------- .../config-2014-11-12.normal.json | 12 +- .../devicefarm-2015-06-23.normal.json | 27 +- .../directconnect-2012-10-25.normal.json | 2 +- .../events-2015-10-07.normal.json | 997 +++++++++++++ scripts/sdk_directories.pyc | Bin 2595 -> 2595 bytes 68 files changed, 5770 insertions(+), 1388 deletions(-) create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/Commit.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitRequest.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitResult.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersRequest.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersResult.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersRequest.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersResult.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTrigger.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerEventEnum.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerExecutionFailure.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersRequest.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersResult.h create mode 100644 aws-cpp-sdk-codecommit/include/aws/codecommit/model/UserInfo.h create mode 100644 aws-cpp-sdk-codecommit/source/model/Commit.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/GetCommitRequest.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/GetCommitResult.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersRequest.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersResult.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersRequest.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersResult.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/RepositoryTrigger.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/RepositoryTriggerEventEnum.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/RepositoryTriggerExecutionFailure.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersRequest.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersResult.cpp create mode 100644 aws-cpp-sdk-codecommit/source/model/UserInfo.cpp create mode 100644 code-generation/api-descriptions/events-2015-10-07.normal.json diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fe4a49a9e9..7f997423de0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -761,7 +761,7 @@ if(REGENERATE_CLIENTS) LIST(FIND BUILD_ONLY "aws-cpp-sdk-events" OUTPUT_VAR) if(OUTPUT_VAR GREATER -1) execute_process( - COMMAND ${PYTHON_CMD} scripts/generate_sdks.py --serviceName events --apiVersion 2014-02-03 --outputLocation ./ + COMMAND ${PYTHON_CMD} scripts/generate_sdks.py --serviceName events --apiVersion 2015-10-07 --outputLocation ./ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) endif() diff --git a/aws-cpp-sdk-acm/source/ACMErrors.cpp b/aws-cpp-sdk-acm/source/ACMErrors.cpp index d250cb45d1a..e3e641aab7c 100644 --- a/aws-cpp-sdk-acm/source/ACMErrors.cpp +++ b/aws-cpp-sdk-acm/source/ACMErrors.cpp @@ -21,10 +21,10 @@ using namespace Aws::ACM; using namespace Aws::Utils; static const int INVALID_STATE_HASH = HashingUtils::HashString("InvalidStateException"); +static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); static const int RESOURCE_IN_USE_HASH = HashingUtils::HashString("ResourceInUseException"); static const int INVALID_ARN_HASH = HashingUtils::HashString("InvalidArnException"); static const int REQUEST_IN_PROGRESS_HASH = HashingUtils::HashString("RequestInProgressException"); -static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); static const int INVALID_DOMAIN_VALIDATION_OPTIONS_HASH = HashingUtils::HashString("InvalidDomainValidationOptionsException"); namespace Aws @@ -42,6 +42,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(ACMErrors::INVALID_STATE), false); } + else if (hashCode == LIMIT_EXCEEDED_HASH) + { + return AWSError(static_cast(ACMErrors::LIMIT_EXCEEDED), false); + } else if (hashCode == RESOURCE_IN_USE_HASH) { return AWSError(static_cast(ACMErrors::RESOURCE_IN_USE), false); @@ -54,10 +58,6 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(ACMErrors::REQUEST_IN_PROGRESS), false); } - else if (hashCode == LIMIT_EXCEEDED_HASH) - { - return AWSError(static_cast(ACMErrors::LIMIT_EXCEEDED), false); - } else if (hashCode == INVALID_DOMAIN_VALIDATION_OPTIONS_HASH) { return AWSError(static_cast(ACMErrors::INVALID_DOMAIN_VALIDATION_OPTIONS), false); diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitClient.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitClient.h index 53f0e2e79cc..a9d2683c159 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitClient.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitClient.h @@ -24,9 +24,13 @@ #include #include #include +#include #include +#include #include #include +#include +#include #include #include #include @@ -78,9 +82,13 @@ namespace Model class CreateRepositoryRequest; class DeleteRepositoryRequest; class GetBranchRequest; + class GetCommitRequest; class GetRepositoryRequest; + class GetRepositoryTriggersRequest; class ListBranchesRequest; class ListRepositoriesRequest; + class PutRepositoryTriggersRequest; + class TestRepositoryTriggersRequest; class UpdateDefaultBranchRequest; class UpdateRepositoryDescriptionRequest; class UpdateRepositoryNameRequest; @@ -90,9 +98,13 @@ namespace Model typedef Aws::Utils::Outcome> CreateRepositoryOutcome; typedef Aws::Utils::Outcome> DeleteRepositoryOutcome; typedef Aws::Utils::Outcome> GetBranchOutcome; + typedef Aws::Utils::Outcome> GetCommitOutcome; typedef Aws::Utils::Outcome> GetRepositoryOutcome; + typedef Aws::Utils::Outcome> GetRepositoryTriggersOutcome; typedef Aws::Utils::Outcome> ListBranchesOutcome; typedef Aws::Utils::Outcome> ListRepositoriesOutcome; + typedef Aws::Utils::Outcome> PutRepositoryTriggersOutcome; + typedef Aws::Utils::Outcome> TestRepositoryTriggersOutcome; typedef Aws::Utils::Outcome> UpdateDefaultBranchOutcome; typedef Aws::Utils::Outcome> UpdateRepositoryDescriptionOutcome; typedef Aws::Utils::Outcome> UpdateRepositoryNameOutcome; @@ -102,9 +114,13 @@ namespace Model typedef std::future CreateRepositoryOutcomeCallable; typedef std::future DeleteRepositoryOutcomeCallable; typedef std::future GetBranchOutcomeCallable; + typedef std::future GetCommitOutcomeCallable; typedef std::future GetRepositoryOutcomeCallable; + typedef std::future GetRepositoryTriggersOutcomeCallable; typedef std::future ListBranchesOutcomeCallable; typedef std::future ListRepositoriesOutcomeCallable; + typedef std::future PutRepositoryTriggersOutcomeCallable; + typedef std::future TestRepositoryTriggersOutcomeCallable; typedef std::future UpdateDefaultBranchOutcomeCallable; typedef std::future UpdateRepositoryDescriptionOutcomeCallable; typedef std::future UpdateRepositoryNameOutcomeCallable; @@ -117,20 +133,50 @@ namespace Model typedef std::function&) > CreateRepositoryResponseReceivedHandler; typedef std::function&) > DeleteRepositoryResponseReceivedHandler; typedef std::function&) > GetBranchResponseReceivedHandler; + typedef std::function&) > GetCommitResponseReceivedHandler; typedef std::function&) > GetRepositoryResponseReceivedHandler; + typedef std::function&) > GetRepositoryTriggersResponseReceivedHandler; typedef std::function&) > ListBranchesResponseReceivedHandler; typedef std::function&) > ListRepositoriesResponseReceivedHandler; + typedef std::function&) > PutRepositoryTriggersResponseReceivedHandler; + typedef std::function&) > TestRepositoryTriggersResponseReceivedHandler; typedef std::function&) > UpdateDefaultBranchResponseReceivedHandler; typedef std::function&) > UpdateRepositoryDescriptionResponseReceivedHandler; typedef std::function&) > UpdateRepositoryNameResponseReceivedHandler; /** * AWS CodeCommit

This is the AWS CodeCommit API - * Reference. This reference provides descriptions of the AWS CodeCommit - * API.

You can use the AWS CodeCommit API to work with the following - * objects:

  • Repositories
  • Branches
  • Commits
- *

For information about how to use AWS CodeCommit, see the AWS CodeCommit - * User Guide.

+ * Reference. This reference provides descriptions of the operations and data + * types for AWS CodeCommit API.

You can use the AWS CodeCommit API to work + * with the following objects:

  • Repositories, by calling the following: + *
    • BatchGetRepositories, which returns information about one or + * more repositories associated with your AWS account
    • + *
    • CreateRepository, which creates an AWS CodeCommit repository
    • + *
    • DeleteRepository, which deletes an AWS CodeCommit repository
    • + *
    • GetRepository, which returns information about a specified + * repository
    • ListRepositories, which lists all AWS CodeCommit + * repositories associated with your AWS account
    • + *
    • UpdateRepositoryDescription, which sets or updates the description of + * the repository
    • UpdateRepositoryName, which changes the name of + * the repository. If you change the name of a repository, no other users of that + * repository will be able to access it until you send them the new HTTPS or SSH + * URL to use.
  • Branches, by calling the following:
      + *
    • CreateBranch, which creates a new branch in a specified + * repository
    • GetBranch, which returns information about a + * specified branch
    • ListBranches, which lists all branches for a + * specified repository
    • UpdateDefaultBranch, which changes the + * default branch for a repository
  • Information about committed + * code in a repository, by calling the following:
    • GetCommit, which + * returns information about a commit, including commit messages and committer + * information.
  • Triggers, by calling the following:
      + *
    • GetRepositoryTriggers, which returns information about triggers + * configured for a repository
    • PutRepositoryTriggers, which + * replaces all triggers for a repository and can be used to create or delete + * triggers
    • TestRepositoryTriggers, which tests the functionality + * of a repository trigger by sending data to the trigger target
  • + *

For information about how to use AWS CodeCommit, see the AWS + * CodeCommit User Guide.

*/ class AWS_CODECOMMIT_API CodeCommitClient : public Aws::Client::AWSJsonClient { @@ -160,34 +206,34 @@ namespace Model virtual ~CodeCommitClient(); /** - *

Gets information about one or more repositories.

The description - * field for a repository accepts all HTML characters and all valid Unicode - * characters. Applications that do not HTML-encode the description and display it - * in a web page could expose users to potentially malicious code. Make sure that - * you HTML-encode the description field in any application that uses this API to - * display the repository description on a web page.

+ *

Returns information about one or more repositories.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ virtual Model::BatchGetRepositoriesOutcome BatchGetRepositories(const Model::BatchGetRepositoriesRequest& request) const; /** - *

Gets information about one or more repositories.

The description - * field for a repository accepts all HTML characters and all valid Unicode - * characters. Applications that do not HTML-encode the description and display it - * in a web page could expose users to potentially malicious code. Make sure that - * you HTML-encode the description field in any application that uses this API to - * display the repository description on a web page.

+ *

Returns information about one or more repositories.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::BatchGetRepositoriesOutcomeCallable BatchGetRepositoriesCallable(const Model::BatchGetRepositoriesRequest& request) const; /** - *

Gets information about one or more repositories.

The description - * field for a repository accepts all HTML characters and all valid Unicode - * characters. Applications that do not HTML-encode the description and display it - * in a web page could expose users to potentially malicious code. Make sure that - * you HTML-encode the description field in any application that uses this API to - * display the repository description on a web page.

+ *

Returns information about one or more repositories.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -195,15 +241,15 @@ namespace Model /** *

Creates a new branch in a repository and points the branch to a commit.

- * Calling the create branch operation does not set a repository's default - * branch. To do this, call the update default branch operation. + *

Calling the create branch operation does not set a repository's default + * branch. To do this, call the update default branch operation.

*/ virtual Model::CreateBranchOutcome CreateBranch(const Model::CreateBranchRequest& request) const; /** *

Creates a new branch in a repository and points the branch to a commit.

- * Calling the create branch operation does not set a repository's default - * branch. To do this, call the update default branch operation. + *

Calling the create branch operation does not set a repository's default + * branch. To do this, call the update default branch operation.

* * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -211,8 +257,8 @@ namespace Model /** *

Creates a new branch in a repository and points the branch to a commit.

- * Calling the create branch operation does not set a repository's default - * branch. To do this, call the update default branch operation. + *

Calling the create branch operation does not set a repository's default + * branch. To do this, call the update default branch operation.

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -266,13 +312,13 @@ namespace Model virtual void DeleteRepositoryAsync(const Model::DeleteRepositoryRequest& request, const DeleteRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** - *

Retrieves information about a repository branch, including its name and the + *

Returns information about a repository branch, including its name and the * last commit ID.

*/ virtual Model::GetBranchOutcome GetBranch(const Model::GetBranchRequest& request) const; /** - *

Retrieves information about a repository branch, including its name and the + *

Returns information about a repository branch, including its name and the * last commit ID.

* * returns a future to the operation so that it can be executed in parallel to other requests. @@ -280,7 +326,7 @@ namespace Model virtual Model::GetBranchOutcomeCallable GetBranchCallable(const Model::GetBranchRequest& request) const; /** - *

Retrieves information about a repository branch, including its name and the + *

Returns information about a repository branch, including its name and the * last commit ID.

* * Queues the request into a thread executor and triggers associated callback when operation has finished. @@ -288,8 +334,30 @@ namespace Model virtual void GetBranchAsync(const Model::GetBranchRequest& request, const GetBranchResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** - *

Gets information about a repository.

The description field for a - * repository accepts all HTML characters and all valid Unicode characters. + *

Returns information about a commit, including commit message and committer + * information.

+ */ + virtual Model::GetCommitOutcome GetCommit(const Model::GetCommitRequest& request) const; + + /** + *

Returns information about a commit, including commit message and committer + * information.

+ * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetCommitOutcomeCallable GetCommitCallable(const Model::GetCommitRequest& request) const; + + /** + *

Returns information about a commit, including commit message and committer + * information.

+ * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetCommitAsync(const Model::GetCommitRequest& request, const GetCommitResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; + + /** + *

Returns information about a repository.

The description field + * for a repository accepts all HTML characters and all valid Unicode characters. * Applications that do not HTML-encode the description and display it in a web * page could expose users to potentially malicious code. Make sure that you * HTML-encode the description field in any application that uses this API to @@ -298,8 +366,8 @@ namespace Model virtual Model::GetRepositoryOutcome GetRepository(const Model::GetRepositoryRequest& request) const; /** - *

Gets information about a repository.

The description field for a - * repository accepts all HTML characters and all valid Unicode characters. + *

Returns information about a repository.

The description field + * for a repository accepts all HTML characters and all valid Unicode characters. * Applications that do not HTML-encode the description and display it in a web * page could expose users to potentially malicious code. Make sure that you * HTML-encode the description field in any application that uses this API to @@ -310,8 +378,8 @@ namespace Model virtual Model::GetRepositoryOutcomeCallable GetRepositoryCallable(const Model::GetRepositoryRequest& request) const; /** - *

Gets information about a repository.

The description field for a - * repository accepts all HTML characters and all valid Unicode characters. + *

Returns information about a repository.

The description field + * for a repository accepts all HTML characters and all valid Unicode characters. * Applications that do not HTML-encode the description and display it in a web * page could expose users to potentially malicious code. Make sure that you * HTML-encode the description field in any application that uses this API to @@ -321,6 +389,25 @@ namespace Model */ virtual void GetRepositoryAsync(const Model::GetRepositoryRequest& request, const GetRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; + /** + *

Gets information about triggers configured for a repository.

+ */ + virtual Model::GetRepositoryTriggersOutcome GetRepositoryTriggers(const Model::GetRepositoryTriggersRequest& request) const; + + /** + *

Gets information about triggers configured for a repository.

+ * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetRepositoryTriggersOutcomeCallable GetRepositoryTriggersCallable(const Model::GetRepositoryTriggersRequest& request) const; + + /** + *

Gets information about triggers configured for a repository.

+ * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetRepositoryTriggersAsync(const Model::GetRepositoryTriggersRequest& request, const GetRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; + /** *

Gets information about one or more branches in a repository.

*/ @@ -359,19 +446,69 @@ namespace Model */ virtual void ListRepositoriesAsync(const Model::ListRepositoriesRequest& request, const ListRepositoriesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; + /** + *

Replaces all triggers for a repository. This can be used to create or delete + * triggers.

+ */ + virtual Model::PutRepositoryTriggersOutcome PutRepositoryTriggers(const Model::PutRepositoryTriggersRequest& request) const; + + /** + *

Replaces all triggers for a repository. This can be used to create or delete + * triggers.

+ * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::PutRepositoryTriggersOutcomeCallable PutRepositoryTriggersCallable(const Model::PutRepositoryTriggersRequest& request) const; + + /** + *

Replaces all triggers for a repository. This can be used to create or delete + * triggers.

+ * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void PutRepositoryTriggersAsync(const Model::PutRepositoryTriggersRequest& request, const PutRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; + + /** + *

Tests the functionality of repository triggers by sending information to the + * trigger target. If real data is available in the repository, the test will send + * data from the last commit. If no data is available, sample data will be + * generated.

+ */ + virtual Model::TestRepositoryTriggersOutcome TestRepositoryTriggers(const Model::TestRepositoryTriggersRequest& request) const; + + /** + *

Tests the functionality of repository triggers by sending information to the + * trigger target. If real data is available in the repository, the test will send + * data from the last commit. If no data is available, sample data will be + * generated.

+ * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::TestRepositoryTriggersOutcomeCallable TestRepositoryTriggersCallable(const Model::TestRepositoryTriggersRequest& request) const; + + /** + *

Tests the functionality of repository triggers by sending information to the + * trigger target. If real data is available in the repository, the test will send + * data from the last commit. If no data is available, sample data will be + * generated.

+ * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void TestRepositoryTriggersAsync(const Model::TestRepositoryTriggersRequest& request, const TestRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; + /** *

Sets or changes the default branch name for the specified repository.

- * If you use this operation to change the default branch name to the current - * default branch name, a success message is returned even though the default - * branch did not change. + *

If you use this operation to change the default branch name to the + * current default branch name, a success message is returned even though the + * default branch did not change.

*/ virtual Model::UpdateDefaultBranchOutcome UpdateDefaultBranch(const Model::UpdateDefaultBranchRequest& request) const; /** *

Sets or changes the default branch name for the specified repository.

- * If you use this operation to change the default branch name to the current - * default branch name, a success message is returned even though the default - * branch did not change. + *

If you use this operation to change the default branch name to the + * current default branch name, a success message is returned even though the + * default branch did not change.

* * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -379,9 +516,9 @@ namespace Model /** *

Sets or changes the default branch name for the specified repository.

- * If you use this operation to change the default branch name to the current - * default branch name, a success message is returned even though the default - * branch did not change. + *

If you use this operation to change the default branch name to the + * current default branch name, a success message is returned even though the + * default branch did not change.

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -422,19 +559,37 @@ namespace Model virtual void UpdateRepositoryDescriptionAsync(const Model::UpdateRepositoryDescriptionRequest& request, const UpdateRepositoryDescriptionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** - *

Renames a repository.

+ *

Renames a repository. The repository name must be unique across the calling + * AWS account. In addition, repository names are limited to 100 alphanumeric, + * dash, and underscore characters, and cannot include certain characters. The + * suffix ".git" is prohibited. For a full description of the limits on repository + * names, see Limits + * in the AWS CodeCommit User Guide.

*/ virtual Model::UpdateRepositoryNameOutcome UpdateRepositoryName(const Model::UpdateRepositoryNameRequest& request) const; /** - *

Renames a repository.

+ *

Renames a repository. The repository name must be unique across the calling + * AWS account. In addition, repository names are limited to 100 alphanumeric, + * dash, and underscore characters, and cannot include certain characters. The + * suffix ".git" is prohibited. For a full description of the limits on repository + * names, see Limits + * in the AWS CodeCommit User Guide.

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::UpdateRepositoryNameOutcomeCallable UpdateRepositoryNameCallable(const Model::UpdateRepositoryNameRequest& request) const; /** - *

Renames a repository.

+ *

Renames a repository. The repository name must be unique across the calling + * AWS account. In addition, repository names are limited to 100 alphanumeric, + * dash, and underscore characters, and cannot include certain characters. The + * suffix ".git" is prohibited. For a full description of the limits on repository + * names, see Limits + * in the AWS CodeCommit User Guide.

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -450,9 +605,13 @@ namespace Model void CreateRepositoryAsyncHelper(const Model::CreateRepositoryRequest& request, const CreateRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DeleteRepositoryAsyncHelper(const Model::DeleteRepositoryRequest& request, const DeleteRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context) const; void GetBranchAsyncHelper(const Model::GetBranchRequest& request, const GetBranchResponseReceivedHandler& handler, const std::shared_ptr& context) const; + void GetCommitAsyncHelper(const Model::GetCommitRequest& request, const GetCommitResponseReceivedHandler& handler, const std::shared_ptr& context) const; void GetRepositoryAsyncHelper(const Model::GetRepositoryRequest& request, const GetRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context) const; + void GetRepositoryTriggersAsyncHelper(const Model::GetRepositoryTriggersRequest& request, const GetRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListBranchesAsyncHelper(const Model::ListBranchesRequest& request, const ListBranchesResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListRepositoriesAsyncHelper(const Model::ListRepositoriesRequest& request, const ListRepositoriesResponseReceivedHandler& handler, const std::shared_ptr& context) const; + void PutRepositoryTriggersAsyncHelper(const Model::PutRepositoryTriggersRequest& request, const PutRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const; + void TestRepositoryTriggersAsyncHelper(const Model::TestRepositoryTriggersRequest& request, const TestRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdateDefaultBranchAsyncHelper(const Model::UpdateDefaultBranchRequest& request, const UpdateDefaultBranchResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdateRepositoryDescriptionAsyncHelper(const Model::UpdateRepositoryDescriptionRequest& request, const UpdateRepositoryDescriptionResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdateRepositoryNameAsyncHelper(const Model::UpdateRepositoryNameRequest& request, const UpdateRepositoryNameResponseReceivedHandler& handler, const std::shared_ptr& context) const; diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h index a78857b753e..db98ccb1bef 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h @@ -52,6 +52,7 @@ enum class AWS_CODECOMMIT_API CodeCommitErrors BRANCH_NAME_EXISTS, BRANCH_NAME_REQUIRED, COMMIT_DOES_NOT_EXIST, + COMMIT_ID_DOES_NOT_EXIST, COMMIT_ID_REQUIRED, ENCRYPTION_INTEGRITY_CHECKS_FAILED, ENCRYPTION_KEY_ACCESS_DENIED, @@ -64,13 +65,26 @@ enum class AWS_CODECOMMIT_API CodeCommitErrors INVALID_ORDER, INVALID_REPOSITORY_DESCRIPTION, INVALID_REPOSITORY_NAME, + INVALID_REPOSITORY_TRIGGER_BRANCH_NAME, + INVALID_REPOSITORY_TRIGGER_CUSTOM_DATA, + INVALID_REPOSITORY_TRIGGER_DESTINATION_ARN, + INVALID_REPOSITORY_TRIGGER_EVENTS, + INVALID_REPOSITORY_TRIGGER_NAME, + INVALID_REPOSITORY_TRIGGER_REGION, INVALID_SORT_BY, + MAXIMUM_BRANCHES_EXCEEDED, MAXIMUM_REPOSITORY_NAMES_EXCEEDED, + MAXIMUM_REPOSITORY_TRIGGERS_EXCEEDED, REPOSITORY_DOES_NOT_EXIST, REPOSITORY_LIMIT_EXCEEDED, REPOSITORY_NAMES_REQUIRED, REPOSITORY_NAME_EXISTS, - REPOSITORY_NAME_REQUIRED + REPOSITORY_NAME_REQUIRED, + REPOSITORY_TRIGGERS_LIST_REQUIRED, + REPOSITORY_TRIGGER_BRANCH_NAME_LIST_REQUIRED, + REPOSITORY_TRIGGER_DESTINATION_ARN_REQUIRED, + REPOSITORY_TRIGGER_EVENTS_LIST_REQUIRED, + REPOSITORY_TRIGGER_NAME_REQUIRED }; namespace CodeCommitErrorMapper { diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/Commit.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/Commit.h new file mode 100644 index 00000000000..423f33191fd --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/Commit.h @@ -0,0 +1,273 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Returns information about a specific commit.

+ */ + class AWS_CODECOMMIT_API Commit + { + public: + Commit(); + Commit(const Aws::Utils::Json::JsonValue& jsonValue); + Commit& operator=(const Aws::Utils::Json::JsonValue& jsonValue); + Aws::Utils::Json::JsonValue Jsonize() const; + + /** + *

Tree information for the specified commit.

+ */ + inline const Aws::String& GetTreeId() const{ return m_treeId; } + + /** + *

Tree information for the specified commit.

+ */ + inline void SetTreeId(const Aws::String& value) { m_treeIdHasBeenSet = true; m_treeId = value; } + + /** + *

Tree information for the specified commit.

+ */ + inline void SetTreeId(Aws::String&& value) { m_treeIdHasBeenSet = true; m_treeId = value; } + + /** + *

Tree information for the specified commit.

+ */ + inline void SetTreeId(const char* value) { m_treeIdHasBeenSet = true; m_treeId.assign(value); } + + /** + *

Tree information for the specified commit.

+ */ + inline Commit& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;} + + /** + *

Tree information for the specified commit.

+ */ + inline Commit& WithTreeId(Aws::String&& value) { SetTreeId(value); return *this;} + + /** + *

Tree information for the specified commit.

+ */ + inline Commit& WithTreeId(const char* value) { SetTreeId(value); return *this;} + + /** + *

The parent list for the specified commit.

+ */ + inline const Aws::Vector& GetParents() const{ return m_parents; } + + /** + *

The parent list for the specified commit.

+ */ + inline void SetParents(const Aws::Vector& value) { m_parentsHasBeenSet = true; m_parents = value; } + + /** + *

The parent list for the specified commit.

+ */ + inline void SetParents(Aws::Vector&& value) { m_parentsHasBeenSet = true; m_parents = value; } + + /** + *

The parent list for the specified commit.

+ */ + inline Commit& WithParents(const Aws::Vector& value) { SetParents(value); return *this;} + + /** + *

The parent list for the specified commit.

+ */ + inline Commit& WithParents(Aws::Vector&& value) { SetParents(value); return *this;} + + /** + *

The parent list for the specified commit.

+ */ + inline Commit& AddParents(const Aws::String& value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; } + + /** + *

The parent list for the specified commit.

+ */ + inline Commit& AddParents(Aws::String&& value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; } + + /** + *

The parent list for the specified commit.

+ */ + inline Commit& AddParents(const char* value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; } + + /** + *

The message associated with the specified commit.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

The message associated with the specified commit.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The message associated with the specified commit.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The message associated with the specified commit.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

The message associated with the specified commit.

+ */ + inline Commit& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

The message associated with the specified commit.

+ */ + inline Commit& WithMessage(Aws::String&& value) { SetMessage(value); return *this;} + + /** + *

The message associated with the specified commit.

+ */ + inline Commit& WithMessage(const char* value) { SetMessage(value); return *this;} + + /** + *

Information about the author of the specified commit.

+ */ + inline const UserInfo& GetAuthor() const{ return m_author; } + + /** + *

Information about the author of the specified commit.

+ */ + inline void SetAuthor(const UserInfo& value) { m_authorHasBeenSet = true; m_author = value; } + + /** + *

Information about the author of the specified commit.

+ */ + inline void SetAuthor(UserInfo&& value) { m_authorHasBeenSet = true; m_author = value; } + + /** + *

Information about the author of the specified commit.

+ */ + inline Commit& WithAuthor(const UserInfo& value) { SetAuthor(value); return *this;} + + /** + *

Information about the author of the specified commit.

+ */ + inline Commit& WithAuthor(UserInfo&& value) { SetAuthor(value); return *this;} + + /** + *

Information about the person who committed the specified commit, also known + * as the committer. For more information about the difference between an author + * and a committer in Git, see Viewing + * the Commit History in Pro Git by Scott Chacon and Ben Straub.

+ */ + inline const UserInfo& GetCommitter() const{ return m_committer; } + + /** + *

Information about the person who committed the specified commit, also known + * as the committer. For more information about the difference between an author + * and a committer in Git, see Viewing + * the Commit History in Pro Git by Scott Chacon and Ben Straub.

+ */ + inline void SetCommitter(const UserInfo& value) { m_committerHasBeenSet = true; m_committer = value; } + + /** + *

Information about the person who committed the specified commit, also known + * as the committer. For more information about the difference between an author + * and a committer in Git, see Viewing + * the Commit History in Pro Git by Scott Chacon and Ben Straub.

+ */ + inline void SetCommitter(UserInfo&& value) { m_committerHasBeenSet = true; m_committer = value; } + + /** + *

Information about the person who committed the specified commit, also known + * as the committer. For more information about the difference between an author + * and a committer in Git, see Viewing + * the Commit History in Pro Git by Scott Chacon and Ben Straub.

+ */ + inline Commit& WithCommitter(const UserInfo& value) { SetCommitter(value); return *this;} + + /** + *

Information about the person who committed the specified commit, also known + * as the committer. For more information about the difference between an author + * and a committer in Git, see Viewing + * the Commit History in Pro Git by Scott Chacon and Ben Straub.

+ */ + inline Commit& WithCommitter(UserInfo&& value) { SetCommitter(value); return *this;} + + /** + *

Any additional data associated with the specified commit.

+ */ + inline const Aws::String& GetAdditionalData() const{ return m_additionalData; } + + /** + *

Any additional data associated with the specified commit.

+ */ + inline void SetAdditionalData(const Aws::String& value) { m_additionalDataHasBeenSet = true; m_additionalData = value; } + + /** + *

Any additional data associated with the specified commit.

+ */ + inline void SetAdditionalData(Aws::String&& value) { m_additionalDataHasBeenSet = true; m_additionalData = value; } + + /** + *

Any additional data associated with the specified commit.

+ */ + inline void SetAdditionalData(const char* value) { m_additionalDataHasBeenSet = true; m_additionalData.assign(value); } + + /** + *

Any additional data associated with the specified commit.

+ */ + inline Commit& WithAdditionalData(const Aws::String& value) { SetAdditionalData(value); return *this;} + + /** + *

Any additional data associated with the specified commit.

+ */ + inline Commit& WithAdditionalData(Aws::String&& value) { SetAdditionalData(value); return *this;} + + /** + *

Any additional data associated with the specified commit.

+ */ + inline Commit& WithAdditionalData(const char* value) { SetAdditionalData(value); return *this;} + + private: + Aws::String m_treeId; + bool m_treeIdHasBeenSet; + Aws::Vector m_parents; + bool m_parentsHasBeenSet; + Aws::String m_message; + bool m_messageHasBeenSet; + UserInfo m_author; + bool m_authorHasBeenSet; + UserInfo m_committer; + bool m_committerHasBeenSet; + Aws::String m_additionalData; + bool m_additionalDataHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateBranchRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateBranchRequest.h index 41846577f1b..346c6ecfacd 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateBranchRequest.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateBranchRequest.h @@ -106,51 +106,37 @@ namespace Model inline CreateBranchRequest& WithBranchName(const char* value) { SetBranchName(value); return *this;} /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline const Aws::String& GetCommitId() const{ return m_commitId; } /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline void SetCommitId(const Aws::String& value) { m_commitIdHasBeenSet = true; m_commitId = value; } /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline void SetCommitId(Aws::String&& value) { m_commitIdHasBeenSet = true; m_commitId = value; } /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline void SetCommitId(const char* value) { m_commitIdHasBeenSet = true; m_commitId.assign(value); } /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline CreateBranchRequest& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;} /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline CreateBranchRequest& WithCommitId(Aws::String&& value) { SetCommitId(value); return *this;} /** - *

The ID of the commit to point the new branch to.

If this commit ID - * is not specified, the new branch will point to the commit that is pointed to by - * the repository's default branch. + *

The ID of the commit to point the new branch to.

*/ inline CreateBranchRequest& WithCommitId(const char* value) { SetCommitId(value); return *this;} diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h index 68d876e227c..00809eef242 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h @@ -36,86 +36,149 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline CreateRepositoryRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline CreateRepositoryRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} /** - *

The name of the new repository to be created.

The repository name - * must be unique across the calling AWS account. In addition, repository names are - * restricted to alphanumeric characters. The suffix ".git" is prohibited. + *

The name of the new repository to be created.

The repository + * name must be unique across the calling AWS account. In addition, repository + * names are limited to 100 alphanumeric, dash, and underscore characters, and + * cannot include certain characters. For a full description of the limits on + * repository names, see Limits + * in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.

*/ inline CreateRepositoryRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline const Aws::String& GetRepositoryDescription() const{ return m_repositoryDescription; } /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline void SetRepositoryDescription(const Aws::String& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = value; } /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline void SetRepositoryDescription(Aws::String&& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = value; } /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline void SetRepositoryDescription(const char* value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription.assign(value); } /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline CreateRepositoryRequest& WithRepositoryDescription(const Aws::String& value) { SetRepositoryDescription(value); return *this;} /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline CreateRepositoryRequest& WithRepositoryDescription(Aws::String&& value) { SetRepositoryDescription(value); return *this;} /** - *

A comment or description about the new repository.

+ *

A comment or description about the new repository.

The + * description field for a repository accepts all HTML characters and all valid + * Unicode characters. Applications that do not HTML-encode the description and + * display it in a web page could expose users to potentially malicious code. Make + * sure that you HTML-encode the description field in any application that uses + * this API to display the repository description on a web page.

*/ inline CreateRepositoryRequest& WithRepositoryDescription(const char* value) { SetRepositoryDescription(value); return *this;} diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetBranchRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetBranchRequest.h index 653aca4a742..e5a115e0d86 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetBranchRequest.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetBranchRequest.h @@ -35,25 +35,46 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline GetBranchRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline GetBranchRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} - + /** + *

The name of the repository that contains the branch for which you want to + * retrieve information.

+ */ inline GetBranchRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitRequest.h new file mode 100644 index 00000000000..a1c589d462f --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitRequest.h @@ -0,0 +1,117 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Represents the input of a get commit operation.

+ */ + class AWS_CODECOMMIT_API GetCommitRequest : public CodeCommitRequest + { + public: + GetCommitRequest(); + Aws::String SerializePayload() const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + *

The name of the repository to which the commit was made.

+ */ + inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } + + /** + *

The name of the repository to which the commit was made.

+ */ + inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository to which the commit was made.

+ */ + inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository to which the commit was made.

+ */ + inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } + + /** + *

The name of the repository to which the commit was made.

+ */ + inline GetCommitRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository to which the commit was made.

+ */ + inline GetCommitRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository to which the commit was made.

+ */ + inline GetCommitRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} + + /** + *

The commit ID.

+ */ + inline const Aws::String& GetCommitId() const{ return m_commitId; } + + /** + *

The commit ID.

+ */ + inline void SetCommitId(const Aws::String& value) { m_commitIdHasBeenSet = true; m_commitId = value; } + + /** + *

The commit ID.

+ */ + inline void SetCommitId(Aws::String&& value) { m_commitIdHasBeenSet = true; m_commitId = value; } + + /** + *

The commit ID.

+ */ + inline void SetCommitId(const char* value) { m_commitIdHasBeenSet = true; m_commitId.assign(value); } + + /** + *

The commit ID.

+ */ + inline GetCommitRequest& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;} + + /** + *

The commit ID.

+ */ + inline GetCommitRequest& WithCommitId(Aws::String&& value) { SetCommitId(value); return *this;} + + /** + *

The commit ID.

+ */ + inline GetCommitRequest& WithCommitId(const char* value) { SetCommitId(value); return *this;} + + private: + Aws::String m_repositoryName; + bool m_repositoryNameHasBeenSet; + Aws::String m_commitId; + bool m_commitIdHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitResult.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitResult.h new file mode 100644 index 00000000000..fba118dc464 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetCommitResult.h @@ -0,0 +1,76 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + /** + *

Represents the output of a get commit operation.

+ */ + class AWS_CODECOMMIT_API GetCommitResult + { + public: + GetCommitResult(); + GetCommitResult(const AmazonWebServiceResult& result); + GetCommitResult& operator=(const AmazonWebServiceResult& result); + + /** + *

Information about the specified commit.

+ */ + inline const Commit& GetCommit() const{ return m_commit; } + + /** + *

Information about the specified commit.

+ */ + inline void SetCommit(const Commit& value) { m_commit = value; } + + /** + *

Information about the specified commit.

+ */ + inline void SetCommit(Commit&& value) { m_commit = value; } + + /** + *

Information about the specified commit.

+ */ + inline GetCommitResult& WithCommit(const Commit& value) { SetCommit(value); return *this;} + + /** + *

Information about the specified commit.

+ */ + inline GetCommitResult& WithCommit(Commit&& value) { SetCommit(value); return *this;} + + private: + Commit m_commit; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersRequest.h new file mode 100644 index 00000000000..28beac37982 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersRequest.h @@ -0,0 +1,80 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Represents the input of a get repository triggers operation.

+ */ + class AWS_CODECOMMIT_API GetRepositoryTriggersRequest : public CodeCommitRequest + { + public: + GetRepositoryTriggersRequest(); + Aws::String SerializePayload() const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline GetRepositoryTriggersRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline GetRepositoryTriggersRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository for which the trigger is configured.

+ */ + inline GetRepositoryTriggersRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} + + private: + Aws::String m_repositoryName; + bool m_repositoryNameHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersResult.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersResult.h new file mode 100644 index 00000000000..01bd28ade76 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetRepositoryTriggersResult.h @@ -0,0 +1,124 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + /** + *

Represents the output of a get repository triggers operation.

+ */ + class AWS_CODECOMMIT_API GetRepositoryTriggersResult + { + public: + GetRepositoryTriggersResult(); + GetRepositoryTriggersResult(const AmazonWebServiceResult& result); + GetRepositoryTriggersResult& operator=(const AmazonWebServiceResult& result); + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline const Aws::String& GetConfigurationId() const{ return m_configurationId; } + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline void SetConfigurationId(const Aws::String& value) { m_configurationId = value; } + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline void SetConfigurationId(Aws::String&& value) { m_configurationId = value; } + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline void SetConfigurationId(const char* value) { m_configurationId.assign(value); } + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline GetRepositoryTriggersResult& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;} + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline GetRepositoryTriggersResult& WithConfigurationId(Aws::String&& value) { SetConfigurationId(value); return *this;} + + /** + *

The system-generated unique ID for the trigger.

+ */ + inline GetRepositoryTriggersResult& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;} + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline const Aws::Vector& GetTriggers() const{ return m_triggers; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline void SetTriggers(const Aws::Vector& value) { m_triggers = value; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline void SetTriggers(Aws::Vector&& value) { m_triggers = value; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline GetRepositoryTriggersResult& WithTriggers(const Aws::Vector& value) { SetTriggers(value); return *this;} + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline GetRepositoryTriggersResult& WithTriggers(Aws::Vector&& value) { SetTriggers(value); return *this;} + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline GetRepositoryTriggersResult& AddTriggers(const RepositoryTrigger& value) { m_triggers.push_back(value); return *this; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline GetRepositoryTriggersResult& AddTriggers(RepositoryTrigger&& value) { m_triggers.push_back(value); return *this; } + + private: + Aws::String m_configurationId; + Aws::Vector m_triggers; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersRequest.h new file mode 100644 index 00000000000..678b19468a7 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersRequest.h @@ -0,0 +1,126 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Represents the input ofa put repository triggers operation.

+ */ + class AWS_CODECOMMIT_API PutRepositoryTriggersRequest : public CodeCommitRequest + { + public: + PutRepositoryTriggersRequest(); + Aws::String SerializePayload() const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline PutRepositoryTriggersRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline PutRepositoryTriggersRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository where you want to create or update the trigger. + *

+ */ + inline PutRepositoryTriggersRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline const Aws::Vector& GetTriggers() const{ return m_triggers; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline void SetTriggers(const Aws::Vector& value) { m_triggersHasBeenSet = true; m_triggers = value; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline void SetTriggers(Aws::Vector&& value) { m_triggersHasBeenSet = true; m_triggers = value; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline PutRepositoryTriggersRequest& WithTriggers(const Aws::Vector& value) { SetTriggers(value); return *this;} + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline PutRepositoryTriggersRequest& WithTriggers(Aws::Vector&& value) { SetTriggers(value); return *this;} + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline PutRepositoryTriggersRequest& AddTriggers(const RepositoryTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; } + + /** + *

The JSON block of configuration information for each trigger.

+ */ + inline PutRepositoryTriggersRequest& AddTriggers(RepositoryTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; } + + private: + Aws::String m_repositoryName; + bool m_repositoryNameHasBeenSet; + Aws::Vector m_triggers; + bool m_triggersHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersResult.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersResult.h new file mode 100644 index 00000000000..aba7f76a6eb --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/PutRepositoryTriggersResult.h @@ -0,0 +1,86 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + /** + *

Represents the output of a put repository triggers operation.

+ */ + class AWS_CODECOMMIT_API PutRepositoryTriggersResult + { + public: + PutRepositoryTriggersResult(); + PutRepositoryTriggersResult(const AmazonWebServiceResult& result); + PutRepositoryTriggersResult& operator=(const AmazonWebServiceResult& result); + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline const Aws::String& GetConfigurationId() const{ return m_configurationId; } + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline void SetConfigurationId(const Aws::String& value) { m_configurationId = value; } + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline void SetConfigurationId(Aws::String&& value) { m_configurationId = value; } + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline void SetConfigurationId(const char* value) { m_configurationId.assign(value); } + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline PutRepositoryTriggersResult& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;} + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline PutRepositoryTriggersResult& WithConfigurationId(Aws::String&& value) { SetConfigurationId(value); return *this;} + + /** + *

The system-generated unique ID for the create or update operation.

+ */ + inline PutRepositoryTriggersResult& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;} + + private: + Aws::String m_configurationId; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryNameIdPair.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryNameIdPair.h index 5b28fdd2801..d896cea84d5 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryNameIdPair.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryNameIdPair.h @@ -41,59 +41,73 @@ namespace Model RepositoryNameIdPair& operator=(const Aws::Utils::Json::JsonValue& jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; - + /** + *

The name associated with the repository.

+ */ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } - + /** + *

The name associated with the repository.

+ */ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } - + /** + *

The name associated with the repository.

+ */ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } - + /** + *

The name associated with the repository.

+ */ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } - + /** + *

The name associated with the repository.

+ */ inline RepositoryNameIdPair& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} - + /** + *

The name associated with the repository.

+ */ inline RepositoryNameIdPair& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} - + /** + *

The name associated with the repository.

+ */ inline RepositoryNameIdPair& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline const Aws::String& GetRepositoryId() const{ return m_repositoryId; } /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline void SetRepositoryId(const Aws::String& value) { m_repositoryIdHasBeenSet = true; m_repositoryId = value; } /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline void SetRepositoryId(Aws::String&& value) { m_repositoryIdHasBeenSet = true; m_repositoryId = value; } /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline void SetRepositoryId(const char* value) { m_repositoryIdHasBeenSet = true; m_repositoryId.assign(value); } /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline RepositoryNameIdPair& WithRepositoryId(const Aws::String& value) { SetRepositoryId(value); return *this;} /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline RepositoryNameIdPair& WithRepositoryId(Aws::String&& value) { SetRepositoryId(value); return *this;} /** - *

The ID associated with the repository name.

+ *

The ID associated with the repository.

*/ inline RepositoryNameIdPair& WithRepositoryId(const char* value) { SetRepositoryId(value); return *this;} diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTrigger.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTrigger.h new file mode 100644 index 00000000000..a326b61e909 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTrigger.h @@ -0,0 +1,284 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Information about a trigger for a repository.

+ */ + class AWS_CODECOMMIT_API RepositoryTrigger + { + public: + RepositoryTrigger(); + RepositoryTrigger(const Aws::Utils::Json::JsonValue& jsonValue); + RepositoryTrigger& operator=(const Aws::Utils::Json::JsonValue& jsonValue); + Aws::Utils::Json::JsonValue Jsonize() const; + + /** + *

The name of the trigger.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the trigger.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the trigger.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the trigger.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the trigger.

+ */ + inline RepositoryTrigger& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the trigger.

+ */ + inline RepositoryTrigger& WithName(Aws::String&& value) { SetName(value); return *this;} + + /** + *

The name of the trigger.

+ */ + inline RepositoryTrigger& WithName(const char* value) { SetName(value); return *this;} + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; } + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; } + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; } + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); } + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline RepositoryTrigger& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline RepositoryTrigger& WithDestinationArn(Aws::String&& value) { SetDestinationArn(value); return *this;} + + /** + *

The ARN of the resource that is the target for a trigger. For example, the + * ARN of a topic in Amazon Simple Notification Service (SNS).

+ */ + inline RepositoryTrigger& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;} + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline const Aws::String& GetCustomData() const{ return m_customData; } + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline void SetCustomData(const Aws::String& value) { m_customDataHasBeenSet = true; m_customData = value; } + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline void SetCustomData(Aws::String&& value) { m_customDataHasBeenSet = true; m_customData = value; } + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline void SetCustomData(const char* value) { m_customDataHasBeenSet = true; m_customData.assign(value); } + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline RepositoryTrigger& WithCustomData(const Aws::String& value) { SetCustomData(value); return *this;} + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline RepositoryTrigger& WithCustomData(Aws::String&& value) { SetCustomData(value); return *this;} + + /** + *

Any custom data associated with the trigger that will be included in the + * information sent to the target of the trigger.

+ */ + inline RepositoryTrigger& WithCustomData(const char* value) { SetCustomData(value); return *this;} + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline const Aws::Vector& GetBranches() const{ return m_branches; } + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline void SetBranches(const Aws::Vector& value) { m_branchesHasBeenSet = true; m_branches = value; } + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline void SetBranches(Aws::Vector&& value) { m_branchesHasBeenSet = true; m_branches = value; } + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline RepositoryTrigger& WithBranches(const Aws::Vector& value) { SetBranches(value); return *this;} + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline RepositoryTrigger& WithBranches(Aws::Vector&& value) { SetBranches(value); return *this;} + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline RepositoryTrigger& AddBranches(const Aws::String& value) { m_branchesHasBeenSet = true; m_branches.push_back(value); return *this; } + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline RepositoryTrigger& AddBranches(Aws::String&& value) { m_branchesHasBeenSet = true; m_branches.push_back(value); return *this; } + + /** + *

The branches that will be included in the trigger configuration. If no + * branches are specified, the trigger will apply to all branches.

+ */ + inline RepositoryTrigger& AddBranches(const char* value) { m_branchesHasBeenSet = true; m_branches.push_back(value); return *this; } + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline const Aws::Vector& GetEvents() const{ return m_events; } + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline void SetEvents(const Aws::Vector& value) { m_eventsHasBeenSet = true; m_events = value; } + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline void SetEvents(Aws::Vector&& value) { m_eventsHasBeenSet = true; m_events = value; } + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline RepositoryTrigger& WithEvents(const Aws::Vector& value) { SetEvents(value); return *this;} + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline RepositoryTrigger& WithEvents(Aws::Vector&& value) { SetEvents(value); return *this;} + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline RepositoryTrigger& AddEvents(const RepositoryTriggerEventEnum& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } + + /** + *

The repository events that will cause the trigger to run actions in another + * service, such as sending a notification through Amazon Simple Notification + * Service (SNS). If no events are specified, the trigger will run for all + * repository events.

+ */ + inline RepositoryTrigger& AddEvents(RepositoryTriggerEventEnum&& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } + + private: + Aws::String m_name; + bool m_nameHasBeenSet; + Aws::String m_destinationArn; + bool m_destinationArnHasBeenSet; + Aws::String m_customData; + bool m_customDataHasBeenSet; + Aws::Vector m_branches; + bool m_branchesHasBeenSet; + Aws::Vector m_events; + bool m_eventsHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerEventEnum.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerEventEnum.h new file mode 100644 index 00000000000..be75c2dafd1 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerEventEnum.h @@ -0,0 +1,42 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include + +namespace Aws +{ +namespace CodeCommit +{ +namespace Model +{ + enum class RepositoryTriggerEventEnum + { + NOT_SET, + all, + updateReference, + createReference, + deleteReference + }; + +namespace RepositoryTriggerEventEnumMapper +{ +AWS_CODECOMMIT_API RepositoryTriggerEventEnum GetRepositoryTriggerEventEnumForName(const Aws::String& name); + +AWS_CODECOMMIT_API Aws::String GetNameForRepositoryTriggerEventEnum(RepositoryTriggerEventEnum value); +} // namespace RepositoryTriggerEventEnumMapper +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerExecutionFailure.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerExecutionFailure.h new file mode 100644 index 00000000000..90a6218a4b9 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/RepositoryTriggerExecutionFailure.h @@ -0,0 +1,123 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + + /** + *

A trigger failed to run.

+ */ + class AWS_CODECOMMIT_API RepositoryTriggerExecutionFailure + { + public: + RepositoryTriggerExecutionFailure(); + RepositoryTriggerExecutionFailure(const Aws::Utils::Json::JsonValue& jsonValue); + RepositoryTriggerExecutionFailure& operator=(const Aws::Utils::Json::JsonValue& jsonValue); + Aws::Utils::Json::JsonValue Jsonize() const; + + /** + *

The name of the trigger that did not run.

+ */ + inline const Aws::String& GetTrigger() const{ return m_trigger; } + + /** + *

The name of the trigger that did not run.

+ */ + inline void SetTrigger(const Aws::String& value) { m_triggerHasBeenSet = true; m_trigger = value; } + + /** + *

The name of the trigger that did not run.

+ */ + inline void SetTrigger(Aws::String&& value) { m_triggerHasBeenSet = true; m_trigger = value; } + + /** + *

The name of the trigger that did not run.

+ */ + inline void SetTrigger(const char* value) { m_triggerHasBeenSet = true; m_trigger.assign(value); } + + /** + *

The name of the trigger that did not run.

+ */ + inline RepositoryTriggerExecutionFailure& WithTrigger(const Aws::String& value) { SetTrigger(value); return *this;} + + /** + *

The name of the trigger that did not run.

+ */ + inline RepositoryTriggerExecutionFailure& WithTrigger(Aws::String&& value) { SetTrigger(value); return *this;} + + /** + *

The name of the trigger that did not run.

+ */ + inline RepositoryTriggerExecutionFailure& WithTrigger(const char* value) { SetTrigger(value); return *this;} + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline RepositoryTriggerExecutionFailure& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline RepositoryTriggerExecutionFailure& WithFailureMessage(Aws::String&& value) { SetFailureMessage(value); return *this;} + + /** + *

Additional message information about the trigger that did not run.

+ */ + inline RepositoryTriggerExecutionFailure& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} + + private: + Aws::String m_trigger; + bool m_triggerHasBeenSet; + Aws::String m_failureMessage; + bool m_failureMessageHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersRequest.h new file mode 100644 index 00000000000..77fe72f5fb8 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersRequest.h @@ -0,0 +1,119 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Represents the input of a test repository triggers operation.

+ */ + class AWS_CODECOMMIT_API TestRepositoryTriggersRequest : public CodeCommitRequest + { + public: + TestRepositoryTriggersRequest(); + Aws::String SerializePayload() const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline TestRepositoryTriggersRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline TestRepositoryTriggersRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(value); return *this;} + + /** + *

The name of the repository in which to test the triggers.

+ */ + inline TestRepositoryTriggersRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} + + /** + *

The list of triggers to test.

+ */ + inline const Aws::Vector& GetTriggers() const{ return m_triggers; } + + /** + *

The list of triggers to test.

+ */ + inline void SetTriggers(const Aws::Vector& value) { m_triggersHasBeenSet = true; m_triggers = value; } + + /** + *

The list of triggers to test.

+ */ + inline void SetTriggers(Aws::Vector&& value) { m_triggersHasBeenSet = true; m_triggers = value; } + + /** + *

The list of triggers to test.

+ */ + inline TestRepositoryTriggersRequest& WithTriggers(const Aws::Vector& value) { SetTriggers(value); return *this;} + + /** + *

The list of triggers to test.

+ */ + inline TestRepositoryTriggersRequest& WithTriggers(Aws::Vector&& value) { SetTriggers(value); return *this;} + + /** + *

The list of triggers to test.

+ */ + inline TestRepositoryTriggersRequest& AddTriggers(const RepositoryTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; } + + /** + *

The list of triggers to test.

+ */ + inline TestRepositoryTriggersRequest& AddTriggers(RepositoryTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; } + + private: + Aws::String m_repositoryName; + bool m_repositoryNameHasBeenSet; + Aws::Vector m_triggers; + bool m_triggersHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersResult.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersResult.h new file mode 100644 index 00000000000..92219d6e2c8 --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/TestRepositoryTriggersResult.h @@ -0,0 +1,144 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + /** + *

Represents the output of a test repository triggers operation.

+ */ + class AWS_CODECOMMIT_API TestRepositoryTriggersResult + { + public: + TestRepositoryTriggersResult(); + TestRepositoryTriggersResult(const AmazonWebServiceResult& result); + TestRepositoryTriggersResult& operator=(const AmazonWebServiceResult& result); + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline const Aws::Vector& GetSuccessfulExecutions() const{ return m_successfulExecutions; } + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline void SetSuccessfulExecutions(const Aws::Vector& value) { m_successfulExecutions = value; } + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline void SetSuccessfulExecutions(Aws::Vector&& value) { m_successfulExecutions = value; } + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& WithSuccessfulExecutions(const Aws::Vector& value) { SetSuccessfulExecutions(value); return *this;} + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& WithSuccessfulExecutions(Aws::Vector&& value) { SetSuccessfulExecutions(value); return *this;} + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& AddSuccessfulExecutions(const Aws::String& value) { m_successfulExecutions.push_back(value); return *this; } + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& AddSuccessfulExecutions(Aws::String&& value) { m_successfulExecutions.push_back(value); return *this; } + + /** + *

The list of triggers that were successfully tested. This list provides the + * names of the triggers that were successfully tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& AddSuccessfulExecutions(const char* value) { m_successfulExecutions.push_back(value); return *this; } + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline const Aws::Vector& GetFailedExecutions() const{ return m_failedExecutions; } + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline void SetFailedExecutions(const Aws::Vector& value) { m_failedExecutions = value; } + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline void SetFailedExecutions(Aws::Vector&& value) { m_failedExecutions = value; } + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& WithFailedExecutions(const Aws::Vector& value) { SetFailedExecutions(value); return *this;} + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& WithFailedExecutions(Aws::Vector&& value) { SetFailedExecutions(value); return *this;} + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& AddFailedExecutions(const RepositoryTriggerExecutionFailure& value) { m_failedExecutions.push_back(value); return *this; } + + /** + *

The list of triggers that were not able to be tested. This list provides the + * names of the triggers that could not be tested, separated by commas.

+ */ + inline TestRepositoryTriggersResult& AddFailedExecutions(RepositoryTriggerExecutionFailure&& value) { m_failedExecutions.push_back(value); return *this; } + + private: + Aws::Vector m_successfulExecutions; + Aws::Vector m_failedExecutions; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryDescriptionRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryDescriptionRequest.h index 18b5ca2fb15..29b0fd9d4a4 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryDescriptionRequest.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryDescriptionRequest.h @@ -78,37 +78,44 @@ namespace Model inline UpdateRepositoryDescriptionRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline const Aws::String& GetRepositoryDescription() const{ return m_repositoryDescription; } /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline void SetRepositoryDescription(const Aws::String& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = value; } /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline void SetRepositoryDescription(Aws::String&& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = value; } /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline void SetRepositoryDescription(const char* value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription.assign(value); } /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryDescription(const Aws::String& value) { SetRepositoryDescription(value); return *this;} /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryDescription(Aws::String&& value) { SetRepositoryDescription(value); return *this;} /** - *

The new comment or description for the specified repository.

+ *

The new comment or description for the specified repository. Repository + * descriptions are limited to 1,000 characters.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryDescription(const char* value) { SetRepositoryDescription(value); return *this;} diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryNameRequest.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryNameRequest.h index 567525f3e74..894738f3cf1 100644 --- a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryNameRequest.h +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UpdateRepositoryNameRequest.h @@ -35,46 +35,74 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - + /** + *

The existing name of the repository.

+ */ inline const Aws::String& GetOldName() const{ return m_oldName; } - + /** + *

The existing name of the repository.

+ */ inline void SetOldName(const Aws::String& value) { m_oldNameHasBeenSet = true; m_oldName = value; } - + /** + *

The existing name of the repository.

+ */ inline void SetOldName(Aws::String&& value) { m_oldNameHasBeenSet = true; m_oldName = value; } - + /** + *

The existing name of the repository.

+ */ inline void SetOldName(const char* value) { m_oldNameHasBeenSet = true; m_oldName.assign(value); } - + /** + *

The existing name of the repository.

+ */ inline UpdateRepositoryNameRequest& WithOldName(const Aws::String& value) { SetOldName(value); return *this;} - + /** + *

The existing name of the repository.

+ */ inline UpdateRepositoryNameRequest& WithOldName(Aws::String&& value) { SetOldName(value); return *this;} - + /** + *

The existing name of the repository.

+ */ inline UpdateRepositoryNameRequest& WithOldName(const char* value) { SetOldName(value); return *this;} - + /** + *

The new name for the repository.

+ */ inline const Aws::String& GetNewName() const{ return m_newName; } - + /** + *

The new name for the repository.

+ */ inline void SetNewName(const Aws::String& value) { m_newNameHasBeenSet = true; m_newName = value; } - + /** + *

The new name for the repository.

+ */ inline void SetNewName(Aws::String&& value) { m_newNameHasBeenSet = true; m_newName = value; } - + /** + *

The new name for the repository.

+ */ inline void SetNewName(const char* value) { m_newNameHasBeenSet = true; m_newName.assign(value); } - + /** + *

The new name for the repository.

+ */ inline UpdateRepositoryNameRequest& WithNewName(const Aws::String& value) { SetNewName(value); return *this;} - + /** + *

The new name for the repository.

+ */ inline UpdateRepositoryNameRequest& WithNewName(Aws::String&& value) { SetNewName(value); return *this;} - + /** + *

The new name for the repository.

+ */ inline UpdateRepositoryNameRequest& WithNewName(const char* value) { SetNewName(value); return *this;} private: diff --git a/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UserInfo.h b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UserInfo.h new file mode 100644 index 00000000000..a163c3ed93e --- /dev/null +++ b/aws-cpp-sdk-codecommit/include/aws/codecommit/model/UserInfo.h @@ -0,0 +1,160 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#pragma once +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CodeCommit +{ +namespace Model +{ + + /** + *

Information about the user who made a specified commit.

+ */ + class AWS_CODECOMMIT_API UserInfo + { + public: + UserInfo(); + UserInfo(const Aws::Utils::Json::JsonValue& jsonValue); + UserInfo& operator=(const Aws::Utils::Json::JsonValue& jsonValue); + Aws::Utils::Json::JsonValue Jsonize() const; + + /** + *

The name of the user who made the specified commit.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the user who made the specified commit.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the user who made the specified commit.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the user who made the specified commit.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the user who made the specified commit.

+ */ + inline UserInfo& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the user who made the specified commit.

+ */ + inline UserInfo& WithName(Aws::String&& value) { SetName(value); return *this;} + + /** + *

The name of the user who made the specified commit.

+ */ + inline UserInfo& WithName(const char* value) { SetName(value); return *this;} + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline const Aws::String& GetEmail() const{ return m_email; } + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = value; } + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline UserInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline UserInfo& WithEmail(Aws::String&& value) { SetEmail(value); return *this;} + + /** + *

The email address associated with the user who made the commit, if any.

+ */ + inline UserInfo& WithEmail(const char* value) { SetEmail(value); return *this;} + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline const Aws::String& GetDate() const{ return m_date; } + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline void SetDate(const Aws::String& value) { m_dateHasBeenSet = true; m_date = value; } + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline void SetDate(Aws::String&& value) { m_dateHasBeenSet = true; m_date = value; } + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline void SetDate(const char* value) { m_dateHasBeenSet = true; m_date.assign(value); } + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline UserInfo& WithDate(const Aws::String& value) { SetDate(value); return *this;} + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline UserInfo& WithDate(Aws::String&& value) { SetDate(value); return *this;} + + /** + *

The date when the specified commit was pushed to the repository.

+ */ + inline UserInfo& WithDate(const char* value) { SetDate(value); return *this;} + + private: + Aws::String m_name; + bool m_nameHasBeenSet; + Aws::String m_email; + bool m_emailHasBeenSet; + Aws::String m_date; + bool m_dateHasBeenSet; + }; + +} // namespace Model +} // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/source/CodeCommitClient.cpp b/aws-cpp-sdk-codecommit/source/CodeCommitClient.cpp index 191bb06e0e8..76b9bff24f5 100644 --- a/aws-cpp-sdk-codecommit/source/CodeCommitClient.cpp +++ b/aws-cpp-sdk-codecommit/source/CodeCommitClient.cpp @@ -31,9 +31,13 @@ #include #include #include +#include #include +#include #include #include +#include +#include #include #include #include @@ -255,6 +259,37 @@ void CodeCommitClient::GetBranchAsyncHelper(const GetBranchRequest& request, con handler(this, request, GetBranch(request), context); } +GetCommitOutcome CodeCommitClient::GetCommit(const GetCommitRequest& request) const +{ + Aws::StringStream ss; + ss << m_uri << "/"; + + JsonOutcome outcome = MakeRequest(ss.str(), request, HttpMethod::HTTP_POST); + if(outcome.IsSuccess()) + { + return GetCommitOutcome(GetCommitResult(outcome.GetResult())); + } + else + { + return GetCommitOutcome(outcome.GetError()); + } +} + +GetCommitOutcomeCallable CodeCommitClient::GetCommitCallable(const GetCommitRequest& request) const +{ + return std::async(std::launch::async, &CodeCommitClient::GetCommit, this, request); +} + +void CodeCommitClient::GetCommitAsync(const GetCommitRequest& request, const GetCommitResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + m_executor->Submit(&CodeCommitClient::GetCommitAsyncHelper, this, request, handler, context); +} + +void CodeCommitClient::GetCommitAsyncHelper(const GetCommitRequest& request, const GetCommitResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + handler(this, request, GetCommit(request), context); +} + GetRepositoryOutcome CodeCommitClient::GetRepository(const GetRepositoryRequest& request) const { Aws::StringStream ss; @@ -286,6 +321,37 @@ void CodeCommitClient::GetRepositoryAsyncHelper(const GetRepositoryRequest& requ handler(this, request, GetRepository(request), context); } +GetRepositoryTriggersOutcome CodeCommitClient::GetRepositoryTriggers(const GetRepositoryTriggersRequest& request) const +{ + Aws::StringStream ss; + ss << m_uri << "/"; + + JsonOutcome outcome = MakeRequest(ss.str(), request, HttpMethod::HTTP_POST); + if(outcome.IsSuccess()) + { + return GetRepositoryTriggersOutcome(GetRepositoryTriggersResult(outcome.GetResult())); + } + else + { + return GetRepositoryTriggersOutcome(outcome.GetError()); + } +} + +GetRepositoryTriggersOutcomeCallable CodeCommitClient::GetRepositoryTriggersCallable(const GetRepositoryTriggersRequest& request) const +{ + return std::async(std::launch::async, &CodeCommitClient::GetRepositoryTriggers, this, request); +} + +void CodeCommitClient::GetRepositoryTriggersAsync(const GetRepositoryTriggersRequest& request, const GetRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + m_executor->Submit(&CodeCommitClient::GetRepositoryTriggersAsyncHelper, this, request, handler, context); +} + +void CodeCommitClient::GetRepositoryTriggersAsyncHelper(const GetRepositoryTriggersRequest& request, const GetRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + handler(this, request, GetRepositoryTriggers(request), context); +} + ListBranchesOutcome CodeCommitClient::ListBranches(const ListBranchesRequest& request) const { Aws::StringStream ss; @@ -348,6 +414,68 @@ void CodeCommitClient::ListRepositoriesAsyncHelper(const ListRepositoriesRequest handler(this, request, ListRepositories(request), context); } +PutRepositoryTriggersOutcome CodeCommitClient::PutRepositoryTriggers(const PutRepositoryTriggersRequest& request) const +{ + Aws::StringStream ss; + ss << m_uri << "/"; + + JsonOutcome outcome = MakeRequest(ss.str(), request, HttpMethod::HTTP_POST); + if(outcome.IsSuccess()) + { + return PutRepositoryTriggersOutcome(PutRepositoryTriggersResult(outcome.GetResult())); + } + else + { + return PutRepositoryTriggersOutcome(outcome.GetError()); + } +} + +PutRepositoryTriggersOutcomeCallable CodeCommitClient::PutRepositoryTriggersCallable(const PutRepositoryTriggersRequest& request) const +{ + return std::async(std::launch::async, &CodeCommitClient::PutRepositoryTriggers, this, request); +} + +void CodeCommitClient::PutRepositoryTriggersAsync(const PutRepositoryTriggersRequest& request, const PutRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + m_executor->Submit(&CodeCommitClient::PutRepositoryTriggersAsyncHelper, this, request, handler, context); +} + +void CodeCommitClient::PutRepositoryTriggersAsyncHelper(const PutRepositoryTriggersRequest& request, const PutRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + handler(this, request, PutRepositoryTriggers(request), context); +} + +TestRepositoryTriggersOutcome CodeCommitClient::TestRepositoryTriggers(const TestRepositoryTriggersRequest& request) const +{ + Aws::StringStream ss; + ss << m_uri << "/"; + + JsonOutcome outcome = MakeRequest(ss.str(), request, HttpMethod::HTTP_POST); + if(outcome.IsSuccess()) + { + return TestRepositoryTriggersOutcome(TestRepositoryTriggersResult(outcome.GetResult())); + } + else + { + return TestRepositoryTriggersOutcome(outcome.GetError()); + } +} + +TestRepositoryTriggersOutcomeCallable CodeCommitClient::TestRepositoryTriggersCallable(const TestRepositoryTriggersRequest& request) const +{ + return std::async(std::launch::async, &CodeCommitClient::TestRepositoryTriggers, this, request); +} + +void CodeCommitClient::TestRepositoryTriggersAsync(const TestRepositoryTriggersRequest& request, const TestRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + m_executor->Submit(&CodeCommitClient::TestRepositoryTriggersAsyncHelper, this, request, handler, context); +} + +void CodeCommitClient::TestRepositoryTriggersAsyncHelper(const TestRepositoryTriggersRequest& request, const TestRepositoryTriggersResponseReceivedHandler& handler, const std::shared_ptr& context) const +{ + handler(this, request, TestRepositoryTriggers(request), context); +} + UpdateDefaultBranchOutcome CodeCommitClient::UpdateDefaultBranch(const UpdateDefaultBranchRequest& request) const { Aws::StringStream ss; diff --git a/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp b/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp index a3842a5359a..da8f26dbe16 100644 --- a/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp +++ b/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp @@ -20,29 +20,43 @@ using namespace Aws::Client; using namespace Aws::CodeCommit; using namespace Aws::Utils; -static const int REPOSITORY_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("RepositoryLimitExceededException"); -static const int INVALID_ORDER_HASH = HashingUtils::HashString("InvalidOrderException"); static const int ENCRYPTION_KEY_ACCESS_DENIED_HASH = HashingUtils::HashString("EncryptionKeyAccessDeniedException"); -static const int ENCRYPTION_KEY_UNAVAILABLE_HASH = HashingUtils::HashString("EncryptionKeyUnavailableException"); +static const int INVALID_REPOSITORY_TRIGGER_DESTINATION_ARN_HASH = HashingUtils::HashString("InvalidRepositoryTriggerDestinationArnException"); +static const int REPOSITORY_TRIGGER_EVENTS_LIST_REQUIRED_HASH = HashingUtils::HashString("RepositoryTriggerEventsListRequiredException"); +static const int COMMIT_ID_REQUIRED_HASH = HashingUtils::HashString("CommitIdRequiredException"); +static const int REPOSITORY_TRIGGER_DESTINATION_ARN_REQUIRED_HASH = HashingUtils::HashString("RepositoryTriggerDestinationArnRequiredException"); +static const int REPOSITORY_NAMES_REQUIRED_HASH = HashingUtils::HashString("RepositoryNamesRequiredException"); static const int REPOSITORY_NAME_EXISTS_HASH = HashingUtils::HashString("RepositoryNameExistsException"); -static const int ENCRYPTION_KEY_DISABLED_HASH = HashingUtils::HashString("EncryptionKeyDisabledException"); -static const int INVALID_REPOSITORY_NAME_HASH = HashingUtils::HashString("InvalidRepositoryNameException"); +static const int INVALID_REPOSITORY_TRIGGER_EVENTS_HASH = HashingUtils::HashString("InvalidRepositoryTriggerEventsException"); static const int ENCRYPTION_INTEGRITY_CHECKS_FAILED_HASH = HashingUtils::HashString("EncryptionIntegrityChecksFailedException"); -static const int REPOSITORY_DOES_NOT_EXIST_HASH = HashingUtils::HashString("RepositoryDoesNotExistException"); -static const int INVALID_BRANCH_NAME_HASH = HashingUtils::HashString("InvalidBranchNameException"); +static const int INVALID_REPOSITORY_TRIGGER_BRANCH_NAME_HASH = HashingUtils::HashString("InvalidRepositoryTriggerBranchNameException"); +static const int ENCRYPTION_KEY_UNAVAILABLE_HASH = HashingUtils::HashString("EncryptionKeyUnavailableException"); +static const int REPOSITORY_TRIGGER_BRANCH_NAME_LIST_REQUIRED_HASH = HashingUtils::HashString("RepositoryTriggerBranchNameListRequiredException"); +static const int INVALID_REPOSITORY_NAME_HASH = HashingUtils::HashString("InvalidRepositoryNameException"); +static const int REPOSITORY_TRIGGER_NAME_REQUIRED_HASH = HashingUtils::HashString("RepositoryTriggerNameRequiredException"); +static const int INVALID_REPOSITORY_TRIGGER_REGION_HASH = HashingUtils::HashString("InvalidRepositoryTriggerRegionException"); +static const int COMMIT_ID_DOES_NOT_EXIST_HASH = HashingUtils::HashString("CommitIdDoesNotExistException"); +static const int INVALID_ORDER_HASH = HashingUtils::HashString("InvalidOrderException"); +static const int INVALID_REPOSITORY_TRIGGER_NAME_HASH = HashingUtils::HashString("InvalidRepositoryTriggerNameException"); +static const int ENCRYPTION_KEY_NOT_FOUND_HASH = HashingUtils::HashString("EncryptionKeyNotFoundException"); +static const int MAXIMUM_BRANCHES_EXCEEDED_HASH = HashingUtils::HashString("MaximumBranchesExceededException"); +static const int REPOSITORY_TRIGGERS_LIST_REQUIRED_HASH = HashingUtils::HashString("RepositoryTriggersListRequiredException"); +static const int ENCRYPTION_KEY_DISABLED_HASH = HashingUtils::HashString("EncryptionKeyDisabledException"); static const int INVALID_COMMIT_ID_HASH = HashingUtils::HashString("InvalidCommitIdException"); -static const int REPOSITORY_NAME_REQUIRED_HASH = HashingUtils::HashString("RepositoryNameRequiredException"); +static const int COMMIT_DOES_NOT_EXIST_HASH = HashingUtils::HashString("CommitDoesNotExistException"); +static const int INVALID_SORT_BY_HASH = HashingUtils::HashString("InvalidSortByException"); +static const int BRANCH_NAME_REQUIRED_HASH = HashingUtils::HashString("BranchNameRequiredException"); static const int INVALID_REPOSITORY_DESCRIPTION_HASH = HashingUtils::HashString("InvalidRepositoryDescriptionException"); static const int BRANCH_DOES_NOT_EXIST_HASH = HashingUtils::HashString("BranchDoesNotExistException"); +static const int REPOSITORY_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("RepositoryLimitExceededException"); +static const int INVALID_BRANCH_NAME_HASH = HashingUtils::HashString("InvalidBranchNameException"); +static const int INVALID_CONTINUATION_TOKEN_HASH = HashingUtils::HashString("InvalidContinuationTokenException"); +static const int MAXIMUM_REPOSITORY_TRIGGERS_EXCEEDED_HASH = HashingUtils::HashString("MaximumRepositoryTriggersExceededException"); +static const int REPOSITORY_NAME_REQUIRED_HASH = HashingUtils::HashString("RepositoryNameRequiredException"); static const int BRANCH_NAME_EXISTS_HASH = HashingUtils::HashString("BranchNameExistsException"); -static const int REPOSITORY_NAMES_REQUIRED_HASH = HashingUtils::HashString("RepositoryNamesRequiredException"); -static const int BRANCH_NAME_REQUIRED_HASH = HashingUtils::HashString("BranchNameRequiredException"); -static const int COMMIT_DOES_NOT_EXIST_HASH = HashingUtils::HashString("CommitDoesNotExistException"); +static const int INVALID_REPOSITORY_TRIGGER_CUSTOM_DATA_HASH = HashingUtils::HashString("InvalidRepositoryTriggerCustomDataException"); +static const int REPOSITORY_DOES_NOT_EXIST_HASH = HashingUtils::HashString("RepositoryDoesNotExistException"); static const int MAXIMUM_REPOSITORY_NAMES_EXCEEDED_HASH = HashingUtils::HashString("MaximumRepositoryNamesExceededException"); -static const int COMMIT_ID_REQUIRED_HASH = HashingUtils::HashString("CommitIdRequiredException"); -static const int INVALID_CONTINUATION_TOKEN_HASH = HashingUtils::HashString("InvalidContinuationTokenException"); -static const int ENCRYPTION_KEY_NOT_FOUND_HASH = HashingUtils::HashString("EncryptionKeyNotFoundException"); -static const int INVALID_SORT_BY_HASH = HashingUtils::HashString("InvalidSortByException"); namespace Aws { @@ -55,53 +69,109 @@ AWSError GetErrorForName(const char* errorName) { int hashCode = HashingUtils::HashString(errorName); - if (hashCode == REPOSITORY_LIMIT_EXCEEDED_HASH) + if (hashCode == ENCRYPTION_KEY_ACCESS_DENIED_HASH) { - return AWSError(static_cast(CodeCommitErrors::REPOSITORY_LIMIT_EXCEEDED), false); + return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_ACCESS_DENIED), false); } - else if (hashCode == INVALID_ORDER_HASH) + else if (hashCode == INVALID_REPOSITORY_TRIGGER_DESTINATION_ARN_HASH) { - return AWSError(static_cast(CodeCommitErrors::INVALID_ORDER), false); + return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_TRIGGER_DESTINATION_ARN), false); } - else if (hashCode == ENCRYPTION_KEY_ACCESS_DENIED_HASH) + else if (hashCode == REPOSITORY_TRIGGER_EVENTS_LIST_REQUIRED_HASH) { - return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_ACCESS_DENIED), false); + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_TRIGGER_EVENTS_LIST_REQUIRED), false); } - else if (hashCode == ENCRYPTION_KEY_UNAVAILABLE_HASH) + else if (hashCode == COMMIT_ID_REQUIRED_HASH) { - return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_UNAVAILABLE), false); + return AWSError(static_cast(CodeCommitErrors::COMMIT_ID_REQUIRED), false); + } + else if (hashCode == REPOSITORY_TRIGGER_DESTINATION_ARN_REQUIRED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_TRIGGER_DESTINATION_ARN_REQUIRED), false); + } + else if (hashCode == REPOSITORY_NAMES_REQUIRED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_NAMES_REQUIRED), false); } else if (hashCode == REPOSITORY_NAME_EXISTS_HASH) { return AWSError(static_cast(CodeCommitErrors::REPOSITORY_NAME_EXISTS), false); } - else if (hashCode == ENCRYPTION_KEY_DISABLED_HASH) + else if (hashCode == INVALID_REPOSITORY_TRIGGER_EVENTS_HASH) { - return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_DISABLED), false); + return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_TRIGGER_EVENTS), false); + } + else if (hashCode == ENCRYPTION_INTEGRITY_CHECKS_FAILED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_INTEGRITY_CHECKS_FAILED), false); + } + else if (hashCode == INVALID_REPOSITORY_TRIGGER_BRANCH_NAME_HASH) + { + return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_TRIGGER_BRANCH_NAME), false); + } + else if (hashCode == ENCRYPTION_KEY_UNAVAILABLE_HASH) + { + return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_UNAVAILABLE), false); + } + else if (hashCode == REPOSITORY_TRIGGER_BRANCH_NAME_LIST_REQUIRED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_TRIGGER_BRANCH_NAME_LIST_REQUIRED), false); } else if (hashCode == INVALID_REPOSITORY_NAME_HASH) { return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_NAME), false); } - else if (hashCode == ENCRYPTION_INTEGRITY_CHECKS_FAILED_HASH) + else if (hashCode == REPOSITORY_TRIGGER_NAME_REQUIRED_HASH) { - return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_INTEGRITY_CHECKS_FAILED), false); + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_TRIGGER_NAME_REQUIRED), false); } - else if (hashCode == REPOSITORY_DOES_NOT_EXIST_HASH) + else if (hashCode == INVALID_REPOSITORY_TRIGGER_REGION_HASH) { - return AWSError(static_cast(CodeCommitErrors::REPOSITORY_DOES_NOT_EXIST), false); + return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_TRIGGER_REGION), false); } - else if (hashCode == INVALID_BRANCH_NAME_HASH) + else if (hashCode == COMMIT_ID_DOES_NOT_EXIST_HASH) { - return AWSError(static_cast(CodeCommitErrors::INVALID_BRANCH_NAME), false); + return AWSError(static_cast(CodeCommitErrors::COMMIT_ID_DOES_NOT_EXIST), false); + } + else if (hashCode == INVALID_ORDER_HASH) + { + return AWSError(static_cast(CodeCommitErrors::INVALID_ORDER), false); + } + else if (hashCode == INVALID_REPOSITORY_TRIGGER_NAME_HASH) + { + return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_TRIGGER_NAME), false); + } + else if (hashCode == ENCRYPTION_KEY_NOT_FOUND_HASH) + { + return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_NOT_FOUND), false); + } + else if (hashCode == MAXIMUM_BRANCHES_EXCEEDED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::MAXIMUM_BRANCHES_EXCEEDED), false); + } + else if (hashCode == REPOSITORY_TRIGGERS_LIST_REQUIRED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_TRIGGERS_LIST_REQUIRED), false); + } + else if (hashCode == ENCRYPTION_KEY_DISABLED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_DISABLED), false); } else if (hashCode == INVALID_COMMIT_ID_HASH) { return AWSError(static_cast(CodeCommitErrors::INVALID_COMMIT_ID), false); } - else if (hashCode == REPOSITORY_NAME_REQUIRED_HASH) + else if (hashCode == COMMIT_DOES_NOT_EXIST_HASH) { - return AWSError(static_cast(CodeCommitErrors::REPOSITORY_NAME_REQUIRED), false); + return AWSError(static_cast(CodeCommitErrors::COMMIT_DOES_NOT_EXIST), false); + } + else if (hashCode == INVALID_SORT_BY_HASH) + { + return AWSError(static_cast(CodeCommitErrors::INVALID_SORT_BY), false); + } + else if (hashCode == BRANCH_NAME_REQUIRED_HASH) + { + return AWSError(static_cast(CodeCommitErrors::BRANCH_NAME_REQUIRED), false); } else if (hashCode == INVALID_REPOSITORY_DESCRIPTION_HASH) { @@ -111,41 +181,41 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(CodeCommitErrors::BRANCH_DOES_NOT_EXIST), false); } - else if (hashCode == BRANCH_NAME_EXISTS_HASH) + else if (hashCode == REPOSITORY_LIMIT_EXCEEDED_HASH) { - return AWSError(static_cast(CodeCommitErrors::BRANCH_NAME_EXISTS), false); + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_LIMIT_EXCEEDED), false); } - else if (hashCode == REPOSITORY_NAMES_REQUIRED_HASH) + else if (hashCode == INVALID_BRANCH_NAME_HASH) { - return AWSError(static_cast(CodeCommitErrors::REPOSITORY_NAMES_REQUIRED), false); + return AWSError(static_cast(CodeCommitErrors::INVALID_BRANCH_NAME), false); } - else if (hashCode == BRANCH_NAME_REQUIRED_HASH) + else if (hashCode == INVALID_CONTINUATION_TOKEN_HASH) { - return AWSError(static_cast(CodeCommitErrors::BRANCH_NAME_REQUIRED), false); + return AWSError(static_cast(CodeCommitErrors::INVALID_CONTINUATION_TOKEN), false); } - else if (hashCode == COMMIT_DOES_NOT_EXIST_HASH) + else if (hashCode == MAXIMUM_REPOSITORY_TRIGGERS_EXCEEDED_HASH) { - return AWSError(static_cast(CodeCommitErrors::COMMIT_DOES_NOT_EXIST), false); + return AWSError(static_cast(CodeCommitErrors::MAXIMUM_REPOSITORY_TRIGGERS_EXCEEDED), false); } - else if (hashCode == MAXIMUM_REPOSITORY_NAMES_EXCEEDED_HASH) + else if (hashCode == REPOSITORY_NAME_REQUIRED_HASH) { - return AWSError(static_cast(CodeCommitErrors::MAXIMUM_REPOSITORY_NAMES_EXCEEDED), false); + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_NAME_REQUIRED), false); } - else if (hashCode == COMMIT_ID_REQUIRED_HASH) + else if (hashCode == BRANCH_NAME_EXISTS_HASH) { - return AWSError(static_cast(CodeCommitErrors::COMMIT_ID_REQUIRED), false); + return AWSError(static_cast(CodeCommitErrors::BRANCH_NAME_EXISTS), false); } - else if (hashCode == INVALID_CONTINUATION_TOKEN_HASH) + else if (hashCode == INVALID_REPOSITORY_TRIGGER_CUSTOM_DATA_HASH) { - return AWSError(static_cast(CodeCommitErrors::INVALID_CONTINUATION_TOKEN), false); + return AWSError(static_cast(CodeCommitErrors::INVALID_REPOSITORY_TRIGGER_CUSTOM_DATA), false); } - else if (hashCode == ENCRYPTION_KEY_NOT_FOUND_HASH) + else if (hashCode == REPOSITORY_DOES_NOT_EXIST_HASH) { - return AWSError(static_cast(CodeCommitErrors::ENCRYPTION_KEY_NOT_FOUND), false); + return AWSError(static_cast(CodeCommitErrors::REPOSITORY_DOES_NOT_EXIST), false); } - else if (hashCode == INVALID_SORT_BY_HASH) + else if (hashCode == MAXIMUM_REPOSITORY_NAMES_EXCEEDED_HASH) { - return AWSError(static_cast(CodeCommitErrors::INVALID_SORT_BY), false); + return AWSError(static_cast(CodeCommitErrors::MAXIMUM_REPOSITORY_NAMES_EXCEEDED), false); } return AWSError(CoreErrors::UNKNOWN, false); } diff --git a/aws-cpp-sdk-codecommit/source/model/Commit.cpp b/aws-cpp-sdk-codecommit/source/model/Commit.cpp new file mode 100644 index 00000000000..61894d05c68 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/Commit.cpp @@ -0,0 +1,141 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +Commit::Commit() : + m_treeIdHasBeenSet(false), + m_parentsHasBeenSet(false), + m_messageHasBeenSet(false), + m_authorHasBeenSet(false), + m_committerHasBeenSet(false), + m_additionalDataHasBeenSet(false) +{ +} + +Commit::Commit(const JsonValue& jsonValue) : + m_treeIdHasBeenSet(false), + m_parentsHasBeenSet(false), + m_messageHasBeenSet(false), + m_authorHasBeenSet(false), + m_committerHasBeenSet(false), + m_additionalDataHasBeenSet(false) +{ + *this = jsonValue; +} + +Commit& Commit::operator =(const JsonValue& jsonValue) +{ + if(jsonValue.ValueExists("treeId")) + { + m_treeId = jsonValue.GetString("treeId"); + + m_treeIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("parents")) + { + Array parentsJsonList = jsonValue.GetArray("parents"); + for(unsigned parentsIndex = 0; parentsIndex < parentsJsonList.GetLength(); ++parentsIndex) + { + m_parents.push_back(parentsJsonList[parentsIndex].AsString()); + } + m_parentsHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("author")) + { + m_author = jsonValue.GetObject("author"); + + m_authorHasBeenSet = true; + } + + if(jsonValue.ValueExists("committer")) + { + m_committer = jsonValue.GetObject("committer"); + + m_committerHasBeenSet = true; + } + + if(jsonValue.ValueExists("additionalData")) + { + m_additionalData = jsonValue.GetString("additionalData"); + + m_additionalDataHasBeenSet = true; + } + + return *this; +} + +JsonValue Commit::Jsonize() const +{ + JsonValue payload; + + if(m_treeIdHasBeenSet) + { + payload.WithString("treeId", m_treeId); + + } + + if(m_parentsHasBeenSet) + { + Array parentsJsonList(m_parents.size()); + for(unsigned parentsIndex = 0; parentsIndex < parentsJsonList.GetLength(); ++parentsIndex) + { + parentsJsonList[parentsIndex].AsString(m_parents[parentsIndex]); + } + payload.WithArray("parents", std::move(parentsJsonList)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_authorHasBeenSet) + { + payload.WithObject("author", m_author.Jsonize()); + + } + + if(m_committerHasBeenSet) + { + payload.WithObject("committer", m_committer.Jsonize()); + + } + + if(m_additionalDataHasBeenSet) + { + payload.WithString("additionalData", m_additionalData); + + } + + return payload; +} \ No newline at end of file diff --git a/aws-cpp-sdk-codecommit/source/model/GetCommitRequest.cpp b/aws-cpp-sdk-codecommit/source/model/GetCommitRequest.cpp new file mode 100644 index 00000000000..3537dbd76a5 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/GetCommitRequest.cpp @@ -0,0 +1,58 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetCommitRequest::GetCommitRequest() : + m_repositoryNameHasBeenSet(false), + m_commitIdHasBeenSet(false) +{ +} + +Aws::String GetCommitRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_repositoryNameHasBeenSet) + { + payload.WithString("repositoryName", m_repositoryName); + + } + + if(m_commitIdHasBeenSet) + { + payload.WithString("commitId", m_commitId); + + } + + return payload.WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetCommitRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "CodeCommit_20150413.GetCommit")); + return headers; + +} + + + diff --git a/aws-cpp-sdk-codecommit/source/model/GetCommitResult.cpp b/aws-cpp-sdk-codecommit/source/model/GetCommitResult.cpp new file mode 100644 index 00000000000..b9af82a7b3a --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/GetCommitResult.cpp @@ -0,0 +1,48 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetCommitResult::GetCommitResult() +{ +} + +GetCommitResult::GetCommitResult(const AmazonWebServiceResult& result) +{ + *this = result; +} + +GetCommitResult& GetCommitResult::operator =(const AmazonWebServiceResult& result) +{ + const JsonValue& jsonValue = result.GetPayload(); + if(jsonValue.ValueExists("commit")) + { + m_commit = jsonValue.GetObject("commit"); + + } + + + + return *this; +} diff --git a/aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersRequest.cpp b/aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersRequest.cpp new file mode 100644 index 00000000000..95eaa30a17e --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersRequest.cpp @@ -0,0 +1,51 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetRepositoryTriggersRequest::GetRepositoryTriggersRequest() : + m_repositoryNameHasBeenSet(false) +{ +} + +Aws::String GetRepositoryTriggersRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_repositoryNameHasBeenSet) + { + payload.WithString("repositoryName", m_repositoryName); + + } + + return payload.WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetRepositoryTriggersRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "CodeCommit_20150413.GetRepositoryTriggers")); + return headers; + +} + + + diff --git a/aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersResult.cpp b/aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersResult.cpp new file mode 100644 index 00000000000..b445ef7db51 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/GetRepositoryTriggersResult.cpp @@ -0,0 +1,57 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetRepositoryTriggersResult::GetRepositoryTriggersResult() +{ +} + +GetRepositoryTriggersResult::GetRepositoryTriggersResult(const AmazonWebServiceResult& result) +{ + *this = result; +} + +GetRepositoryTriggersResult& GetRepositoryTriggersResult::operator =(const AmazonWebServiceResult& result) +{ + const JsonValue& jsonValue = result.GetPayload(); + if(jsonValue.ValueExists("configurationId")) + { + m_configurationId = jsonValue.GetString("configurationId"); + + } + + if(jsonValue.ValueExists("triggers")) + { + Array triggersJsonList = jsonValue.GetArray("triggers"); + for(unsigned triggersIndex = 0; triggersIndex < triggersJsonList.GetLength(); ++triggersIndex) + { + m_triggers.push_back(triggersJsonList[triggersIndex].AsObject()); + } + } + + + + return *this; +} diff --git a/aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersRequest.cpp b/aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersRequest.cpp new file mode 100644 index 00000000000..570ffce6ee2 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersRequest.cpp @@ -0,0 +1,63 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutRepositoryTriggersRequest::PutRepositoryTriggersRequest() : + m_repositoryNameHasBeenSet(false), + m_triggersHasBeenSet(false) +{ +} + +Aws::String PutRepositoryTriggersRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_repositoryNameHasBeenSet) + { + payload.WithString("repositoryName", m_repositoryName); + + } + + if(m_triggersHasBeenSet) + { + Array triggersJsonList(m_triggers.size()); + for(unsigned triggersIndex = 0; triggersIndex < triggersJsonList.GetLength(); ++triggersIndex) + { + triggersJsonList[triggersIndex].AsObject(m_triggers[triggersIndex].Jsonize()); + } + payload.WithArray("triggers", std::move(triggersJsonList)); + + } + + return payload.WriteReadable(); +} + +Aws::Http::HeaderValueCollection PutRepositoryTriggersRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "CodeCommit_20150413.PutRepositoryTriggers")); + return headers; + +} + + + diff --git a/aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersResult.cpp b/aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersResult.cpp new file mode 100644 index 00000000000..c60247f6208 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersResult.cpp @@ -0,0 +1,48 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +PutRepositoryTriggersResult::PutRepositoryTriggersResult() +{ +} + +PutRepositoryTriggersResult::PutRepositoryTriggersResult(const AmazonWebServiceResult& result) +{ + *this = result; +} + +PutRepositoryTriggersResult& PutRepositoryTriggersResult::operator =(const AmazonWebServiceResult& result) +{ + const JsonValue& jsonValue = result.GetPayload(); + if(jsonValue.ValueExists("configurationId")) + { + m_configurationId = jsonValue.GetString("configurationId"); + + } + + + + return *this; +} diff --git a/aws-cpp-sdk-codecommit/source/model/RepositoryTrigger.cpp b/aws-cpp-sdk-codecommit/source/model/RepositoryTrigger.cpp new file mode 100644 index 00000000000..df7b11c8212 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/RepositoryTrigger.cpp @@ -0,0 +1,134 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +RepositoryTrigger::RepositoryTrigger() : + m_nameHasBeenSet(false), + m_destinationArnHasBeenSet(false), + m_customDataHasBeenSet(false), + m_branchesHasBeenSet(false), + m_eventsHasBeenSet(false) +{ +} + +RepositoryTrigger::RepositoryTrigger(const JsonValue& jsonValue) : + m_nameHasBeenSet(false), + m_destinationArnHasBeenSet(false), + m_customDataHasBeenSet(false), + m_branchesHasBeenSet(false), + m_eventsHasBeenSet(false) +{ + *this = jsonValue; +} + +RepositoryTrigger& RepositoryTrigger::operator =(const JsonValue& jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("destinationArn")) + { + m_destinationArn = jsonValue.GetString("destinationArn"); + + m_destinationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("customData")) + { + m_customData = jsonValue.GetString("customData"); + + m_customDataHasBeenSet = true; + } + + if(jsonValue.ValueExists("branches")) + { + Array branchesJsonList = jsonValue.GetArray("branches"); + for(unsigned branchesIndex = 0; branchesIndex < branchesJsonList.GetLength(); ++branchesIndex) + { + m_branches.push_back(branchesJsonList[branchesIndex].AsString()); + } + m_branchesHasBeenSet = true; + } + + if(jsonValue.ValueExists("events")) + { + Array eventsJsonList = jsonValue.GetArray("events"); + for(unsigned eventsIndex = 0; eventsIndex < eventsJsonList.GetLength(); ++eventsIndex) + { + m_events.push_back(RepositoryTriggerEventEnumMapper::GetRepositoryTriggerEventEnumForName(eventsJsonList[eventsIndex].AsString())); + } + m_eventsHasBeenSet = true; + } + + return *this; +} + +JsonValue RepositoryTrigger::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_destinationArnHasBeenSet) + { + payload.WithString("destinationArn", m_destinationArn); + + } + + if(m_customDataHasBeenSet) + { + payload.WithString("customData", m_customData); + + } + + if(m_branchesHasBeenSet) + { + Array branchesJsonList(m_branches.size()); + for(unsigned branchesIndex = 0; branchesIndex < branchesJsonList.GetLength(); ++branchesIndex) + { + branchesJsonList[branchesIndex].AsString(m_branches[branchesIndex]); + } + payload.WithArray("branches", std::move(branchesJsonList)); + + } + + if(m_eventsHasBeenSet) + { + Array eventsJsonList(m_events.size()); + for(unsigned eventsIndex = 0; eventsIndex < eventsJsonList.GetLength(); ++eventsIndex) + { + eventsJsonList[eventsIndex].AsString(RepositoryTriggerEventEnumMapper::GetNameForRepositoryTriggerEventEnum(m_events[eventsIndex])); + } + payload.WithArray("events", std::move(eventsJsonList)); + + } + + return payload; +} \ No newline at end of file diff --git a/aws-cpp-sdk-codecommit/source/model/RepositoryTriggerEventEnum.cpp b/aws-cpp-sdk-codecommit/source/model/RepositoryTriggerEventEnum.cpp new file mode 100644 index 00000000000..3d9150fe162 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/RepositoryTriggerEventEnum.cpp @@ -0,0 +1,92 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include +#include +#include + +using namespace Aws::Utils; + +static const int all_HASH = HashingUtils::HashString("all"); +static const int updateReference_HASH = HashingUtils::HashString("updateReference"); +static const int createReference_HASH = HashingUtils::HashString("createReference"); +static const int deleteReference_HASH = HashingUtils::HashString("deleteReference"); + +namespace Aws +{ + namespace CodeCommit + { + namespace Model + { + namespace RepositoryTriggerEventEnumMapper + { + + + RepositoryTriggerEventEnum GetRepositoryTriggerEventEnumForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == all_HASH) + { + return RepositoryTriggerEventEnum::all; + } + else if (hashCode == updateReference_HASH) + { + return RepositoryTriggerEventEnum::updateReference; + } + else if (hashCode == createReference_HASH) + { + return RepositoryTriggerEventEnum::createReference; + } + else if (hashCode == deleteReference_HASH) + { + return RepositoryTriggerEventEnum::deleteReference; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return RepositoryTriggerEventEnum::NOT_SET; + } + + Aws::String GetNameForRepositoryTriggerEventEnum(RepositoryTriggerEventEnum enumValue) + { + switch(enumValue) + { + case RepositoryTriggerEventEnum::all: + return "all"; + case RepositoryTriggerEventEnum::updateReference: + return "updateReference"; + case RepositoryTriggerEventEnum::createReference: + return "createReference"; + case RepositoryTriggerEventEnum::deleteReference: + return "deleteReference"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return ""; + } + } + + } // namespace RepositoryTriggerEventEnumMapper + } // namespace Model + } // namespace CodeCommit +} // namespace Aws diff --git a/aws-cpp-sdk-codecommit/source/model/RepositoryTriggerExecutionFailure.cpp b/aws-cpp-sdk-codecommit/source/model/RepositoryTriggerExecutionFailure.cpp new file mode 100644 index 00000000000..705f158777b --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/RepositoryTriggerExecutionFailure.cpp @@ -0,0 +1,73 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +RepositoryTriggerExecutionFailure::RepositoryTriggerExecutionFailure() : + m_triggerHasBeenSet(false), + m_failureMessageHasBeenSet(false) +{ +} + +RepositoryTriggerExecutionFailure::RepositoryTriggerExecutionFailure(const JsonValue& jsonValue) : + m_triggerHasBeenSet(false), + m_failureMessageHasBeenSet(false) +{ + *this = jsonValue; +} + +RepositoryTriggerExecutionFailure& RepositoryTriggerExecutionFailure::operator =(const JsonValue& jsonValue) +{ + if(jsonValue.ValueExists("trigger")) + { + m_trigger = jsonValue.GetString("trigger"); + + m_triggerHasBeenSet = true; + } + + if(jsonValue.ValueExists("failureMessage")) + { + m_failureMessage = jsonValue.GetString("failureMessage"); + + m_failureMessageHasBeenSet = true; + } + + return *this; +} + +JsonValue RepositoryTriggerExecutionFailure::Jsonize() const +{ + JsonValue payload; + + if(m_triggerHasBeenSet) + { + payload.WithString("trigger", m_trigger); + + } + + if(m_failureMessageHasBeenSet) + { + payload.WithString("failureMessage", m_failureMessage); + + } + + return payload; +} \ No newline at end of file diff --git a/aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersRequest.cpp b/aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersRequest.cpp new file mode 100644 index 00000000000..5a8074ea91e --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersRequest.cpp @@ -0,0 +1,63 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +TestRepositoryTriggersRequest::TestRepositoryTriggersRequest() : + m_repositoryNameHasBeenSet(false), + m_triggersHasBeenSet(false) +{ +} + +Aws::String TestRepositoryTriggersRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_repositoryNameHasBeenSet) + { + payload.WithString("repositoryName", m_repositoryName); + + } + + if(m_triggersHasBeenSet) + { + Array triggersJsonList(m_triggers.size()); + for(unsigned triggersIndex = 0; triggersIndex < triggersJsonList.GetLength(); ++triggersIndex) + { + triggersJsonList[triggersIndex].AsObject(m_triggers[triggersIndex].Jsonize()); + } + payload.WithArray("triggers", std::move(triggersJsonList)); + + } + + return payload.WriteReadable(); +} + +Aws::Http::HeaderValueCollection TestRepositoryTriggersRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "CodeCommit_20150413.TestRepositoryTriggers")); + return headers; + +} + + + diff --git a/aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersResult.cpp b/aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersResult.cpp new file mode 100644 index 00000000000..9436d20f926 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/TestRepositoryTriggersResult.cpp @@ -0,0 +1,60 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +TestRepositoryTriggersResult::TestRepositoryTriggersResult() +{ +} + +TestRepositoryTriggersResult::TestRepositoryTriggersResult(const AmazonWebServiceResult& result) +{ + *this = result; +} + +TestRepositoryTriggersResult& TestRepositoryTriggersResult::operator =(const AmazonWebServiceResult& result) +{ + const JsonValue& jsonValue = result.GetPayload(); + if(jsonValue.ValueExists("successfulExecutions")) + { + Array successfulExecutionsJsonList = jsonValue.GetArray("successfulExecutions"); + for(unsigned successfulExecutionsIndex = 0; successfulExecutionsIndex < successfulExecutionsJsonList.GetLength(); ++successfulExecutionsIndex) + { + m_successfulExecutions.push_back(successfulExecutionsJsonList[successfulExecutionsIndex].AsString()); + } + } + + if(jsonValue.ValueExists("failedExecutions")) + { + Array failedExecutionsJsonList = jsonValue.GetArray("failedExecutions"); + for(unsigned failedExecutionsIndex = 0; failedExecutionsIndex < failedExecutionsJsonList.GetLength(); ++failedExecutionsIndex) + { + m_failedExecutions.push_back(failedExecutionsJsonList[failedExecutionsIndex].AsObject()); + } + } + + + + return *this; +} diff --git a/aws-cpp-sdk-codecommit/source/model/UserInfo.cpp b/aws-cpp-sdk-codecommit/source/model/UserInfo.cpp new file mode 100644 index 00000000000..8940eda2318 --- /dev/null +++ b/aws-cpp-sdk-codecommit/source/model/UserInfo.cpp @@ -0,0 +1,88 @@ +/* +* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ +#include +#include + +#include + +using namespace Aws::CodeCommit::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UserInfo::UserInfo() : + m_nameHasBeenSet(false), + m_emailHasBeenSet(false), + m_dateHasBeenSet(false) +{ +} + +UserInfo::UserInfo(const JsonValue& jsonValue) : + m_nameHasBeenSet(false), + m_emailHasBeenSet(false), + m_dateHasBeenSet(false) +{ + *this = jsonValue; +} + +UserInfo& UserInfo::operator =(const JsonValue& jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("email")) + { + m_email = jsonValue.GetString("email"); + + m_emailHasBeenSet = true; + } + + if(jsonValue.ValueExists("date")) + { + m_date = jsonValue.GetString("date"); + + m_dateHasBeenSet = true; + } + + return *this; +} + +JsonValue UserInfo::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_emailHasBeenSet) + { + payload.WithString("email", m_email); + + } + + if(m_dateHasBeenSet) + { + payload.WithString("date", m_date); + + } + + return payload; +} \ No newline at end of file diff --git a/aws-cpp-sdk-config/include/aws/config/ConfigServiceClient.h b/aws-cpp-sdk-config/include/aws/config/ConfigServiceClient.h index 111567ca3d4..7c375438125 100644 --- a/aws-cpp-sdk-config/include/aws/config/ConfigServiceClient.h +++ b/aws-cpp-sdk-config/include/aws/config/ConfigServiceClient.h @@ -235,9 +235,10 @@ namespace Model *

Deletes the specified AWS Config rule and all of its evaluation results.

*

AWS Config sets the state of a rule to DELETING until the * deletion is complete. You cannot update a rule while it is in this state. If you - * make a PutConfigRule request for the rule, you will receive a - * ResourceInUseException.

You can check the state of a rule by - * using the DescribeConfigRules request.

+ * make a PutConfigRule or DeleteConfigRule request for + * the rule, you will receive a ResourceInUseException.

You can + * check the state of a rule by using the DescribeConfigRules + * request.

*/ virtual Model::DeleteConfigRuleOutcome DeleteConfigRule(const Model::DeleteConfigRuleRequest& request) const; @@ -245,9 +246,10 @@ namespace Model *

Deletes the specified AWS Config rule and all of its evaluation results.

*

AWS Config sets the state of a rule to DELETING until the * deletion is complete. You cannot update a rule while it is in this state. If you - * make a PutConfigRule request for the rule, you will receive a - * ResourceInUseException.

You can check the state of a rule by - * using the DescribeConfigRules request.

+ * make a PutConfigRule or DeleteConfigRule request for + * the rule, you will receive a ResourceInUseException.

You can + * check the state of a rule by using the DescribeConfigRules + * request.

* * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -257,9 +259,10 @@ namespace Model *

Deletes the specified AWS Config rule and all of its evaluation results.

*

AWS Config sets the state of a rule to DELETING until the * deletion is complete. You cannot update a rule while it is in this state. If you - * make a PutConfigRule request for the rule, you will receive a - * ResourceInUseException.

You can check the state of a rule by - * using the DescribeConfigRules request.

+ * make a PutConfigRule or DeleteConfigRule request for + * the rule, you will receive a ResourceInUseException.

You can + * check the state of a rule by using the DescribeConfigRules + * request.

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ diff --git a/aws-cpp-sdk-config/include/aws/config/model/Compliance.h b/aws-cpp-sdk-config/include/aws/config/model/Compliance.h index 865a0a7c8cc..4161e7b23b5 100644 --- a/aws-cpp-sdk-config/include/aws/config/model/Compliance.h +++ b/aws-cpp-sdk-config/include/aws/config/model/Compliance.h @@ -120,31 +120,31 @@ namespace Model /** *

The number of AWS resources or AWS Config rules that cause a result of - * NON_COMPLIANT, up to a maximum of 25.

+ * NON_COMPLIANT, up to a maximum number.

*/ inline const ComplianceContributorCount& GetComplianceContributorCount() const{ return m_complianceContributorCount; } /** *

The number of AWS resources or AWS Config rules that cause a result of - * NON_COMPLIANT, up to a maximum of 25.

+ * NON_COMPLIANT, up to a maximum number.

*/ inline void SetComplianceContributorCount(const ComplianceContributorCount& value) { m_complianceContributorCountHasBeenSet = true; m_complianceContributorCount = value; } /** *

The number of AWS resources or AWS Config rules that cause a result of - * NON_COMPLIANT, up to a maximum of 25.

+ * NON_COMPLIANT, up to a maximum number.

*/ inline void SetComplianceContributorCount(ComplianceContributorCount&& value) { m_complianceContributorCountHasBeenSet = true; m_complianceContributorCount = value; } /** *

The number of AWS resources or AWS Config rules that cause a result of - * NON_COMPLIANT, up to a maximum of 25.

+ * NON_COMPLIANT, up to a maximum number.

*/ inline Compliance& WithComplianceContributorCount(const ComplianceContributorCount& value) { SetComplianceContributorCount(value); return *this;} /** *

The number of AWS resources or AWS Config rules that cause a result of - * NON_COMPLIANT, up to a maximum of 25.

+ * NON_COMPLIANT, up to a maximum number.

*/ inline Compliance& WithComplianceContributorCount(ComplianceContributorCount&& value) { SetComplianceContributorCount(value); return *this;} diff --git a/aws-cpp-sdk-config/include/aws/config/model/ConfigRule.h b/aws-cpp-sdk-config/include/aws/config/model/ConfigRule.h index 9675bfb77d2..b0a9713cc8e 100644 --- a/aws-cpp-sdk-config/include/aws/config/model/ConfigRule.h +++ b/aws-cpp-sdk-config/include/aws/config/model/ConfigRule.h @@ -37,9 +37,9 @@ namespace Model /** *

An AWS Lambda function that evaluates configuration items to assess whether * your AWS resources comply with your desired configurations. This function can - * run when AWS Config detects a configuration change or delivers a configuration - * snapshot.

For more information about developing and using AWS Config - * rules, see

For + * more information about developing and using AWS Config rules, see Evaluating * AWS Resource Configurations with AWS Config in the AWS Config Developer * Guide.

diff --git a/aws-cpp-sdk-config/include/aws/config/model/RecordingGroup.h b/aws-cpp-sdk-config/include/aws/config/model/RecordingGroup.h index d0fea0081f6..1cff76c5048 100644 --- a/aws-cpp-sdk-config/include/aws/config/model/RecordingGroup.h +++ b/aws-cpp-sdk-config/include/aws/config/model/RecordingGroup.h @@ -40,18 +40,18 @@ namespace Model * Regional resources are tied to a region and can be used only in that region. * Examples of regional resources are EC2 instances and EBS volumes.

You can * also have AWS Config record configuration changes for supported types of global - * resources. Global resources are not tied to an individual region and can be used - * in all regions.

The configuration details for any global resource - * are the same in all regions. If you customize AWS Config in multiple regions to - * record global resources, it will create multiple configuration items each time a - * global resource changes: one configuration item for each region. These - * configuration items will contain identical data. To prevent duplicate - * configuration items, you should consider customizing AWS Config in only one - * region to record global resources, unless you want the configuration items to be - * available in multiple regions.

If you don't want AWS Config to - * record all resources, you can specify which types of resources it will record - * with the resourceTypes parameter.

For a list of supported - * resource types, see The + * configuration details for any global resource are the same in all regions. If + * you customize AWS Config in multiple regions to record global resources, it will + * create multiple configuration items each time a global resource changes: one + * configuration item for each region. These configuration items will contain + * identical data. To prevent duplicate configuration items, you should consider + * customizing AWS Config in only one region to record global resources, unless you + * want the configuration items to be available in multiple regions. + *

If you don't want AWS Config to record all resources, you can specify which + * types of resources it will record with the resourceTypes + * parameter.

For a list of supported resource types, see Supported * resource types.

For more information, see Selecting @@ -97,31 +97,40 @@ namespace Model /** *

Specifies whether AWS Config includes all supported types of global resources - * with the resources that it records.

Before you can set this option to - * true, you must set the allSupported option to - * true.

If you set this option to true, when AWS - * Config adds support for a new type of global resource, it automatically starts - * recording resources of that type.

+ * (for example, IAM resources) with the resources that it records.

Before + * you can set this option to true, you must set the + * allSupported option to true.

If you set this + * option to true, when AWS Config adds support for a new type of + * global resource, it automatically starts recording resources of that type.

+ *

The configuration details for any global resource are the same in all + * regions. To prevent duplicate configuration items, you should consider + * customizing AWS Config in only one region to record global resources.

*/ inline bool GetIncludeGlobalResourceTypes() const{ return m_includeGlobalResourceTypes; } /** *

Specifies whether AWS Config includes all supported types of global resources - * with the resources that it records.

Before you can set this option to - * true, you must set the allSupported option to - * true.

If you set this option to true, when AWS - * Config adds support for a new type of global resource, it automatically starts - * recording resources of that type.

+ * (for example, IAM resources) with the resources that it records.

Before + * you can set this option to true, you must set the + * allSupported option to true.

If you set this + * option to true, when AWS Config adds support for a new type of + * global resource, it automatically starts recording resources of that type.

+ *

The configuration details for any global resource are the same in all + * regions. To prevent duplicate configuration items, you should consider + * customizing AWS Config in only one region to record global resources.

*/ inline void SetIncludeGlobalResourceTypes(bool value) { m_includeGlobalResourceTypesHasBeenSet = true; m_includeGlobalResourceTypes = value; } /** *

Specifies whether AWS Config includes all supported types of global resources - * with the resources that it records.

Before you can set this option to - * true, you must set the allSupported option to - * true.

If you set this option to true, when AWS - * Config adds support for a new type of global resource, it automatically starts - * recording resources of that type.

+ * (for example, IAM resources) with the resources that it records.

Before + * you can set this option to true, you must set the + * allSupported option to true.

If you set this + * option to true, when AWS Config adds support for a new type of + * global resource, it automatically starts recording resources of that type.

+ *

The configuration details for any global resource are the same in all + * regions. To prevent duplicate configuration items, you should consider + * customizing AWS Config in only one region to record global resources.

*/ inline RecordingGroup& WithIncludeGlobalResourceTypes(bool value) { SetIncludeGlobalResourceTypes(value); return *this;} diff --git a/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 43904cdbd7b..83315c01181 100644 --- a/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -13,4 +13,4 @@ * permissions and limitations under the License. */ -#define AWS_SDK_VERSION_STRING "0.9.6-66-g79749d8" +#define AWS_SDK_VERSION_STRING "0.9.6-67-g3f84fee" diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Artifact.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Artifact.h index 20d41415fbd..048f8bfa292 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Artifact.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Artifact.h @@ -115,111 +115,131 @@ namespace Model /** *

The artifact's type.

Allowed values include the following:

    + *
  • UNKNOWN: An unknown type.

  • SCREENSHOT: The screenshot + * type.

  • DEVICE_LOG: The device log type.

  • + *
  • MESSAGE_LOG: The message log type.

  • RESULT_LOG: The result + * log type.

  • SERVICE_LOG: The service log type.

  • + *
  • WEBKIT_LOG: The web kit log type.

  • INSTRUMENTATION_OUTPUT: + * The instrumentation type.

  • EXERCISER_MONKEY_OUTPUT: For Android, + * the artifact (log) generated by an Android fuzz test.

  • + *
  • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

  • + *
  • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

  • + *
  • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

  • + *
  • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

  • + *
  • AUTOMATION_OUTPUT: The automation output type.

  • + *
  • APPIUM_SERVER_OUTPUT: The Appium server output type.

  • *
  • APPIUM_JAVA_OUTPUT: The Appium Java output type.

  • *
  • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

  • *
  • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

  • *
  • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

  • - *
  • APPIUM_SERVER_OUTPUT: The Appium server output type.

  • - *
  • AUTOMATION_OUTPUT: The automation output type.

  • - *
  • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

  • - *
  • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

  • - *
  • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

  • - *
  • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

  • - *
  • DEVICE_LOG: The device log type.

  • EXERCISER_MONKEY_OUTPUT: - * For Android, the artifact (log) generated by an Android fuzz test.

  • - *
  • INSTRUMENTATION_OUTPUT: The instrumentation type.

  • - *
  • MESSAGE_LOG: The message log type.

  • RESULT_LOG: The result - * log type.

  • SCREENSHOT: The screenshot type.

  • - *
  • SERVICE_LOG: The service log type.

  • UNKNOWN: An unknown - * type.

+ *
  • EXPLORER_EVENT_LOG: The Explorer event log output type.

  • + *
  • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.

  • + *
  • APPLICATION_CRASH_REPORT: The application crash report output + * type.

  • XCTEST_LOG: The XCode test output type.

  • */ inline const ArtifactType& GetType() const{ return m_type; } /** *

    The artifact's type.

    Allowed values include the following:

      + *
    • UNKNOWN: An unknown type.

    • SCREENSHOT: The screenshot + * type.

    • DEVICE_LOG: The device log type.

    • + *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result + * log type.

    • SERVICE_LOG: The service log type.

    • + *
    • WEBKIT_LOG: The web kit log type.

    • INSTRUMENTATION_OUTPUT: + * The instrumentation type.

    • EXERCISER_MONKEY_OUTPUT: For Android, + * the artifact (log) generated by an Android fuzz test.

    • + *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • + *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • + *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • + *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • + *
    • AUTOMATION_OUTPUT: The automation output type.

    • + *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • *
    • APPIUM_JAVA_OUTPUT: The Appium Java output type.

    • *
    • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

    • *
    • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

    • *
    • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

    • - *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • - *
    • AUTOMATION_OUTPUT: The automation output type.

    • - *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • - *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • - *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • - *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • - *
    • DEVICE_LOG: The device log type.

    • EXERCISER_MONKEY_OUTPUT: - * For Android, the artifact (log) generated by an Android fuzz test.

    • - *
    • INSTRUMENTATION_OUTPUT: The instrumentation type.

    • - *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result - * log type.

    • SCREENSHOT: The screenshot type.

    • - *
    • SERVICE_LOG: The service log type.

    • UNKNOWN: An unknown - * type.

    + *
  • EXPLORER_EVENT_LOG: The Explorer event log output type.

  • + *
  • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.

  • + *
  • APPLICATION_CRASH_REPORT: The application crash report output + * type.

  • XCTEST_LOG: The XCode test output type.

  • */ inline void SetType(const ArtifactType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

    The artifact's type.

    Allowed values include the following:

      + *
    • UNKNOWN: An unknown type.

    • SCREENSHOT: The screenshot + * type.

    • DEVICE_LOG: The device log type.

    • + *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result + * log type.

    • SERVICE_LOG: The service log type.

    • + *
    • WEBKIT_LOG: The web kit log type.

    • INSTRUMENTATION_OUTPUT: + * The instrumentation type.

    • EXERCISER_MONKEY_OUTPUT: For Android, + * the artifact (log) generated by an Android fuzz test.

    • + *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • + *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • + *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • + *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • + *
    • AUTOMATION_OUTPUT: The automation output type.

    • + *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • *
    • APPIUM_JAVA_OUTPUT: The Appium Java output type.

    • *
    • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

    • *
    • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

    • *
    • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

    • - *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • - *
    • AUTOMATION_OUTPUT: The automation output type.

    • - *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • - *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • - *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • - *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • - *
    • DEVICE_LOG: The device log type.

    • EXERCISER_MONKEY_OUTPUT: - * For Android, the artifact (log) generated by an Android fuzz test.

    • - *
    • INSTRUMENTATION_OUTPUT: The instrumentation type.

    • - *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result - * log type.

    • SCREENSHOT: The screenshot type.

    • - *
    • SERVICE_LOG: The service log type.

    • UNKNOWN: An unknown - * type.

    + *
  • EXPLORER_EVENT_LOG: The Explorer event log output type.

  • + *
  • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.

  • + *
  • APPLICATION_CRASH_REPORT: The application crash report output + * type.

  • XCTEST_LOG: The XCode test output type.

  • */ inline void SetType(ArtifactType&& value) { m_typeHasBeenSet = true; m_type = value; } /** *

    The artifact's type.

    Allowed values include the following:

      + *
    • UNKNOWN: An unknown type.

    • SCREENSHOT: The screenshot + * type.

    • DEVICE_LOG: The device log type.

    • + *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result + * log type.

    • SERVICE_LOG: The service log type.

    • + *
    • WEBKIT_LOG: The web kit log type.

    • INSTRUMENTATION_OUTPUT: + * The instrumentation type.

    • EXERCISER_MONKEY_OUTPUT: For Android, + * the artifact (log) generated by an Android fuzz test.

    • + *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • + *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • + *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • + *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • + *
    • AUTOMATION_OUTPUT: The automation output type.

    • + *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • *
    • APPIUM_JAVA_OUTPUT: The Appium Java output type.

    • *
    • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

    • *
    • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

    • *
    • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

    • - *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • - *
    • AUTOMATION_OUTPUT: The automation output type.

    • - *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • - *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • - *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • - *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • - *
    • DEVICE_LOG: The device log type.

    • EXERCISER_MONKEY_OUTPUT: - * For Android, the artifact (log) generated by an Android fuzz test.

    • - *
    • INSTRUMENTATION_OUTPUT: The instrumentation type.

    • - *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result - * log type.

    • SCREENSHOT: The screenshot type.

    • - *
    • SERVICE_LOG: The service log type.

    • UNKNOWN: An unknown - * type.

    + *
  • EXPLORER_EVENT_LOG: The Explorer event log output type.

  • + *
  • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.

  • + *
  • APPLICATION_CRASH_REPORT: The application crash report output + * type.

  • XCTEST_LOG: The XCode test output type.

  • */ inline Artifact& WithType(const ArtifactType& value) { SetType(value); return *this;} /** *

    The artifact's type.

    Allowed values include the following:

      + *
    • UNKNOWN: An unknown type.

    • SCREENSHOT: The screenshot + * type.

    • DEVICE_LOG: The device log type.

    • + *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result + * log type.

    • SERVICE_LOG: The service log type.

    • + *
    • WEBKIT_LOG: The web kit log type.

    • INSTRUMENTATION_OUTPUT: + * The instrumentation type.

    • EXERCISER_MONKEY_OUTPUT: For Android, + * the artifact (log) generated by an Android fuzz test.

    • + *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • + *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • + *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • + *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • + *
    • AUTOMATION_OUTPUT: The automation output type.

    • + *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • *
    • APPIUM_JAVA_OUTPUT: The Appium Java output type.

    • *
    • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

    • *
    • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

    • *
    • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

    • - *
    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • - *
    • AUTOMATION_OUTPUT: The automation output type.

    • - *
    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • - *
    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • - *
    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • - *
    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • - *
    • DEVICE_LOG: The device log type.

    • EXERCISER_MONKEY_OUTPUT: - * For Android, the artifact (log) generated by an Android fuzz test.

    • - *
    • INSTRUMENTATION_OUTPUT: The instrumentation type.

    • - *
    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result - * log type.

    • SCREENSHOT: The screenshot type.

    • - *
    • SERVICE_LOG: The service log type.

    • UNKNOWN: An unknown - * type.

    + *
  • EXPLORER_EVENT_LOG: The Explorer event log output type.

  • + *
  • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.

  • + *
  • APPLICATION_CRASH_REPORT: The application crash report output + * type.

  • XCTEST_LOG: The XCode test output type.

  • */ inline Artifact& WithType(ArtifactType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ArtifactType.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ArtifactType.h index 6342fbbaa1e..37c386d7104 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ArtifactType.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ArtifactType.h @@ -46,7 +46,8 @@ namespace Model APPIUM_PYTHON_XML_OUTPUT, EXPLORER_EVENT_LOG, EXPLORER_SUMMARY_LOG, - APPLICATION_CRASH_REPORT + APPLICATION_CRASH_REPORT, + XCTEST_LOG }; namespace ArtifactTypeMapper diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/CreateUploadRequest.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/CreateUploadRequest.h index 6f53163028b..b7b6dabecf6 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/CreateUploadRequest.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/CreateUploadRequest.h @@ -109,18 +109,21 @@ namespace Model /** *

    The upload's upload type.

    Must be one of the following values:

    *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    Note If you call CreateUpload with * WEB_APP specified, AWS Device Farm throws an * ArgumentException error.

    @@ -130,18 +133,21 @@ namespace Model /** *

    The upload's upload type.

    Must be one of the following values:

    *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    Note If you call CreateUpload with * WEB_APP specified, AWS Device Farm throws an * ArgumentException error.

    @@ -151,18 +157,21 @@ namespace Model /** *

    The upload's upload type.

    Must be one of the following values:

    *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    Note If you call CreateUpload with * WEB_APP specified, AWS Device Farm throws an * ArgumentException error.

    @@ -172,18 +181,21 @@ namespace Model /** *

    The upload's upload type.

    Must be one of the following values:

    *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    Note If you call CreateUpload with * WEB_APP specified, AWS Device Farm throws an * ArgumentException error.

    @@ -193,18 +205,21 @@ namespace Model /** *

    The upload's upload type.

    Must be one of the following values:

    *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    Note If you call CreateUpload with * WEB_APP specified, AWS Device Farm throws an * ArgumentException error.

    diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/GetDevicePoolCompatibilityRequest.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/GetDevicePoolCompatibilityRequest.h index 3cd0a1b1699..2709063a3f0 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/GetDevicePoolCompatibilityRequest.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/GetDevicePoolCompatibilityRequest.h @@ -113,14 +113,15 @@ namespace Model * Android app, interacting with it and capturing screenshots at the same * time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline const TestType& GetTestType() const{ return m_testType; } @@ -131,14 +132,15 @@ namespace Model * Android app, interacting with it and capturing screenshots at the same * time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetTestType(const TestType& value) { m_testTypeHasBeenSet = true; m_testType = value; } @@ -149,14 +151,15 @@ namespace Model * Android app, interacting with it and capturing screenshots at the same * time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetTestType(TestType&& value) { m_testTypeHasBeenSet = true; m_testType = value; } @@ -167,14 +170,15 @@ namespace Model * Android app, interacting with it and capturing screenshots at the same * time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline GetDevicePoolCompatibilityRequest& WithTestType(const TestType& value) { SetTestType(value); return *this;} @@ -185,14 +189,15 @@ namespace Model * Android app, interacting with it and capturing screenshots at the same * time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline GetDevicePoolCompatibilityRequest& WithTestType(TestType&& value) { SetTestType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Job.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Job.h index b54487cdb16..a4c666a26a8 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Job.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Job.h @@ -124,14 +124,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline const TestType& GetType() const{ return m_type; } @@ -142,14 +143,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; } @@ -160,14 +162,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = value; } @@ -178,14 +181,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Job& WithType(const TestType& value) { SetType(value); return *this;} @@ -196,14 +200,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Job& WithType(TestType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Run.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Run.h index e0064e5d722..196f42243f0 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Run.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Run.h @@ -126,14 +126,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline const TestType& GetType() const{ return m_type; } @@ -144,14 +145,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; } @@ -162,14 +164,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = value; } @@ -180,14 +183,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Run& WithType(const TestType& value) { SetType(value); return *this;} @@ -198,14 +202,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Run& WithType(TestType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ScheduleRunTest.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ScheduleRunTest.h index 3e14e387261..50f56923ebd 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ScheduleRunTest.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ScheduleRunTest.h @@ -50,14 +50,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline const TestType& GetType() const{ return m_type; } @@ -68,14 +69,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; } @@ -86,14 +88,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = value; } @@ -104,14 +107,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline ScheduleRunTest& WithType(const TestType& value) { SetType(value); return *this;} @@ -122,14 +126,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline ScheduleRunTest& WithType(TestType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Suite.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Suite.h index 04c30b9daa9..3eb126da58b 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Suite.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Suite.h @@ -123,14 +123,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline const TestType& GetType() const{ return m_type; } @@ -141,14 +142,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; } @@ -159,14 +161,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = value; } @@ -177,14 +180,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Suite& WithType(const TestType& value) { SetType(value); return *this;} @@ -195,14 +199,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Suite& WithType(TestType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Test.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Test.h index 610395392f5..b940fdff1a2 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Test.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Test.h @@ -123,14 +123,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline const TestType& GetType() const{ return m_type; } @@ -141,14 +142,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; } @@ -159,14 +161,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = value; } @@ -177,14 +180,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Test& WithType(const TestType& value) { SetType(value); return *this;} @@ -195,14 +199,15 @@ namespace Model * it and capturing screenshots at the same time.

    *
  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • *
  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • - *
  • APPIUM_PYTHON: The Appium Python type.

  • CALABASH: The - * Calabash type.

  • INSTRUMENTATION: The Instrumentation - * type.

  • UIAUTOMATION: The uiautomation type.

  • - *
  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test - * type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web - * apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for - * Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web - * apps.

  • + *
  • APPIUM_PYTHON: The Appium Python type.

  • + *
  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • + *
  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web + * apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web + * apps.

  • CALABASH: The Calabash type.

  • + *
  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: + * The uiautomation type.

  • UIAUTOMATOR: The uiautomator + * type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: + * The XCode UI test type.

  • */ inline Test& WithType(TestType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/TestType.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/TestType.h index 8ed8c6f7c19..165561c2ffb 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/TestType.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/TestType.h @@ -37,7 +37,8 @@ namespace Model INSTRUMENTATION, UIAUTOMATION, UIAUTOMATOR, - XCTEST + XCTEST, + XCTEST_UI }; namespace TestTypeMapper diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Upload.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Upload.h index 696e49f899d..70408378deb 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Upload.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/Upload.h @@ -132,18 +132,21 @@ namespace Model /** *

    The upload's type.

    Must be one of the following values:

      *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    */ inline const UploadType& GetType() const{ return m_type; } @@ -151,18 +154,21 @@ namespace Model /** *

    The upload's type.

    Must be one of the following values:

      *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    */ inline void SetType(const UploadType& value) { m_typeHasBeenSet = true; m_type = value; } @@ -170,18 +176,21 @@ namespace Model /** *

    The upload's type.

    Must be one of the following values:

      *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    */ inline void SetType(UploadType&& value) { m_typeHasBeenSet = true; m_type = value; } @@ -189,18 +198,21 @@ namespace Model /** *

    The upload's type.

    Must be one of the following values:

      *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    */ inline Upload& WithType(const UploadType& value) { SetType(value); return *this;} @@ -208,18 +220,21 @@ namespace Model /** *

    The upload's type.

    Must be one of the following values:

      *
    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS - * upload.

    • EXTERNAL_DATA: An external data upload.

    • + * upload.

    • WEB_APP: A web appliction upload.

    • + *
    • EXTERNAL_DATA: An external data upload.

    • *
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package * upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG * test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium - * Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash - * test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An - * instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator - * test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package - * upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit - * test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An - * Appium Java TestNG test package upload.

    • - *
    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package + * Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: + * An Appium Java JUnit test package upload.

    • + *
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package + * upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test + * package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package + * upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation + * upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package + * upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package + * upload.

    • XCTEST_TEST_PACKAGE: An XCode test package + * upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package * upload.

    */ inline Upload& WithType(UploadType&& value) { SetType(value); return *this;} diff --git a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/UploadType.h b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/UploadType.h index f4c3293460e..e5c30b22bc2 100644 --- a/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/UploadType.h +++ b/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/UploadType.h @@ -39,7 +39,8 @@ namespace Model INSTRUMENTATION_TEST_PACKAGE, UIAUTOMATION_TEST_PACKAGE, UIAUTOMATOR_TEST_PACKAGE, - XCTEST_TEST_PACKAGE + XCTEST_TEST_PACKAGE, + XCTEST_UI_TEST_PACKAGE }; namespace UploadTypeMapper diff --git a/aws-cpp-sdk-devicefarm/source/model/ArtifactType.cpp b/aws-cpp-sdk-devicefarm/source/model/ArtifactType.cpp index 8aa19537a85..439a6cb4284 100644 --- a/aws-cpp-sdk-devicefarm/source/model/ArtifactType.cpp +++ b/aws-cpp-sdk-devicefarm/source/model/ArtifactType.cpp @@ -41,6 +41,7 @@ static const int APPIUM_PYTHON_XML_OUTPUT_HASH = HashingUtils::HashString("APPIU static const int EXPLORER_EVENT_LOG_HASH = HashingUtils::HashString("EXPLORER_EVENT_LOG"); static const int EXPLORER_SUMMARY_LOG_HASH = HashingUtils::HashString("EXPLORER_SUMMARY_LOG"); static const int APPLICATION_CRASH_REPORT_HASH = HashingUtils::HashString("APPLICATION_CRASH_REPORT"); +static const int XCTEST_LOG_HASH = HashingUtils::HashString("XCTEST_LOG"); namespace Aws { @@ -143,6 +144,10 @@ namespace Aws { return ArtifactType::APPLICATION_CRASH_REPORT; } + else if (hashCode == XCTEST_LOG_HASH) + { + return ArtifactType::XCTEST_LOG; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -201,6 +206,8 @@ namespace Aws return "EXPLORER_SUMMARY_LOG"; case ArtifactType::APPLICATION_CRASH_REPORT: return "APPLICATION_CRASH_REPORT"; + case ArtifactType::XCTEST_LOG: + return "XCTEST_LOG"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/aws-cpp-sdk-devicefarm/source/model/TestType.cpp b/aws-cpp-sdk-devicefarm/source/model/TestType.cpp index bc15da2ae65..7ba3e04ef5a 100644 --- a/aws-cpp-sdk-devicefarm/source/model/TestType.cpp +++ b/aws-cpp-sdk-devicefarm/source/model/TestType.cpp @@ -32,6 +32,7 @@ static const int INSTRUMENTATION_HASH = HashingUtils::HashString("INSTRUMENTATIO static const int UIAUTOMATION_HASH = HashingUtils::HashString("UIAUTOMATION"); static const int UIAUTOMATOR_HASH = HashingUtils::HashString("UIAUTOMATOR"); static const int XCTEST_HASH = HashingUtils::HashString("XCTEST"); +static const int XCTEST_UI_HASH = HashingUtils::HashString("XCTEST_UI"); namespace Aws { @@ -98,6 +99,10 @@ namespace Aws { return TestType::XCTEST; } + else if (hashCode == XCTEST_UI_HASH) + { + return TestType::XCTEST_UI; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -138,6 +143,8 @@ namespace Aws return "UIAUTOMATOR"; case TestType::XCTEST: return "XCTEST"; + case TestType::XCTEST_UI: + return "XCTEST_UI"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/aws-cpp-sdk-devicefarm/source/model/UploadType.cpp b/aws-cpp-sdk-devicefarm/source/model/UploadType.cpp index a9136094e68..dea49667080 100644 --- a/aws-cpp-sdk-devicefarm/source/model/UploadType.cpp +++ b/aws-cpp-sdk-devicefarm/source/model/UploadType.cpp @@ -34,6 +34,7 @@ static const int INSTRUMENTATION_TEST_PACKAGE_HASH = HashingUtils::HashString("I static const int UIAUTOMATION_TEST_PACKAGE_HASH = HashingUtils::HashString("UIAUTOMATION_TEST_PACKAGE"); static const int UIAUTOMATOR_TEST_PACKAGE_HASH = HashingUtils::HashString("UIAUTOMATOR_TEST_PACKAGE"); static const int XCTEST_TEST_PACKAGE_HASH = HashingUtils::HashString("XCTEST_TEST_PACKAGE"); +static const int XCTEST_UI_TEST_PACKAGE_HASH = HashingUtils::HashString("XCTEST_UI_TEST_PACKAGE"); namespace Aws { @@ -108,6 +109,10 @@ namespace Aws { return UploadType::XCTEST_TEST_PACKAGE; } + else if (hashCode == XCTEST_UI_TEST_PACKAGE_HASH) + { + return UploadType::XCTEST_UI_TEST_PACKAGE; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -152,6 +157,8 @@ namespace Aws return "UIAUTOMATOR_TEST_PACKAGE"; case UploadType::XCTEST_TEST_PACKAGE: return "XCTEST_TEST_PACKAGE"; + case UploadType::XCTEST_UI_TEST_PACKAGE: + return "XCTEST_UI_TEST_PACKAGE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/aws-cpp-sdk-directconnect/include/aws/directconnect/DirectConnectClient.h b/aws-cpp-sdk-directconnect/include/aws/directconnect/DirectConnectClient.h index d034cbd91e0..f79cc78debd 100644 --- a/aws-cpp-sdk-directconnect/include/aws/directconnect/DirectConnectClient.h +++ b/aws-cpp-sdk-directconnect/include/aws/directconnect/DirectConnectClient.h @@ -166,24 +166,18 @@ namespace Model typedef std::function&) > DescribeVirtualInterfacesResponseReceivedHandler; /** - *

    AWS Direct Connect makes it easy to establish a dedicated network connection - * from your premises to Amazon Web Services (AWS). Using AWS Direct Connect, you - * can establish private connectivity between AWS and your data center, office, or - * colocation environment, which in many cases can reduce your network costs, - * increase bandwidth throughput, and provide a more consistent network experience - * than Internet-based connections.

    The AWS Direct Connect API Reference - * provides descriptions, syntax, and usage examples for each of the actions and - * data types for AWS Direct Connect. Use the following links to get started using - * the AWS Direct Connect API Reference:

    + *

    AWS Direct Connect links your internal network to an AWS Direct Connect + * location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One + * end of the cable is connected to your router, the other to an AWS Direct Connect + * router. With this connection in place, you can create virtual interfaces + * directly to the AWS cloud (for example, to Amazon Elastic Compute Cloud (Amazon + * EC2) and Amazon Simple Storage Service (Amazon S3)) and to Amazon Virtual + * Private Cloud (Amazon VPC), bypassing Internet service providers in your network + * path. An AWS Direct Connect location provides access to AWS in the region it is + * associated with, as well as access to other US regions. For example, you can + * provision a single connection to any AWS Direct Connect location in the US and + * use it to access public AWS services in all US Regions and AWS GovCloud + * (US).

    */ class AWS_DIRECTCONNECT_API DirectConnectClient : public Aws::Client::AWSJsonClient { diff --git a/aws-cpp-sdk-events/include/aws/events/CloudWatchEventsClient.h b/aws-cpp-sdk-events/include/aws/events/CloudWatchEventsClient.h index fc5a19a787e..fb9652cb60f 100644 --- a/aws-cpp-sdk-events/include/aws/events/CloudWatchEventsClient.h +++ b/aws-cpp-sdk-events/include/aws/events/CloudWatchEventsClient.h @@ -176,18 +176,16 @@ namespace Model /** *

    Deletes a rule. You must remove all targets from a rule using * RemoveTargets before you can delete the rule.

    Note: When - * you make a change with this action, incoming events might still continue to - * match to the deleted rule. Please allow a short period of time for changes to - * take effect.

    + * you delete a rule, incoming events might still continue to match to the deleted + * rule. Please allow a short period of time for changes to take effect.

    */ virtual Model::DeleteRuleOutcome DeleteRule(const Model::DeleteRuleRequest& request) const; /** *

    Deletes a rule. You must remove all targets from a rule using * RemoveTargets before you can delete the rule.

    Note: When - * you make a change with this action, incoming events might still continue to - * match to the deleted rule. Please allow a short period of time for changes to - * take effect.

    + * you delete a rule, incoming events might still continue to match to the deleted + * rule. Please allow a short period of time for changes to take effect.

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -196,9 +194,8 @@ namespace Model /** *

    Deletes a rule. You must remove all targets from a rule using * RemoveTargets before you can delete the rule.

    Note: When - * you make a change with this action, incoming events might still continue to - * match to the deleted rule. Please allow a short period of time for changes to - * take effect.

    + * you delete a rule, incoming events might still continue to match to the deleted + * rule. Please allow a short period of time for changes to take effect.

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -225,19 +222,17 @@ namespace Model /** *

    Disables a rule. A disabled rule won't match any events, and won't - * self-trigger if it has a schedule expression.

    Note: When you make - * a change with this action, incoming events might still continue to match to the - * disabled rule. Please allow a short period of time for changes to take effect. - *

    + * self-trigger if it has a schedule expression.

    Note: When you + * disable a rule, incoming events might still continue to match to the disabled + * rule. Please allow a short period of time for changes to take effect.

    */ virtual Model::DisableRuleOutcome DisableRule(const Model::DisableRuleRequest& request) const; /** *

    Disables a rule. A disabled rule won't match any events, and won't - * self-trigger if it has a schedule expression.

    Note: When you make - * a change with this action, incoming events might still continue to match to the - * disabled rule. Please allow a short period of time for changes to take effect. - *

    + * self-trigger if it has a schedule expression.

    Note: When you + * disable a rule, incoming events might still continue to match to the disabled + * rule. Please allow a short period of time for changes to take effect.

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -245,10 +240,9 @@ namespace Model /** *

    Disables a rule. A disabled rule won't match any events, and won't - * self-trigger if it has a schedule expression.

    Note: When you make - * a change with this action, incoming events might still continue to match to the - * disabled rule. Please allow a short period of time for changes to take effect. - *

    + * self-trigger if it has a schedule expression.

    Note: When you + * disable a rule, incoming events might still continue to match to the disabled + * rule. Please allow a short period of time for changes to take effect.

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -256,17 +250,17 @@ namespace Model /** *

    Enables a rule. If the rule does not exist, the operation fails.

    - * Note: When you make a change with this action, incoming events might not - * immediately start matching to a newly enabled rule. Please allow a short period - * of time for changes to take effect.

    + * Note: When you enable a rule, incoming events might not immediately start + * matching to a newly enabled rule. Please allow a short period of time for + * changes to take effect.

    */ virtual Model::EnableRuleOutcome EnableRule(const Model::EnableRuleRequest& request) const; /** *

    Enables a rule. If the rule does not exist, the operation fails.

    - * Note: When you make a change with this action, incoming events might not - * immediately start matching to a newly enabled rule. Please allow a short period - * of time for changes to take effect.

    + * Note: When you enable a rule, incoming events might not immediately start + * matching to a newly enabled rule. Please allow a short period of time for + * changes to take effect.

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -274,43 +268,43 @@ namespace Model /** *

    Enables a rule. If the rule does not exist, the operation fails.

    - * Note: When you make a change with this action, incoming events might not - * immediately start matching to a newly enabled rule. Please allow a short period - * of time for changes to take effect.

    + * Note: When you enable a rule, incoming events might not immediately start + * matching to a newly enabled rule. Please allow a short period of time for + * changes to take effect.

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void EnableRuleAsync(const Model::EnableRuleRequest& request, const EnableRuleResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** - *

    Lists the names of the rules that the given target is put to. Using this - * action, you can find out which of the rules in Amazon CloudWatch Events can - * invoke a specific target in your account. If you have more rules in your account - * than the given limit, the results will be paginated. In that case, use the next - * token returned in the response and repeat the ListRulesByTarget action until the - * NextToken in the response is returned as null.

    + *

    Lists the names of the rules that the given target is put to. You can see + * which of the rules in Amazon CloudWatch Events can invoke a specific target in + * your account. If you have more rules in your account than the given limit, the + * results will be paginated. In that case, use the next token returned in the + * response and repeat ListRulesByTarget until the NextToken in the response is + * returned as null.

    */ virtual Model::ListRuleNamesByTargetOutcome ListRuleNamesByTarget(const Model::ListRuleNamesByTargetRequest& request) const; /** - *

    Lists the names of the rules that the given target is put to. Using this - * action, you can find out which of the rules in Amazon CloudWatch Events can - * invoke a specific target in your account. If you have more rules in your account - * than the given limit, the results will be paginated. In that case, use the next - * token returned in the response and repeat the ListRulesByTarget action until the - * NextToken in the response is returned as null.

    + *

    Lists the names of the rules that the given target is put to. You can see + * which of the rules in Amazon CloudWatch Events can invoke a specific target in + * your account. If you have more rules in your account than the given limit, the + * results will be paginated. In that case, use the next token returned in the + * response and repeat ListRulesByTarget until the NextToken in the response is + * returned as null.

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListRuleNamesByTargetOutcomeCallable ListRuleNamesByTargetCallable(const Model::ListRuleNamesByTargetRequest& request) const; /** - *

    Lists the names of the rules that the given target is put to. Using this - * action, you can find out which of the rules in Amazon CloudWatch Events can - * invoke a specific target in your account. If you have more rules in your account - * than the given limit, the results will be paginated. In that case, use the next - * token returned in the response and repeat the ListRulesByTarget action until the - * NextToken in the response is returned as null.

    + *

    Lists the names of the rules that the given target is put to. You can see + * which of the rules in Amazon CloudWatch Events can invoke a specific target in + * your account. If you have more rules in your account than the given limit, the + * results will be paginated. In that case, use the next token returned in the + * response and repeat ListRulesByTarget until the NextToken in the response is + * returned as null.

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -321,8 +315,7 @@ namespace Model * all the rules or you can provide a prefix to match to the rule names. If you * have more rules in your account than the given limit, the results will be * paginated. In that case, use the next token returned in the response and repeat - * the ListRules action until the NextToken in the response is returned as - * null.

    + * ListRules until the NextToken in the response is returned as null.

    */ virtual Model::ListRulesOutcome ListRules(const Model::ListRulesRequest& request) const; @@ -331,8 +324,7 @@ namespace Model * all the rules or you can provide a prefix to match to the rule names. If you * have more rules in your account than the given limit, the results will be * paginated. In that case, use the next token returned in the response and repeat - * the ListRules action until the NextToken in the response is returned as - * null.

    + * ListRules until the NextToken in the response is returned as null.

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -343,8 +335,7 @@ namespace Model * all the rules or you can provide a prefix to match to the rule names. If you * have more rules in your account than the given limit, the results will be * paginated. In that case, use the next token returned in the response and repeat - * the ListRules action until the NextToken in the response is returned as - * null.

    + * ListRules until the NextToken in the response is returned as null.

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -394,7 +385,7 @@ namespace Model /** *

    Creates or updates a rule. Rules are enabled by default, or based on value of * the State parameter. You can disable a rule using DisableRule.

    - * Note: When you make a change with this action, incoming events might not + * Note: When you create or update a rule, incoming events might not * immediately start matching to new or updated rules. Please allow a short period * of time for changes to take effect.

    A rule must contain at least an * EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when @@ -412,7 +403,7 @@ namespace Model /** *

    Creates or updates a rule. Rules are enabled by default, or based on value of * the State parameter. You can disable a rule using DisableRule.

    - * Note: When you make a change with this action, incoming events might not + * Note: When you create or update a rule, incoming events might not * immediately start matching to new or updated rules. Please allow a short period * of time for changes to take effect.

    A rule must contain at least an * EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when @@ -432,7 +423,7 @@ namespace Model /** *

    Creates or updates a rule. Rules are enabled by default, or based on value of * the State parameter. You can disable a rule using DisableRule.

    - * Note: When you make a change with this action, incoming events might not + * Note: When you create or update a rule, incoming events might not * immediately start matching to new or updated rules. Please allow a short period * of time for changes to take effect.

    A rule must contain at least an * EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when @@ -450,34 +441,85 @@ namespace Model virtual void PutRuleAsync(const Model::PutRuleRequest& request, const PutRuleResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** - *

    Adds target(s) to a rule. Updates the target(s) if they are already - * associated with the role. In other words, if there is already a target with the - * given target ID, then the target associated with that ID is updated.

    - * Note: When you make a change with this action, when the associated rule - * triggers, new or updated targets might not be immediately invoked. Please allow - * a short period of time for changes to take effect.

    + *

    Adds target(s) to a rule. Targets are the resources that can be invoked when + * a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, + * and built-in targets. Updates the target(s) if they are already associated with + * the role. In other words, if there is already a target with the given target ID, + * then the target associated with that ID is updated.

    In order to be able + * to make API calls against the resources you own, Amazon CloudWatch Events needs + * the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch + * Events relies on resource-based policies. For Amazon Kinesis streams, CloudWatch + * Events relies on IAM roles. For more information, see Permissions + * for Sending Events to Targets in the Amazon CloudWatch Developer + * Guide.

    Input and InputPath are mutually-exclusive + * and optional parameters of a target. When a rule is triggered due to a matched + * event, if for a target:

    • Neither Input nor InputPath + * is specified, then the entire event is passed to the target in JSON form.
    • + *
    • InputPath is specified in the form of JSONPath (e.g. + * $.detail), then only the part of the event specified in the path is + * passed to the target (e.g. only the detail part of the event is passed).
    • + *
    • Input is specified in the form of a valid JSON, then the matched + * event is overridden with this constant.

    Note: When you add + * targets to a rule, when the associated rule triggers, new or updated targets + * might not be immediately invoked. Please allow a short period of time for + * changes to take effect.

    */ virtual Model::PutTargetsOutcome PutTargets(const Model::PutTargetsRequest& request) const; /** - *

    Adds target(s) to a rule. Updates the target(s) if they are already - * associated with the role. In other words, if there is already a target with the - * given target ID, then the target associated with that ID is updated.

    - * Note: When you make a change with this action, when the associated rule - * triggers, new or updated targets might not be immediately invoked. Please allow - * a short period of time for changes to take effect.

    + *

    Adds target(s) to a rule. Targets are the resources that can be invoked when + * a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, + * and built-in targets. Updates the target(s) if they are already associated with + * the role. In other words, if there is already a target with the given target ID, + * then the target associated with that ID is updated.

    In order to be able + * to make API calls against the resources you own, Amazon CloudWatch Events needs + * the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch + * Events relies on resource-based policies. For Amazon Kinesis streams, CloudWatch + * Events relies on IAM roles. For more information, see Permissions + * for Sending Events to Targets in the Amazon CloudWatch Developer + * Guide.

    Input and InputPath are mutually-exclusive + * and optional parameters of a target. When a rule is triggered due to a matched + * event, if for a target:

    • Neither Input nor InputPath + * is specified, then the entire event is passed to the target in JSON form.
    • + *
    • InputPath is specified in the form of JSONPath (e.g. + * $.detail), then only the part of the event specified in the path is + * passed to the target (e.g. only the detail part of the event is passed).
    • + *
    • Input is specified in the form of a valid JSON, then the matched + * event is overridden with this constant.

    Note: When you add + * targets to a rule, when the associated rule triggers, new or updated targets + * might not be immediately invoked. Please allow a short period of time for + * changes to take effect.

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::PutTargetsOutcomeCallable PutTargetsCallable(const Model::PutTargetsRequest& request) const; /** - *

    Adds target(s) to a rule. Updates the target(s) if they are already - * associated with the role. In other words, if there is already a target with the - * given target ID, then the target associated with that ID is updated.

    - * Note: When you make a change with this action, when the associated rule - * triggers, new or updated targets might not be immediately invoked. Please allow - * a short period of time for changes to take effect.

    + *

    Adds target(s) to a rule. Targets are the resources that can be invoked when + * a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, + * and built-in targets. Updates the target(s) if they are already associated with + * the role. In other words, if there is already a target with the given target ID, + * then the target associated with that ID is updated.

    In order to be able + * to make API calls against the resources you own, Amazon CloudWatch Events needs + * the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch + * Events relies on resource-based policies. For Amazon Kinesis streams, CloudWatch + * Events relies on IAM roles. For more information, see Permissions + * for Sending Events to Targets in the Amazon CloudWatch Developer + * Guide.

    Input and InputPath are mutually-exclusive + * and optional parameters of a target. When a rule is triggered due to a matched + * event, if for a target:

    • Neither Input nor InputPath + * is specified, then the entire event is passed to the target in JSON form.
    • + *
    • InputPath is specified in the form of JSONPath (e.g. + * $.detail), then only the part of the event specified in the path is + * passed to the target (e.g. only the detail part of the event is passed).
    • + *
    • Input is specified in the form of a valid JSON, then the matched + * event is overridden with this constant.

    Note: When you add + * targets to a rule, when the associated rule triggers, new or updated targets + * might not be immediately invoked. Please allow a short period of time for + * changes to take effect.

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ @@ -485,19 +527,19 @@ namespace Model /** *

    Removes target(s) from a rule so that when the rule is triggered, those - * targets will no longer be invoked.

    Note: When you make a change - * with this action, when the associated rule triggers, removed targets might still - * continue to be invoked. Please allow a short period of time for changes to take - * effect.

    + * targets will no longer be invoked.

    Note: When you remove a + * target, when the associated rule triggers, removed targets might still continue + * to be invoked. Please allow a short period of time for changes to take effect. + *

    */ virtual Model::RemoveTargetsOutcome RemoveTargets(const Model::RemoveTargetsRequest& request) const; /** *

    Removes target(s) from a rule so that when the rule is triggered, those - * targets will no longer be invoked.

    Note: When you make a change - * with this action, when the associated rule triggers, removed targets might still - * continue to be invoked. Please allow a short period of time for changes to take - * effect.

    + * targets will no longer be invoked.

    Note: When you remove a + * target, when the associated rule triggers, removed targets might still continue + * to be invoked. Please allow a short period of time for changes to take effect. + *

    * * returns a future to the operation so that it can be executed in parallel to other requests. */ @@ -505,10 +547,10 @@ namespace Model /** *

    Removes target(s) from a rule so that when the rule is triggered, those - * targets will no longer be invoked.

    Note: When you make a change - * with this action, when the associated rule triggers, removed targets might still - * continue to be invoked. Please allow a short period of time for changes to take - * effect.

    + * targets will no longer be invoked.

    Note: When you remove a + * target, when the associated rule triggers, removed targets might still continue + * to be invoked. Please allow a short period of time for changes to take effect. + *

    * * Queues the request into a thread executor and triggers associated callback when operation has finished. */ diff --git a/aws-cpp-sdk-events/include/aws/events/model/PutEventsRequestEntry.h b/aws-cpp-sdk-events/include/aws/events/model/PutEventsRequestEntry.h index fd3ba037b37..48cf7b482da 100644 --- a/aws-cpp-sdk-events/include/aws/events/model/PutEventsRequestEntry.h +++ b/aws-cpp-sdk-events/include/aws/events/model/PutEventsRequestEntry.h @@ -32,7 +32,7 @@ namespace Model { /** - *

    Contains information about the event to be used in the PutEvents action.

    + *

    Contains information about the event to be used in PutEvents.

    */ class AWS_CLOUDWATCHEVENTS_API PutEventsRequestEntry { diff --git a/code-generation/api-descriptions/acm-2015-12-08.normal.json b/code-generation/api-descriptions/acm-2015-12-08.normal.json index da9bbec7ffc..980c68e2f79 100644 --- a/code-generation/api-descriptions/acm-2015-12-08.normal.json +++ b/code-generation/api-descriptions/acm-2015-12-08.normal.json @@ -109,7 +109,7 @@ { "shape":"LimitExceededException", "exception":true, - "documentation":"

    An ACM limit has been exceeded. For example, you may have input more domains than are allowed or you've requested too many certificates for your account. See the exception message returned by ACM to determine which limit you have violated. For more information about ACM limits, see the Limits topic.

    " + "documentation":"

    An ACM limit has been exceeded. For example, you may have input more domains than are allowed or you've requested too many certificates for your account. See the exception message returned by ACM to determine which limit you have violated. For more information about ACM limits, see the Limits topic.

    " }, { "shape":"InvalidDomainValidationOptionsException", @@ -438,7 +438,7 @@ "message":{"shape":"String"} }, "exception":true, - "documentation":"

    An ACM limit has been exceeded. For example, you may have input more domains than are allowed or you've requested too many certificates for your account. See the exception message returned by ACM to determine which limit you have violated. For more information about ACM limits, see the Limits topic.

    " + "documentation":"

    An ACM limit has been exceeded. For example, you may have input more domains than are allowed or you've requested too many certificates for your account. See the exception message returned by ACM to determine which limit you have violated. For more information about ACM limits, see the Limits topic.

    " }, "ListCertificatesRequest":{ "type":"structure", diff --git a/code-generation/api-descriptions/codecommit-2015-04-13.normal.json b/code-generation/api-descriptions/codecommit-2015-04-13.normal.json index 424e8b71428..9baac3017d7 100644 --- a/code-generation/api-descriptions/codecommit-2015-04-13.normal.json +++ b/code-generation/api-descriptions/codecommit-2015-04-13.normal.json @@ -4,14 +4,12 @@ "apiVersion":"2015-04-13", "endpointPrefix":"codecommit", "jsonVersion":"1.1", + "protocol":"json", "serviceAbbreviation":"CodeCommit", "serviceFullName":"AWS CodeCommit", "signatureVersion":"v4", - "targetPrefix":"CodeCommit_20150413", - "timestampFormat":"unixTimestamp", - "protocol":"json" + "targetPrefix":"CodeCommit_20150413" }, - "documentation":"AWS CodeCommit

    This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.

    You can use the AWS CodeCommit API to work with the following objects:

    • Repositories
    • Branches
    • Commits

    For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

    ", "operations":{ "BatchGetRepositories":{ "name":"BatchGetRepositories", @@ -19,58 +17,19 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"BatchGetRepositoriesInput", - "documentation":"

    Represents the input of a batch get repositories operation.

    " - }, - "output":{ - "shape":"BatchGetRepositoriesOutput", - "documentation":"

    Represents the output of a batch get repositories operation.

    " - }, + "input":{"shape":"BatchGetRepositoriesInput"}, + "output":{"shape":"BatchGetRepositoriesOutput"}, "errors":[ - { - "shape":"RepositoryNamesRequiredException", - "exception":true, - "documentation":"

    A repository names object is required but was not specified.

    " - }, - { - "shape":"MaximumRepositoryNamesExceededException", - "exception":true, - "documentation":"

    The maximum number of allowed repository names was exceeded. Currently, this number is 25.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNamesRequiredException"}, + {"shape":"MaximumRepositoryNamesExceededException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], - "documentation":"

    Gets information about one or more repositories.

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

    " + "documentation":"

    Returns information about one or more repositories.

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

    " }, "CreateBranch":{ "name":"CreateBranch", @@ -78,84 +37,24 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"CreateBranchInput", - "documentation":"

    Represents the input of a create branch operation.

    " - }, + "input":{"shape":"CreateBranchInput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"BranchNameRequiredException", - "exception":true, - "documentation":"

    A branch name is required but was not specified.

    " - }, - { - "shape":"BranchNameExistsException", - "exception":true, - "documentation":"

    The specified branch name already exists.

    " - }, - { - "shape":"InvalidBranchNameException", - "exception":true, - "documentation":"

    The specified branch name is not valid.

    " - }, - { - "shape":"CommitIdRequiredException", - "exception":true, - "documentation":"

    A commit ID was not specified.

    " - }, - { - "shape":"CommitDoesNotExistException", - "exception":true, - "documentation":"

    The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

    " - }, - { - "shape":"InvalidCommitIdException", - "exception":true, - "documentation":"

    The specified commit ID is not valid.

    " - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"BranchNameRequiredException"}, + {"shape":"BranchNameExistsException"}, + {"shape":"InvalidBranchNameException"}, + {"shape":"CommitIdRequiredException"}, + {"shape":"CommitDoesNotExistException"}, + {"shape":"InvalidCommitIdException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], - "documentation":"

    Creates a new branch in a repository and points the branch to a commit.

    Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation." + "documentation":"

    Creates a new branch in a repository and points the branch to a commit.

    Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

    " }, "CreateRepository":{ "name":"CreateRepository", @@ -163,66 +62,19 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"CreateRepositoryInput", - "documentation":"

    Represents the input of a create repository operation.

    " - }, - "output":{ - "shape":"CreateRepositoryOutput", - "documentation":"

    Represents the output of a create repository operation.

    " - }, + "input":{"shape":"CreateRepositoryInput"}, + "output":{"shape":"CreateRepositoryOutput"}, "errors":[ - { - "shape":"RepositoryNameExistsException", - "exception":true, - "documentation":"

    The specified repository name already exists.

    " - }, - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"InvalidRepositoryDescriptionException", - "exception":true, - "documentation":"

    The specified repository description is not valid.

    " - }, - { - "shape":"RepositoryLimitExceededException", - "exception":true, - "documentation":"

    A repository resource limit was exceeded.

    " - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameExistsException"}, + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"InvalidRepositoryDescriptionException"}, + {"shape":"RepositoryLimitExceededException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], "documentation":"

    Creates a new, empty repository.

    " }, @@ -232,51 +84,16 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"DeleteRepositoryInput", - "documentation":"

    Represents the input of a delete repository operation.

    " - }, - "output":{ - "shape":"DeleteRepositoryOutput", - "documentation":"

    Represents the output of a delete repository operation.

    " - }, + "input":{"shape":"DeleteRepositoryInput"}, + "output":{"shape":"DeleteRepositoryOutput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], "documentation":"

    Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

    Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail." }, @@ -286,73 +103,45 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"GetBranchInput", - "documentation":"

    Represents the input of a get branch operation.

    " - }, - "output":{ - "shape":"GetBranchOutput", - "documentation":"

    Represents the output of a get branch operation.

    " + "input":{"shape":"GetBranchInput"}, + "output":{"shape":"GetBranchOutput"}, + "errors":[ + {"shape":"RepositoryNameRequiredException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"BranchNameRequiredException"}, + {"shape":"InvalidBranchNameException"}, + {"shape":"BranchDoesNotExistException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} + ], + "documentation":"

    Returns information about a repository branch, including its name and the last commit ID.

    " + }, + "GetCommit":{ + "name":"GetCommit", + "http":{ + "method":"POST", + "requestUri":"/" }, + "input":{"shape":"GetCommitInput"}, + "output":{"shape":"GetCommitOutput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"BranchNameRequiredException", - "exception":true, - "documentation":"

    A branch name is required but was not specified.

    " - }, - { - "shape":"InvalidBranchNameException", - "exception":true, - "documentation":"

    The specified branch name is not valid.

    " - }, - { - "shape":"BranchDoesNotExistException", - "exception":true, - "documentation":"

    The specified branch does not exist.

    " - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"CommitIdRequiredException"}, + {"shape":"InvalidCommitIdException"}, + {"shape":"CommitIdDoesNotExistException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], - "documentation":"

    Retrieves information about a repository branch, including its name and the last commit ID.

    " + "documentation":"

    Returns information about a commit, including commit message and committer information.

    " }, "GetRepository":{ "name":"GetRepository", @@ -360,58 +149,39 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"GetRepositoryInput", - "documentation":"

    Represents the input of a get repository operation.

    " - }, - "output":{ - "shape":"GetRepositoryOutput", - "documentation":"

    Represents the output of a get repository operation.

    " + "input":{"shape":"GetRepositoryInput"}, + "output":{"shape":"GetRepositoryOutput"}, + "errors":[ + {"shape":"RepositoryNameRequiredException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} + ], + "documentation":"

    Returns information about a repository.

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

    " + }, + "GetRepositoryTriggers":{ + "name":"GetRepositoryTriggers", + "http":{ + "method":"POST", + "requestUri":"/" }, + "input":{"shape":"GetRepositoryTriggersInput"}, + "output":{"shape":"GetRepositoryTriggersOutput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], - "documentation":"

    Gets information about a repository.

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

    " + "documentation":"

    Gets information about triggers configured for a repository.

    " }, "ListBranches":{ "name":"ListBranches", @@ -419,61 +189,18 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"ListBranchesInput", - "documentation":"

    Represents the input of a list branches operation.

    " - }, - "output":{ - "shape":"ListBranchesOutput", - "documentation":"

    Represents the output of a list branches operation.

    " - }, + "input":{"shape":"ListBranchesInput"}, + "output":{"shape":"ListBranchesOutput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - }, - { - "shape":"InvalidContinuationTokenException", - "exception":true, - "documentation":"

    The specified continuation token is not valid.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"}, + {"shape":"InvalidContinuationTokenException"} ], "documentation":"

    Gets information about one or more branches in a repository.

    " }, @@ -483,32 +210,80 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"ListRepositoriesInput", - "documentation":"

    Represents the input of a list repositories operation.

    " + "input":{"shape":"ListRepositoriesInput"}, + "output":{"shape":"ListRepositoriesOutput"}, + "errors":[ + {"shape":"InvalidSortByException"}, + {"shape":"InvalidOrderException"}, + {"shape":"InvalidContinuationTokenException"} + ], + "documentation":"

    Gets information about one or more repositories.

    " + }, + "PutRepositoryTriggers":{ + "name":"PutRepositoryTriggers", + "http":{ + "method":"POST", + "requestUri":"/" }, - "output":{ - "shape":"ListRepositoriesOutput", - "documentation":"

    Represents the output of a list repositories operation.

    " + "input":{"shape":"PutRepositoryTriggersInput"}, + "output":{"shape":"PutRepositoryTriggersOutput"}, + "errors":[ + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"RepositoryTriggersListRequiredException"}, + {"shape":"MaximumRepositoryTriggersExceededException"}, + {"shape":"InvalidRepositoryTriggerNameException"}, + {"shape":"InvalidRepositoryTriggerDestinationArnException"}, + {"shape":"InvalidRepositoryTriggerRegionException"}, + {"shape":"InvalidRepositoryTriggerCustomDataException"}, + {"shape":"MaximumBranchesExceededException"}, + {"shape":"InvalidRepositoryTriggerBranchNameException"}, + {"shape":"InvalidRepositoryTriggerEventsException"}, + {"shape":"RepositoryTriggerNameRequiredException"}, + {"shape":"RepositoryTriggerDestinationArnRequiredException"}, + {"shape":"RepositoryTriggerBranchNameListRequiredException"}, + {"shape":"RepositoryTriggerEventsListRequiredException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} + ], + "documentation":"

    Replaces all triggers for a repository. This can be used to create or delete triggers.

    " + }, + "TestRepositoryTriggers":{ + "name":"TestRepositoryTriggers", + "http":{ + "method":"POST", + "requestUri":"/" }, + "input":{"shape":"TestRepositoryTriggersInput"}, + "output":{"shape":"TestRepositoryTriggersOutput"}, "errors":[ - { - "shape":"InvalidSortByException", - "exception":true, - "documentation":"

    The specified sort by value is not valid.

    " - }, - { - "shape":"InvalidOrderException", - "exception":true, - "documentation":"

    The specified sort order is not valid.

    " - }, - { - "shape":"InvalidContinuationTokenException", - "exception":true, - "documentation":"

    The specified continuation token is not valid.

    " - } + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"RepositoryTriggersListRequiredException"}, + {"shape":"MaximumRepositoryTriggersExceededException"}, + {"shape":"InvalidRepositoryTriggerNameException"}, + {"shape":"InvalidRepositoryTriggerDestinationArnException"}, + {"shape":"InvalidRepositoryTriggerRegionException"}, + {"shape":"InvalidRepositoryTriggerCustomDataException"}, + {"shape":"MaximumBranchesExceededException"}, + {"shape":"InvalidRepositoryTriggerBranchNameException"}, + {"shape":"InvalidRepositoryTriggerEventsException"}, + {"shape":"RepositoryTriggerNameRequiredException"}, + {"shape":"RepositoryTriggerDestinationArnRequiredException"}, + {"shape":"RepositoryTriggerBranchNameListRequiredException"}, + {"shape":"RepositoryTriggerEventsListRequiredException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], - "documentation":"

    Gets information about one or more repositories.

    " + "documentation":"

    Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.

    " }, "UpdateDefaultBranch":{ "name":"UpdateDefaultBranch", @@ -516,69 +291,21 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"UpdateDefaultBranchInput", - "documentation":"

    Represents the input of an update default branch operation.

    " - }, + "input":{"shape":"UpdateDefaultBranchInput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"BranchNameRequiredException", - "exception":true, - "documentation":"

    A branch name is required but was not specified.

    " - }, - { - "shape":"InvalidBranchNameException", - "exception":true, - "documentation":"

    The specified branch name is not valid.

    " - }, - { - "shape":"BranchDoesNotExistException", - "exception":true, - "documentation":"

    The specified branch does not exist.

    " - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"BranchNameRequiredException"}, + {"shape":"InvalidBranchNameException"}, + {"shape":"BranchDoesNotExistException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], - "documentation":"

    Sets or changes the default branch name for the specified repository.

    If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change." + "documentation":"

    Sets or changes the default branch name for the specified repository.

    If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

    " }, "UpdateRepositoryDescription":{ "name":"UpdateRepositoryDescription", @@ -586,57 +313,17 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"UpdateRepositoryDescriptionInput", - "documentation":"

    Represents the input of an update repository description operation.

    " - }, + "input":{"shape":"UpdateRepositoryDescriptionInput"}, "errors":[ - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - }, - { - "shape":"InvalidRepositoryDescriptionException", - "exception":true, - "documentation":"

    The specified repository description is not valid.

    " - }, - { - "shape":"EncryptionIntegrityChecksFailedException", - "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " - }, - { - "shape":"EncryptionKeyAccessDeniedException", - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " - }, - { - "shape":"EncryptionKeyDisabledException", - "exception":true, - "documentation":"

    The encryption key is disabled.

    " - }, - { - "shape":"EncryptionKeyNotFoundException", - "exception":true, - "documentation":"

    No encryption key was found.

    " - }, - { - "shape":"EncryptionKeyUnavailableException", - "exception":true, - "documentation":"

    The encryption key is not available.

    " - } + {"shape":"RepositoryNameRequiredException"}, + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"InvalidRepositoryNameException"}, + {"shape":"InvalidRepositoryDescriptionException"}, + {"shape":"EncryptionIntegrityChecksFailedException"}, + {"shape":"EncryptionKeyAccessDeniedException"}, + {"shape":"EncryptionKeyDisabledException"}, + {"shape":"EncryptionKeyNotFoundException"}, + {"shape":"EncryptionKeyUnavailableException"} ], "documentation":"

    Sets or changes the comment or description for a repository.

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

    " }, @@ -646,37 +333,19 @@ "method":"POST", "requestUri":"/" }, - "input":{ - "shape":"UpdateRepositoryNameInput", - "documentation":"

    Represents the input of an update repository description operation.

    " - }, + "input":{"shape":"UpdateRepositoryNameInput"}, "errors":[ - { - "shape":"RepositoryDoesNotExistException", - "exception":true, - "documentation":"

    The specified repository does not exist.

    " - }, - { - "shape":"RepositoryNameExistsException", - "exception":true, - "documentation":"

    The specified repository name already exists.

    " - }, - { - "shape":"RepositoryNameRequiredException", - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " - }, - { - "shape":"InvalidRepositoryNameException", - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." - } + {"shape":"RepositoryDoesNotExistException"}, + {"shape":"RepositoryNameExistsException"}, + {"shape":"RepositoryNameRequiredException"}, + {"shape":"InvalidRepositoryNameException"} ], - "documentation":"

    Renames a repository.

    " + "documentation":"

    Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix \".git\" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.

    " } }, "shapes":{ "AccountId":{"type":"string"}, + "AdditionalData":{"type":"string"}, "Arn":{"type":"string"}, "BatchGetRepositoriesInput":{ "type":"structure", @@ -707,8 +376,8 @@ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified branch does not exist.

    " + "documentation":"

    The specified branch does not exist.

    ", + "exception":true }, "BranchInfo":{ "type":"structure", @@ -726,15 +395,15 @@ }, "BranchName":{ "type":"string", - "min":1, - "max":100 + "max":100, + "min":1 }, "BranchNameExistsException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified branch name already exists.

    " + "documentation":"

    The specified branch name already exists.

    ", + "exception":true }, "BranchNameList":{ "type":"list", @@ -744,25 +413,62 @@ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    A branch name is required but was not specified.

    " + "documentation":"

    A branch name is required but was not specified.

    ", + "exception":true }, "CloneUrlHttp":{"type":"string"}, "CloneUrlSsh":{"type":"string"}, + "Commit":{ + "type":"structure", + "members":{ + "treeId":{ + "shape":"ObjectId", + "documentation":"

    Tree information for the specified commit.

    " + }, + "parents":{ + "shape":"ParentList", + "documentation":"

    The parent list for the specified commit.

    " + }, + "message":{ + "shape":"Message", + "documentation":"

    The message associated with the specified commit.

    " + }, + "author":{ + "shape":"UserInfo", + "documentation":"

    Information about the author of the specified commit.

    " + }, + "committer":{ + "shape":"UserInfo", + "documentation":"

    Information about the person who committed the specified commit, also known as the committer. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

    " + }, + "additionalData":{ + "shape":"AdditionalData", + "documentation":"

    Any additional data associated with the specified commit.

    " + } + }, + "documentation":"

    Returns information about a specific commit.

    " + }, "CommitDoesNotExistException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

    " + "documentation":"

    The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

    ", + "exception":true }, "CommitId":{"type":"string"}, + "CommitIdDoesNotExistException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The specified commit ID does not exist.

    ", + "exception":true + }, "CommitIdRequiredException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    A commit ID was not specified.

    " + "documentation":"

    A commit ID was not specified.

    ", + "exception":true }, "CreateBranchInput":{ "type":"structure", @@ -782,7 +488,7 @@ }, "commitId":{ "shape":"CommitId", - "documentation":"

    The ID of the commit to point the new branch to.

    If this commit ID is not specified, the new branch will point to the commit that is pointed to by the repository's default branch." + "documentation":"

    The ID of the commit to point the new branch to.

    " } }, "documentation":"

    Represents the input of a create branch operation.

    " @@ -793,11 +499,11 @@ "members":{ "repositoryName":{ "shape":"RepositoryName", - "documentation":"

    The name of the new repository to be created.

    The repository name must be unique across the calling AWS account. In addition, repository names are restricted to alphanumeric characters. The suffix \".git\" is prohibited." + "documentation":"

    The name of the new repository to be created.

    The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix \".git\" is prohibited.

    " }, "repositoryDescription":{ "shape":"RepositoryDescription", - "documentation":"

    A comment or description about the new repository.

    " + "documentation":"

    A comment or description about the new repository.

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

    " } }, "documentation":"

    Represents the input of a create repository operation.

    " @@ -813,6 +519,7 @@ "documentation":"

    Represents the output of a create repository operation.

    " }, "CreationDate":{"type":"timestamp"}, + "Date":{"type":"string"}, "DeleteRepositoryInput":{ "type":"structure", "required":["repositoryName"], @@ -834,46 +541,50 @@ }, "documentation":"

    Represents the output of a delete repository operation.

    " }, + "Email":{"type":"string"}, "EncryptionIntegrityChecksFailedException":{ "type":"structure", "members":{ }, + "documentation":"

    An encryption integrity check failed.

    ", "exception":true, - "fault":true, - "documentation":"

    An encryption integrity check failed.

    " + "fault":true }, "EncryptionKeyAccessDeniedException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    An encryption key could not be accessed.

    " + "documentation":"

    An encryption key could not be accessed.

    ", + "exception":true }, "EncryptionKeyDisabledException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The encryption key is disabled.

    " + "documentation":"

    The encryption key is disabled.

    ", + "exception":true }, "EncryptionKeyNotFoundException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    No encryption key was found.

    " + "documentation":"

    No encryption key was found.

    ", + "exception":true }, "EncryptionKeyUnavailableException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The encryption key is not available.

    " + "documentation":"

    The encryption key is not available.

    ", + "exception":true }, "GetBranchInput":{ "type":"structure", "members":{ - "repositoryName":{"shape":"RepositoryName"}, + "repositoryName":{ + "shape":"RepositoryName", + "documentation":"

    The name of the repository that contains the branch for which you want to retrieve information.

    " + }, "branchName":{ "shape":"BranchName", "documentation":"

    The name of the branch for which you want to retrieve information.

    " @@ -891,6 +602,35 @@ }, "documentation":"

    Represents the output of a get branch operation.

    " }, + "GetCommitInput":{ + "type":"structure", + "required":[ + "repositoryName", + "commitId" + ], + "members":{ + "repositoryName":{ + "shape":"RepositoryName", + "documentation":"

    The name of the repository to which the commit was made.

    " + }, + "commitId":{ + "shape":"ObjectId", + "documentation":"

    The commit ID.

    " + } + }, + "documentation":"

    Represents the input of a get commit operation.

    " + }, + "GetCommitOutput":{ + "type":"structure", + "required":["commit"], + "members":{ + "commit":{ + "shape":"Commit", + "documentation":"

    Information about the specified commit.

    " + } + }, + "documentation":"

    Represents the output of a get commit operation.

    " + }, "GetRepositoryInput":{ "type":"structure", "required":["repositoryName"], @@ -912,54 +652,120 @@ }, "documentation":"

    Represents the output of a get repository operation.

    " }, + "GetRepositoryTriggersInput":{ + "type":"structure", + "members":{ + "repositoryName":{ + "shape":"RepositoryName", + "documentation":"

    The name of the repository for which the trigger is configured.

    " + } + }, + "documentation":"

    Represents the input of a get repository triggers operation.

    " + }, + "GetRepositoryTriggersOutput":{ + "type":"structure", + "members":{ + "configurationId":{ + "shape":"RepositoryTriggersConfigurationId", + "documentation":"

    The system-generated unique ID for the trigger.

    " + }, + "triggers":{ + "shape":"RepositoryTriggersList", + "documentation":"

    The JSON block of configuration information for each trigger.

    " + } + }, + "documentation":"

    Represents the output of a get repository triggers operation.

    " + }, "InvalidBranchNameException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified branch name is not valid.

    " + "documentation":"

    The specified branch name is not valid.

    ", + "exception":true }, "InvalidCommitIdException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified commit ID is not valid.

    " + "documentation":"

    The specified commit ID is not valid.

    ", + "exception":true }, "InvalidContinuationTokenException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified continuation token is not valid.

    " + "documentation":"

    The specified continuation token is not valid.

    ", + "exception":true }, "InvalidOrderException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified sort order is not valid.

    " + "documentation":"

    The specified sort order is not valid.

    ", + "exception":true }, "InvalidRepositoryDescriptionException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified repository description is not valid.

    " + "documentation":"

    The specified repository description is not valid.

    ", + "exception":true }, "InvalidRepositoryNameException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist." + "documentation":"

    At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

    ", + "exception":true + }, + "InvalidRepositoryTriggerBranchNameException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    One or more branch names specified for the trigger is not valid.

    ", + "exception":true + }, + "InvalidRepositoryTriggerCustomDataException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The custom data provided for the trigger is not valid.

    ", + "exception":true + }, + "InvalidRepositoryTriggerDestinationArnException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.

    ", + "exception":true + }, + "InvalidRepositoryTriggerEventsException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.

    ", + "exception":true + }, + "InvalidRepositoryTriggerNameException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The name of the trigger is not valid.

    ", + "exception":true + }, + "InvalidRepositoryTriggerRegionException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.

    ", + "exception":true }, "InvalidSortByException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified sort by value is not valid.

    " + "documentation":"

    The specified sort by value is not valid.

    ", + "exception":true }, "LastModifiedDate":{"type":"timestamp"}, "ListBranchesInput":{ @@ -1023,14 +829,31 @@ }, "documentation":"

    Represents the output of a list repositories operation.

    " }, + "MaximumBranchesExceededException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The number of branches for the trigger was exceeded.

    ", + "exception":true + }, "MaximumRepositoryNamesExceededException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The maximum number of allowed repository names was exceeded. Currently, this number is 25.

    " + "documentation":"

    The maximum number of allowed repository names was exceeded. Currently, this number is 25.

    ", + "exception":true + }, + "MaximumRepositoryTriggersExceededException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The number of triggers allowed for the repository was exceeded.

    ", + "exception":true }, + "Message":{"type":"string"}, + "Name":{"type":"string"}, "NextToken":{"type":"string"}, + "ObjectId":{"type":"string"}, "OrderEnum":{ "type":"string", "enum":[ @@ -1038,6 +861,34 @@ "descending" ] }, + "ParentList":{ + "type":"list", + "member":{"shape":"ObjectId"} + }, + "PutRepositoryTriggersInput":{ + "type":"structure", + "members":{ + "repositoryName":{ + "shape":"RepositoryName", + "documentation":"

    The name of the repository where you want to create or update the trigger.

    " + }, + "triggers":{ + "shape":"RepositoryTriggersList", + "documentation":"

    The JSON block of configuration information for each trigger.

    " + } + }, + "documentation":"

    Represents the input ofa put repository triggers operation.

    " + }, + "PutRepositoryTriggersOutput":{ + "type":"structure", + "members":{ + "configurationId":{ + "shape":"RepositoryTriggersConfigurationId", + "documentation":"

    The system-generated unique ID for the create or update operation.

    " + } + }, + "documentation":"

    Represents the output of a put repository triggers operation.

    " + }, "RepositoryDescription":{ "type":"string", "max":1000 @@ -1046,16 +897,16 @@ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified repository does not exist.

    " + "documentation":"

    The specified repository does not exist.

    ", + "exception":true }, "RepositoryId":{"type":"string"}, "RepositoryLimitExceededException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    A repository resource limit was exceeded.

    " + "documentation":"

    A repository resource limit was exceeded.

    ", + "exception":true }, "RepositoryMetadata":{ "type":"structure", @@ -1109,25 +960,27 @@ }, "RepositoryName":{ "type":"string", - "min":1, "max":100, - "pattern":"[\\\\w\\\\.-]+", - "documentation":"Repository name is restricted to alphanumeric characters (a-z, A-Z, 0-9), \".\", \"_\", and \"-\". Additionally, the suffix \".git\" is prohibited in a repository name." + "min":1, + "pattern":"[\\\\w\\\\.-]+" }, "RepositoryNameExistsException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    The specified repository name already exists.

    " + "documentation":"

    The specified repository name already exists.

    ", + "exception":true }, "RepositoryNameIdPair":{ "type":"structure", "members":{ - "repositoryName":{"shape":"RepositoryName"}, + "repositoryName":{ + "shape":"RepositoryName", + "documentation":"

    The name associated with the repository.

    " + }, "repositoryId":{ "shape":"RepositoryId", - "documentation":"

    The ID associated with the repository name.

    " + "documentation":"

    The ID associated with the repository.

    " } }, "documentation":"

    Information about a repository name and ID.

    " @@ -1144,20 +997,124 @@ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    A repository name is required but was not specified.

    " + "documentation":"

    A repository name is required but was not specified.

    ", + "exception":true }, "RepositoryNamesRequiredException":{ "type":"structure", "members":{ }, - "exception":true, - "documentation":"

    A repository names object is required but was not specified.

    " + "documentation":"

    A repository names object is required but was not specified.

    ", + "exception":true }, "RepositoryNotFoundList":{ "type":"list", "member":{"shape":"RepositoryName"} }, + "RepositoryTrigger":{ + "type":"structure", + "members":{ + "name":{ + "shape":"RepositoryTriggerName", + "documentation":"

    The name of the trigger.

    " + }, + "destinationArn":{ + "shape":"Arn", + "documentation":"

    The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).

    " + }, + "customData":{ + "shape":"RepositoryTriggerCustomData", + "documentation":"

    Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

    " + }, + "branches":{ + "shape":"BranchNameList", + "documentation":"

    The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.

    " + }, + "events":{ + "shape":"RepositoryTriggerEventList", + "documentation":"

    The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events.

    " + } + }, + "documentation":"

    Information about a trigger for a repository.

    " + }, + "RepositoryTriggerBranchNameListRequiredException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    At least one branch name is required but was not specified in the trigger configuration.

    ", + "exception":true + }, + "RepositoryTriggerCustomData":{"type":"string"}, + "RepositoryTriggerDestinationArnRequiredException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    A destination ARN for the target service for the trigger is required but was not specified.

    ", + "exception":true + }, + "RepositoryTriggerEventEnum":{ + "type":"string", + "enum":[ + "all", + "updateReference", + "createReference", + "deleteReference" + ] + }, + "RepositoryTriggerEventList":{ + "type":"list", + "member":{"shape":"RepositoryTriggerEventEnum"} + }, + "RepositoryTriggerEventsListRequiredException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    At least one event for the trigger is required but was not specified.

    ", + "exception":true + }, + "RepositoryTriggerExecutionFailure":{ + "type":"structure", + "members":{ + "trigger":{ + "shape":"RepositoryTriggerName", + "documentation":"

    The name of the trigger that did not run.

    " + }, + "failureMessage":{ + "shape":"RepositoryTriggerExecutionFailureMessage", + "documentation":"

    Additional message information about the trigger that did not run.

    " + } + }, + "documentation":"

    A trigger failed to run.

    " + }, + "RepositoryTriggerExecutionFailureList":{ + "type":"list", + "member":{"shape":"RepositoryTriggerExecutionFailure"} + }, + "RepositoryTriggerExecutionFailureMessage":{"type":"string"}, + "RepositoryTriggerName":{"type":"string"}, + "RepositoryTriggerNameList":{ + "type":"list", + "member":{"shape":"RepositoryTriggerName"} + }, + "RepositoryTriggerNameRequiredException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    A name for the trigger is required but was not specified.

    ", + "exception":true + }, + "RepositoryTriggersConfigurationId":{"type":"string"}, + "RepositoryTriggersList":{ + "type":"list", + "member":{"shape":"RepositoryTrigger"} + }, + "RepositoryTriggersListRequiredException":{ + "type":"structure", + "members":{ + }, + "documentation":"

    The list of triggers for the repository is required but was not specified.

    ", + "exception":true + }, "SortByEnum":{ "type":"string", "enum":[ @@ -1165,6 +1122,34 @@ "lastModifiedDate" ] }, + "TestRepositoryTriggersInput":{ + "type":"structure", + "members":{ + "repositoryName":{ + "shape":"RepositoryName", + "documentation":"

    The name of the repository in which to test the triggers.

    " + }, + "triggers":{ + "shape":"RepositoryTriggersList", + "documentation":"

    The list of triggers to test.

    " + } + }, + "documentation":"

    Represents the input of a test repository triggers operation.

    " + }, + "TestRepositoryTriggersOutput":{ + "type":"structure", + "members":{ + "successfulExecutions":{ + "shape":"RepositoryTriggerNameList", + "documentation":"

    The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.

    " + }, + "failedExecutions":{ + "shape":"RepositoryTriggerExecutionFailureList", + "documentation":"

    The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.

    " + } + }, + "documentation":"

    Represents the output of a test repository triggers operation.

    " + }, "UpdateDefaultBranchInput":{ "type":"structure", "required":[ @@ -1193,7 +1178,7 @@ }, "repositoryDescription":{ "shape":"RepositoryDescription", - "documentation":"

    The new comment or description for the specified repository.

    " + "documentation":"

    The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

    " } }, "documentation":"

    Represents the input of an update repository description operation.

    " @@ -1205,10 +1190,35 @@ "newName" ], "members":{ - "oldName":{"shape":"RepositoryName"}, - "newName":{"shape":"RepositoryName"} + "oldName":{ + "shape":"RepositoryName", + "documentation":"

    The existing name of the repository.

    " + }, + "newName":{ + "shape":"RepositoryName", + "documentation":"

    The new name for the repository.

    " + } }, "documentation":"

    Represents the input of an update repository description operation.

    " + }, + "UserInfo":{ + "type":"structure", + "members":{ + "name":{ + "shape":"Name", + "documentation":"

    The name of the user who made the specified commit.

    " + }, + "email":{ + "shape":"Email", + "documentation":"

    The email address associated with the user who made the commit, if any.

    " + }, + "date":{ + "shape":"Date", + "documentation":"

    The date when the specified commit was pushed to the repository.

    " + } + }, + "documentation":"

    Information about the user who made a specified commit.

    " } - } + }, + "documentation":"AWS CodeCommit

    This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API.

    You can use the AWS CodeCommit API to work with the following objects:

    • Repositories, by calling the following:
      • BatchGetRepositories, which returns information about one or more repositories associated with your AWS account
      • CreateRepository, which creates an AWS CodeCommit repository
      • DeleteRepository, which deletes an AWS CodeCommit repository
      • GetRepository, which returns information about a specified repository
      • ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account
      • UpdateRepositoryDescription, which sets or updates the description of the repository
      • UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.
    • Branches, by calling the following:
      • CreateBranch, which creates a new branch in a specified repository
      • GetBranch, which returns information about a specified branch
      • ListBranches, which lists all branches for a specified repository
      • UpdateDefaultBranch, which changes the default branch for a repository
    • Information about committed code in a repository, by calling the following:
      • GetCommit, which returns information about a commit, including commit messages and committer information.
    • Triggers, by calling the following:
      • GetRepositoryTriggers, which returns information about triggers configured for a repository
      • PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers
      • TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target

    For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

    " } diff --git a/code-generation/api-descriptions/config-2014-11-12.normal.json b/code-generation/api-descriptions/config-2014-11-12.normal.json index 03362697a79..6b4ffbc29a6 100644 --- a/code-generation/api-descriptions/config-2014-11-12.normal.json +++ b/code-generation/api-descriptions/config-2014-11-12.normal.json @@ -22,7 +22,7 @@ {"shape":"NoSuchConfigRuleException"}, {"shape":"ResourceInUseException"} ], - "documentation":"

    Deletes the specified AWS Config rule and all of its evaluation results.

    AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule request for the rule, you will receive a ResourceInUseException.

    You can check the state of a rule by using the DescribeConfigRules request.

    " + "documentation":"

    Deletes the specified AWS Config rule and all of its evaluation results.

    AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException.

    You can check the state of a rule by using the DescribeConfigRules request.

    " }, "DeleteDeliveryChannel":{ "name":"DeleteDeliveryChannel", @@ -359,7 +359,7 @@ }, "ComplianceContributorCount":{ "shape":"ComplianceContributorCount", - "documentation":"

    The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum of 25.

    " + "documentation":"

    The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum number.

    " } }, "documentation":"

    Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.

    " @@ -546,7 +546,7 @@ "documentation":"

    Indicates whether the AWS Config rule is active or currently being deleted by AWS Config.

    AWS Config sets the state of a rule to DELETING temporarily after you use the DeleteConfigRule request to delete the rule. After AWS Config finishes deleting a rule, the rule and all of its evaluations are erased and no longer available.

    You cannot add a rule to AWS Config that has the state set to DELETING. If you want to delete a rule, you must use the DeleteConfigRule request.

    " } }, - "documentation":"

    An AWS Lambda function that evaluates configuration items to assess whether your AWS resources comply with your desired configurations. This function can run when AWS Config detects a configuration change or delivers a configuration snapshot.

    For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.

    " + "documentation":"

    An AWS Lambda function that evaluates configuration items to assess whether your AWS resources comply with your desired configurations. This function can run when AWS Config detects a configuration change to an AWS resource, or when it delivers a configuration snapshot of the resources in the account.

    For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.

    " }, "ConfigRuleEvaluationStatus":{ "type":"structure", @@ -1696,14 +1696,14 @@ }, "includeGlobalResourceTypes":{ "shape":"IncludeGlobalResourceTypes", - "documentation":"

    Specifies whether AWS Config includes all supported types of global resources with the resources that it records.

    Before you can set this option to true, you must set the allSupported option to true.

    If you set this option to true, when AWS Config adds support for a new type of global resource, it automatically starts recording resources of that type.

    " + "documentation":"

    Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.

    Before you can set this option to true, you must set the allSupported option to true.

    If you set this option to true, when AWS Config adds support for a new type of global resource, it automatically starts recording resources of that type.

    The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.

    " }, "resourceTypes":{ "shape":"ResourceTypeList", "documentation":"

    A comma-separated list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail).

    Before you can set this option to true, you must set the allSupported option to false.

    If you set this option to true, when AWS Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group.

    For a list of valid resourceTypes values, see the resourceType Value column in Supported AWS Resource Types.

    " } }, - "documentation":"

    Specifies the types of AWS resource for which AWS Config records configuration changes.

    In the recording group, you specify whether all supported types or specific types of resources are recorded.

    By default, AWS Config records configuration changes for all supported types of regional resources that AWS Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes.

    You can also have AWS Config record configuration changes for supported types of global resources. Global resources are not tied to an individual region and can be used in all regions.

    The configuration details for any global resource are the same in all regions. If you customize AWS Config in multiple regions to record global resources, it will create multiple configuration items each time a global resource changes: one configuration item for each region. These configuration items will contain identical data. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources, unless you want the configuration items to be available in multiple regions.

    If you don't want AWS Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter.

    For a list of supported resource types, see Supported resource types.

    For more information, see Selecting Which Resources AWS Config Records.

    " + "documentation":"

    Specifies the types of AWS resource for which AWS Config records configuration changes.

    In the recording group, you specify whether all supported types or specific types of resources are recorded.

    By default, AWS Config records configuration changes for all supported types of regional resources that AWS Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes.

    You can also have AWS Config record configuration changes for supported types of global resources (for example, IAM resources). Global resources are not tied to an individual region and can be used in all regions.

    The configuration details for any global resource are the same in all regions. If you customize AWS Config in multiple regions to record global resources, it will create multiple configuration items each time a global resource changes: one configuration item for each region. These configuration items will contain identical data. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources, unless you want the configuration items to be available in multiple regions.

    If you don't want AWS Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter.

    For a list of supported resource types, see Supported resource types.

    For more information, see Selecting Which Resources AWS Config Records.

    " }, "RelatedEvent":{"type":"string"}, "RelatedEventList":{ @@ -1816,7 +1816,7 @@ "ResourceTypes":{ "type":"list", "member":{"shape":"StringWithCharLimit256"}, - "max":100, + "max":20, "min":0 }, "Scope":{ diff --git a/code-generation/api-descriptions/devicefarm-2015-06-23.normal.json b/code-generation/api-descriptions/devicefarm-2015-06-23.normal.json index 93c35af10fa..e47b332c7f0 100644 --- a/code-generation/api-descriptions/devicefarm-2015-06-23.normal.json +++ b/code-generation/api-descriptions/devicefarm-2015-06-23.normal.json @@ -560,7 +560,7 @@ }, "type":{ "shape":"ArtifactType", - "documentation":"

    The artifact's type.

    Allowed values include the following:

    • APPIUM_JAVA_OUTPUT: The Appium Java output type.

    • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

    • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

    • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • AUTOMATION_OUTPUT: The automation output type.

    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • DEVICE_LOG: The device log type.

    • EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz test.

    • INSTRUMENTATION_OUTPUT: The instrumentation type.

    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result log type.

    • SCREENSHOT: The screenshot type.

    • SERVICE_LOG: The service log type.

    • UNKNOWN: An unknown type.

    " + "documentation":"

    The artifact's type.

    Allowed values include the following:

    • UNKNOWN: An unknown type.

    • SCREENSHOT: The screenshot type.

    • DEVICE_LOG: The device log type.

    • MESSAGE_LOG: The message log type.

    • RESULT_LOG: The result log type.

    • SERVICE_LOG: The service log type.

    • WEBKIT_LOG: The web kit log type.

    • INSTRUMENTATION_OUTPUT: The instrumentation type.

    • EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz test.

    • CALABASH_JSON_OUTPUT: The Calabash JSON output type.

    • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.

    • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.

    • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.

    • AUTOMATION_OUTPUT: The automation output type.

    • APPIUM_SERVER_OUTPUT: The Appium server output type.

    • APPIUM_JAVA_OUTPUT: The Appium Java output type.

    • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.

    • APPIUM_PYTHON_OUTPUT: The Appium Python output type.

    • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.

    • EXPLORER_EVENT_LOG: The Explorer event log output type.

    • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.

    • APPLICATION_CRASH_REPORT: The application crash report output type.

    • XCTEST_LOG: The XCode test output type.

    " }, "extension":{ "shape":"String", @@ -605,7 +605,8 @@ "APPIUM_PYTHON_XML_OUTPUT", "EXPLORER_EVENT_LOG", "EXPLORER_SUMMARY_LOG", - "APPLICATION_CRASH_REPORT" + "APPLICATION_CRASH_REPORT", + "XCTEST_LOG" ] }, "Artifacts":{ @@ -753,7 +754,7 @@ }, "type":{ "shape":"UploadType", - "documentation":"

    The upload's upload type.

    Must be one of the following values:

    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS upload.

    • EXTERNAL_DATA: An external data upload.

    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    Note If you call CreateUpload with WEB_APP specified, AWS Device Farm throws an ArgumentException error.

    " + "documentation":"

    The upload's upload type.

    Must be one of the following values:

    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS upload.

    • WEB_APP: A web appliction upload.

    • EXTERNAL_DATA: An external data upload.

    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.

    Note If you call CreateUpload with WEB_APP specified, AWS Device Farm throws an ArgumentException error.

    " }, "contentType":{ "shape":"ContentType", @@ -1054,7 +1055,7 @@ }, "testType":{ "shape":"TestType", - "documentation":"

    The test type for the specified device pool.

    Allowed values include the following:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    " + "documentation":"

    The test type for the specified device pool.

    Allowed values include the following:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • XCTEST_UI: The XCode UI test type.

    " } }, "documentation":"

    Represents a request to the get device pool compatibility operation.

    " @@ -1260,7 +1261,7 @@ }, "type":{ "shape":"TestType", - "documentation":"

    The job's type.

    Allowed values include the following:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    " + "documentation":"

    The job's type.

    Allowed values include the following:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • XCTEST_UI: The XCode UI test type.

    " }, "created":{ "shape":"DateTime", @@ -1851,7 +1852,7 @@ }, "type":{ "shape":"TestType", - "documentation":"

    The run's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    " + "documentation":"

    The run's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • XCTEST_UI: The XCode UI test type.

    " }, "platform":{ "shape":"DevicePlatform", @@ -2037,7 +2038,7 @@ "members":{ "type":{ "shape":"TestType", - "documentation":"

    The test's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    " + "documentation":"

    The test's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • XCTEST_UI: The XCode UI test type.

    " }, "testPackageArn":{ "shape":"AmazonResourceName", @@ -2079,7 +2080,7 @@ }, "type":{ "shape":"TestType", - "documentation":"

    The suite's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    " + "documentation":"

    The suite's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • XCTEST_UI: The XCode UI test type.

    " }, "created":{ "shape":"DateTime", @@ -2133,7 +2134,7 @@ }, "type":{ "shape":"TestType", - "documentation":"

    The test's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    " + "documentation":"

    The test's type.

    Must be one of the following values:

    • BUILTIN_FUZZ: The built-in fuzz type.

    • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

    • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

    • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

    • APPIUM_PYTHON: The Appium Python type.

    • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

    • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

    • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

    • CALABASH: The Calabash type.

    • INSTRUMENTATION: The Instrumentation type.

    • UIAUTOMATION: The uiautomation type.

    • UIAUTOMATOR: The uiautomator type.

    • XCTEST: The XCode test type.

    • XCTEST_UI: The XCode UI test type.

    " }, "created":{ "shape":"DateTime", @@ -2190,7 +2191,8 @@ "INSTRUMENTATION", "UIAUTOMATION", "UIAUTOMATOR", - "XCTEST" + "XCTEST", + "XCTEST_UI" ] }, "Tests":{ @@ -2294,7 +2296,7 @@ }, "type":{ "shape":"UploadType", - "documentation":"

    The upload's type.

    Must be one of the following values:

    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS upload.

    • EXTERNAL_DATA: An external data upload.

    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    " + "documentation":"

    The upload's type.

    Must be one of the following values:

    • ANDROID_APP: An Android upload.

    • IOS_APP: An iOS upload.

    • WEB_APP: A web appliction upload.

    • EXTERNAL_DATA: An external data upload.

    • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

    • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

    • CALABASH_TEST_PACKAGE: A Calabash test package upload.

    • INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.

    • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.

    • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.

    • XCTEST_TEST_PACKAGE: An XCode test package upload.

    • XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.

    " }, "status":{ "shape":"UploadStatus", @@ -2345,7 +2347,8 @@ "INSTRUMENTATION_TEST_PACKAGE", "UIAUTOMATION_TEST_PACKAGE", "UIAUTOMATOR_TEST_PACKAGE", - "XCTEST_TEST_PACKAGE" + "XCTEST_TEST_PACKAGE", + "XCTEST_UI_TEST_PACKAGE" ] }, "Uploads":{ diff --git a/code-generation/api-descriptions/directconnect-2012-10-25.normal.json b/code-generation/api-descriptions/directconnect-2012-10-25.normal.json index 613c1d4498b..7516aaf296c 100644 --- a/code-generation/api-descriptions/directconnect-2012-10-25.normal.json +++ b/code-generation/api-descriptions/directconnect-2012-10-25.normal.json @@ -924,5 +924,5 @@ "documentation":"

    A structure containing a list of virtual interfaces.

    " } }, - "documentation":"

    AWS Direct Connect makes it easy to establish a dedicated network connection from your premises to Amazon Web Services (AWS). Using AWS Direct Connect, you can establish private connectivity between AWS and your data center, office, or colocation environment, which in many cases can reduce your network costs, increase bandwidth throughput, and provide a more consistent network experience than Internet-based connections.

    The AWS Direct Connect API Reference provides descriptions, syntax, and usage examples for each of the actions and data types for AWS Direct Connect. Use the following links to get started using the AWS Direct Connect API Reference:

    • Actions: An alphabetical list of all AWS Direct Connect actions.
    • Data Types: An alphabetical list of all AWS Direct Connect data types.
    • Common Query Parameters: Parameters that all Query actions can use.
    • Common Errors: Client and server errors that all actions can return.
    " + "documentation":"

    AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection in place, you can create virtual interfaces directly to the AWS cloud (for example, to Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Simple Storage Service (Amazon S3)) and to Amazon Virtual Private Cloud (Amazon VPC), bypassing Internet service providers in your network path. An AWS Direct Connect location provides access to AWS in the region it is associated with, as well as access to other US regions. For example, you can provision a single connection to any AWS Direct Connect location in the US and use it to access public AWS services in all US Regions and AWS GovCloud (US).

    " } diff --git a/code-generation/api-descriptions/events-2015-10-07.normal.json b/code-generation/api-descriptions/events-2015-10-07.normal.json new file mode 100644 index 00000000000..e99a5b42d7f --- /dev/null +++ b/code-generation/api-descriptions/events-2015-10-07.normal.json @@ -0,0 +1,997 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2015-10-07", + "endpointPrefix":"events", + "jsonVersion":"1.1", + "serviceFullName":"Amazon CloudWatch Events", + "signatureVersion":"v4", + "targetPrefix":"AWSEvents", + "protocol":"json" + }, + "documentation":"

    Amazon CloudWatch Events helps you to respond to state changes in your AWS resources. When your resources change state they automatically send events into an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a pre-determined schedule. For example, you can configure rules to:

    • Automatically invoke an AWS Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.
    • Direct specific API records from CloudTrail to an Amazon Kinesis stream for detailed analysis of potential security or availability risks.
    • Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.

    For more information about Amazon CloudWatch Events features, see the Amazon CloudWatch Developer Guide.

    ", + "operations":{ + "DeleteRule":{ + "name":"DeleteRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"DeleteRuleRequest", + "documentation":"

    Container for the parameters to the DeleteRule operation.

    " + }, + "errors":[ + { + "shape":"ConcurrentModificationException", + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Deletes a rule. You must remove all targets from a rule using RemoveTargets before you can delete the rule.

    Note: When you delete a rule, incoming events might still continue to match to the deleted rule. Please allow a short period of time for changes to take effect.

    " + }, + "DescribeRule":{ + "name":"DescribeRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"DescribeRuleRequest", + "documentation":"

    Container for the parameters to the DescribeRule operation.

    " + }, + "output":{ + "shape":"DescribeRuleResponse", + "documentation":"

    The result of the DescribeRule operation.

    " + }, + "errors":[ + { + "shape":"ResourceNotFoundException", + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Describes the details of the specified rule.

    " + }, + "DisableRule":{ + "name":"DisableRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"DisableRuleRequest", + "documentation":"

    Container for the parameters to the DisableRule operation.

    " + }, + "errors":[ + { + "shape":"ResourceNotFoundException", + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + { + "shape":"ConcurrentModificationException", + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Disables a rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression.

    Note: When you disable a rule, incoming events might still continue to match to the disabled rule. Please allow a short period of time for changes to take effect.

    " + }, + "EnableRule":{ + "name":"EnableRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"EnableRuleRequest", + "documentation":"

    Container for the parameters to the EnableRule operation.

    " + }, + "errors":[ + { + "shape":"ResourceNotFoundException", + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + { + "shape":"ConcurrentModificationException", + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Enables a rule. If the rule does not exist, the operation fails.

    Note: When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect.

    " + }, + "ListRuleNamesByTarget":{ + "name":"ListRuleNamesByTarget", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"ListRuleNamesByTargetRequest", + "documentation":"

    Container for the parameters to the ListRuleNamesByTarget operation.

    " + }, + "output":{ + "shape":"ListRuleNamesByTargetResponse", + "documentation":"

    The result of the ListRuleNamesByTarget operation.

    " + }, + "errors":[ + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Lists the names of the rules that the given target is put to. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account. If you have more rules in your account than the given limit, the results will be paginated. In that case, use the next token returned in the response and repeat ListRulesByTarget until the NextToken in the response is returned as null.

    " + }, + "ListRules":{ + "name":"ListRules", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"ListRulesRequest", + "documentation":"

    Container for the parameters to the ListRules operation.

    " + }, + "output":{ + "shape":"ListRulesResponse", + "documentation":"

    The result of the ListRules operation.

    " + }, + "errors":[ + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Lists the Amazon CloudWatch Events rules in your account. You can either list all the rules or you can provide a prefix to match to the rule names. If you have more rules in your account than the given limit, the results will be paginated. In that case, use the next token returned in the response and repeat ListRules until the NextToken in the response is returned as null.

    " + }, + "ListTargetsByRule":{ + "name":"ListTargetsByRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"ListTargetsByRuleRequest", + "documentation":"

    Container for the parameters to the ListTargetsByRule operation.

    " + }, + "output":{ + "shape":"ListTargetsByRuleResponse", + "documentation":"

    The result of the ListTargetsByRule operation.

    " + }, + "errors":[ + { + "shape":"ResourceNotFoundException", + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Lists of targets assigned to the rule.

    " + }, + "PutEvents":{ + "name":"PutEvents", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"PutEventsRequest", + "documentation":"

    Container for the parameters to the PutEvents operation.

    " + }, + "output":{ + "shape":"PutEventsResponse", + "documentation":"

    The result of the PutEvents operation.

    " + }, + "errors":[ + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.

    " + }, + "PutRule":{ + "name":"PutRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"PutRuleRequest", + "documentation":"

    Container for the parameters to the PutRule operation.

    " + }, + "output":{ + "shape":"PutRuleResponse", + "documentation":"

    The result of the PutRule operation.

    " + }, + "errors":[ + { + "shape":"InvalidEventPatternException", + "exception":true, + "documentation":"

    The event pattern is invalid.

    " + }, + { + "shape":"LimitExceededException", + "exception":true, + "documentation":"

    This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.

    " + }, + { + "shape":"ConcurrentModificationException", + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Creates or updates a rule. Rules are enabled by default, or based on value of the State parameter. You can disable a rule using DisableRule.

    Note: When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect.

    A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule will trigger on matching events as well as on a schedule.

    Note: Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.

    " + }, + "PutTargets":{ + "name":"PutTargets", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"PutTargetsRequest", + "documentation":"

    Container for the parameters to the PutTargets operation.

    " + }, + "output":{ + "shape":"PutTargetsResponse", + "documentation":"

    The result of the PutTargets operation.

    " + }, + "errors":[ + { + "shape":"ResourceNotFoundException", + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + { + "shape":"ConcurrentModificationException", + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + { + "shape":"LimitExceededException", + "exception":true, + "documentation":"

    This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Adds target(s) to a rule. Targets are the resources that can be invoked when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets. Updates the target(s) if they are already associated with the role. In other words, if there is already a target with the given target ID, then the target associated with that ID is updated.

    In order to be able to make API calls against the resources you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For Amazon Kinesis streams, CloudWatch Events relies on IAM roles. For more information, see Permissions for Sending Events to Targets in the Amazon CloudWatch Developer Guide.

    Input and InputPath are mutually-exclusive and optional parameters of a target. When a rule is triggered due to a matched event, if for a target:

    • Neither Input nor InputPath is specified, then the entire event is passed to the target in JSON form.
    • InputPath is specified in the form of JSONPath (e.g. $.detail), then only the part of the event specified in the path is passed to the target (e.g. only the detail part of the event is passed).
    • Input is specified in the form of a valid JSON, then the matched event is overridden with this constant.

    Note: When you add targets to a rule, when the associated rule triggers, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect.

    " + }, + "RemoveTargets":{ + "name":"RemoveTargets", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"RemoveTargetsRequest", + "documentation":"

    Container for the parameters to the RemoveTargets operation.

    " + }, + "output":{ + "shape":"RemoveTargetsResponse", + "documentation":"

    The result of the RemoveTargets operation.

    " + }, + "errors":[ + { + "shape":"ResourceNotFoundException", + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + { + "shape":"ConcurrentModificationException", + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Removes target(s) from a rule so that when the rule is triggered, those targets will no longer be invoked.

    Note: When you remove a target, when the associated rule triggers, removed targets might still continue to be invoked. Please allow a short period of time for changes to take effect.

    " + }, + "TestEventPattern":{ + "name":"TestEventPattern", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{ + "shape":"TestEventPatternRequest", + "documentation":"

    Container for the parameters to the TestEventPattern operation.

    " + }, + "output":{ + "shape":"TestEventPatternResponse", + "documentation":"

    The result of the TestEventPattern operation.

    " + }, + "errors":[ + { + "shape":"InvalidEventPatternException", + "exception":true, + "documentation":"

    The event pattern is invalid.

    " + }, + { + "shape":"InternalException", + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + } + ], + "documentation":"

    Tests whether an event pattern matches the provided event.

    Note: Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.

    " + } + }, + "shapes":{ + "Boolean":{"type":"boolean"}, + "ConcurrentModificationException":{ + "type":"structure", + "members":{ + }, + "exception":true, + "documentation":"

    This exception occurs if there is concurrent modification on rule or target.

    " + }, + "DeleteRuleRequest":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The name of the rule to be deleted.

    " + } + }, + "documentation":"

    Container for the parameters to the DeleteRule operation.

    " + }, + "DescribeRuleRequest":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The name of the rule you want to describe details for.

    " + } + }, + "documentation":"

    Container for the parameters to the DescribeRule operation.

    " + }, + "DescribeRuleResponse":{ + "type":"structure", + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The rule's name.

    " + }, + "Arn":{ + "shape":"RuleArn", + "documentation":"

    The Amazon Resource Name (ARN) associated with the rule.

    " + }, + "EventPattern":{ + "shape":"EventPattern", + "documentation":"

    The event pattern.

    " + }, + "ScheduleExpression":{ + "shape":"ScheduleExpression", + "documentation":"

    The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".

    " + }, + "State":{ + "shape":"RuleState", + "documentation":"

    Specifies whether the rule is enabled or disabled.

    " + }, + "Description":{ + "shape":"RuleDescription", + "documentation":"

    The rule's description.

    " + }, + "RoleArn":{ + "shape":"RoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role associated with the rule.

    " + } + }, + "documentation":"

    The result of the DescribeRule operation.

    " + }, + "DisableRuleRequest":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The name of the rule you want to disable.

    " + } + }, + "documentation":"

    Container for the parameters to the DisableRule operation.

    " + }, + "EnableRuleRequest":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The name of the rule that you want to enable.

    " + } + }, + "documentation":"

    Container for the parameters to the EnableRule operation.

    " + }, + "ErrorCode":{"type":"string"}, + "ErrorMessage":{"type":"string"}, + "EventId":{"type":"string"}, + "EventPattern":{ + "type":"string", + "max":2048 + }, + "EventResource":{"type":"string"}, + "EventResourceList":{ + "type":"list", + "member":{"shape":"EventResource"} + }, + "EventTime":{"type":"timestamp"}, + "Integer":{"type":"integer"}, + "InternalException":{ + "type":"structure", + "members":{ + }, + "exception":true, + "fault":true, + "documentation":"

    This exception occurs due to unexpected causes.

    " + }, + "InvalidEventPatternException":{ + "type":"structure", + "members":{ + }, + "exception":true, + "documentation":"

    The event pattern is invalid.

    " + }, + "LimitExceededException":{ + "type":"structure", + "members":{ + }, + "exception":true, + "documentation":"

    This exception occurs if you try to create more rules or add more targets to a rule than allowed by default.

    " + }, + "LimitMax100":{ + "type":"integer", + "min":1, + "max":100 + }, + "ListRuleNamesByTargetRequest":{ + "type":"structure", + "required":["TargetArn"], + "members":{ + "TargetArn":{ + "shape":"TargetArn", + "documentation":"

    The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.

    " + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    The token returned by a previous call to indicate that there is more data available.

    " + }, + "Limit":{ + "shape":"LimitMax100", + "documentation":"

    The maximum number of results to return.

    " + } + }, + "documentation":"

    Container for the parameters to the ListRuleNamesByTarget operation.

    " + }, + "ListRuleNamesByTargetResponse":{ + "type":"structure", + "members":{ + "RuleNames":{ + "shape":"RuleNameList", + "documentation":"

    List of rules names that can invoke the given target.

    " + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    Indicates that there are additional results to retrieve.

    " + } + }, + "documentation":"

    The result of the ListRuleNamesByTarget operation.

    " + }, + "ListRulesRequest":{ + "type":"structure", + "members":{ + "NamePrefix":{ + "shape":"RuleName", + "documentation":"

    The prefix matching the rule name.

    " + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    The token returned by a previous call to indicate that there is more data available.

    " + }, + "Limit":{ + "shape":"LimitMax100", + "documentation":"

    The maximum number of results to return.

    " + } + }, + "documentation":"

    Container for the parameters to the ListRules operation.

    " + }, + "ListRulesResponse":{ + "type":"structure", + "members":{ + "Rules":{ + "shape":"RuleResponseList", + "documentation":"

    List of rules matching the specified criteria.

    " + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    Indicates that there are additional results to retrieve.

    " + } + }, + "documentation":"

    The result of the ListRules operation.

    " + }, + "ListTargetsByRuleRequest":{ + "type":"structure", + "required":["Rule"], + "members":{ + "Rule":{ + "shape":"RuleName", + "documentation":"

    The name of the rule whose targets you want to list.

    " + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    The token returned by a previous call to indicate that there is more data available.

    " + }, + "Limit":{ + "shape":"LimitMax100", + "documentation":"

    The maximum number of results to return.

    " + } + }, + "documentation":"

    Container for the parameters to the ListTargetsByRule operation.

    " + }, + "ListTargetsByRuleResponse":{ + "type":"structure", + "members":{ + "Targets":{ + "shape":"TargetList", + "documentation":"

    Lists the targets assigned to the rule.

    " + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    Indicates that there are additional results to retrieve.

    " + } + }, + "documentation":"

    The result of the ListTargetsByRule operation.

    " + }, + "NextToken":{ + "type":"string", + "min":1, + "max":2048 + }, + "PutEventsRequest":{ + "type":"structure", + "required":["Entries"], + "members":{ + "Entries":{ + "shape":"PutEventsRequestEntryList", + "documentation":"

    The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.

    " + } + }, + "documentation":"

    Container for the parameters to the PutEvents operation.

    " + }, + "PutEventsRequestEntry":{ + "type":"structure", + "members":{ + "Time":{ + "shape":"EventTime", + "documentation":"

    Timestamp of event, per RFC3339. If no timestamp is provided, the timestamp of the PutEvents call will be used.

    " + }, + "Source":{ + "shape":"String", + "documentation":"

    The source of the event.

    " + }, + "Resources":{ + "shape":"EventResourceList", + "documentation":"

    AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

    " + }, + "DetailType":{ + "shape":"String", + "documentation":"

    Free-form string used to decide what fields to expect in the event detail.

    " + }, + "Detail":{ + "shape":"String", + "documentation":"

    In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.

    " + } + }, + "documentation":"

    Contains information about the event to be used in PutEvents.

    " + }, + "PutEventsRequestEntryList":{ + "type":"list", + "member":{"shape":"PutEventsRequestEntry"}, + "min":1, + "max":10 + }, + "PutEventsResponse":{ + "type":"structure", + "members":{ + "FailedEntryCount":{ + "shape":"Integer", + "documentation":"

    The number of failed entries.

    " + }, + "Entries":{ + "shape":"PutEventsResultEntryList", + "documentation":"

    A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.

    " + } + }, + "documentation":"

    The result of the PutEvents operation.

    " + }, + "PutEventsResultEntry":{ + "type":"structure", + "members":{ + "EventId":{ + "shape":"EventId", + "documentation":"

    The ID of the event submitted to Amazon CloudWatch Events.

    " + }, + "ErrorCode":{ + "shape":"ErrorCode", + "documentation":"

    The error code representing why the event submission failed on this entry.

    " + }, + "ErrorMessage":{ + "shape":"ErrorMessage", + "documentation":"

    The error message explaining why the event submission failed on this entry.

    " + } + }, + "documentation":"

    A PutEventsResult contains a list of PutEventsResultEntry.

    " + }, + "PutEventsResultEntryList":{ + "type":"list", + "member":{"shape":"PutEventsResultEntry"} + }, + "PutRuleRequest":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The name of the rule that you are creating or updating.

    " + }, + "ScheduleExpression":{ + "shape":"ScheduleExpression", + "documentation":"

    The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".

    " + }, + "EventPattern":{ + "shape":"EventPattern", + "documentation":"

    The event pattern.

    " + }, + "State":{ + "shape":"RuleState", + "documentation":"

    Indicates whether the rule is enabled or disabled.

    " + }, + "Description":{ + "shape":"RuleDescription", + "documentation":"

    A description of the rule.

    " + }, + "RoleArn":{ + "shape":"RoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role associated with the rule.

    " + } + }, + "documentation":"

    Container for the parameters to the PutRule operation.

    " + }, + "PutRuleResponse":{ + "type":"structure", + "members":{ + "RuleArn":{ + "shape":"RuleArn", + "documentation":"

    The Amazon Resource Name (ARN) that identifies the rule.

    " + } + }, + "documentation":"

    The result of the PutRule operation.

    " + }, + "PutTargetsRequest":{ + "type":"structure", + "required":[ + "Rule", + "Targets" + ], + "members":{ + "Rule":{ + "shape":"RuleName", + "documentation":"

    The name of the rule you want to add targets to.

    " + }, + "Targets":{ + "shape":"TargetList", + "documentation":"

    List of targets you want to update or add to the rule.

    " + } + }, + "documentation":"

    Container for the parameters to the PutTargets operation.

    " + }, + "PutTargetsResponse":{ + "type":"structure", + "members":{ + "FailedEntryCount":{ + "shape":"Integer", + "documentation":"

    The number of failed entries.

    " + }, + "FailedEntries":{ + "shape":"PutTargetsResultEntryList", + "documentation":"

    An array of failed target entries.

    " + } + }, + "documentation":"

    The result of the PutTargets operation.

    " + }, + "PutTargetsResultEntry":{ + "type":"structure", + "members":{ + "TargetId":{ + "shape":"TargetId", + "documentation":"

    The ID of the target submitted to Amazon CloudWatch Events.

    " + }, + "ErrorCode":{ + "shape":"ErrorCode", + "documentation":"

    The error code representing why the target submission failed on this entry.

    " + }, + "ErrorMessage":{ + "shape":"ErrorMessage", + "documentation":"

    The error message explaining why the target submission failed on this entry.

    " + } + }, + "documentation":"

    A PutTargetsResult contains a list of PutTargetsResultEntry.

    " + }, + "PutTargetsResultEntryList":{ + "type":"list", + "member":{"shape":"PutTargetsResultEntry"} + }, + "RemoveTargetsRequest":{ + "type":"structure", + "required":[ + "Rule", + "Ids" + ], + "members":{ + "Rule":{ + "shape":"RuleName", + "documentation":"

    The name of the rule you want to remove targets from.

    " + }, + "Ids":{ + "shape":"TargetIdList", + "documentation":"

    The list of target IDs to remove from the rule.

    " + } + }, + "documentation":"

    Container for the parameters to the RemoveTargets operation.

    " + }, + "RemoveTargetsResponse":{ + "type":"structure", + "members":{ + "FailedEntryCount":{ + "shape":"Integer", + "documentation":"

    The number of failed entries.

    " + }, + "FailedEntries":{ + "shape":"RemoveTargetsResultEntryList", + "documentation":"

    An array of failed target entries.

    " + } + }, + "documentation":"

    The result of the RemoveTargets operation.

    " + }, + "RemoveTargetsResultEntry":{ + "type":"structure", + "members":{ + "TargetId":{ + "shape":"TargetId", + "documentation":"

    The ID of the target requested to be removed by Amazon CloudWatch Events.

    " + }, + "ErrorCode":{ + "shape":"ErrorCode", + "documentation":"

    The error code representing why the target removal failed on this entry.

    " + }, + "ErrorMessage":{ + "shape":"ErrorMessage", + "documentation":"

    The error message explaining why the target removal failed on this entry.

    " + } + }, + "documentation":"

    The ID of the target requested to be removed from the rule by Amazon CloudWatch Events.

    " + }, + "RemoveTargetsResultEntryList":{ + "type":"list", + "member":{"shape":"RemoveTargetsResultEntry"} + }, + "ResourceNotFoundException":{ + "type":"structure", + "members":{ + }, + "exception":true, + "documentation":"

    The rule does not exist.

    " + }, + "RoleArn":{ + "type":"string", + "min":1, + "max":1600 + }, + "Rule":{ + "type":"structure", + "members":{ + "Name":{ + "shape":"RuleName", + "documentation":"

    The rule's name.

    " + }, + "Arn":{ + "shape":"RuleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the rule.

    " + }, + "EventPattern":{ + "shape":"EventPattern", + "documentation":"

    The event pattern of the rule.

    " + }, + "State":{ + "shape":"RuleState", + "documentation":"

    The rule's state.

    " + }, + "Description":{ + "shape":"RuleDescription", + "documentation":"

    The description of the rule.

    " + }, + "ScheduleExpression":{ + "shape":"ScheduleExpression", + "documentation":"

    The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".

    " + }, + "RoleArn":{ + "shape":"RoleArn", + "documentation":"

    The Amazon Resource Name (ARN) associated with the role that is used for target invocation.

    " + } + }, + "documentation":"

    Contains information about a rule in Amazon CloudWatch Events. A ListRulesResult contains a list of Rules.

    " + }, + "RuleArn":{ + "type":"string", + "min":1, + "max":1600 + }, + "RuleDescription":{ + "type":"string", + "max":512 + }, + "RuleName":{ + "type":"string", + "min":1, + "max":64, + "pattern":"[\\.\\-_A-Za-z0-9]+" + }, + "RuleNameList":{ + "type":"list", + "member":{"shape":"RuleName"} + }, + "RuleResponseList":{ + "type":"list", + "member":{"shape":"Rule"} + }, + "RuleState":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "ScheduleExpression":{ + "type":"string", + "max":256 + }, + "String":{"type":"string"}, + "Target":{ + "type":"structure", + "required":[ + "Id", + "Arn" + ], + "members":{ + "Id":{ + "shape":"TargetId", + "documentation":"

    The unique target assignment ID.

    " + }, + "Arn":{ + "shape":"TargetArn", + "documentation":"

    The Amazon Resource Name (ARN) associated of the target.

    " + }, + "Input":{ + "shape":"TargetInput", + "documentation":"

    Valid JSON text passed to the target. For more information about JSON text, see The JavaScript Object Notation (JSON) Data Interchange Format.

    " + }, + "InputPath":{ + "shape":"TargetInputPath", + "documentation":"

    The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. For more information about JSON paths, see JSONPath.

    " + } + }, + "documentation":"

    Targets are the resources that can be invoked when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets.

    Input and InputPath are mutually-exclusive and optional parameters of a target. When a rule is triggered due to a matched event, if for a target:

    • Neither Input nor InputPath is specified, then the entire event is passed to the target in JSON form.
    • InputPath is specified in the form of JSONPath (e.g. $.detail), then only the part of the event specified in the path is passed to the target (e.g. only the detail part of the event is passed).
    • Input is specified in the form of a valid JSON, then the matched event is overridden with this constant.
    " + }, + "TargetArn":{ + "type":"string", + "min":1, + "max":1600 + }, + "TargetId":{ + "type":"string", + "min":1, + "max":64, + "pattern":"[\\.\\-_A-Za-z0-9]+" + }, + "TargetIdList":{ + "type":"list", + "member":{"shape":"TargetId"}, + "min":1, + "max":100 + }, + "TargetInput":{ + "type":"string", + "max":8192 + }, + "TargetInputPath":{ + "type":"string", + "max":256 + }, + "TargetList":{ + "type":"list", + "member":{"shape":"Target"} + }, + "TestEventPatternRequest":{ + "type":"structure", + "required":[ + "EventPattern", + "Event" + ], + "members":{ + "EventPattern":{ + "shape":"EventPattern", + "documentation":"

    The event pattern you want to test.

    " + }, + "Event":{ + "shape":"String", + "documentation":"

    The event in the JSON format to test against the event pattern.

    " + } + }, + "documentation":"

    Container for the parameters to the TestEventPattern operation.

    " + }, + "TestEventPatternResponse":{ + "type":"structure", + "members":{ + "Result":{ + "shape":"Boolean", + "documentation":"

    Indicates whether the event matches the event pattern.

    " + } + }, + "documentation":"

    The result of the TestEventPattern operation.

    " + } + }, + "examples":{ + } +} diff --git a/scripts/sdk_directories.pyc b/scripts/sdk_directories.pyc index dfd50eb3cf24e600e7c3111350c5287dcbdfa7e6..22ce8f208e9d2c52807c69065ba2100b1b5d6ddb 100644 GIT binary patch delta 16 XcmZ21vRH(j`7