Skip to content

Commit

Permalink
API update for CodeCommit: Delete branch, Triggers, Code browsing. De…
Browse files Browse the repository at this point in the history
…viceFarm added support for XCUI. Quickbeamdocumentation updates. Cloudwatch events and logs updates. Direct Connect updates. Documentation update for AWS config.
  • Loading branch information
JonathanHenson committed Mar 9, 2016
1 parent 3f84fee commit b348f17
Show file tree
Hide file tree
Showing 68 changed files with 5,770 additions and 1,388 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
10 changes: 5 additions & 5 deletions aws-cpp-sdk-acm/source/ACMErrors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -42,6 +42,10 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_STATE), false);
}
else if (hashCode == LIMIT_EXCEEDED_HASH)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::LIMIT_EXCEEDED), false);
}
else if (hashCode == RESOURCE_IN_USE_HASH)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::RESOURCE_IN_USE), false);
Expand All @@ -54,10 +58,6 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::REQUEST_IN_PROGRESS), false);
}
else if (hashCode == LIMIT_EXCEEDED_HASH)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::LIMIT_EXCEEDED), false);
}
else if (hashCode == INVALID_DOMAIN_VALIDATION_OPTIONS_HASH)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(ACMErrors::INVALID_DOMAIN_VALIDATION_OPTIONS), false);
Expand Down
259 changes: 209 additions & 50 deletions aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitClient.h

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
{
Expand Down
273 changes: 273 additions & 0 deletions aws-cpp-sdk-codecommit/include/aws/codecommit/model/Commit.h
Original file line number Diff line number Diff line change
@@ -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 <aws/codecommit/CodeCommit_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codecommit/model/UserInfo.h>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CodeCommit
{
namespace Model
{

/**
* <p>Returns information about a specific commit.</p>
*/
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;

/**
* <p>Tree information for the specified commit.</p>
*/
inline const Aws::String& GetTreeId() const{ return m_treeId; }

/**
* <p>Tree information for the specified commit.</p>
*/
inline void SetTreeId(const Aws::String& value) { m_treeIdHasBeenSet = true; m_treeId = value; }

/**
* <p>Tree information for the specified commit.</p>
*/
inline void SetTreeId(Aws::String&& value) { m_treeIdHasBeenSet = true; m_treeId = value; }

/**
* <p>Tree information for the specified commit.</p>
*/
inline void SetTreeId(const char* value) { m_treeIdHasBeenSet = true; m_treeId.assign(value); }

/**
* <p>Tree information for the specified commit.</p>
*/
inline Commit& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}

/**
* <p>Tree information for the specified commit.</p>
*/
inline Commit& WithTreeId(Aws::String&& value) { SetTreeId(value); return *this;}

/**
* <p>Tree information for the specified commit.</p>
*/
inline Commit& WithTreeId(const char* value) { SetTreeId(value); return *this;}

/**
* <p>The parent list for the specified commit.</p>
*/
inline const Aws::Vector<Aws::String>& GetParents() const{ return m_parents; }

/**
* <p>The parent list for the specified commit.</p>
*/
inline void SetParents(const Aws::Vector<Aws::String>& value) { m_parentsHasBeenSet = true; m_parents = value; }

/**
* <p>The parent list for the specified commit.</p>
*/
inline void SetParents(Aws::Vector<Aws::String>&& value) { m_parentsHasBeenSet = true; m_parents = value; }

/**
* <p>The parent list for the specified commit.</p>
*/
inline Commit& WithParents(const Aws::Vector<Aws::String>& value) { SetParents(value); return *this;}

/**
* <p>The parent list for the specified commit.</p>
*/
inline Commit& WithParents(Aws::Vector<Aws::String>&& value) { SetParents(value); return *this;}

/**
* <p>The parent list for the specified commit.</p>
*/
inline Commit& AddParents(const Aws::String& value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; }

/**
* <p>The parent list for the specified commit.</p>
*/
inline Commit& AddParents(Aws::String&& value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; }

/**
* <p>The parent list for the specified commit.</p>
*/
inline Commit& AddParents(const char* value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; }

/**
* <p>The message associated with the specified commit.</p>
*/
inline const Aws::String& GetMessage() const{ return m_message; }

/**
* <p>The message associated with the specified commit.</p>
*/
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }

/**
* <p>The message associated with the specified commit.</p>
*/
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = value; }

/**
* <p>The message associated with the specified commit.</p>
*/
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }

/**
* <p>The message associated with the specified commit.</p>
*/
inline Commit& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}

/**
* <p>The message associated with the specified commit.</p>
*/
inline Commit& WithMessage(Aws::String&& value) { SetMessage(value); return *this;}

/**
* <p>The message associated with the specified commit.</p>
*/
inline Commit& WithMessage(const char* value) { SetMessage(value); return *this;}

/**
* <p>Information about the author of the specified commit.</p>
*/
inline const UserInfo& GetAuthor() const{ return m_author; }

/**
* <p>Information about the author of the specified commit.</p>
*/
inline void SetAuthor(const UserInfo& value) { m_authorHasBeenSet = true; m_author = value; }

/**
* <p>Information about the author of the specified commit.</p>
*/
inline void SetAuthor(UserInfo&& value) { m_authorHasBeenSet = true; m_author = value; }

/**
* <p>Information about the author of the specified commit.</p>
*/
inline Commit& WithAuthor(const UserInfo& value) { SetAuthor(value); return *this;}

/**
* <p>Information about the author of the specified commit.</p>
*/
inline Commit& WithAuthor(UserInfo&& value) { SetAuthor(value); return *this;}

/**
* <p>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 <a href="http://git-scm.com/book/ch2-3.html">Viewing
* the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>
*/
inline const UserInfo& GetCommitter() const{ return m_committer; }

/**
* <p>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 <a href="http://git-scm.com/book/ch2-3.html">Viewing
* the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>
*/
inline void SetCommitter(const UserInfo& value) { m_committerHasBeenSet = true; m_committer = value; }

/**
* <p>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 <a href="http://git-scm.com/book/ch2-3.html">Viewing
* the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>
*/
inline void SetCommitter(UserInfo&& value) { m_committerHasBeenSet = true; m_committer = value; }

/**
* <p>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 <a href="http://git-scm.com/book/ch2-3.html">Viewing
* the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>
*/
inline Commit& WithCommitter(const UserInfo& value) { SetCommitter(value); return *this;}

/**
* <p>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 <a href="http://git-scm.com/book/ch2-3.html">Viewing
* the Commit History</a> in Pro Git by Scott Chacon and Ben Straub.</p>
*/
inline Commit& WithCommitter(UserInfo&& value) { SetCommitter(value); return *this;}

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline const Aws::String& GetAdditionalData() const{ return m_additionalData; }

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline void SetAdditionalData(const Aws::String& value) { m_additionalDataHasBeenSet = true; m_additionalData = value; }

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline void SetAdditionalData(Aws::String&& value) { m_additionalDataHasBeenSet = true; m_additionalData = value; }

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline void SetAdditionalData(const char* value) { m_additionalDataHasBeenSet = true; m_additionalData.assign(value); }

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline Commit& WithAdditionalData(const Aws::String& value) { SetAdditionalData(value); return *this;}

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline Commit& WithAdditionalData(Aws::String&& value) { SetAdditionalData(value); return *this;}

/**
* <p>Any additional data associated with the specified commit.</p>
*/
inline Commit& WithAdditionalData(const char* value) { SetAdditionalData(value); return *this;}

private:
Aws::String m_treeId;
bool m_treeIdHasBeenSet;
Aws::Vector<Aws::String> 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
Loading

0 comments on commit b348f17

Please sign in to comment.