Skip to content

Commit

Permalink
Add support for cluster insights, new EKS capability that surfaces po…
Browse files Browse the repository at this point in the history
…tentially upgrade impacting issues.

This release introduces configurable clipboard, allowing admins to specify the maximum length of text that can be copied by the users from their device to the remote session and vice-versa.
This release 1) introduces a new API: GetOrganizationStatistics , and 2) adds a new UsageStatisticType TOP_ACCOUNTS_BY_FEATURE for GetUsageStatistics API
Amazon Route 53 now supports the Canada West (Calgary) Region (ca-west-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region.
Adds the ability to configure time shifting on MediaTailor channels using the TimeShiftConfiguration field
Adding Confirmation Status and Execution Status to GetTransaction Response.
  • Loading branch information
aws-sdk-cpp-automation committed Dec 20, 2023
1 parent 453db79 commit 9abd257
Show file tree
Hide file tree
Showing 100 changed files with 7,546 additions and 449 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.228
1.11.229
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,73 @@ namespace Model
*/
inline UserSetting& WithPermission(Permission&& value) { SetPermission(std::move(value)); return *this;}


/**
* <p>Specifies the number of characters that can be copied by end users from the
* local device to the remote session, and to the local device from the remote
* session.</p> <p>This can be specified only for the
* <code>CLIPBOARD_COPY_FROM_LOCAL_DEVICE</code> and
* <code>CLIPBOARD_COPY_TO_LOCAL_DEVICE</code> actions.</p> <p>This defaults to
* 20,971,520 (20 MB) when unspecified and the permission is <code>ENABLED</code>.
* This can't be specified when the permission is <code>DISABLED</code>. </p>
* <p>This can only be specified for AlwaysOn and OnDemand fleets. The attribute is
* not supported on Elastic fleets.</p> <p>The value can be between 1 and
* 20,971,520 (20 MB).</p>
*/
inline int GetMaximumLength() const{ return m_maximumLength; }

/**
* <p>Specifies the number of characters that can be copied by end users from the
* local device to the remote session, and to the local device from the remote
* session.</p> <p>This can be specified only for the
* <code>CLIPBOARD_COPY_FROM_LOCAL_DEVICE</code> and
* <code>CLIPBOARD_COPY_TO_LOCAL_DEVICE</code> actions.</p> <p>This defaults to
* 20,971,520 (20 MB) when unspecified and the permission is <code>ENABLED</code>.
* This can't be specified when the permission is <code>DISABLED</code>. </p>
* <p>This can only be specified for AlwaysOn and OnDemand fleets. The attribute is
* not supported on Elastic fleets.</p> <p>The value can be between 1 and
* 20,971,520 (20 MB).</p>
*/
inline bool MaximumLengthHasBeenSet() const { return m_maximumLengthHasBeenSet; }

/**
* <p>Specifies the number of characters that can be copied by end users from the
* local device to the remote session, and to the local device from the remote
* session.</p> <p>This can be specified only for the
* <code>CLIPBOARD_COPY_FROM_LOCAL_DEVICE</code> and
* <code>CLIPBOARD_COPY_TO_LOCAL_DEVICE</code> actions.</p> <p>This defaults to
* 20,971,520 (20 MB) when unspecified and the permission is <code>ENABLED</code>.
* This can't be specified when the permission is <code>DISABLED</code>. </p>
* <p>This can only be specified for AlwaysOn and OnDemand fleets. The attribute is
* not supported on Elastic fleets.</p> <p>The value can be between 1 and
* 20,971,520 (20 MB).</p>
*/
inline void SetMaximumLength(int value) { m_maximumLengthHasBeenSet = true; m_maximumLength = value; }

/**
* <p>Specifies the number of characters that can be copied by end users from the
* local device to the remote session, and to the local device from the remote
* session.</p> <p>This can be specified only for the
* <code>CLIPBOARD_COPY_FROM_LOCAL_DEVICE</code> and
* <code>CLIPBOARD_COPY_TO_LOCAL_DEVICE</code> actions.</p> <p>This defaults to
* 20,971,520 (20 MB) when unspecified and the permission is <code>ENABLED</code>.
* This can't be specified when the permission is <code>DISABLED</code>. </p>
* <p>This can only be specified for AlwaysOn and OnDemand fleets. The attribute is
* not supported on Elastic fleets.</p> <p>The value can be between 1 and
* 20,971,520 (20 MB).</p>
*/
inline UserSetting& WithMaximumLength(int value) { SetMaximumLength(value); return *this;}

private:

Action m_action;
bool m_actionHasBeenSet = false;

Permission m_permission;
bool m_permissionHasBeenSet = false;

int m_maximumLength;
bool m_maximumLengthHasBeenSet = false;
};

} // namespace Model
Expand Down
21 changes: 19 additions & 2 deletions generated/src/aws-cpp-sdk-appstream/source/model/UserSetting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,19 @@ UserSetting::UserSetting() :
m_action(Action::NOT_SET),
m_actionHasBeenSet(false),
m_permission(Permission::NOT_SET),
m_permissionHasBeenSet(false)
m_permissionHasBeenSet(false),
m_maximumLength(0),
m_maximumLengthHasBeenSet(false)
{
}

UserSetting::UserSetting(JsonView jsonValue) :
m_action(Action::NOT_SET),
m_actionHasBeenSet(false),
m_permission(Permission::NOT_SET),
m_permissionHasBeenSet(false)
m_permissionHasBeenSet(false),
m_maximumLength(0),
m_maximumLengthHasBeenSet(false)
{
*this = jsonValue;
}
Expand All @@ -51,6 +55,13 @@ UserSetting& UserSetting::operator =(JsonView jsonValue)
m_permissionHasBeenSet = true;
}

if(jsonValue.ValueExists("MaximumLength"))
{
m_maximumLength = jsonValue.GetInteger("MaximumLength");

m_maximumLengthHasBeenSet = true;
}

return *this;
}

Expand All @@ -68,6 +79,12 @@ JsonValue UserSetting::Jsonize() const
payload.WithString("Permission", PermissionMapper::GetNameForPermission(m_permission));
}

if(m_maximumLengthHasBeenSet)
{
payload.WithInteger("MaximumLength", m_maximumLength);

}

return payload;
}

Expand Down
53 changes: 53 additions & 0 deletions generated/src/aws-cpp-sdk-eks/include/aws/eks/EKSClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,32 @@ namespace EKS
return SubmitAsync(&EKSClient::DescribeIdentityProviderConfig, request, handler, context);
}

/**
* <p>Returns details about an insight that you specify using its ID.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsight">AWS
* API Reference</a></p>
*/
virtual Model::DescribeInsightOutcome DescribeInsight(const Model::DescribeInsightRequest& request) const;

/**
* A Callable wrapper for DescribeInsight that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename DescribeInsightRequestT = Model::DescribeInsightRequest>
Model::DescribeInsightOutcomeCallable DescribeInsightCallable(const DescribeInsightRequestT& request) const
{
return SubmitCallable(&EKSClient::DescribeInsight, request);
}

/**
* An Async wrapper for DescribeInsight that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename DescribeInsightRequestT = Model::DescribeInsightRequest>
void DescribeInsightAsync(const DescribeInsightRequestT& request, const DescribeInsightResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&EKSClient::DescribeInsight, request, handler, context);
}

/**
* <p>Describes a managed node group.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeNodegroup">AWS
Expand Down Expand Up @@ -1253,6 +1279,33 @@ namespace EKS
return SubmitAsync(&EKSClient::ListIdentityProviderConfigs, request, handler, context);
}

/**
* <p>Returns a list of all insights checked for against the specified cluster. You
* can filter which insights are returned by category, associated Kubernetes
* version, and status.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListInsights">AWS
* API Reference</a></p>
*/
virtual Model::ListInsightsOutcome ListInsights(const Model::ListInsightsRequest& request) const;

/**
* A Callable wrapper for ListInsights that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListInsightsRequestT = Model::ListInsightsRequest>
Model::ListInsightsOutcomeCallable ListInsightsCallable(const ListInsightsRequestT& request) const
{
return SubmitCallable(&EKSClient::ListInsights, request);
}

/**
* An Async wrapper for ListInsights that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListInsightsRequestT = Model::ListInsightsRequest>
void ListInsightsAsync(const ListInsightsRequestT& request, const ListInsightsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&EKSClient::ListInsights, request, handler, context);
}

/**
* <p>Lists the managed node groups associated with the specified cluster in your
* Amazon Web Services account in the specified Amazon Web Services Region.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <aws/eks/model/DescribeEksAnywhereSubscriptionResult.h>
#include <aws/eks/model/DescribeFargateProfileResult.h>
#include <aws/eks/model/DescribeIdentityProviderConfigResult.h>
#include <aws/eks/model/DescribeInsightResult.h>
#include <aws/eks/model/DescribeNodegroupResult.h>
#include <aws/eks/model/DescribePodIdentityAssociationResult.h>
#include <aws/eks/model/DescribeUpdateResult.h>
Expand All @@ -57,6 +58,7 @@
#include <aws/eks/model/ListEksAnywhereSubscriptionsResult.h>
#include <aws/eks/model/ListFargateProfilesResult.h>
#include <aws/eks/model/ListIdentityProviderConfigsResult.h>
#include <aws/eks/model/ListInsightsResult.h>
#include <aws/eks/model/ListNodegroupsResult.h>
#include <aws/eks/model/ListPodIdentityAssociationsResult.h>
#include <aws/eks/model/ListTagsForResourceResult.h>
Expand Down Expand Up @@ -138,6 +140,7 @@ namespace Aws
class DescribeEksAnywhereSubscriptionRequest;
class DescribeFargateProfileRequest;
class DescribeIdentityProviderConfigRequest;
class DescribeInsightRequest;
class DescribeNodegroupRequest;
class DescribePodIdentityAssociationRequest;
class DescribeUpdateRequest;
Expand All @@ -151,6 +154,7 @@ namespace Aws
class ListEksAnywhereSubscriptionsRequest;
class ListFargateProfilesRequest;
class ListIdentityProviderConfigsRequest;
class ListInsightsRequest;
class ListNodegroupsRequest;
class ListPodIdentityAssociationsRequest;
class ListTagsForResourceRequest;
Expand Down Expand Up @@ -195,6 +199,7 @@ namespace Aws
typedef Aws::Utils::Outcome<DescribeEksAnywhereSubscriptionResult, EKSError> DescribeEksAnywhereSubscriptionOutcome;
typedef Aws::Utils::Outcome<DescribeFargateProfileResult, EKSError> DescribeFargateProfileOutcome;
typedef Aws::Utils::Outcome<DescribeIdentityProviderConfigResult, EKSError> DescribeIdentityProviderConfigOutcome;
typedef Aws::Utils::Outcome<DescribeInsightResult, EKSError> DescribeInsightOutcome;
typedef Aws::Utils::Outcome<DescribeNodegroupResult, EKSError> DescribeNodegroupOutcome;
typedef Aws::Utils::Outcome<DescribePodIdentityAssociationResult, EKSError> DescribePodIdentityAssociationOutcome;
typedef Aws::Utils::Outcome<DescribeUpdateResult, EKSError> DescribeUpdateOutcome;
Expand All @@ -208,6 +213,7 @@ namespace Aws
typedef Aws::Utils::Outcome<ListEksAnywhereSubscriptionsResult, EKSError> ListEksAnywhereSubscriptionsOutcome;
typedef Aws::Utils::Outcome<ListFargateProfilesResult, EKSError> ListFargateProfilesOutcome;
typedef Aws::Utils::Outcome<ListIdentityProviderConfigsResult, EKSError> ListIdentityProviderConfigsOutcome;
typedef Aws::Utils::Outcome<ListInsightsResult, EKSError> ListInsightsOutcome;
typedef Aws::Utils::Outcome<ListNodegroupsResult, EKSError> ListNodegroupsOutcome;
typedef Aws::Utils::Outcome<ListPodIdentityAssociationsResult, EKSError> ListPodIdentityAssociationsOutcome;
typedef Aws::Utils::Outcome<ListTagsForResourceResult, EKSError> ListTagsForResourceOutcome;
Expand Down Expand Up @@ -252,6 +258,7 @@ namespace Aws
typedef std::future<DescribeEksAnywhereSubscriptionOutcome> DescribeEksAnywhereSubscriptionOutcomeCallable;
typedef std::future<DescribeFargateProfileOutcome> DescribeFargateProfileOutcomeCallable;
typedef std::future<DescribeIdentityProviderConfigOutcome> DescribeIdentityProviderConfigOutcomeCallable;
typedef std::future<DescribeInsightOutcome> DescribeInsightOutcomeCallable;
typedef std::future<DescribeNodegroupOutcome> DescribeNodegroupOutcomeCallable;
typedef std::future<DescribePodIdentityAssociationOutcome> DescribePodIdentityAssociationOutcomeCallable;
typedef std::future<DescribeUpdateOutcome> DescribeUpdateOutcomeCallable;
Expand All @@ -265,6 +272,7 @@ namespace Aws
typedef std::future<ListEksAnywhereSubscriptionsOutcome> ListEksAnywhereSubscriptionsOutcomeCallable;
typedef std::future<ListFargateProfilesOutcome> ListFargateProfilesOutcomeCallable;
typedef std::future<ListIdentityProviderConfigsOutcome> ListIdentityProviderConfigsOutcomeCallable;
typedef std::future<ListInsightsOutcome> ListInsightsOutcomeCallable;
typedef std::future<ListNodegroupsOutcome> ListNodegroupsOutcomeCallable;
typedef std::future<ListPodIdentityAssociationsOutcome> ListPodIdentityAssociationsOutcomeCallable;
typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
Expand Down Expand Up @@ -312,6 +320,7 @@ namespace Aws
typedef std::function<void(const EKSClient*, const Model::DescribeEksAnywhereSubscriptionRequest&, const Model::DescribeEksAnywhereSubscriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeEksAnywhereSubscriptionResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::DescribeFargateProfileRequest&, const Model::DescribeFargateProfileOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeFargateProfileResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::DescribeIdentityProviderConfigRequest&, const Model::DescribeIdentityProviderConfigOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeIdentityProviderConfigResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::DescribeInsightRequest&, const Model::DescribeInsightOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeInsightResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::DescribeNodegroupRequest&, const Model::DescribeNodegroupOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeNodegroupResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::DescribePodIdentityAssociationRequest&, const Model::DescribePodIdentityAssociationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribePodIdentityAssociationResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::DescribeUpdateRequest&, const Model::DescribeUpdateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeUpdateResponseReceivedHandler;
Expand All @@ -325,6 +334,7 @@ namespace Aws
typedef std::function<void(const EKSClient*, const Model::ListEksAnywhereSubscriptionsRequest&, const Model::ListEksAnywhereSubscriptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListEksAnywhereSubscriptionsResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::ListFargateProfilesRequest&, const Model::ListFargateProfilesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListFargateProfilesResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::ListIdentityProviderConfigsRequest&, const Model::ListIdentityProviderConfigsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListIdentityProviderConfigsResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::ListInsightsRequest&, const Model::ListInsightsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListInsightsResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::ListNodegroupsRequest&, const Model::ListNodegroupsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListNodegroupsResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::ListPodIdentityAssociationsRequest&, const Model::ListPodIdentityAssociationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListPodIdentityAssociationsResponseReceivedHandler;
typedef std::function<void(const EKSClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
Expand Down
30 changes: 30 additions & 0 deletions generated/src/aws-cpp-sdk-eks/include/aws/eks/model/Category.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/eks/EKS_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace EKS
{
namespace Model
{
enum class Category
{
NOT_SET,
UPGRADE_READINESS
};

namespace CategoryMapper
{
AWS_EKS_API Category GetCategoryForName(const Aws::String& name);

AWS_EKS_API Aws::String GetNameForCategory(Category value);
} // namespace CategoryMapper
} // namespace Model
} // namespace EKS
} // namespace Aws
Loading

0 comments on commit 9abd257

Please sign in to comment.