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

Commit 63f0f98

Browse files
author
aws-sdk-cpp-automation
committed
DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
Documentation updates and improvements. This release enable customers to use their own KMS keys to encrypt output files when they submit a batch transform job.
1 parent 9d8d71d commit 63f0f98

28 files changed

+1215
-781
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING "1.9.138"
6+
#define AWS_SDK_VERSION_STRING "1.9.139"
77
#define AWS_SDK_VERSION_MAJOR 1
88
#define AWS_SDK_VERSION_MINOR 9
9-
#define AWS_SDK_VERSION_PATCH 138
9+
#define AWS_SDK_VERSION_PATCH 139

aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceNetworkInterfaceAssociation.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,47 @@ namespace Model
8181
inline InstanceNetworkInterfaceAssociation& WithCarrierIp(const char* value) { SetCarrierIp(value); return *this;}
8282

8383

84+
/**
85+
* <p>The customer-owned IP address associated with the network interface.</p>
86+
*/
87+
inline const Aws::String& GetCustomerOwnedIp() const{ return m_customerOwnedIp; }
88+
89+
/**
90+
* <p>The customer-owned IP address associated with the network interface.</p>
91+
*/
92+
inline bool CustomerOwnedIpHasBeenSet() const { return m_customerOwnedIpHasBeenSet; }
93+
94+
/**
95+
* <p>The customer-owned IP address associated with the network interface.</p>
96+
*/
97+
inline void SetCustomerOwnedIp(const Aws::String& value) { m_customerOwnedIpHasBeenSet = true; m_customerOwnedIp = value; }
98+
99+
/**
100+
* <p>The customer-owned IP address associated with the network interface.</p>
101+
*/
102+
inline void SetCustomerOwnedIp(Aws::String&& value) { m_customerOwnedIpHasBeenSet = true; m_customerOwnedIp = std::move(value); }
103+
104+
/**
105+
* <p>The customer-owned IP address associated with the network interface.</p>
106+
*/
107+
inline void SetCustomerOwnedIp(const char* value) { m_customerOwnedIpHasBeenSet = true; m_customerOwnedIp.assign(value); }
108+
109+
/**
110+
* <p>The customer-owned IP address associated with the network interface.</p>
111+
*/
112+
inline InstanceNetworkInterfaceAssociation& WithCustomerOwnedIp(const Aws::String& value) { SetCustomerOwnedIp(value); return *this;}
113+
114+
/**
115+
* <p>The customer-owned IP address associated with the network interface.</p>
116+
*/
117+
inline InstanceNetworkInterfaceAssociation& WithCustomerOwnedIp(Aws::String&& value) { SetCustomerOwnedIp(std::move(value)); return *this;}
118+
119+
/**
120+
* <p>The customer-owned IP address associated with the network interface.</p>
121+
*/
122+
inline InstanceNetworkInterfaceAssociation& WithCustomerOwnedIp(const char* value) { SetCustomerOwnedIp(value); return *this;}
123+
124+
84125
/**
85126
* <p>The ID of the owner of the Elastic IP address.</p>
86127
*/
@@ -216,6 +257,9 @@ namespace Model
216257
Aws::String m_carrierIp;
217258
bool m_carrierIpHasBeenSet;
218259

260+
Aws::String m_customerOwnedIp;
261+
bool m_customerOwnedIpHasBeenSet;
262+
219263
Aws::String m_ipOwnerId;
220264
bool m_ipOwnerIdHasBeenSet;
221265

aws-cpp-sdk-ec2/source/model/InstanceNetworkInterfaceAssociation.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Model
2222

2323
InstanceNetworkInterfaceAssociation::InstanceNetworkInterfaceAssociation() :
2424
m_carrierIpHasBeenSet(false),
25+
m_customerOwnedIpHasBeenSet(false),
2526
m_ipOwnerIdHasBeenSet(false),
2627
m_publicDnsNameHasBeenSet(false),
2728
m_publicIpHasBeenSet(false)
@@ -30,6 +31,7 @@ InstanceNetworkInterfaceAssociation::InstanceNetworkInterfaceAssociation() :
3031

3132
InstanceNetworkInterfaceAssociation::InstanceNetworkInterfaceAssociation(const XmlNode& xmlNode) :
3233
m_carrierIpHasBeenSet(false),
34+
m_customerOwnedIpHasBeenSet(false),
3335
m_ipOwnerIdHasBeenSet(false),
3436
m_publicDnsNameHasBeenSet(false),
3537
m_publicIpHasBeenSet(false)
@@ -49,6 +51,12 @@ InstanceNetworkInterfaceAssociation& InstanceNetworkInterfaceAssociation::operat
4951
m_carrierIp = Aws::Utils::Xml::DecodeEscapedXmlText(carrierIpNode.GetText());
5052
m_carrierIpHasBeenSet = true;
5153
}
54+
XmlNode customerOwnedIpNode = resultNode.FirstChild("customerOwnedIp");
55+
if(!customerOwnedIpNode.IsNull())
56+
{
57+
m_customerOwnedIp = Aws::Utils::Xml::DecodeEscapedXmlText(customerOwnedIpNode.GetText());
58+
m_customerOwnedIpHasBeenSet = true;
59+
}
5260
XmlNode ipOwnerIdNode = resultNode.FirstChild("ipOwnerId");
5361
if(!ipOwnerIdNode.IsNull())
5462
{
@@ -79,6 +87,11 @@ void InstanceNetworkInterfaceAssociation::OutputToStream(Aws::OStream& oStream,
7987
oStream << location << index << locationValue << ".CarrierIp=" << StringUtils::URLEncode(m_carrierIp.c_str()) << "&";
8088
}
8189

90+
if(m_customerOwnedIpHasBeenSet)
91+
{
92+
oStream << location << index << locationValue << ".CustomerOwnedIp=" << StringUtils::URLEncode(m_customerOwnedIp.c_str()) << "&";
93+
}
94+
8295
if(m_ipOwnerIdHasBeenSet)
8396
{
8497
oStream << location << index << locationValue << ".IpOwnerId=" << StringUtils::URLEncode(m_ipOwnerId.c_str()) << "&";
@@ -102,6 +115,10 @@ void InstanceNetworkInterfaceAssociation::OutputToStream(Aws::OStream& oStream,
102115
{
103116
oStream << location << ".CarrierIp=" << StringUtils::URLEncode(m_carrierIp.c_str()) << "&";
104117
}
118+
if(m_customerOwnedIpHasBeenSet)
119+
{
120+
oStream << location << ".CustomerOwnedIp=" << StringUtils::URLEncode(m_customerOwnedIp.c_str()) << "&";
121+
}
105122
if(m_ipOwnerIdHasBeenSet)
106123
{
107124
oStream << location << ".IpOwnerId=" << StringUtils::URLEncode(m_ipOwnerId.c_str()) << "&";

0 commit comments

Comments
 (0)