Skip to content

Commit

Permalink
This release adds support for Custom Authentication with X.509 Client…
Browse files Browse the repository at this point in the history
… Certificates, support for Custom Client Certificate validation, and support for selecting application protocol and authentication type without requiring TLS ALPN for customer's AWS IoT Domain Configurations.

Public GetMetricDataV2 Grouping increase from 3 to 4
QuickSight: Add support for exporting and importing folders in AssetBundle APIs
Added support for ClipStartTime on the FilterConfiguration object on OriginEndpoint manifest settings objects. Added support for EXT-X-START tags on produced HLS child playlists.
The AWS Marketplace Reporting service introduces the GetBuyerDashboard API. This API returns a dashboard that provides visibility into your organization's AWS Marketplace agreements and associated spend across the AWS accounts in your organization.
This release includes a new API for modifying instance cpu-options after launch.
AWS CodePipeline introduces Commands action that enables you to easily run shell commands as part of your pipeline execution.
  • Loading branch information
aws-sdk-cpp-automation committed Oct 3, 2024
1 parent df7390f commit 8d6a18a
Show file tree
Hide file tree
Showing 146 changed files with 5,994 additions and 193 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.418
1.11.419
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,25 @@ namespace Model
inline ActionDeclaration& AddConfiguration(const char* key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; }
///@}

///@{
/**
* <p>The shell commands to run with your compute action in CodePipeline. All
* commands are supported except multi-line formats. While CodeBuild logs and
* permissions are used, you do not need to create any resources in CodeBuild.</p>
* <p>Using compute time for this action will incur separate charges in
* CodeBuild.</p>
*/
inline const Aws::Vector<Aws::String>& GetCommands() const{ return m_commands; }
inline bool CommandsHasBeenSet() const { return m_commandsHasBeenSet; }
inline void SetCommands(const Aws::Vector<Aws::String>& value) { m_commandsHasBeenSet = true; m_commands = value; }
inline void SetCommands(Aws::Vector<Aws::String>&& value) { m_commandsHasBeenSet = true; m_commands = std::move(value); }
inline ActionDeclaration& WithCommands(const Aws::Vector<Aws::String>& value) { SetCommands(value); return *this;}
inline ActionDeclaration& WithCommands(Aws::Vector<Aws::String>&& value) { SetCommands(std::move(value)); return *this;}
inline ActionDeclaration& AddCommands(const Aws::String& value) { m_commandsHasBeenSet = true; m_commands.push_back(value); return *this; }
inline ActionDeclaration& AddCommands(Aws::String&& value) { m_commandsHasBeenSet = true; m_commands.push_back(std::move(value)); return *this; }
inline ActionDeclaration& AddCommands(const char* value) { m_commandsHasBeenSet = true; m_commands.push_back(value); return *this; }
///@}

///@{
/**
* <p>The name or ID of the result of the action declaration, such as a test or
Expand Down Expand Up @@ -141,6 +160,22 @@ namespace Model
inline ActionDeclaration& AddInputArtifacts(InputArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>The list of variables that are to be exported from the compute action. This
* is specifically CodeBuild environment variables as used for that action.</p>
*/
inline const Aws::Vector<Aws::String>& GetOutputVariables() const{ return m_outputVariables; }
inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; }
inline void SetOutputVariables(const Aws::Vector<Aws::String>& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = value; }
inline void SetOutputVariables(Aws::Vector<Aws::String>&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::move(value); }
inline ActionDeclaration& WithOutputVariables(const Aws::Vector<Aws::String>& value) { SetOutputVariables(value); return *this;}
inline ActionDeclaration& WithOutputVariables(Aws::Vector<Aws::String>&& value) { SetOutputVariables(std::move(value)); return *this;}
inline ActionDeclaration& AddOutputVariables(const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.push_back(value); return *this; }
inline ActionDeclaration& AddOutputVariables(Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.push_back(std::move(value)); return *this; }
inline ActionDeclaration& AddOutputVariables(const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.push_back(value); return *this; }
///@}

///@{
/**
* <p>The ARN of the IAM service role that performs the declared action. This is
Expand Down Expand Up @@ -212,12 +247,18 @@ namespace Model
Aws::Map<Aws::String, Aws::String> m_configuration;
bool m_configurationHasBeenSet = false;

Aws::Vector<Aws::String> m_commands;
bool m_commandsHasBeenSet = false;

Aws::Vector<OutputArtifact> m_outputArtifacts;
bool m_outputArtifactsHasBeenSet = false;

Aws::Vector<InputArtifact> m_inputArtifacts;
bool m_inputArtifactsHasBeenSet = false;

Aws::Vector<Aws::String> m_outputVariables;
bool m_outputVariablesHasBeenSet = false;

Aws::String m_roleArn;
bool m_roleArnHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#pragma once
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -57,10 +58,29 @@ namespace Model
inline OutputArtifact& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
inline OutputArtifact& WithName(const char* value) { SetName(value); return *this;}
///@}

///@{
/**
* <p>The files that you want to associate with the output artifact that will be
* exported from the compute action.</p>
*/
inline const Aws::Vector<Aws::String>& GetFiles() const{ return m_files; }
inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
inline void SetFiles(const Aws::Vector<Aws::String>& value) { m_filesHasBeenSet = true; m_files = value; }
inline void SetFiles(Aws::Vector<Aws::String>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
inline OutputArtifact& WithFiles(const Aws::Vector<Aws::String>& value) { SetFiles(value); return *this;}
inline OutputArtifact& WithFiles(Aws::Vector<Aws::String>&& value) { SetFiles(std::move(value)); return *this;}
inline OutputArtifact& AddFiles(const Aws::String& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
inline OutputArtifact& AddFiles(Aws::String&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
inline OutputArtifact& AddFiles(const char* value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
///@}
private:

Aws::String m_name;
bool m_nameHasBeenSet = false;

Aws::Vector<Aws::String> m_files;
bool m_filesHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ ActionDeclaration::ActionDeclaration() :
m_runOrder(0),
m_runOrderHasBeenSet(false),
m_configurationHasBeenSet(false),
m_commandsHasBeenSet(false),
m_outputArtifactsHasBeenSet(false),
m_inputArtifactsHasBeenSet(false),
m_outputVariablesHasBeenSet(false),
m_roleArnHasBeenSet(false),
m_regionHasBeenSet(false),
m_namespaceHasBeenSet(false),
Expand Down Expand Up @@ -73,6 +75,16 @@ ActionDeclaration& ActionDeclaration::operator =(JsonView jsonValue)
m_configurationHasBeenSet = true;
}

if(jsonValue.ValueExists("commands"))
{
Aws::Utils::Array<JsonView> commandsJsonList = jsonValue.GetArray("commands");
for(unsigned commandsIndex = 0; commandsIndex < commandsJsonList.GetLength(); ++commandsIndex)
{
m_commands.push_back(commandsJsonList[commandsIndex].AsString());
}
m_commandsHasBeenSet = true;
}

if(jsonValue.ValueExists("outputArtifacts"))
{
Aws::Utils::Array<JsonView> outputArtifactsJsonList = jsonValue.GetArray("outputArtifacts");
Expand All @@ -93,6 +105,16 @@ ActionDeclaration& ActionDeclaration::operator =(JsonView jsonValue)
m_inputArtifactsHasBeenSet = true;
}

if(jsonValue.ValueExists("outputVariables"))
{
Aws::Utils::Array<JsonView> outputVariablesJsonList = jsonValue.GetArray("outputVariables");
for(unsigned outputVariablesIndex = 0; outputVariablesIndex < outputVariablesJsonList.GetLength(); ++outputVariablesIndex)
{
m_outputVariables.push_back(outputVariablesJsonList[outputVariablesIndex].AsString());
}
m_outputVariablesHasBeenSet = true;
}

if(jsonValue.ValueExists("roleArn"))
{
m_roleArn = jsonValue.GetString("roleArn");
Expand Down Expand Up @@ -157,6 +179,17 @@ JsonValue ActionDeclaration::Jsonize() const

}

if(m_commandsHasBeenSet)
{
Aws::Utils::Array<JsonValue> commandsJsonList(m_commands.size());
for(unsigned commandsIndex = 0; commandsIndex < commandsJsonList.GetLength(); ++commandsIndex)
{
commandsJsonList[commandsIndex].AsString(m_commands[commandsIndex]);
}
payload.WithArray("commands", std::move(commandsJsonList));

}

if(m_outputArtifactsHasBeenSet)
{
Aws::Utils::Array<JsonValue> outputArtifactsJsonList(m_outputArtifacts.size());
Expand All @@ -179,6 +212,17 @@ JsonValue ActionDeclaration::Jsonize() const

}

if(m_outputVariablesHasBeenSet)
{
Aws::Utils::Array<JsonValue> outputVariablesJsonList(m_outputVariables.size());
for(unsigned outputVariablesIndex = 0; outputVariablesIndex < outputVariablesJsonList.GetLength(); ++outputVariablesIndex)
{
outputVariablesJsonList[outputVariablesIndex].AsString(m_outputVariables[outputVariablesIndex]);
}
payload.WithArray("outputVariables", std::move(outputVariablesJsonList));

}

if(m_roleArnHasBeenSet)
{
payload.WithString("roleArn", m_roleArn);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ namespace Model
{

OutputArtifact::OutputArtifact() :
m_nameHasBeenSet(false)
m_nameHasBeenSet(false),
m_filesHasBeenSet(false)
{
}

Expand All @@ -38,6 +39,16 @@ OutputArtifact& OutputArtifact::operator =(JsonView jsonValue)
m_nameHasBeenSet = true;
}

if(jsonValue.ValueExists("files"))
{
Aws::Utils::Array<JsonView> filesJsonList = jsonValue.GetArray("files");
for(unsigned filesIndex = 0; filesIndex < filesJsonList.GetLength(); ++filesIndex)
{
m_files.push_back(filesJsonList[filesIndex].AsString());
}
m_filesHasBeenSet = true;
}

return *this;
}

Expand All @@ -51,6 +62,17 @@ JsonValue OutputArtifact::Jsonize() const

}

if(m_filesHasBeenSet)
{
Aws::Utils::Array<JsonValue> filesJsonList(m_files.size());
for(unsigned filesIndex = 0; filesIndex < filesJsonList.GetLength(); ++filesIndex)
{
filesJsonList[filesIndex].AsString(m_files[filesIndex]);
}
payload.WithArray("files", std::move(filesJsonList));

}

return payload;
}

Expand Down
34 changes: 34 additions & 0 deletions generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -15358,6 +15358,40 @@ namespace EC2
return SubmitAsync(&EC2Client::ModifyInstanceCapacityReservationAttributes, request, handler, context);
}

/**
* <p>By default, all vCPUs for the instance type are active when you launch an
* instance. When you configure the number of active vCPUs for the instance, it can
* help you save on licensing costs and optimize performance. The base cost of the
* instance remains unchanged.</p> <p>The number of active vCPUs equals the number
* of threads per CPU core multiplied by the number of cores.</p> <p>Some
* instance type options do not support this capability. For more information, see
* <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">Supported
* CPU options</a> in the <i>Amazon EC2 User Guide</i>.</p> <p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCpuOptions">AWS
* API Reference</a></p>
*/
virtual Model::ModifyInstanceCpuOptionsOutcome ModifyInstanceCpuOptions(const Model::ModifyInstanceCpuOptionsRequest& request) const;

/**
* A Callable wrapper for ModifyInstanceCpuOptions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ModifyInstanceCpuOptionsRequestT = Model::ModifyInstanceCpuOptionsRequest>
Model::ModifyInstanceCpuOptionsOutcomeCallable ModifyInstanceCpuOptionsCallable(const ModifyInstanceCpuOptionsRequestT& request) const
{
return SubmitCallable(&EC2Client::ModifyInstanceCpuOptions, request);
}

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

/**
* <p>Modifies the credit option for CPU usage on a running or stopped burstable
* performance instance. The credit options are <code>standard</code> and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@
#include <aws/ec2/model/ModifyFpgaImageAttributeResponse.h>
#include <aws/ec2/model/ModifyHostsResponse.h>
#include <aws/ec2/model/ModifyInstanceCapacityReservationAttributesResponse.h>
#include <aws/ec2/model/ModifyInstanceCpuOptionsResponse.h>
#include <aws/ec2/model/ModifyInstanceCreditSpecificationResponse.h>
#include <aws/ec2/model/ModifyInstanceEventStartTimeResponse.h>
#include <aws/ec2/model/ModifyInstanceEventWindowResponse.h>
Expand Down Expand Up @@ -1324,6 +1325,7 @@ namespace Aws
class ModifyImageAttributeRequest;
class ModifyInstanceAttributeRequest;
class ModifyInstanceCapacityReservationAttributesRequest;
class ModifyInstanceCpuOptionsRequest;
class ModifyInstanceCreditSpecificationRequest;
class ModifyInstanceEventStartTimeRequest;
class ModifyInstanceEventWindowRequest;
Expand Down Expand Up @@ -1954,6 +1956,7 @@ namespace Aws
typedef Aws::Utils::Outcome<Aws::NoResult, EC2Error> ModifyImageAttributeOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, EC2Error> ModifyInstanceAttributeOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceCapacityReservationAttributesResponse, EC2Error> ModifyInstanceCapacityReservationAttributesOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceCpuOptionsResponse, EC2Error> ModifyInstanceCpuOptionsOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceCreditSpecificationResponse, EC2Error> ModifyInstanceCreditSpecificationOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceEventStartTimeResponse, EC2Error> ModifyInstanceEventStartTimeOutcome;
typedef Aws::Utils::Outcome<ModifyInstanceEventWindowResponse, EC2Error> ModifyInstanceEventWindowOutcome;
Expand Down Expand Up @@ -2584,6 +2587,7 @@ namespace Aws
typedef std::future<ModifyImageAttributeOutcome> ModifyImageAttributeOutcomeCallable;
typedef std::future<ModifyInstanceAttributeOutcome> ModifyInstanceAttributeOutcomeCallable;
typedef std::future<ModifyInstanceCapacityReservationAttributesOutcome> ModifyInstanceCapacityReservationAttributesOutcomeCallable;
typedef std::future<ModifyInstanceCpuOptionsOutcome> ModifyInstanceCpuOptionsOutcomeCallable;
typedef std::future<ModifyInstanceCreditSpecificationOutcome> ModifyInstanceCreditSpecificationOutcomeCallable;
typedef std::future<ModifyInstanceEventStartTimeOutcome> ModifyInstanceEventStartTimeOutcomeCallable;
typedef std::future<ModifyInstanceEventWindowOutcome> ModifyInstanceEventWindowOutcomeCallable;
Expand Down Expand Up @@ -3217,6 +3221,7 @@ namespace Aws
typedef std::function<void(const EC2Client*, const Model::ModifyImageAttributeRequest&, const Model::ModifyImageAttributeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyImageAttributeResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceAttributeRequest&, const Model::ModifyInstanceAttributeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceAttributeResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceCapacityReservationAttributesRequest&, const Model::ModifyInstanceCapacityReservationAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceCapacityReservationAttributesResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceCpuOptionsRequest&, const Model::ModifyInstanceCpuOptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceCpuOptionsResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceCreditSpecificationRequest&, const Model::ModifyInstanceCreditSpecificationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceCreditSpecificationResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceEventStartTimeRequest&, const Model::ModifyInstanceEventStartTimeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceEventStartTimeResponseReceivedHandler;
typedef std::function<void(const EC2Client*, const Model::ModifyInstanceEventWindowRequest&, const Model::ModifyInstanceEventWindowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ModifyInstanceEventWindowResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namespace Model

///@{
/**
* <p>Checks whether you have the required permissions for the action, without
* <p>Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ namespace Model

///@{
/**
* <p>The value is <code>Windows</code> for Windows instances. Otherwise, the value
* is blank.</p>
* <p>The value is <code>windows</code> for Windows instances in an EC2 Fleet.
* Otherwise, the value is blank.</p>
*/
inline const PlatformValues& GetPlatform() const{ return m_platform; }
inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Model

///@{
/**
* <p>Checks whether you have the required permissions for the action, without
* <p>Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ namespace Model
/**
* <p>The name of the Amazon S3 bucket in which to store the Spot Instance data
* feed. For more information about bucket names, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules">Rules
* for bucket naming</a> in the <i>Amazon S3 Developer Guide</i>.</p>
* href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket
* naming rules</a> in the <i>Amazon S3 User Guide</i>.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
Expand Down
Loading

0 comments on commit 8d6a18a

Please sign in to comment.