Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit d721ce8

Browse files
author
aws-sdk-cpp-automation
committed
This release adds: attribute-based instance type selection for EC2 Fleet, Spot Fleet, a feature that lets customers express instance requirements as attributes like vCPU, memory, and storage; and Spot placement score, a feature that helps customers identify an optimal location to run Spot workloads.
This release allows customers to describe one or more versioned model packages through BatchDescribeModelPackage, update project via UpdateProject, modify and read customer metadata properties using Create, Update and Describe ModelPackage and enables cross account registration of model packages. EKS managed node groups now support BOTTLEROCKET_x86_64 and BOTTLEROCKET_ARM_64 AMI types. This release adds support for attribute-based instance type selection, a new EC2 Auto Scaling feature that lets customers express their instance requirements as a set of attributes, such as vCPU, memory, and storage. This release adds support for asynchronously analyzing invoice and receipt documents through two new APIs: StartExpenseAnalysis and GetExpenseAnalysis
1 parent 2550901 commit d721ce8

File tree

191 files changed

+22597
-817
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+22597
-817
lines changed
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9+
10+
namespace Aws
11+
{
12+
namespace Utils
13+
{
14+
namespace Xml
15+
{
16+
class XmlNode;
17+
} // namespace Xml
18+
} // namespace Utils
19+
namespace AutoScaling
20+
{
21+
namespace Model
22+
{
23+
24+
/**
25+
* <p>Specifies the minimum and maximum for the <code>AcceleratorCount</code>
26+
* object when you specify <a>InstanceRequirements</a> for an Auto Scaling
27+
* group.</p><p><h3>See Also:</h3> <a
28+
* href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AcceleratorCountRequest">AWS
29+
* API Reference</a></p>
30+
*/
31+
class AWS_AUTOSCALING_API AcceleratorCountRequest
32+
{
33+
public:
34+
AcceleratorCountRequest();
35+
AcceleratorCountRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
36+
AcceleratorCountRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37+
38+
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39+
void OutputToStream(Aws::OStream& oStream, const char* location) const;
40+
41+
42+
/**
43+
* <p>The minimum value.</p>
44+
*/
45+
inline int GetMin() const{ return m_min; }
46+
47+
/**
48+
* <p>The minimum value.</p>
49+
*/
50+
inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
51+
52+
/**
53+
* <p>The minimum value.</p>
54+
*/
55+
inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
56+
57+
/**
58+
* <p>The minimum value.</p>
59+
*/
60+
inline AcceleratorCountRequest& WithMin(int value) { SetMin(value); return *this;}
61+
62+
63+
/**
64+
* <p>The maximum value.</p>
65+
*/
66+
inline int GetMax() const{ return m_max; }
67+
68+
/**
69+
* <p>The maximum value.</p>
70+
*/
71+
inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
72+
73+
/**
74+
* <p>The maximum value.</p>
75+
*/
76+
inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
77+
78+
/**
79+
* <p>The maximum value.</p>
80+
*/
81+
inline AcceleratorCountRequest& WithMax(int value) { SetMax(value); return *this;}
82+
83+
private:
84+
85+
int m_min;
86+
bool m_minHasBeenSet;
87+
88+
int m_max;
89+
bool m_maxHasBeenSet;
90+
};
91+
92+
} // namespace Model
93+
} // namespace AutoScaling
94+
} // namespace Aws
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace AutoScaling
13+
{
14+
namespace Model
15+
{
16+
enum class AcceleratorManufacturer
17+
{
18+
NOT_SET,
19+
nvidia,
20+
amd,
21+
amazon_web_services,
22+
xilinx
23+
};
24+
25+
namespace AcceleratorManufacturerMapper
26+
{
27+
AWS_AUTOSCALING_API AcceleratorManufacturer GetAcceleratorManufacturerForName(const Aws::String& name);
28+
29+
AWS_AUTOSCALING_API Aws::String GetNameForAcceleratorManufacturer(AcceleratorManufacturer value);
30+
} // namespace AcceleratorManufacturerMapper
31+
} // namespace Model
32+
} // namespace AutoScaling
33+
} // namespace Aws
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace AutoScaling
13+
{
14+
namespace Model
15+
{
16+
enum class AcceleratorName
17+
{
18+
NOT_SET,
19+
a100,
20+
v100,
21+
k80,
22+
t4,
23+
m60,
24+
radeon_pro_v520,
25+
vu9p
26+
};
27+
28+
namespace AcceleratorNameMapper
29+
{
30+
AWS_AUTOSCALING_API AcceleratorName GetAcceleratorNameForName(const Aws::String& name);
31+
32+
AWS_AUTOSCALING_API Aws::String GetNameForAcceleratorName(AcceleratorName value);
33+
} // namespace AcceleratorNameMapper
34+
} // namespace Model
35+
} // namespace AutoScaling
36+
} // namespace Aws
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9+
10+
namespace Aws
11+
{
12+
namespace Utils
13+
{
14+
namespace Xml
15+
{
16+
class XmlNode;
17+
} // namespace Xml
18+
} // namespace Utils
19+
namespace AutoScaling
20+
{
21+
namespace Model
22+
{
23+
24+
/**
25+
* <p>Specifies the minimum and maximum for the
26+
* <code>AcceleratorTotalMemoryMiB</code> object when you specify
27+
* <a>InstanceRequirements</a> for an Auto Scaling group.</p><p><h3>See Also:</h3>
28+
* <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AcceleratorTotalMemoryMiBRequest">AWS
30+
* API Reference</a></p>
31+
*/
32+
class AWS_AUTOSCALING_API AcceleratorTotalMemoryMiBRequest
33+
{
34+
public:
35+
AcceleratorTotalMemoryMiBRequest();
36+
AcceleratorTotalMemoryMiBRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
37+
AcceleratorTotalMemoryMiBRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38+
39+
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40+
void OutputToStream(Aws::OStream& oStream, const char* location) const;
41+
42+
43+
/**
44+
* <p>The memory minimum in MiB.</p>
45+
*/
46+
inline int GetMin() const{ return m_min; }
47+
48+
/**
49+
* <p>The memory minimum in MiB.</p>
50+
*/
51+
inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
52+
53+
/**
54+
* <p>The memory minimum in MiB.</p>
55+
*/
56+
inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
57+
58+
/**
59+
* <p>The memory minimum in MiB.</p>
60+
*/
61+
inline AcceleratorTotalMemoryMiBRequest& WithMin(int value) { SetMin(value); return *this;}
62+
63+
64+
/**
65+
* <p>The memory maximum in MiB.</p>
66+
*/
67+
inline int GetMax() const{ return m_max; }
68+
69+
/**
70+
* <p>The memory maximum in MiB.</p>
71+
*/
72+
inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
73+
74+
/**
75+
* <p>The memory maximum in MiB.</p>
76+
*/
77+
inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
78+
79+
/**
80+
* <p>The memory maximum in MiB.</p>
81+
*/
82+
inline AcceleratorTotalMemoryMiBRequest& WithMax(int value) { SetMax(value); return *this;}
83+
84+
private:
85+
86+
int m_min;
87+
bool m_minHasBeenSet;
88+
89+
int m_max;
90+
bool m_maxHasBeenSet;
91+
};
92+
93+
} // namespace Model
94+
} // namespace AutoScaling
95+
} // namespace Aws
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace AutoScaling
13+
{
14+
namespace Model
15+
{
16+
enum class AcceleratorType
17+
{
18+
NOT_SET,
19+
gpu,
20+
fpga,
21+
inference
22+
};
23+
24+
namespace AcceleratorTypeMapper
25+
{
26+
AWS_AUTOSCALING_API AcceleratorType GetAcceleratorTypeForName(const Aws::String& name);
27+
28+
AWS_AUTOSCALING_API Aws::String GetNameForAcceleratorType(AcceleratorType value);
29+
} // namespace AcceleratorTypeMapper
30+
} // namespace Model
31+
} // namespace AutoScaling
32+
} // namespace Aws

0 commit comments

Comments
 (0)