Skip to content

Commit d2b97c5

Browse files
author
aws-sdk-cpp-automation
committed
Amazon MSK has added a new API that allows you to update all the brokers in the cluster to the specified type.
This release adds a new parameter ResourceARNList to Resource Groups Tagging api GetResources api to allow customers retrieve tag data for specific resources. This release of ASFF adds a new Action object and a new resource details object - AwsSsmPatchCompliance. It also adds several new attributes for the AwsEc2NetworkInterface resource type.
1 parent 48c3e1c commit d2b97c5

File tree

82 files changed

+9409
-1925
lines changed

Some content is hidden

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

82 files changed

+9409
-1925
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING "1.8.127"
6+
#define AWS_SDK_VERSION_STRING "1.8.128"

aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <aws/kafka/model/ListTagsForResourceResult.h>
3434
#include <aws/kafka/model/RebootBrokerResult.h>
3535
#include <aws/kafka/model/UpdateBrokerCountResult.h>
36+
#include <aws/kafka/model/UpdateBrokerTypeResult.h>
3637
#include <aws/kafka/model/UpdateBrokerStorageResult.h>
3738
#include <aws/kafka/model/UpdateConfigurationResult.h>
3839
#include <aws/kafka/model/UpdateClusterConfigurationResult.h>
@@ -102,6 +103,7 @@ namespace Model
102103
class TagResourceRequest;
103104
class UntagResourceRequest;
104105
class UpdateBrokerCountRequest;
106+
class UpdateBrokerTypeRequest;
105107
class UpdateBrokerStorageRequest;
106108
class UpdateConfigurationRequest;
107109
class UpdateClusterConfigurationRequest;
@@ -132,6 +134,7 @@ namespace Model
132134
typedef Aws::Utils::Outcome<Aws::NoResult, KafkaError> TagResourceOutcome;
133135
typedef Aws::Utils::Outcome<Aws::NoResult, KafkaError> UntagResourceOutcome;
134136
typedef Aws::Utils::Outcome<UpdateBrokerCountResult, KafkaError> UpdateBrokerCountOutcome;
137+
typedef Aws::Utils::Outcome<UpdateBrokerTypeResult, KafkaError> UpdateBrokerTypeOutcome;
135138
typedef Aws::Utils::Outcome<UpdateBrokerStorageResult, KafkaError> UpdateBrokerStorageOutcome;
136139
typedef Aws::Utils::Outcome<UpdateConfigurationResult, KafkaError> UpdateConfigurationOutcome;
137140
typedef Aws::Utils::Outcome<UpdateClusterConfigurationResult, KafkaError> UpdateClusterConfigurationOutcome;
@@ -162,6 +165,7 @@ namespace Model
162165
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
163166
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
164167
typedef std::future<UpdateBrokerCountOutcome> UpdateBrokerCountOutcomeCallable;
168+
typedef std::future<UpdateBrokerTypeOutcome> UpdateBrokerTypeOutcomeCallable;
165169
typedef std::future<UpdateBrokerStorageOutcome> UpdateBrokerStorageOutcomeCallable;
166170
typedef std::future<UpdateConfigurationOutcome> UpdateConfigurationOutcomeCallable;
167171
typedef std::future<UpdateClusterConfigurationOutcome> UpdateClusterConfigurationOutcomeCallable;
@@ -195,6 +199,7 @@ namespace Model
195199
typedef std::function<void(const KafkaClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
196200
typedef std::function<void(const KafkaClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
197201
typedef std::function<void(const KafkaClient*, const Model::UpdateBrokerCountRequest&, const Model::UpdateBrokerCountOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateBrokerCountResponseReceivedHandler;
202+
typedef std::function<void(const KafkaClient*, const Model::UpdateBrokerTypeRequest&, const Model::UpdateBrokerTypeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateBrokerTypeResponseReceivedHandler;
198203
typedef std::function<void(const KafkaClient*, const Model::UpdateBrokerStorageRequest&, const Model::UpdateBrokerStorageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateBrokerStorageResponseReceivedHandler;
199204
typedef std::function<void(const KafkaClient*, const Model::UpdateConfigurationRequest&, const Model::UpdateConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateConfigurationResponseReceivedHandler;
200205
typedef std::function<void(const KafkaClient*, const Model::UpdateClusterConfigurationRequest&, const Model::UpdateClusterConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateClusterConfigurationResponseReceivedHandler;
@@ -1041,6 +1046,40 @@ namespace Model
10411046
*/
10421047
virtual void UpdateBrokerCountAsync(const Model::UpdateBrokerCountRequest& request, const UpdateBrokerCountResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
10431048

1049+
/**
1050+
*
1051+
<p>Updates EC2 instance type.</p>
1052+
<p><h3>See Also:</h3>
1053+
* <a
1054+
* href="http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerType">AWS
1055+
* API Reference</a></p>
1056+
*/
1057+
virtual Model::UpdateBrokerTypeOutcome UpdateBrokerType(const Model::UpdateBrokerTypeRequest& request) const;
1058+
1059+
/**
1060+
*
1061+
<p>Updates EC2 instance type.</p>
1062+
<p><h3>See Also:</h3>
1063+
* <a
1064+
* href="http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerType">AWS
1065+
* API Reference</a></p>
1066+
*
1067+
* returns a future to the operation so that it can be executed in parallel to other requests.
1068+
*/
1069+
virtual Model::UpdateBrokerTypeOutcomeCallable UpdateBrokerTypeCallable(const Model::UpdateBrokerTypeRequest& request) const;
1070+
1071+
/**
1072+
*
1073+
<p>Updates EC2 instance type.</p>
1074+
<p><h3>See Also:</h3>
1075+
* <a
1076+
* href="http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerType">AWS
1077+
* API Reference</a></p>
1078+
*
1079+
* Queues the request into a thread executor and triggers associated callback when operation has finished.
1080+
*/
1081+
virtual void UpdateBrokerTypeAsync(const Model::UpdateBrokerTypeRequest& request, const UpdateBrokerTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1082+
10441083
/**
10451084
*
10461085
<p>Updates the EBS storage associated with MSK brokers.</p>
@@ -1245,6 +1284,7 @@ namespace Model
12451284
void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
12461285
void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
12471286
void UpdateBrokerCountAsyncHelper(const Model::UpdateBrokerCountRequest& request, const UpdateBrokerCountResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1287+
void UpdateBrokerTypeAsyncHelper(const Model::UpdateBrokerTypeRequest& request, const UpdateBrokerTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
12481288
void UpdateBrokerStorageAsyncHelper(const Model::UpdateBrokerStorageRequest& request, const UpdateBrokerStorageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
12491289
void UpdateConfigurationAsyncHelper(const Model::UpdateConfigurationRequest& request, const UpdateConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
12501290
void UpdateClusterConfigurationAsyncHelper(const Model::UpdateClusterConfigurationRequest& request, const UpdateClusterConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;

aws-cpp-sdk-kafka/include/aws/kafka/model/MutableClusterInfo.h

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,63 @@ namespace Model
356356

357357
inline MutableClusterInfo& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
358358

359+
360+
/**
361+
*
362+
<p>Information about the Amazon MSK broker type.</p>
363+
364+
*/
365+
inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
366+
367+
/**
368+
*
369+
<p>Information about the Amazon MSK broker type.</p>
370+
371+
*/
372+
inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
373+
374+
/**
375+
*
376+
<p>Information about the Amazon MSK broker type.</p>
377+
378+
*/
379+
inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
380+
381+
/**
382+
*
383+
<p>Information about the Amazon MSK broker type.</p>
384+
385+
*/
386+
inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
387+
388+
/**
389+
*
390+
<p>Information about the Amazon MSK broker type.</p>
391+
392+
*/
393+
inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
394+
395+
/**
396+
*
397+
<p>Information about the Amazon MSK broker type.</p>
398+
399+
*/
400+
inline MutableClusterInfo& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
401+
402+
/**
403+
*
404+
<p>Information about the Amazon MSK broker type.</p>
405+
406+
*/
407+
inline MutableClusterInfo& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
408+
409+
/**
410+
*
411+
<p>Information about the Amazon MSK broker type.</p>
412+
413+
*/
414+
inline MutableClusterInfo& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
415+
359416
private:
360417

361418
Aws::Vector<BrokerEBSVolumeInfo> m_brokerEBSVolumeInfo;
@@ -378,6 +435,9 @@ namespace Model
378435

379436
LoggingInfo m_loggingInfo;
380437
bool m_loggingInfoHasBeenSet;
438+
439+
Aws::String m_instanceType;
440+
bool m_instanceTypeHasBeenSet;
381441
};
382442

383443
} // namespace Model

0 commit comments

Comments
 (0)