Skip to content

Commit fe37f3f

Browse files
MaximumEbsAttachments and AttachmentLimitType fields added to DescribeInstanceTypesResponse. G6f, Gr6f, R8i, R8i-flex and p5.4xlarge instance types added to InstanceTypes enum.
Added Org support for notifications: - `ListMemberAccounts` gets member accounts list, `AssociateOrganizationalUnit` links OU to notification configuration, `DisassociateOrganizationalUnit` removes OU from notification configuration, `ListOrganizationalUnits` shows OUs configured for notifications. Removed the deprecated marker from publiclyAccessible parameter from DbInstance, CreateDbInstance and ModifyDbInstance and added relevant usage information for the parameter. Make RoleArn an optional parameter for the PutEmailMonitoringConfiguration API, and add UnsupportedOperationException to RegisterToWorkMail.
1 parent d46d64b commit fe37f3f

File tree

72 files changed

+3747
-992
lines changed

Some content is hidden

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

72 files changed

+3747
-992
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.638
1+
1.11.639
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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/ec2/EC2_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace EC2
13+
{
14+
namespace Model
15+
{
16+
enum class AttachmentLimitType
17+
{
18+
NOT_SET,
19+
shared,
20+
dedicated
21+
};
22+
23+
namespace AttachmentLimitTypeMapper
24+
{
25+
AWS_EC2_API AttachmentLimitType GetAttachmentLimitTypeForName(const Aws::String& name);
26+
27+
AWS_EC2_API Aws::String GetNameForAttachmentLimitType(AttachmentLimitType value);
28+
} // namespace AttachmentLimitTypeMapper
29+
} // namespace Model
30+
} // namespace EC2
31+
} // namespace Aws

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/BlockDeviceMapping.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ namespace Model
7070

7171
///@{
7272
/**
73-
* <p>The device name (for example, <code>/dev/sdh</code> or
74-
* <code>xvdh</code>).</p>
73+
* <p>The device name. For available device names, see <a
74+
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html">Device
75+
* names for volumes</a>.</p>
7576
*/
7677
inline const Aws::String& GetDeviceName() const { return m_deviceName; }
7778
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeInstanceTypesRequest.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,15 @@ namespace Model
8080
* an instance family (<code>true</code> | <code>false</code>).</p> </li> <li> <p>
8181
* <code>dedicated-hosts-supported</code> - Indicates whether the instance type
8282
* supports Dedicated Hosts. (<code>true</code> | <code>false</code>)</p> </li>
83-
* <li> <p> <code>ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps</code> -
84-
* The baseline bandwidth performance for an EBS-optimized instance type, in
85-
* Mbps.</p> </li> <li> <p> <code>ebs-info.ebs-optimized-info.baseline-iops</code>
86-
* - The baseline input/output storage operations per second for an EBS-optimized
83+
* <li> <p> <code>ebs-info.attachment-limit-type</code> - The type of Amazon EBS
84+
* volume attachment limit (<code>shared</code> | <code>dedicated</code>).</p>
85+
* </li> <li> <p> <code>ebs-info.maximum-ebs-attachments</code> - The maximum
86+
* number of Amazon EBS volumes that can be attached to the instance type.</p>
87+
* </li> <li> <p>
88+
* <code>ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps</code> - The
89+
* baseline bandwidth performance for an EBS-optimized instance type, in Mbps.</p>
90+
* </li> <li> <p> <code>ebs-info.ebs-optimized-info.baseline-iops</code> - The
91+
* baseline input/output storage operations per second for an EBS-optimized
8792
* instance type.</p> </li> <li> <p>
8893
* <code>ebs-info.ebs-optimized-info.baseline-throughput-in-mbps</code> - The
8994
* baseline throughput performance for an EBS-optimized instance type, in MB/s.</p>

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/EbsInfo.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <aws/ec2/model/EbsEncryptionSupport.h>
1111
#include <aws/ec2/model/EbsOptimizedInfo.h>
1212
#include <aws/ec2/model/EbsNvmeSupport.h>
13+
#include <aws/ec2/model/AttachmentLimitType.h>
1314
#include <utility>
1415

1516
namespace Aws
@@ -87,6 +88,34 @@ namespace Model
8788
inline void SetNvmeSupport(EbsNvmeSupport value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = value; }
8889
inline EbsInfo& WithNvmeSupport(EbsNvmeSupport value) { SetNvmeSupport(value); return *this;}
8990
///@}
91+
92+
///@{
93+
/**
94+
* <p>Indicates the maximum number of Amazon EBS volumes that can be attached to
95+
* the instance type. For more information, see <a
96+
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html">Amazon
97+
* EBS volume limits for Amazon EC2 instances</a> in the <i>Amazon EC2 User
98+
* Guide</i>.</p>
99+
*/
100+
inline int GetMaximumEbsAttachments() const { return m_maximumEbsAttachments; }
101+
inline bool MaximumEbsAttachmentsHasBeenSet() const { return m_maximumEbsAttachmentsHasBeenSet; }
102+
inline void SetMaximumEbsAttachments(int value) { m_maximumEbsAttachmentsHasBeenSet = true; m_maximumEbsAttachments = value; }
103+
inline EbsInfo& WithMaximumEbsAttachments(int value) { SetMaximumEbsAttachments(value); return *this;}
104+
///@}
105+
106+
///@{
107+
/**
108+
* <p>Indicates whether the instance type features a shared or dedicated Amazon EBS
109+
* volume attachment limit. For more information, see <a
110+
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html">Amazon
111+
* EBS volume limits for Amazon EC2 instances</a> in the <i>Amazon EC2 User
112+
* Guide</i>.</p>
113+
*/
114+
inline AttachmentLimitType GetAttachmentLimitType() const { return m_attachmentLimitType; }
115+
inline bool AttachmentLimitTypeHasBeenSet() const { return m_attachmentLimitTypeHasBeenSet; }
116+
inline void SetAttachmentLimitType(AttachmentLimitType value) { m_attachmentLimitTypeHasBeenSet = true; m_attachmentLimitType = value; }
117+
inline EbsInfo& WithAttachmentLimitType(AttachmentLimitType value) { SetAttachmentLimitType(value); return *this;}
118+
///@}
90119
private:
91120

92121
EbsOptimizedSupport m_ebsOptimizedSupport{EbsOptimizedSupport::NOT_SET};
@@ -100,6 +129,12 @@ namespace Model
100129

101130
EbsNvmeSupport m_nvmeSupport{EbsNvmeSupport::NOT_SET};
102131
bool m_nvmeSupportHasBeenSet = false;
132+
133+
int m_maximumEbsAttachments{0};
134+
bool m_maximumEbsAttachmentsHasBeenSet = false;
135+
136+
AttachmentLimitType m_attachmentLimitType{AttachmentLimitType::NOT_SET};
137+
bool m_attachmentLimitTypeHasBeenSet = false;
103138
};
104139

105140
} // namespace Model

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceBlockDeviceMapping.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ namespace Model
4242

4343
///@{
4444
/**
45-
* <p>The device name (for example, <code>/dev/sdh</code> or
46-
* <code>xvdh</code>).</p>
45+
* <p>The device name.</p>
4746
*/
4847
inline const Aws::String& GetDeviceName() const { return m_deviceName; }
4948
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceBlockDeviceMappingSpecification.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ namespace Model
4242

4343
///@{
4444
/**
45-
* <p>The device name (for example, <code>/dev/sdh</code> or
46-
* <code>xvdh</code>).</p>
45+
* <p>The device name. For available device names, see <a
46+
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html">Device
47+
* names for volumes</a>.</p>
4748
*/
4849
inline const Aws::String& GetDeviceName() const { return m_deviceName; }
4950
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,33 @@ namespace Model
974974
c8gn_metal_24xl,
975975
c8gn_metal_48xl,
976976
f2_6xlarge,
977-
p6e_gb200_36xlarge
977+
p6e_gb200_36xlarge,
978+
g6f_large,
979+
g6f_xlarge,
980+
g6f_2xlarge,
981+
g6f_4xlarge,
982+
gr6f_4xlarge,
983+
p5_4xlarge,
984+
r8i_large,
985+
r8i_xlarge,
986+
r8i_2xlarge,
987+
r8i_4xlarge,
988+
r8i_8xlarge,
989+
r8i_12xlarge,
990+
r8i_16xlarge,
991+
r8i_24xlarge,
992+
r8i_32xlarge,
993+
r8i_48xlarge,
994+
r8i_96xlarge,
995+
r8i_metal_48xl,
996+
r8i_metal_96xl,
997+
r8i_flex_large,
998+
r8i_flex_xlarge,
999+
r8i_flex_2xlarge,
1000+
r8i_flex_4xlarge,
1001+
r8i_flex_8xlarge,
1002+
r8i_flex_12xlarge,
1003+
r8i_flex_16xlarge
9781004
};
9791005

9801006
namespace InstanceTypeMapper

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/Placement.h

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ namespace Model
4242

4343
///@{
4444
/**
45-
* <p>The ID of the Availability Zone of the instance.</p> <p>Either
46-
* <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be
47-
* specified, but not both. If neither is specified, Amazon EC2 automatically
48-
* selects an Availability Zone based on the load balancing criteria for the
49-
* Region.</p> <p>This parameter is not supported for <a
45+
* <p>The ID of the Availability Zone of the instance.</p> <p>On input, you can
46+
* specify <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, but
47+
* not both. If you specify neither one, Amazon EC2 automatically selects an
48+
* Availability Zone for you.</p> <p>This parameter is not supported for <a
5049
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
5150
*/
5251
inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
@@ -75,8 +74,8 @@ namespace Model
7574

7675
///@{
7776
/**
78-
* <p>The name of the placement group that the instance is in. If you specify
79-
* <code>GroupName</code>, you can't specify <code>GroupId</code>.</p>
77+
* <p>The name of the placement group that the instance is in.</p> <p>On input, you
78+
* can specify <code>GroupId</code> or <code>GroupName</code>, but not both.</p>
8079
*/
8180
inline const Aws::String& GetGroupName() const { return m_groupName; }
8281
inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
@@ -147,8 +146,9 @@ namespace Model
147146
///@{
148147
/**
149148
* <p>The ARN of the host resource group in which to launch the instances.</p>
150-
* <p>If you specify this parameter, either omit the <b>Tenancy</b> parameter or
151-
* set it to <code>host</code>.</p> <p>This parameter is not supported for <a
149+
* <p>On input, if you specify this parameter, either omit the <b>Tenancy</b>
150+
* parameter or set it to <code>host</code>.</p> <p>This parameter is not supported
151+
* for <a
152152
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
153153
*/
154154
inline const Aws::String& GetHostResourceGroupArn() const { return m_hostResourceGroupArn; }
@@ -161,8 +161,8 @@ namespace Model
161161

162162
///@{
163163
/**
164-
* <p>The ID of the placement group that the instance is in. If you specify
165-
* <code>GroupId</code>, you can't specify <code>GroupName</code>.</p>
164+
* <p>The ID of the placement group that the instance is in.</p> <p>On input, you
165+
* can specify <code>GroupId</code> or <code>GroupName</code>, but not both.</p>
166166
*/
167167
inline const Aws::String& GetGroupId() const { return m_groupId; }
168168
inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
@@ -174,11 +174,10 @@ namespace Model
174174

175175
///@{
176176
/**
177-
* <p>The Availability Zone of the instance.</p> <p>Either
178-
* <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be
179-
* specified, but not both. If neither is specified, Amazon EC2 automatically
180-
* selects an Availability Zone based on the load balancing criteria for the
181-
* Region.</p> <p>This parameter is not supported for <a
177+
* <p>The Availability Zone of the instance.</p> <p>On input, you can specify
178+
* <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, but not both.
179+
* If you specify neither one, Amazon EC2 automatically selects an Availability
180+
* Zone for you.</p> <p>This parameter is not supported for <a
182181
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
183182
*/
184183
inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/ec2/model/AttachmentLimitType.h>
7+
#include <aws/core/utils/HashingUtils.h>
8+
#include <aws/core/Globals.h>
9+
#include <aws/core/utils/EnumParseOverflowContainer.h>
10+
11+
using namespace Aws::Utils;
12+
13+
14+
namespace Aws
15+
{
16+
namespace EC2
17+
{
18+
namespace Model
19+
{
20+
namespace AttachmentLimitTypeMapper
21+
{
22+
23+
static const int shared_HASH = HashingUtils::HashString("shared");
24+
static const int dedicated_HASH = HashingUtils::HashString("dedicated");
25+
26+
27+
AttachmentLimitType GetAttachmentLimitTypeForName(const Aws::String& name)
28+
{
29+
int hashCode = HashingUtils::HashString(name.c_str());
30+
if (hashCode == shared_HASH)
31+
{
32+
return AttachmentLimitType::shared;
33+
}
34+
else if (hashCode == dedicated_HASH)
35+
{
36+
return AttachmentLimitType::dedicated;
37+
}
38+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
39+
if(overflowContainer)
40+
{
41+
overflowContainer->StoreOverflow(hashCode, name);
42+
return static_cast<AttachmentLimitType>(hashCode);
43+
}
44+
45+
return AttachmentLimitType::NOT_SET;
46+
}
47+
48+
Aws::String GetNameForAttachmentLimitType(AttachmentLimitType enumValue)
49+
{
50+
switch(enumValue)
51+
{
52+
case AttachmentLimitType::NOT_SET:
53+
return {};
54+
case AttachmentLimitType::shared:
55+
return "shared";
56+
case AttachmentLimitType::dedicated:
57+
return "dedicated";
58+
default:
59+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
60+
if(overflowContainer)
61+
{
62+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
63+
}
64+
65+
return {};
66+
}
67+
}
68+
69+
} // namespace AttachmentLimitTypeMapper
70+
} // namespace Model
71+
} // namespace EC2
72+
} // namespace Aws

0 commit comments

Comments
 (0)