Skip to content

Commit

Permalink
This release adds the task properties field to attempt details and th…
Browse files Browse the repository at this point in the history
…e name field on EKS container detail.

AWS Elemental MediaLive introduces workflow monitor, a new feature that enables the visualization and monitoring of your media workflows. Create signal maps of your existing workflows and monitor them by creating notification and monitoring template groups.
Adds an updated version of smoke tests, including smithy trait, for SDK testing.
Updates Amazon RDS documentation for Standard Edition 2 support in RDS Custom for Oracle.
LogConfiguration ARN validation fixes
This release adds support for retrieval of S3 direct access metadata on sequence stores and read sets, and adds support for SHA256up and SHA512up HealthOmics ETags.
Support access tokens for Bitbucket sources
For CreateOpenIDConnectProvider API, the ThumbprintList parameter is no longer required.
Documentation updates for Amazon S3-control.
CloudFront origin access control extends support to AWS Lambda function URLs and AWS Elemental MediaPackage v2 origins.
This release adds support for Metric Characteristics for CloudWatch Anomaly Detection. Anomaly Detector now takes Metric Characteristics object with Periodic Spikes boolean field that tells Anomaly Detection that spikes that repeat at the same time every week are part of the expected pattern.
  • Loading branch information
aws-sdk-cpp-automation committed Apr 11, 2024
1 parent ed055a8 commit 64f29bc
Show file tree
Hide file tree
Showing 270 changed files with 46,186 additions and 14,218 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.305
1.11.306
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Batch
* resources. Batch uses the advantages of the batch computing to remove the
* undifferentiated heavy lifting of configuring and managing required
* infrastructure. At the same time, it also adopts a familiar batch computing
* software approach. You can use Batch to efficiently provision resources d, and
* software approach. You can use Batch to efficiently provision resources, and
* work toward eliminating capacity constraints, reducing your overall compute
* costs, and delivering results more quickly.</p> <p>As a fully managed service,
* Batch can run batch computing workloads of any scale. Batch automatically
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <aws/batch/Batch_EXPORTS.h>
#include <aws/batch/model/AttemptContainerDetail.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/AttemptEcsTaskDetails.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -175,6 +177,55 @@ namespace Model
*/
inline AttemptDetail& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}


/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline const Aws::Vector<AttemptEcsTaskDetails>& GetTaskProperties() const{ return m_taskProperties; }

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; }

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline void SetTaskProperties(const Aws::Vector<AttemptEcsTaskDetails>& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = value; }

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline void SetTaskProperties(Aws::Vector<AttemptEcsTaskDetails>&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = std::move(value); }

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline AttemptDetail& WithTaskProperties(const Aws::Vector<AttemptEcsTaskDetails>& value) { SetTaskProperties(value); return *this;}

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline AttemptDetail& WithTaskProperties(Aws::Vector<AttemptEcsTaskDetails>&& value) { SetTaskProperties(std::move(value)); return *this;}

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline AttemptDetail& AddTaskProperties(const AttemptEcsTaskDetails& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; }

/**
* <p>The properties for a task definition that describes the container and volume
* definitions of an Amazon ECS task.</p>
*/
inline AttemptDetail& AddTaskProperties(AttemptEcsTaskDetails&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; }

private:

AttemptContainerDetail m_container;
Expand All @@ -188,6 +239,9 @@ namespace Model

Aws::String m_statusReason;
bool m_statusReasonHasBeenSet = false;

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

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
/**
* 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/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/batch/model/AttemptTaskContainerDetails.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 represents the details of a task.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptEcsTaskDetails">AWS
* API Reference</a></p>
*/
class AttemptEcsTaskDetails
{
public:
AWS_BATCH_API AttemptEcsTaskDetails();
AWS_BATCH_API AttemptEcsTaskDetails(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API AttemptEcsTaskDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline const Aws::String& GetContainerInstanceArn() const{ return m_containerInstanceArn; }

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; }

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline void SetContainerInstanceArn(const Aws::String& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = value; }

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline void SetContainerInstanceArn(Aws::String&& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = std::move(value); }

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline void SetContainerInstanceArn(const char* value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn.assign(value); }

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline AttemptEcsTaskDetails& WithContainerInstanceArn(const Aws::String& value) { SetContainerInstanceArn(value); return *this;}

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline AttemptEcsTaskDetails& WithContainerInstanceArn(Aws::String&& value) { SetContainerInstanceArn(std::move(value)); return *this;}

/**
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the
* task.</p>
*/
inline AttemptEcsTaskDetails& WithContainerInstanceArn(const char* value) { SetContainerInstanceArn(value); return *this;}


/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline const Aws::String& GetTaskArn() const{ return m_taskArn; }

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; }

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); }

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); }

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline AttemptEcsTaskDetails& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline AttemptEcsTaskDetails& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}

/**
* <p>The ARN of the Amazon ECS task.</p>
*/
inline AttemptEcsTaskDetails& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}


/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline const Aws::Vector<AttemptTaskContainerDetails>& GetContainers() const{ return m_containers; }

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline void SetContainers(const Aws::Vector<AttemptTaskContainerDetails>& value) { m_containersHasBeenSet = true; m_containers = value; }

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline void SetContainers(Aws::Vector<AttemptTaskContainerDetails>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline AttemptEcsTaskDetails& WithContainers(const Aws::Vector<AttemptTaskContainerDetails>& value) { SetContainers(value); return *this;}

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline AttemptEcsTaskDetails& WithContainers(Aws::Vector<AttemptTaskContainerDetails>&& value) { SetContainers(std::move(value)); return *this;}

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline AttemptEcsTaskDetails& AddContainers(const AttemptTaskContainerDetails& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; }

/**
* <p>A list of containers that are included in the <code>taskProperties</code>
* list.</p>
*/
inline AttemptEcsTaskDetails& AddContainers(AttemptTaskContainerDetails&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; }

private:

Aws::String m_containerInstanceArn;
bool m_containerInstanceArnHasBeenSet = false;

Aws::String m_taskArn;
bool m_taskArnHasBeenSet = false;

Aws::Vector<AttemptTaskContainerDetails> m_containers;
bool m_containersHasBeenSet = false;
};

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

0 comments on commit 64f29bc

Please sign in to comment.