Skip to content

Commit

Permalink
This release increases the range of MaxResults for GetNetworkInsights…
Browse files Browse the repository at this point in the history
…AccessScopeAnalysisFindings to 1,000.

This release reduces the maximum results returned per query invocation from 500 to 100 for the SearchIndex API. This change has no implications as long as the API is invoked until the nextToken is NULL.
This release adds Batch support for configuration of multicontainer jobs in ECS, Fargate, and EKS. This support is available for all types of jobs, including both array jobs and multi-node parallel jobs.
This release adds support to override search strategy performed by the Retrieve and RetrieveAndGenerate APIs for Amazon Bedrock Agents
AWS WAF now supports configurable time windows for request aggregation with rate-based rules. Customers can now select time windows of 1 minute, 2 minutes or 10 minutes, in addition to the previously supported 5 minutes.
This release introduces the new API 'GetApproximateUsageRecords', which retrieves estimated usage records for hourly granularity or resource-level data at daily granularity.
  • Loading branch information
aws-sdk-cpp-automation committed Feb 28, 2024
1 parent 71f643f commit 763386d
Show file tree
Hide file tree
Showing 90 changed files with 11,057 additions and 991 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.274
1.11.275
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Model
* environments must be in the <code>VALID</code> state before you can associate
* them with a job queue. All of the compute environments must be either EC2
* (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or
* <code>FARGATE_SPOT</code>); EC2 and Fargate compute environments can't be
* <code>FARGATE_SPOT</code>); Amazon EC2 and Fargate compute environments can't be
* mixed.</p> <p>All compute environments that are associated with a job
* queue must share the same architecture. Batch doesn't support mixing compute
* environment architecture types in a single job queue.</p> <p><h3>See
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

212 changes: 112 additions & 100 deletions generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ContainerDetail.h

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/batch/Batch_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/EcsTaskProperties.h>
#include <utility>

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

/**
* <p>An object that contains the properties for the Amazon ECS resources of a
* job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EcsProperties">AWS
* API Reference</a></p>
*/
class EcsProperties
{
public:
AWS_BATCH_API EcsProperties();
AWS_BATCH_API EcsProperties(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API EcsProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline const Aws::Vector<EcsTaskProperties>& GetTaskProperties() const{ return m_taskProperties; }

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; }

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline void SetTaskProperties(const Aws::Vector<EcsTaskProperties>& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = value; }

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline void SetTaskProperties(Aws::Vector<EcsTaskProperties>&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = std::move(value); }

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline EcsProperties& WithTaskProperties(const Aws::Vector<EcsTaskProperties>& value) { SetTaskProperties(value); return *this;}

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline EcsProperties& WithTaskProperties(Aws::Vector<EcsTaskProperties>&& value) { SetTaskProperties(std::move(value)); return *this;}

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline EcsProperties& AddTaskProperties(const EcsTaskProperties& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; }

/**
* <p>An object that contains the properties for the Amazon ECS task definition of
* a job.</p> <p>This object is currently limited to one element.</p>
*
*/
inline EcsProperties& AddTaskProperties(EcsTaskProperties&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; }

private:

Aws::Vector<EcsTaskProperties> m_taskProperties;
bool m_taskPropertiesHasBeenSet = false;
};

} // namespace Model
} // namespace Batch
} // namespace Aws
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/batch/Batch_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/EcsTaskDetails.h>
#include <utility>

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

/**
* <p>An object that contains the details for the Amazon ECS resources of a
* job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EcsPropertiesDetail">AWS
* API Reference</a></p>
*/
class EcsPropertiesDetail
{
public:
AWS_BATCH_API EcsPropertiesDetail();
AWS_BATCH_API EcsPropertiesDetail(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API EcsPropertiesDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline const Aws::Vector<EcsTaskDetails>& GetTaskProperties() const{ return m_taskProperties; }

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; }

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline void SetTaskProperties(const Aws::Vector<EcsTaskDetails>& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = value; }

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline void SetTaskProperties(Aws::Vector<EcsTaskDetails>&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = std::move(value); }

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline EcsPropertiesDetail& WithTaskProperties(const Aws::Vector<EcsTaskDetails>& value) { SetTaskProperties(value); return *this;}

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline EcsPropertiesDetail& WithTaskProperties(Aws::Vector<EcsTaskDetails>&& value) { SetTaskProperties(std::move(value)); return *this;}

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline EcsPropertiesDetail& AddTaskProperties(const EcsTaskDetails& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; }

/**
* <p>The properties for the Amazon ECS task definition of a job.</p>
*/
inline EcsPropertiesDetail& AddTaskProperties(EcsTaskDetails&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; }

private:

Aws::Vector<EcsTaskDetails> m_taskProperties;
bool m_taskPropertiesHasBeenSet = false;
};

} // namespace Model
} // namespace Batch
} // namespace Aws
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/batch/Batch_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/TaskPropertiesOverride.h>
#include <utility>

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

/**
* <p>An object that contains overrides for the Amazon ECS task definition of a
* job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EcsPropertiesOverride">AWS
* API Reference</a></p>
*/
class EcsPropertiesOverride
{
public:
AWS_BATCH_API EcsPropertiesOverride();
AWS_BATCH_API EcsPropertiesOverride(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API EcsPropertiesOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline const Aws::Vector<TaskPropertiesOverride>& GetTaskProperties() const{ return m_taskProperties; }

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; }

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline void SetTaskProperties(const Aws::Vector<TaskPropertiesOverride>& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = value; }

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline void SetTaskProperties(Aws::Vector<TaskPropertiesOverride>&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = std::move(value); }

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline EcsPropertiesOverride& WithTaskProperties(const Aws::Vector<TaskPropertiesOverride>& value) { SetTaskProperties(value); return *this;}

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline EcsPropertiesOverride& WithTaskProperties(Aws::Vector<TaskPropertiesOverride>&& value) { SetTaskProperties(std::move(value)); return *this;}

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline EcsPropertiesOverride& AddTaskProperties(const TaskPropertiesOverride& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; }

/**
* <p>The overrides for the Amazon ECS task definition of a job.</p> <p>This
* object is currently limited to one element.</p>
*/
inline EcsPropertiesOverride& AddTaskProperties(TaskPropertiesOverride&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; }

private:

Aws::Vector<TaskPropertiesOverride> m_taskProperties;
bool m_taskPropertiesHasBeenSet = false;
};

} // namespace Model
} // namespace Batch
} // namespace Aws
Loading

0 comments on commit 763386d

Please sign in to comment.