Skip to content

Commit

Permalink
Amazon Connect expands search API coverage for additional resources. …
Browse files Browse the repository at this point in the history
…Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint)

Documentation update for IVS Chat API Reference.
Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions.
This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination.
Doc-only update for TimestreamQuery. Added guidance about the accepted valid value for the QueryPricingModel parameter.
Doc only update for Secrets Manager
Fix broken waiters for the acm-pca client.  Waiters broke in version 1.13.144 of the Boto3 SDK.
Set default endpoint for aws partition. Requests from all regions in aws partition will be forward to us-east-1 endpoint.
AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type.
SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family.
Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range.
Documentation update for WorkSpaces Thin Client.
  • Loading branch information
aws-sdk-cpp-automation committed Jul 18, 2024
1 parent 8d68be5 commit 22fc0b5
Show file tree
Hide file tree
Showing 225 changed files with 11,753 additions and 2,386 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.367
1.11.368
Original file line number Diff line number Diff line change
Expand Up @@ -4980,6 +4980,32 @@ namespace Connect
return SubmitAsync(&ConnectClient::ResumeContactRecording, request, handler, context);
}

/**
* <p>Searches AgentStatuses in an Amazon Connect instance, with optional
* filtering.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchAgentStatuses">AWS
* API Reference</a></p>
*/
virtual Model::SearchAgentStatusesOutcome SearchAgentStatuses(const Model::SearchAgentStatusesRequest& request) const;

/**
* A Callable wrapper for SearchAgentStatuses that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename SearchAgentStatusesRequestT = Model::SearchAgentStatusesRequest>
Model::SearchAgentStatusesOutcomeCallable SearchAgentStatusesCallable(const SearchAgentStatusesRequestT& request) const
{
return SubmitCallable(&ConnectClient::SearchAgentStatuses, request);
}

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

/**
* <p>Searches for available phone numbers that you can claim to your Amazon
* Connect instance or traffic distribution group. If the provided
Expand Down Expand Up @@ -5295,6 +5321,35 @@ namespace Connect
return SubmitAsync(&ConnectClient::SearchSecurityProfiles, request, handler, context);
}

/**
* <p>Searches UserHierarchyGroups in an Amazon Connect instance, with optional
* filtering.</p> <p>The UserHierarchyGroup with <code>"LevelId":
* "0"</code> is the foundation for building levels on top of an instance. It is
* not user-definable, nor is it visible in the UI.</p> <p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUserHierarchyGroups">AWS
* API Reference</a></p>
*/
virtual Model::SearchUserHierarchyGroupsOutcome SearchUserHierarchyGroups(const Model::SearchUserHierarchyGroupsRequest& request) const;

/**
* A Callable wrapper for SearchUserHierarchyGroups that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename SearchUserHierarchyGroupsRequestT = Model::SearchUserHierarchyGroupsRequest>
Model::SearchUserHierarchyGroupsOutcomeCallable SearchUserHierarchyGroupsCallable(const SearchUserHierarchyGroupsRequestT& request) const
{
return SubmitCallable(&ConnectClient::SearchUserHierarchyGroups, request);
}

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

/**
* <p>Searches users in an Amazon Connect instance, with optional filtering. </p>
* <p> <code>AfterContactWorkTimeLimit</code> is returned in milliseconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
#include <aws/connect/model/ReplicateInstanceResult.h>
#include <aws/connect/model/ResumeContactResult.h>
#include <aws/connect/model/ResumeContactRecordingResult.h>
#include <aws/connect/model/SearchAgentStatusesResult.h>
#include <aws/connect/model/SearchAvailablePhoneNumbersResult.h>
#include <aws/connect/model/SearchContactFlowModulesResult.h>
#include <aws/connect/model/SearchContactFlowsResult.h>
Expand All @@ -167,6 +168,7 @@
#include <aws/connect/model/SearchResourceTagsResult.h>
#include <aws/connect/model/SearchRoutingProfilesResult.h>
#include <aws/connect/model/SearchSecurityProfilesResult.h>
#include <aws/connect/model/SearchUserHierarchyGroupsResult.h>
#include <aws/connect/model/SearchUsersResult.h>
#include <aws/connect/model/SearchVocabulariesResult.h>
#include <aws/connect/model/SendChatIntegrationEventResult.h>
Expand Down Expand Up @@ -421,6 +423,7 @@ namespace Aws
class ReplicateInstanceRequest;
class ResumeContactRequest;
class ResumeContactRecordingRequest;
class SearchAgentStatusesRequest;
class SearchAvailablePhoneNumbersRequest;
class SearchContactFlowModulesRequest;
class SearchContactFlowsRequest;
Expand All @@ -433,6 +436,7 @@ namespace Aws
class SearchResourceTagsRequest;
class SearchRoutingProfilesRequest;
class SearchSecurityProfilesRequest;
class SearchUserHierarchyGroupsRequest;
class SearchUsersRequest;
class SearchVocabulariesRequest;
class SendChatIntegrationEventRequest;
Expand Down Expand Up @@ -677,6 +681,7 @@ namespace Aws
typedef Aws::Utils::Outcome<ReplicateInstanceResult, ConnectError> ReplicateInstanceOutcome;
typedef Aws::Utils::Outcome<ResumeContactResult, ConnectError> ResumeContactOutcome;
typedef Aws::Utils::Outcome<ResumeContactRecordingResult, ConnectError> ResumeContactRecordingOutcome;
typedef Aws::Utils::Outcome<SearchAgentStatusesResult, ConnectError> SearchAgentStatusesOutcome;
typedef Aws::Utils::Outcome<SearchAvailablePhoneNumbersResult, ConnectError> SearchAvailablePhoneNumbersOutcome;
typedef Aws::Utils::Outcome<SearchContactFlowModulesResult, ConnectError> SearchContactFlowModulesOutcome;
typedef Aws::Utils::Outcome<SearchContactFlowsResult, ConnectError> SearchContactFlowsOutcome;
Expand All @@ -689,6 +694,7 @@ namespace Aws
typedef Aws::Utils::Outcome<SearchResourceTagsResult, ConnectError> SearchResourceTagsOutcome;
typedef Aws::Utils::Outcome<SearchRoutingProfilesResult, ConnectError> SearchRoutingProfilesOutcome;
typedef Aws::Utils::Outcome<SearchSecurityProfilesResult, ConnectError> SearchSecurityProfilesOutcome;
typedef Aws::Utils::Outcome<SearchUserHierarchyGroupsResult, ConnectError> SearchUserHierarchyGroupsOutcome;
typedef Aws::Utils::Outcome<SearchUsersResult, ConnectError> SearchUsersOutcome;
typedef Aws::Utils::Outcome<SearchVocabulariesResult, ConnectError> SearchVocabulariesOutcome;
typedef Aws::Utils::Outcome<SendChatIntegrationEventResult, ConnectError> SendChatIntegrationEventOutcome;
Expand Down Expand Up @@ -933,6 +939,7 @@ namespace Aws
typedef std::future<ReplicateInstanceOutcome> ReplicateInstanceOutcomeCallable;
typedef std::future<ResumeContactOutcome> ResumeContactOutcomeCallable;
typedef std::future<ResumeContactRecordingOutcome> ResumeContactRecordingOutcomeCallable;
typedef std::future<SearchAgentStatusesOutcome> SearchAgentStatusesOutcomeCallable;
typedef std::future<SearchAvailablePhoneNumbersOutcome> SearchAvailablePhoneNumbersOutcomeCallable;
typedef std::future<SearchContactFlowModulesOutcome> SearchContactFlowModulesOutcomeCallable;
typedef std::future<SearchContactFlowsOutcome> SearchContactFlowsOutcomeCallable;
Expand All @@ -945,6 +952,7 @@ namespace Aws
typedef std::future<SearchResourceTagsOutcome> SearchResourceTagsOutcomeCallable;
typedef std::future<SearchRoutingProfilesOutcome> SearchRoutingProfilesOutcomeCallable;
typedef std::future<SearchSecurityProfilesOutcome> SearchSecurityProfilesOutcomeCallable;
typedef std::future<SearchUserHierarchyGroupsOutcome> SearchUserHierarchyGroupsOutcomeCallable;
typedef std::future<SearchUsersOutcome> SearchUsersOutcomeCallable;
typedef std::future<SearchVocabulariesOutcome> SearchVocabulariesOutcomeCallable;
typedef std::future<SendChatIntegrationEventOutcome> SendChatIntegrationEventOutcomeCallable;
Expand Down Expand Up @@ -1192,6 +1200,7 @@ namespace Aws
typedef std::function<void(const ConnectClient*, const Model::ReplicateInstanceRequest&, const Model::ReplicateInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReplicateInstanceResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::ResumeContactRequest&, const Model::ResumeContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ResumeContactResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::ResumeContactRecordingRequest&, const Model::ResumeContactRecordingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ResumeContactRecordingResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchAgentStatusesRequest&, const Model::SearchAgentStatusesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchAgentStatusesResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchAvailablePhoneNumbersRequest&, const Model::SearchAvailablePhoneNumbersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchAvailablePhoneNumbersResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchContactFlowModulesRequest&, const Model::SearchContactFlowModulesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchContactFlowModulesResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchContactFlowsRequest&, const Model::SearchContactFlowsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchContactFlowsResponseReceivedHandler;
Expand All @@ -1204,6 +1213,7 @@ namespace Aws
typedef std::function<void(const ConnectClient*, const Model::SearchResourceTagsRequest&, const Model::SearchResourceTagsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchResourceTagsResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchRoutingProfilesRequest&, const Model::SearchRoutingProfilesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchRoutingProfilesResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchSecurityProfilesRequest&, const Model::SearchSecurityProfilesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchSecurityProfilesResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchUserHierarchyGroupsRequest&, const Model::SearchUserHierarchyGroupsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchUserHierarchyGroupsResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchUsersRequest&, const Model::SearchUsersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchUsersResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchVocabulariesRequest&, const Model::SearchVocabulariesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchVocabulariesResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SendChatIntegrationEventRequest&, const Model::SendChatIntegrationEventOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SendChatIntegrationEventResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/connect/model/StringCondition.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Connect
{
namespace Model
{

/**
* <p>The search criteria to be used to return agent statuses.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentStatusSearchCriteria">AWS
* API Reference</a></p>
*/
class AgentStatusSearchCriteria
{
public:
AWS_CONNECT_API AgentStatusSearchCriteria();
AWS_CONNECT_API AgentStatusSearchCriteria(Aws::Utils::Json::JsonView jsonValue);
AWS_CONNECT_API AgentStatusSearchCriteria& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>A list of conditions which would be applied together with an <code>OR</code>
* condition.</p>
*/
inline const Aws::Vector<AgentStatusSearchCriteria>& GetOrConditions() const{ return m_orConditions; }
inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
inline void SetOrConditions(const Aws::Vector<AgentStatusSearchCriteria>& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; }
inline void SetOrConditions(Aws::Vector<AgentStatusSearchCriteria>&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); }
inline AgentStatusSearchCriteria& WithOrConditions(const Aws::Vector<AgentStatusSearchCriteria>& value) { SetOrConditions(value); return *this;}
inline AgentStatusSearchCriteria& WithOrConditions(Aws::Vector<AgentStatusSearchCriteria>&& value) { SetOrConditions(std::move(value)); return *this;}
inline AgentStatusSearchCriteria& AddOrConditions(const AgentStatusSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; }
inline AgentStatusSearchCriteria& AddOrConditions(AgentStatusSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>A leaf node condition which can be used to specify a string condition.</p>
* <p>The currently supported values for <code>FieldName</code> are
* <code>name</code>,&#x2028;&#x2028; <code>description</code>, <code>state</code>,
* <code>type</code>, <code>displayOrder</code>,&#x2028; and
* <code>resourceID</code>.</p>
*/
inline const Aws::Vector<AgentStatusSearchCriteria>& GetAndConditions() const{ return m_andConditions; }
inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
inline void SetAndConditions(const Aws::Vector<AgentStatusSearchCriteria>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
inline void SetAndConditions(Aws::Vector<AgentStatusSearchCriteria>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
inline AgentStatusSearchCriteria& WithAndConditions(const Aws::Vector<AgentStatusSearchCriteria>& value) { SetAndConditions(value); return *this;}
inline AgentStatusSearchCriteria& WithAndConditions(Aws::Vector<AgentStatusSearchCriteria>&& value) { SetAndConditions(std::move(value)); return *this;}
inline AgentStatusSearchCriteria& AddAndConditions(const AgentStatusSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
inline AgentStatusSearchCriteria& AddAndConditions(AgentStatusSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
///@}

///@{
/**
* <p>A leaf node condition which can be used to specify a string condition.</p>
* <p>The currently supported values for <code>FieldName</code> are
* <code>name</code>,&#x2028;&#x2028; <code>description</code>, <code>state</code>,
* <code>type</code>, <code>displayOrder</code>,&#x2028; and
* <code>resourceID</code>.</p>
*/
inline const StringCondition& GetStringCondition() const{ return m_stringCondition; }
inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; }
inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); }
inline AgentStatusSearchCriteria& WithStringCondition(const StringCondition& value) { SetStringCondition(value); return *this;}
inline AgentStatusSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;}
///@}
private:

Aws::Vector<AgentStatusSearchCriteria> m_orConditions;
bool m_orConditionsHasBeenSet = false;

Aws::Vector<AgentStatusSearchCriteria> m_andConditions;
bool m_andConditionsHasBeenSet = false;

StringCondition m_stringCondition;
bool m_stringConditionHasBeenSet = false;
};

} // namespace Model
} // namespace Connect
} // namespace Aws
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/connect/model/ControlPlaneAttributeFilter.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Connect
{
namespace Model
{

/**
* <p>Filters to be applied to search results.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentStatusSearchFilter">AWS
* API Reference</a></p>
*/
class AgentStatusSearchFilter
{
public:
AWS_CONNECT_API AgentStatusSearchFilter();
AWS_CONNECT_API AgentStatusSearchFilter(Aws::Utils::Json::JsonView jsonValue);
AWS_CONNECT_API AgentStatusSearchFilter& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>An object that can be used to specify Tag conditions inside the
* <code>SearchFilter</code>. This accepts an <code>OR</code> of <code>AND</code>
* (List of List) input where: </p> <ul> <li> <p>The top level list specifies
* conditions that need to be applied with <code>OR</code> operator.</p> </li> <li>
* <p>The inner list specifies conditions that need to be applied with
* <code>AND</code> operator.</p> </li> </ul>
*/
inline const ControlPlaneAttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; }
inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
inline void SetAttributeFilter(const ControlPlaneAttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; }
inline void SetAttributeFilter(ControlPlaneAttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); }
inline AgentStatusSearchFilter& WithAttributeFilter(const ControlPlaneAttributeFilter& value) { SetAttributeFilter(value); return *this;}
inline AgentStatusSearchFilter& WithAttributeFilter(ControlPlaneAttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;}
///@}
private:

ControlPlaneAttributeFilter m_attributeFilter;
bool m_attributeFilterHasBeenSet = false;
};

} // namespace Model
} // namespace Connect
} // namespace Aws
Loading

0 comments on commit 22fc0b5

Please sign in to comment.