Skip to content

Commit

Permalink
This release introduces support for Source Accounts to define which M…
Browse files Browse the repository at this point in the history
…etrics and Logs to share with the Monitoring Account

SupportsLimitlessDatabase field added to describe-db-engine-versions to indicate whether the DB engine version supports Aurora Limitless Database.
Releasing minor endpoint updates.
Releasing minor endpoint updates.
Add ability to manually and automatically roll back a pipeline stage to a previously successful execution.
This release adds support for specifying if Answering Machine should wait for prompt sound.
Add LimitExceededException to SignUp errors
  • Loading branch information
aws-sdk-cpp-automation committed Apr 26, 2024
1 parent 581789a commit 5291172
Show file tree
Hide file tree
Showing 107 changed files with 4,502 additions and 969 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.315
1.11.316
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,31 @@ namespace CodePipeline
return SubmitAsync(&CodePipelineClient::RetryStageExecution, request, handler, context);
}

/**
* <p>Rolls back a stage execution.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RollbackStage">AWS
* API Reference</a></p>
*/
virtual Model::RollbackStageOutcome RollbackStage(const Model::RollbackStageRequest& request) const;

/**
* A Callable wrapper for RollbackStage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename RollbackStageRequestT = Model::RollbackStageRequest>
Model::RollbackStageOutcomeCallable RollbackStageCallable(const RollbackStageRequestT& request) const
{
return SubmitCallable(&CodePipelineClient::RollbackStage, request);
}

/**
* An Async wrapper for RollbackStage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename RollbackStageRequestT = Model::RollbackStageRequest>
void RollbackStageAsync(const RollbackStageRequestT& request, const RollbackStageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&CodePipelineClient::RollbackStage, request, handler, context);
}

/**
* <p>Starts the specified pipeline. Specifically, it begins processing the latest
* commit to the source location specified as part of the pipeline.</p><p><h3>See
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ enum class CodePipelineErrors
OUTPUT_VARIABLES_SIZE_EXCEEDED,
PIPELINE_EXECUTION_NOT_FOUND,
PIPELINE_EXECUTION_NOT_STOPPABLE,
PIPELINE_EXECUTION_OUTDATED,
PIPELINE_NAME_IN_USE,
PIPELINE_NOT_FOUND,
PIPELINE_VERSION_NOT_FOUND,
REQUEST_FAILED,
STAGE_NOT_FOUND,
STAGE_NOT_RETRYABLE,
TOO_MANY_TAGS,
UNABLE_TO_ROLLBACK_STAGE,
WEBHOOK_NOT_FOUND
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <aws/codepipeline/model/PutWebhookResult.h>
#include <aws/codepipeline/model/RegisterWebhookWithThirdPartyResult.h>
#include <aws/codepipeline/model/RetryStageExecutionResult.h>
#include <aws/codepipeline/model/RollbackStageResult.h>
#include <aws/codepipeline/model/StartPipelineExecutionResult.h>
#include <aws/codepipeline/model/StopPipelineExecutionResult.h>
#include <aws/codepipeline/model/TagResourceResult.h>
Expand Down Expand Up @@ -122,6 +123,7 @@ namespace Aws
class PutWebhookRequest;
class RegisterWebhookWithThirdPartyRequest;
class RetryStageExecutionRequest;
class RollbackStageRequest;
class StartPipelineExecutionRequest;
class StopPipelineExecutionRequest;
class TagResourceRequest;
Expand Down Expand Up @@ -164,6 +166,7 @@ namespace Aws
typedef Aws::Utils::Outcome<PutWebhookResult, CodePipelineError> PutWebhookOutcome;
typedef Aws::Utils::Outcome<RegisterWebhookWithThirdPartyResult, CodePipelineError> RegisterWebhookWithThirdPartyOutcome;
typedef Aws::Utils::Outcome<RetryStageExecutionResult, CodePipelineError> RetryStageExecutionOutcome;
typedef Aws::Utils::Outcome<RollbackStageResult, CodePipelineError> RollbackStageOutcome;
typedef Aws::Utils::Outcome<StartPipelineExecutionResult, CodePipelineError> StartPipelineExecutionOutcome;
typedef Aws::Utils::Outcome<StopPipelineExecutionResult, CodePipelineError> StopPipelineExecutionOutcome;
typedef Aws::Utils::Outcome<TagResourceResult, CodePipelineError> TagResourceOutcome;
Expand Down Expand Up @@ -206,6 +209,7 @@ namespace Aws
typedef std::future<PutWebhookOutcome> PutWebhookOutcomeCallable;
typedef std::future<RegisterWebhookWithThirdPartyOutcome> RegisterWebhookWithThirdPartyOutcomeCallable;
typedef std::future<RetryStageExecutionOutcome> RetryStageExecutionOutcomeCallable;
typedef std::future<RollbackStageOutcome> RollbackStageOutcomeCallable;
typedef std::future<StartPipelineExecutionOutcome> StartPipelineExecutionOutcomeCallable;
typedef std::future<StopPipelineExecutionOutcome> StopPipelineExecutionOutcomeCallable;
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
Expand Down Expand Up @@ -251,6 +255,7 @@ namespace Aws
typedef std::function<void(const CodePipelineClient*, const Model::PutWebhookRequest&, const Model::PutWebhookOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutWebhookResponseReceivedHandler;
typedef std::function<void(const CodePipelineClient*, const Model::RegisterWebhookWithThirdPartyRequest&, const Model::RegisterWebhookWithThirdPartyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RegisterWebhookWithThirdPartyResponseReceivedHandler;
typedef std::function<void(const CodePipelineClient*, const Model::RetryStageExecutionRequest&, const Model::RetryStageExecutionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetryStageExecutionResponseReceivedHandler;
typedef std::function<void(const CodePipelineClient*, const Model::RollbackStageRequest&, const Model::RollbackStageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RollbackStageResponseReceivedHandler;
typedef std::function<void(const CodePipelineClient*, const Model::StartPipelineExecutionRequest&, const Model::StartPipelineExecutionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartPipelineExecutionResponseReceivedHandler;
typedef std::function<void(const CodePipelineClient*, const Model::StopPipelineExecutionRequest&, const Model::StopPipelineExecutionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopPipelineExecutionResponseReceivedHandler;
typedef std::function<void(const CodePipelineClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace CodePipeline
{
namespace Model
{
enum class ExecutionType
{
NOT_SET,
STANDARD,
ROLLBACK
};

namespace ExecutionTypeMapper
{
AWS_CODEPIPELINE_API ExecutionType GetExecutionTypeForName(const Aws::String& name);

AWS_CODEPIPELINE_API Aws::String GetNameForExecutionType(ExecutionType value);
} // namespace ExecutionTypeMapper
} // namespace Model
} // namespace CodePipeline
} // namespace Aws
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/codepipeline/model/Result.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CodePipeline
{
namespace Model
{

/**
* <p>The configuration that specifies the result, such as rollback, to occur upon
* stage failure. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/FailureConditions">AWS
* API Reference</a></p>
*/
class FailureConditions
{
public:
AWS_CODEPIPELINE_API FailureConditions();
AWS_CODEPIPELINE_API FailureConditions(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEPIPELINE_API FailureConditions& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>The specified result for when the failure conditions are met, such as rolling
* back the stage.</p>
*/
inline const Result& GetResult() const{ return m_result; }

/**
* <p>The specified result for when the failure conditions are met, such as rolling
* back the stage.</p>
*/
inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }

/**
* <p>The specified result for when the failure conditions are met, such as rolling
* back the stage.</p>
*/
inline void SetResult(const Result& value) { m_resultHasBeenSet = true; m_result = value; }

/**
* <p>The specified result for when the failure conditions are met, such as rolling
* back the stage.</p>
*/
inline void SetResult(Result&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }

/**
* <p>The specified result for when the failure conditions are met, such as rolling
* back the stage.</p>
*/
inline FailureConditions& WithResult(const Result& value) { SetResult(value); return *this;}

/**
* <p>The specified result for when the failure conditions are met, such as rolling
* back the stage.</p>
*/
inline FailureConditions& WithResult(Result&& value) { SetResult(std::move(value)); return *this;}

private:

Result m_result;
bool m_resultHasBeenSet = false;
};

} // namespace Model
} // namespace CodePipeline
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/codepipeline/CodePipelineRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codepipeline/model/PipelineExecutionFilter.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -120,6 +121,37 @@ namespace Model
inline ListPipelineExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}


/**
* <p>The pipeline execution to filter on.</p>
*/
inline const PipelineExecutionFilter& GetFilter() const{ return m_filter; }

/**
* <p>The pipeline execution to filter on.</p>
*/
inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }

/**
* <p>The pipeline execution to filter on.</p>
*/
inline void SetFilter(const PipelineExecutionFilter& value) { m_filterHasBeenSet = true; m_filter = value; }

/**
* <p>The pipeline execution to filter on.</p>
*/
inline void SetFilter(PipelineExecutionFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }

/**
* <p>The pipeline execution to filter on.</p>
*/
inline ListPipelineExecutionsRequest& WithFilter(const PipelineExecutionFilter& value) { SetFilter(value); return *this;}

/**
* <p>The pipeline execution to filter on.</p>
*/
inline ListPipelineExecutionsRequest& WithFilter(PipelineExecutionFilter&& value) { SetFilter(std::move(value)); return *this;}


/**
* <p>The token that was returned from the previous
* <code>ListPipelineExecutions</code> call, which can be used to return the next
Expand Down Expand Up @@ -184,6 +216,9 @@ namespace Model
int m_maxResults;
bool m_maxResultsHasBeenSet = false;

PipelineExecutionFilter m_filter;
bool m_filterHasBeenSet = false;

Aws::String m_nextToken;
bool m_nextTokenHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codepipeline/model/ExecutionTrigger.h>
#include <aws/codepipeline/model/ExecutionMode.h>
#include <aws/codepipeline/model/ExecutionType.h>
#include <aws/codepipeline/model/PipelineRollbackMetadata.h>
#include <aws/codepipeline/model/ArtifactRevision.h>
#include <aws/codepipeline/model/ResolvedPipelineVariable.h>
#include <utility>
Expand Down Expand Up @@ -472,6 +474,68 @@ namespace Model
*/
inline PipelineExecution& WithExecutionMode(ExecutionMode&& value) { SetExecutionMode(std::move(value)); return *this;}


/**
* <p>The type of the pipeline execution.</p>
*/
inline const ExecutionType& GetExecutionType() const{ return m_executionType; }

/**
* <p>The type of the pipeline execution.</p>
*/
inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }

/**
* <p>The type of the pipeline execution.</p>
*/
inline void SetExecutionType(const ExecutionType& value) { m_executionTypeHasBeenSet = true; m_executionType = value; }

/**
* <p>The type of the pipeline execution.</p>
*/
inline void SetExecutionType(ExecutionType&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::move(value); }

/**
* <p>The type of the pipeline execution.</p>
*/
inline PipelineExecution& WithExecutionType(const ExecutionType& value) { SetExecutionType(value); return *this;}

/**
* <p>The type of the pipeline execution.</p>
*/
inline PipelineExecution& WithExecutionType(ExecutionType&& value) { SetExecutionType(std::move(value)); return *this;}


/**
* <p>The metadata about the execution pertaining to stage rollback.</p>
*/
inline const PipelineRollbackMetadata& GetRollbackMetadata() const{ return m_rollbackMetadata; }

/**
* <p>The metadata about the execution pertaining to stage rollback.</p>
*/
inline bool RollbackMetadataHasBeenSet() const { return m_rollbackMetadataHasBeenSet; }

/**
* <p>The metadata about the execution pertaining to stage rollback.</p>
*/
inline void SetRollbackMetadata(const PipelineRollbackMetadata& value) { m_rollbackMetadataHasBeenSet = true; m_rollbackMetadata = value; }

/**
* <p>The metadata about the execution pertaining to stage rollback.</p>
*/
inline void SetRollbackMetadata(PipelineRollbackMetadata&& value) { m_rollbackMetadataHasBeenSet = true; m_rollbackMetadata = std::move(value); }

/**
* <p>The metadata about the execution pertaining to stage rollback.</p>
*/
inline PipelineExecution& WithRollbackMetadata(const PipelineRollbackMetadata& value) { SetRollbackMetadata(value); return *this;}

/**
* <p>The metadata about the execution pertaining to stage rollback.</p>
*/
inline PipelineExecution& WithRollbackMetadata(PipelineRollbackMetadata&& value) { SetRollbackMetadata(std::move(value)); return *this;}

private:

Aws::String m_pipelineName;
Expand Down Expand Up @@ -500,6 +564,12 @@ namespace Model

ExecutionMode m_executionMode;
bool m_executionModeHasBeenSet = false;

ExecutionType m_executionType;
bool m_executionTypeHasBeenSet = false;

PipelineRollbackMetadata m_rollbackMetadata;
bool m_rollbackMetadataHasBeenSet = false;
};

} // namespace Model
Expand Down
Loading

0 comments on commit 5291172

Please sign in to comment.