Skip to content

Commit

Permalink
Add environment variables to codepipeline action declaration.
Browse files Browse the repository at this point in the history
This release adds the ability for outbound email sent with SES to preserve emails to a Mail Manager archive.
Documentation updates for Amazon Lightsail.
Adds support for larger property maps for tracking and geofence positions changes. It increases the maximum number of items from 3 to 4, and the maximum value length from 40 to 150.
This is a documentation only release for Amazon ECS that supports the CPU task limit increase.
Adds r8g instance type support to SageMaker Realtime Endpoints
This release adds additional metadata fields in Mail Manager archive searches to show email source and details about emails that were archived when being sent with SES.
This release introduces Network Firewall's Automated Domain List feature. New APIs include UpdateFirewallAnalysisSettings, StartAnalysisReport, GetAnalysisReportResults, and ListAnalysisReports. These allow customers to enable analysis on firewalls to identify and report frequently accessed domain.
  • Loading branch information
aws-sdk-cpp-automation committed Feb 19, 2025
1 parent cbc4a4d commit 6c88b97
Show file tree
Hide file tree
Showing 142 changed files with 5,436 additions and 1,319 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.509
1.11.510
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,9 @@ namespace CodePipeline
* <p>Lists the rules for the condition. For more information about conditions, see
* <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a>. For more information about rules, see the <a
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>.For more information about rules, see the <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline
* rule reference</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleTypes">AWS
Expand Down Expand Up @@ -829,7 +831,12 @@ namespace CodePipeline
}

/**
* <p>Used to override a stage condition.</p><p><h3>See Also:</h3> <a
* <p>Used to override a stage condition. For more information about conditions,
* see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OverrideStageCondition">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codepipeline/model/OutputArtifact.h>
#include <aws/codepipeline/model/InputArtifact.h>
#include <aws/codepipeline/model/EnvironmentVariable.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -233,6 +234,20 @@ namespace Model
inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
inline ActionDeclaration& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
///@}

///@{
/**
* <p>The environment variables for the action.</p>
*/
inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariables() const{ return m_environmentVariables; }
inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
inline void SetEnvironmentVariables(const Aws::Vector<EnvironmentVariable>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
inline void SetEnvironmentVariables(Aws::Vector<EnvironmentVariable>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
inline ActionDeclaration& WithEnvironmentVariables(const Aws::Vector<EnvironmentVariable>& value) { SetEnvironmentVariables(value); return *this;}
inline ActionDeclaration& WithEnvironmentVariables(Aws::Vector<EnvironmentVariable>&& value) { SetEnvironmentVariables(std::move(value)); return *this;}
inline ActionDeclaration& AddEnvironmentVariables(const EnvironmentVariable& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.push_back(value); return *this; }
inline ActionDeclaration& AddEnvironmentVariables(EnvironmentVariable&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.push_back(std::move(value)); return *this; }
///@}
private:

Aws::String m_name;
Expand Down Expand Up @@ -270,6 +285,9 @@ namespace Model

int m_timeoutInMinutes;
bool m_timeoutInMinutesHasBeenSet = false;

Aws::Vector<EnvironmentVariable> m_environmentVariables;
bool m_environmentVariablesHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ namespace Model
{

/**
* <p>The conditions for making checks for entry to a stage. </p><p><h3>See
* Also:</h3> <a
* <p>The conditions for making checks for entry to a stage. For more information
* about conditions, see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/BeforeEntryConditions">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ namespace Model
* <p>The condition for the stage. A condition is made up of the rules and the
* result for the condition. For more information about conditions, see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a>. For more information about rules, see the <a
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>.. For more information about rules, see the <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline
* rule reference</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Condition">AWS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/**
* 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>
#include <utility>

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

/**
* <p>The environment variables for the action.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnvironmentVariable">AWS
* API Reference</a></p>
*/
class EnvironmentVariable
{
public:
AWS_CODEPIPELINE_API EnvironmentVariable();
AWS_CODEPIPELINE_API EnvironmentVariable(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEPIPELINE_API EnvironmentVariable& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>The environment variable name in the key-value pair.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
inline EnvironmentVariable& WithName(const Aws::String& value) { SetName(value); return *this;}
inline EnvironmentVariable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
inline EnvironmentVariable& WithName(const char* value) { SetName(value); return *this;}
///@}

///@{
/**
* <p>The environment variable value in the key-value pair.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
inline EnvironmentVariable& WithValue(const Aws::String& value) { SetValue(value); return *this;}
inline EnvironmentVariable& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
inline EnvironmentVariable& WithValue(const char* value) { SetValue(value); return *this;}
///@}
private:

Aws::String m_name;
bool m_nameHasBeenSet = false;

Aws::String m_value;
bool m_valueHasBeenSet = false;
};

} // namespace Model
} // namespace CodePipeline
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ namespace Model

/**
* <p>The configuration that specifies the result, such as rollback, to occur upon
* stage failure. </p><p><h3>See Also:</h3> <a
* stage failure. For more information about conditions, see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>. </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>
*/
Expand Down Expand Up @@ -69,7 +73,12 @@ namespace Model

///@{
/**
* <p>The conditions that are configured as failure conditions.</p>
* <p>The conditions that are configured as failure conditions. For more
* information about conditions, see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>.</p>
*/
inline const Aws::Vector<Condition>& GetConditions() const{ return m_conditions; }
inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ namespace Model

/**
* <p>The event criteria for the pull request trigger configuration, such as the
* lists of branches or file paths to include and exclude.</p><p><h3>See Also:</h3>
* <a
* lists of branches or file paths to include and exclude.</p> <p>The following are
* valid values for the events for this filter:</p> <ul> <li> <p>CLOSED</p> </li>
* <li> <p>OPEN</p> </li> <li> <p>UPDATED</p> </li> </ul><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitPullRequestFilter">AWS
* API Reference</a></p>
*/
Expand All @@ -44,8 +45,8 @@ namespace Model

///@{
/**
* <p>The field that specifies which pull request events to filter on (opened,
* updated, closed) for the trigger configuration.</p>
* <p>The field that specifies which pull request events to filter on (OPEN,
* UPDATED, CLOSED) for the trigger configuration.</p>
*/
inline const Aws::Vector<GitPullRequestEventType>& GetEvents() const{ return m_events; }
inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ namespace Model
* <a>GetPipelineState</a> action. It is used to validate that the approval request
* corresponding to this token is still valid.</p> <p>For a pipeline
* where the execution mode is set to PARALLEL, the token required to
* approve/reject approval request as detailed above is not available. Instead, use
* the <code>externalExecutionId</code> from the <code>GetPipelineState</code>
* action as the token in the approval request.</p>
* approve/reject an approval request as detailed above is not available. Instead,
* use the <code>externalExecutionId</code> in the response output from the
* <a>ListActionExecutions</a> action as the token in the approval request.</p>
*
*/
inline const Aws::String& GetToken() const{ return m_token; }
inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ namespace Model
* as a rule that checks for a test result before allowing the run to enter the
* deployment stage. For more information about conditions, see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a>. For more information about rules, see the <a
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>. For more information about rules, see the <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline
* rule reference</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RuleDeclaration">AWS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ namespace Model
///@{
/**
* <p>The ID for the rule type, which is made up of the combined values for
* category, owner, provider, and version.</p>
* category, owner, provider, and version. For more information about conditions,
* see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a>. For more information about rules, see the <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline
* rule reference</a>.</p>
*/
inline const RuleTypeId& GetRuleTypeId() const{ return m_ruleTypeId; }
inline bool RuleTypeIdHasBeenSet() const { return m_ruleTypeIdHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ namespace Model

/**
* <p>The ID for the rule type, which is made up of the combined values for
* category, owner, provider, and version.</p><p><h3>See Also:</h3> <a
* category, owner, provider, and version. For more information about conditions,
* see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a>. For more information about rules, see the <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline
* rule reference</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RuleTypeId">AWS
* API Reference</a></p>
*/
Expand Down Expand Up @@ -68,7 +73,10 @@ namespace Model

///@{
/**
* <p>The rule provider, such as the <code>DeploymentWindow</code> rule.</p>
* <p>The rule provider, such as the <code>DeploymentWindow</code> rule. For a list
* of rule provider names, see the rules listed in the <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline
* rule reference</a>.</p>
*/
inline const Aws::String& GetProvider() const{ return m_provider; }
inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ namespace Model
{

/**
* <p>The conditions for making checks that, if met, succeed a stage.</p><p><h3>See
* Also:</h3> <a
* <p>The conditions for making checks that, if met, succeed a stage. For more
* information about conditions, see <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
* conditions</a> and <a
* href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How
* do stage conditions work?</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/SuccessConditions">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ ActionDeclaration::ActionDeclaration() :
m_regionHasBeenSet(false),
m_namespaceHasBeenSet(false),
m_timeoutInMinutes(0),
m_timeoutInMinutesHasBeenSet(false)
m_timeoutInMinutesHasBeenSet(false),
m_environmentVariablesHasBeenSet(false)
{
}

Expand Down Expand Up @@ -143,6 +144,16 @@ ActionDeclaration& ActionDeclaration::operator =(JsonView jsonValue)
m_timeoutInMinutesHasBeenSet = true;
}

if(jsonValue.ValueExists("environmentVariables"))
{
Aws::Utils::Array<JsonView> environmentVariablesJsonList = jsonValue.GetArray("environmentVariables");
for(unsigned environmentVariablesIndex = 0; environmentVariablesIndex < environmentVariablesJsonList.GetLength(); ++environmentVariablesIndex)
{
m_environmentVariables.push_back(environmentVariablesJsonList[environmentVariablesIndex].AsObject());
}
m_environmentVariablesHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -247,6 +258,17 @@ JsonValue ActionDeclaration::Jsonize() const

}

if(m_environmentVariablesHasBeenSet)
{
Aws::Utils::Array<JsonValue> environmentVariablesJsonList(m_environmentVariables.size());
for(unsigned environmentVariablesIndex = 0; environmentVariablesIndex < environmentVariablesJsonList.GetLength(); ++environmentVariablesIndex)
{
environmentVariablesJsonList[environmentVariablesIndex].AsObject(m_environmentVariables[environmentVariablesIndex].Jsonize());
}
payload.WithArray("environmentVariables", std::move(environmentVariablesJsonList));

}

return payload;
}

Expand Down
Loading

0 comments on commit 6c88b97

Please sign in to comment.