Skip to content

Commit f0948b6

Browse files
Documentation update for secondary indexes and Create_Table.
Support tagging Agents and adjust input field validations This launch includes 2 enhancements to SFTP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors. The GetControl API now surfaces a control's Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation. The TableOptimizer APIs in AWS Glue now return the DpuHours field in each TableOptimizerRun, providing clients visibility to the DPU-hours used for billing in managed Apache Iceberg table compaction optimization.
1 parent 837ef07 commit f0948b6

File tree

56 files changed

+2060
-1201
lines changed

Some content is hidden

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

56 files changed

+2060
-1201
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.543
1+
1.11.544

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/SftpConnectorConfig.h

+28-9
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,8 @@ namespace Model
2626

2727
/**
2828
* <p>Contains the details for an SFTP connector object. The connector object is
29-
* used for transferring files to and from a partner's SFTP server.</p>
30-
* <p>Because the <code>SftpConnectorConfig</code> data type is used for both
31-
* creating and updating SFTP connectors, its parameters,
32-
* <code>TrustedHostKeys</code> and <code>UserSecretId</code> are marked as not
33-
* required. This is a bit misleading, as they are not required when you are
34-
* updating an existing SFTP connector, but <i>are required</i> when you are
35-
* creating a new SFTP connector.</p> <p><h3>See Also:</h3> <a
29+
* used for transferring files to and from a partner's SFTP server.</p><p><h3>See
30+
* Also:</h3> <a
3631
* href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpConnectorConfig">AWS
3732
* API Reference</a></p>
3833
*/
@@ -49,7 +44,9 @@ namespace Model
4944
/**
5045
* <p>The identifier for the secret (in Amazon Web Services Secrets Manager) that
5146
* contains the SFTP user's private key, password, or both. The identifier must be
52-
* the Amazon Resource Name (ARN) of the secret.</p>
47+
* the Amazon Resource Name (ARN) of the secret.</p> <ul> <li> <p>Required
48+
* when creating an SFTP connector</p> </li> <li> <p>Optional when updating an
49+
* existing SFTP connector</p> </li> </ul>
5350
*/
5451
inline const Aws::String& GetUserSecretId() const { return m_userSecretId; }
5552
inline bool UserSecretIdHasBeenSet() const { return m_userSecretIdHasBeenSet; }
@@ -64,7 +61,11 @@ namespace Model
6461
* <p>The public portion of the host key, or keys, that are used to identify the
6562
* external server to which you are connecting. You can use the
6663
* <code>ssh-keyscan</code> command against the SFTP server to retrieve the
67-
* necessary key.</p> <p>The three standard SSH public key format elements are
64+
* necessary key.</p> <p> <code>TrustedHostKeys</code> is optional for
65+
* <code>CreateConnector</code>. If not provided, you can use
66+
* <code>TestConnection</code> to retrieve the server host key during the initial
67+
* connection attempt, and subsequently update the connector with the observed host
68+
* key.</p> <p>The three standard SSH public key format elements are
6869
* <code>&lt;key type&gt;</code>, <code>&lt;body base64&gt;</code>, and an optional
6970
* <code>&lt;comment&gt;</code>, with spaces between each element. Specify only the
7071
* <code>&lt;key type&gt;</code> and <code>&lt;body base64&gt;</code>: do not enter
@@ -92,13 +93,31 @@ namespace Model
9293
template<typename TrustedHostKeysT = Aws::String>
9394
SftpConnectorConfig& AddTrustedHostKeys(TrustedHostKeysT&& value) { m_trustedHostKeysHasBeenSet = true; m_trustedHostKeys.emplace_back(std::forward<TrustedHostKeysT>(value)); return *this; }
9495
///@}
96+
97+
///@{
98+
/**
99+
* <p>Specify the number of concurrent connections that your connector creates to
100+
* the remote server. The default value is <code>5</code> (this is also the maximum
101+
* value allowed).</p> <p>This parameter specifies the number of active connections
102+
* that your connector can establish with the remote server at the same time.
103+
* Increasing this value can enhance connector performance when transferring large
104+
* file batches by enabling parallel operations.</p>
105+
*/
106+
inline int GetMaxConcurrentConnections() const { return m_maxConcurrentConnections; }
107+
inline bool MaxConcurrentConnectionsHasBeenSet() const { return m_maxConcurrentConnectionsHasBeenSet; }
108+
inline void SetMaxConcurrentConnections(int value) { m_maxConcurrentConnectionsHasBeenSet = true; m_maxConcurrentConnections = value; }
109+
inline SftpConnectorConfig& WithMaxConcurrentConnections(int value) { SetMaxConcurrentConnections(value); return *this;}
110+
///@}
95111
private:
96112

97113
Aws::String m_userSecretId;
98114
bool m_userSecretIdHasBeenSet = false;
99115

100116
Aws::Vector<Aws::String> m_trustedHostKeys;
101117
bool m_trustedHostKeysHasBeenSet = false;
118+
119+
int m_maxConcurrentConnections{0};
120+
bool m_maxConcurrentConnectionsHasBeenSet = false;
102121
};
103122

104123
} // namespace Model
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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/awstransfer/Transfer_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace Transfer
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>Contains the details for an SFTP connector connection.</p><p><h3>See
28+
* Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpConnectorConnectionDetails">AWS
30+
* API Reference</a></p>
31+
*/
32+
class SftpConnectorConnectionDetails
33+
{
34+
public:
35+
AWS_TRANSFER_API SftpConnectorConnectionDetails() = default;
36+
AWS_TRANSFER_API SftpConnectorConnectionDetails(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_TRANSFER_API SftpConnectorConnectionDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
///@{
42+
/**
43+
* <p>The SSH public key of the remote SFTP server. This is returned during the
44+
* initial connection attempt when you call <code>TestConnection</code>. It allows
45+
* you to retrieve the valid server host key to update the connector when you are
46+
* unable to obtain it in advance.</p>
47+
*/
48+
inline const Aws::String& GetHostKey() const { return m_hostKey; }
49+
inline bool HostKeyHasBeenSet() const { return m_hostKeyHasBeenSet; }
50+
template<typename HostKeyT = Aws::String>
51+
void SetHostKey(HostKeyT&& value) { m_hostKeyHasBeenSet = true; m_hostKey = std::forward<HostKeyT>(value); }
52+
template<typename HostKeyT = Aws::String>
53+
SftpConnectorConnectionDetails& WithHostKey(HostKeyT&& value) { SetHostKey(std::forward<HostKeyT>(value)); return *this;}
54+
///@}
55+
private:
56+
57+
Aws::String m_hostKey;
58+
bool m_hostKeyHasBeenSet = false;
59+
};
60+
61+
} // namespace Model
62+
} // namespace Transfer
63+
} // namespace Aws

generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/TestConnectionResult.h

+15
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77
#include <aws/awstransfer/Transfer_EXPORTS.h>
88
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/awstransfer/model/SftpConnectorConnectionDetails.h>
910
#include <utility>
1011

1112
namespace Aws
@@ -75,6 +76,17 @@ namespace Model
7576
TestConnectionResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
7677
///@}
7778

79+
///@{
80+
/**
81+
* <p>Structure that contains the SFTP connector host key.</p>
82+
*/
83+
inline const SftpConnectorConnectionDetails& GetSftpConnectionDetails() const { return m_sftpConnectionDetails; }
84+
template<typename SftpConnectionDetailsT = SftpConnectorConnectionDetails>
85+
void SetSftpConnectionDetails(SftpConnectionDetailsT&& value) { m_sftpConnectionDetailsHasBeenSet = true; m_sftpConnectionDetails = std::forward<SftpConnectionDetailsT>(value); }
86+
template<typename SftpConnectionDetailsT = SftpConnectorConnectionDetails>
87+
TestConnectionResult& WithSftpConnectionDetails(SftpConnectionDetailsT&& value) { SetSftpConnectionDetails(std::forward<SftpConnectionDetailsT>(value)); return *this;}
88+
///@}
89+
7890
///@{
7991

8092
inline const Aws::String& GetRequestId() const { return m_requestId; }
@@ -94,6 +106,9 @@ namespace Model
94106
Aws::String m_statusMessage;
95107
bool m_statusMessageHasBeenSet = false;
96108

109+
SftpConnectorConnectionDetails m_sftpConnectionDetails;
110+
bool m_sftpConnectionDetailsHasBeenSet = false;
111+
97112
Aws::String m_requestId;
98113
bool m_requestIdHasBeenSet = false;
99114
};

generated/src/aws-cpp-sdk-awstransfer/source/model/SftpConnectorConfig.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ SftpConnectorConfig& SftpConnectorConfig::operator =(JsonView jsonValue)
3939
}
4040
m_trustedHostKeysHasBeenSet = true;
4141
}
42+
if(jsonValue.ValueExists("MaxConcurrentConnections"))
43+
{
44+
m_maxConcurrentConnections = jsonValue.GetInteger("MaxConcurrentConnections");
45+
m_maxConcurrentConnectionsHasBeenSet = true;
46+
}
4247
return *this;
4348
}
4449

@@ -63,6 +68,12 @@ JsonValue SftpConnectorConfig::Jsonize() const
6368

6469
}
6570

71+
if(m_maxConcurrentConnectionsHasBeenSet)
72+
{
73+
payload.WithInteger("MaxConcurrentConnections", m_maxConcurrentConnections);
74+
75+
}
76+
6677
return payload;
6778
}
6879

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/awstransfer/model/SftpConnectorConnectionDetails.h>
7+
#include <aws/core/utils/json/JsonSerializer.h>
8+
9+
#include <utility>
10+
11+
using namespace Aws::Utils::Json;
12+
using namespace Aws::Utils;
13+
14+
namespace Aws
15+
{
16+
namespace Transfer
17+
{
18+
namespace Model
19+
{
20+
21+
SftpConnectorConnectionDetails::SftpConnectorConnectionDetails(JsonView jsonValue)
22+
{
23+
*this = jsonValue;
24+
}
25+
26+
SftpConnectorConnectionDetails& SftpConnectorConnectionDetails::operator =(JsonView jsonValue)
27+
{
28+
if(jsonValue.ValueExists("HostKey"))
29+
{
30+
m_hostKey = jsonValue.GetString("HostKey");
31+
m_hostKeyHasBeenSet = true;
32+
}
33+
return *this;
34+
}
35+
36+
JsonValue SftpConnectorConnectionDetails::Jsonize() const
37+
{
38+
JsonValue payload;
39+
40+
if(m_hostKeyHasBeenSet)
41+
{
42+
payload.WithString("HostKey", m_hostKey);
43+
44+
}
45+
46+
return payload;
47+
}
48+
49+
} // namespace Model
50+
} // namespace Transfer
51+
} // namespace Aws

generated/src/aws-cpp-sdk-awstransfer/source/model/TestConnectionResult.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ TestConnectionResult& TestConnectionResult::operator =(const Aws::AmazonWebServi
4040
m_statusMessage = jsonValue.GetString("StatusMessage");
4141
m_statusMessageHasBeenSet = true;
4242
}
43+
if(jsonValue.ValueExists("SftpConnectionDetails"))
44+
{
45+
m_sftpConnectionDetails = jsonValue.GetObject("SftpConnectionDetails");
46+
m_sftpConnectionDetailsHasBeenSet = true;
47+
}
4348

4449
const auto& headers = result.GetHeaderValueCollection();
4550
const auto& requestIdIter = headers.find("x-amzn-requestid");
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/controlcatalog/ControlCatalog_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace ControlCatalog
13+
{
14+
namespace Model
15+
{
16+
enum class ControlSeverity
17+
{
18+
NOT_SET,
19+
LOW,
20+
MEDIUM,
21+
HIGH,
22+
CRITICAL
23+
};
24+
25+
namespace ControlSeverityMapper
26+
{
27+
AWS_CONTROLCATALOG_API ControlSeverity GetControlSeverityForName(const Aws::String& name);
28+
29+
AWS_CONTROLCATALOG_API Aws::String GetNameForControlSeverity(ControlSeverity value);
30+
} // namespace ControlSeverityMapper
31+
} // namespace Model
32+
} // namespace ControlCatalog
33+
} // namespace Aws

generated/src/aws-cpp-sdk-controlcatalog/include/aws/controlcatalog/model/ControlSummary.h

+62
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#pragma once
77
#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
88
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/controlcatalog/model/ControlBehavior.h>
10+
#include <aws/controlcatalog/model/ControlSeverity.h>
11+
#include <aws/controlcatalog/model/ImplementationSummary.h>
12+
#include <aws/core/utils/DateTime.h>
913
#include <utility>
1014

1115
namespace Aws
@@ -73,6 +77,52 @@ namespace Model
7377
template<typename DescriptionT = Aws::String>
7478
ControlSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
7579
///@}
80+
81+
///@{
82+
/**
83+
* <p>An enumerated type, with the following possible values:</p>
84+
*/
85+
inline ControlBehavior GetBehavior() const { return m_behavior; }
86+
inline bool BehaviorHasBeenSet() const { return m_behaviorHasBeenSet; }
87+
inline void SetBehavior(ControlBehavior value) { m_behaviorHasBeenSet = true; m_behavior = value; }
88+
inline ControlSummary& WithBehavior(ControlBehavior value) { SetBehavior(value); return *this;}
89+
///@}
90+
91+
///@{
92+
/**
93+
* <p>An enumerated type, with the following possible values:</p>
94+
*/
95+
inline ControlSeverity GetSeverity() const { return m_severity; }
96+
inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
97+
inline void SetSeverity(ControlSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
98+
inline ControlSummary& WithSeverity(ControlSeverity value) { SetSeverity(value); return *this;}
99+
///@}
100+
101+
///@{
102+
/**
103+
* <p>An object of type <code>ImplementationSummary</code> that describes how the
104+
* control is implemented.</p>
105+
*/
106+
inline const ImplementationSummary& GetImplementation() const { return m_implementation; }
107+
inline bool ImplementationHasBeenSet() const { return m_implementationHasBeenSet; }
108+
template<typename ImplementationT = ImplementationSummary>
109+
void SetImplementation(ImplementationT&& value) { m_implementationHasBeenSet = true; m_implementation = std::forward<ImplementationT>(value); }
110+
template<typename ImplementationT = ImplementationSummary>
111+
ControlSummary& WithImplementation(ImplementationT&& value) { SetImplementation(std::forward<ImplementationT>(value)); return *this;}
112+
///@}
113+
114+
///@{
115+
/**
116+
* <p>A timestamp that notes the time when the control was released (start of its
117+
* life) as a governance capability in Amazon Web Services.</p>
118+
*/
119+
inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
120+
inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
121+
template<typename CreateTimeT = Aws::Utils::DateTime>
122+
void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
123+
template<typename CreateTimeT = Aws::Utils::DateTime>
124+
ControlSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
125+
///@}
76126
private:
77127

78128
Aws::String m_arn;
@@ -83,6 +133,18 @@ namespace Model
83133

84134
Aws::String m_description;
85135
bool m_descriptionHasBeenSet = false;
136+
137+
ControlBehavior m_behavior{ControlBehavior::NOT_SET};
138+
bool m_behaviorHasBeenSet = false;
139+
140+
ControlSeverity m_severity{ControlSeverity::NOT_SET};
141+
bool m_severityHasBeenSet = false;
142+
143+
ImplementationSummary m_implementation;
144+
bool m_implementationHasBeenSet = false;
145+
146+
Aws::Utils::DateTime m_createTime{};
147+
bool m_createTimeHasBeenSet = false;
86148
};
87149

88150
} // namespace Model

0 commit comments

Comments
 (0)