Skip to content

Commit ed04abb

Browse files
author
aws-sdk-cpp-automation
committed
Security Hub now lets you opt-out of auto-enabling the defaults standards (CIS and FSBP) in accounts that are auto-enabled with Security Hub via Security Hub's integration with AWS Organizations.
This release adds the CRITICAL_ACTION_REQUIRED broker state and the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded. ActionRequired provides you with a code which you can use to find instructions in the Developer Guide on how to resolve the issue. Support to receive SQL query results in the form of a simplified JSON string. This enables developers using the new JSON string format to more easily convert it to an object using popular JSON string parsing libraries. Documentation updates for Amazon GameLift. This release adds SearchUsers API which can be used to search for users with a Connect Instance
1 parent 2e5ab77 commit ed04abb

File tree

99 files changed

+5499
-1157
lines changed

Some content is hidden

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

99 files changed

+5499
-1157
lines changed

aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
#include <aws/connect/model/ListUsersResult.h>
8484
#include <aws/connect/model/ResumeContactRecordingResult.h>
8585
#include <aws/connect/model/SearchAvailablePhoneNumbersResult.h>
86+
#include <aws/connect/model/SearchUsersResult.h>
8687
#include <aws/connect/model/SearchVocabulariesResult.h>
8788
#include <aws/connect/model/StartChatContactResult.h>
8889
#include <aws/connect/model/StartContactRecordingResult.h>
@@ -237,6 +238,7 @@ namespace Model
237238
class ReleasePhoneNumberRequest;
238239
class ResumeContactRecordingRequest;
239240
class SearchAvailablePhoneNumbersRequest;
241+
class SearchUsersRequest;
240242
class SearchVocabulariesRequest;
241243
class StartChatContactRequest;
242244
class StartContactRecordingRequest;
@@ -380,6 +382,7 @@ namespace Model
380382
typedef Aws::Utils::Outcome<Aws::NoResult, ConnectError> ReleasePhoneNumberOutcome;
381383
typedef Aws::Utils::Outcome<ResumeContactRecordingResult, ConnectError> ResumeContactRecordingOutcome;
382384
typedef Aws::Utils::Outcome<SearchAvailablePhoneNumbersResult, ConnectError> SearchAvailablePhoneNumbersOutcome;
385+
typedef Aws::Utils::Outcome<SearchUsersResult, ConnectError> SearchUsersOutcome;
383386
typedef Aws::Utils::Outcome<SearchVocabulariesResult, ConnectError> SearchVocabulariesOutcome;
384387
typedef Aws::Utils::Outcome<StartChatContactResult, ConnectError> StartChatContactOutcome;
385388
typedef Aws::Utils::Outcome<StartContactRecordingResult, ConnectError> StartContactRecordingOutcome;
@@ -523,6 +526,7 @@ namespace Model
523526
typedef std::future<ReleasePhoneNumberOutcome> ReleasePhoneNumberOutcomeCallable;
524527
typedef std::future<ResumeContactRecordingOutcome> ResumeContactRecordingOutcomeCallable;
525528
typedef std::future<SearchAvailablePhoneNumbersOutcome> SearchAvailablePhoneNumbersOutcomeCallable;
529+
typedef std::future<SearchUsersOutcome> SearchUsersOutcomeCallable;
526530
typedef std::future<SearchVocabulariesOutcome> SearchVocabulariesOutcomeCallable;
527531
typedef std::future<StartChatContactOutcome> StartChatContactOutcomeCallable;
528532
typedef std::future<StartContactRecordingOutcome> StartContactRecordingOutcomeCallable;
@@ -669,6 +673,7 @@ namespace Model
669673
typedef std::function<void(const ConnectClient*, const Model::ReleasePhoneNumberRequest&, const Model::ReleasePhoneNumberOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReleasePhoneNumberResponseReceivedHandler;
670674
typedef std::function<void(const ConnectClient*, const Model::ResumeContactRecordingRequest&, const Model::ResumeContactRecordingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ResumeContactRecordingResponseReceivedHandler;
671675
typedef std::function<void(const ConnectClient*, const Model::SearchAvailablePhoneNumbersRequest&, const Model::SearchAvailablePhoneNumbersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchAvailablePhoneNumbersResponseReceivedHandler;
676+
typedef std::function<void(const ConnectClient*, const Model::SearchUsersRequest&, const Model::SearchUsersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchUsersResponseReceivedHandler;
672677
typedef std::function<void(const ConnectClient*, const Model::SearchVocabulariesRequest&, const Model::SearchVocabulariesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchVocabulariesResponseReceivedHandler;
673678
typedef std::function<void(const ConnectClient*, const Model::StartChatContactRequest&, const Model::StartChatContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartChatContactResponseReceivedHandler;
674679
typedef std::function<void(const ConnectClient*, const Model::StartContactRecordingRequest&, const Model::StartContactRecordingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartContactRecordingResponseReceivedHandler;
@@ -3861,6 +3866,34 @@ namespace Model
38613866
*/
38623867
virtual void SearchAvailablePhoneNumbersAsync(const Model::SearchAvailablePhoneNumbersRequest& request, const SearchAvailablePhoneNumbersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
38633868

3869+
/**
3870+
* <p>Searches users in an Amazon Connect instance, with optional
3871+
* filtering.</p><p><h3>See Also:</h3> <a
3872+
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers">AWS
3873+
* API Reference</a></p>
3874+
*/
3875+
virtual Model::SearchUsersOutcome SearchUsers(const Model::SearchUsersRequest& request) const;
3876+
3877+
/**
3878+
* <p>Searches users in an Amazon Connect instance, with optional
3879+
* filtering.</p><p><h3>See Also:</h3> <a
3880+
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers">AWS
3881+
* API Reference</a></p>
3882+
*
3883+
* returns a future to the operation so that it can be executed in parallel to other requests.
3884+
*/
3885+
virtual Model::SearchUsersOutcomeCallable SearchUsersCallable(const Model::SearchUsersRequest& request) const;
3886+
3887+
/**
3888+
* <p>Searches users in an Amazon Connect instance, with optional
3889+
* filtering.</p><p><h3>See Also:</h3> <a
3890+
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers">AWS
3891+
* API Reference</a></p>
3892+
*
3893+
* Queues the request into a thread executor and triggers associated callback when operation has finished.
3894+
*/
3895+
virtual void SearchUsersAsync(const Model::SearchUsersRequest& request, const SearchUsersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
3896+
38643897
/**
38653898
* <p>Searches for vocabularies within a specific Amazon Connect instance using
38663899
* <code>State</code>, <code>NameStartsWith</code>, and
@@ -5519,6 +5552,7 @@ namespace Model
55195552
void ReleasePhoneNumberAsyncHelper(const Model::ReleasePhoneNumberRequest& request, const ReleasePhoneNumberResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
55205553
void ResumeContactRecordingAsyncHelper(const Model::ResumeContactRecordingRequest& request, const ResumeContactRecordingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
55215554
void SearchAvailablePhoneNumbersAsyncHelper(const Model::SearchAvailablePhoneNumbersRequest& request, const SearchAvailablePhoneNumbersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
5555+
void SearchUsersAsyncHelper(const Model::SearchUsersRequest& request, const SearchUsersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
55225556
void SearchVocabulariesAsyncHelper(const Model::SearchVocabulariesRequest& request, const SearchVocabulariesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
55235557
void StartChatContactAsyncHelper(const Model::StartChatContactRequest& request, const StartChatContactResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
55245558
void StartContactRecordingAsyncHelper(const Model::StartContactRecordingRequest& request, const StartContactRecordingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;

aws-cpp-sdk-connect/include/aws/connect/model/ClaimPhoneNumberResult.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,37 @@ namespace Model
3333

3434

3535
/**
36-
* <p>The identifier of the phone number.</p>
36+
* <p>A unique identifier for the phone number.</p>
3737
*/
3838
inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
3939

4040
/**
41-
* <p>The identifier of the phone number.</p>
41+
* <p>A unique identifier for the phone number.</p>
4242
*/
4343
inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberId = value; }
4444

4545
/**
46-
* <p>The identifier of the phone number.</p>
46+
* <p>A unique identifier for the phone number.</p>
4747
*/
4848
inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberId = std::move(value); }
4949

5050
/**
51-
* <p>The identifier of the phone number.</p>
51+
* <p>A unique identifier for the phone number.</p>
5252
*/
5353
inline void SetPhoneNumberId(const char* value) { m_phoneNumberId.assign(value); }
5454

5555
/**
56-
* <p>The identifier of the phone number.</p>
56+
* <p>A unique identifier for the phone number.</p>
5757
*/
5858
inline ClaimPhoneNumberResult& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
5959

6060
/**
61-
* <p>The identifier of the phone number.</p>
61+
* <p>A unique identifier for the phone number.</p>
6262
*/
6363
inline ClaimPhoneNumberResult& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
6464

6565
/**
66-
* <p>The identifier of the phone number.</p>
66+
* <p>A unique identifier for the phone number.</p>
6767
*/
6868
inline ClaimPhoneNumberResult& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
6969

aws-cpp-sdk-connect/include/aws/connect/model/ClaimedPhoneNumberSummary.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,42 +43,42 @@ namespace Model
4343

4444

4545
/**
46-
* <p>The identifier of the phone number.</p>
46+
* <p>A unique identifier for the phone number.</p>
4747
*/
4848
inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
4949

5050
/**
51-
* <p>The identifier of the phone number.</p>
51+
* <p>A unique identifier for the phone number.</p>
5252
*/
5353
inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
5454

5555
/**
56-
* <p>The identifier of the phone number.</p>
56+
* <p>A unique identifier for the phone number.</p>
5757
*/
5858
inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
5959

6060
/**
61-
* <p>The identifier of the phone number.</p>
61+
* <p>A unique identifier for the phone number.</p>
6262
*/
6363
inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
6464

6565
/**
66-
* <p>The identifier of the phone number.</p>
66+
* <p>A unique identifier for the phone number.</p>
6767
*/
6868
inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
6969

7070
/**
71-
* <p>The identifier of the phone number.</p>
71+
* <p>A unique identifier for the phone number.</p>
7272
*/
7373
inline ClaimedPhoneNumberSummary& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
7474

7575
/**
76-
* <p>The identifier of the phone number.</p>
76+
* <p>A unique identifier for the phone number.</p>
7777
*/
7878
inline ClaimedPhoneNumberSummary& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
7979

8080
/**
81-
* <p>The identifier of the phone number.</p>
81+
* <p>A unique identifier for the phone number.</p>
8282
*/
8383
inline ClaimedPhoneNumberSummary& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
8484

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
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/connect/Connect_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSVector.h>
9+
#include <aws/connect/model/TagCondition.h>
10+
#include <utility>
11+
12+
namespace Aws
13+
{
14+
namespace Utils
15+
{
16+
namespace Json
17+
{
18+
class JsonValue;
19+
class JsonView;
20+
} // namespace Json
21+
} // namespace Utils
22+
namespace Connect
23+
{
24+
namespace Model
25+
{
26+
27+
/**
28+
* <p>An object that can be used to specify Tag conditions inside the
29+
* <code>SearchFilter</code>. This accepts an <code>OR</code> of <code>AND</code>
30+
* (List of List) input where: </p> <ul> <li> <p>Top level list specifies
31+
* conditions that need to be applied with <code>OR</code> operator</p> </li> <li>
32+
* <p>Inner list specifies conditions that need to be applied with <code>AND</code>
33+
* operator.</p> </li> </ul><p><h3>See Also:</h3> <a
34+
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ControlPlaneTagFilter">AWS
35+
* API Reference</a></p>
36+
*/
37+
class AWS_CONNECT_API ControlPlaneTagFilter
38+
{
39+
public:
40+
ControlPlaneTagFilter();
41+
ControlPlaneTagFilter(Aws::Utils::Json::JsonView jsonValue);
42+
ControlPlaneTagFilter& operator=(Aws::Utils::Json::JsonView jsonValue);
43+
Aws::Utils::Json::JsonValue Jsonize() const;
44+
45+
46+
/**
47+
* <p>A list of conditions which would be applied together with an <code>OR</code>
48+
* condition. </p>
49+
*/
50+
inline const Aws::Vector<Aws::Vector<TagCondition>>& GetOrConditions() const{ return m_orConditions; }
51+
52+
/**
53+
* <p>A list of conditions which would be applied together with an <code>OR</code>
54+
* condition. </p>
55+
*/
56+
inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
57+
58+
/**
59+
* <p>A list of conditions which would be applied together with an <code>OR</code>
60+
* condition. </p>
61+
*/
62+
inline void SetOrConditions(const Aws::Vector<Aws::Vector<TagCondition>>& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; }
63+
64+
/**
65+
* <p>A list of conditions which would be applied together with an <code>OR</code>
66+
* condition. </p>
67+
*/
68+
inline void SetOrConditions(Aws::Vector<Aws::Vector<TagCondition>>&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); }
69+
70+
/**
71+
* <p>A list of conditions which would be applied together with an <code>OR</code>
72+
* condition. </p>
73+
*/
74+
inline ControlPlaneTagFilter& WithOrConditions(const Aws::Vector<Aws::Vector<TagCondition>>& value) { SetOrConditions(value); return *this;}
75+
76+
/**
77+
* <p>A list of conditions which would be applied together with an <code>OR</code>
78+
* condition. </p>
79+
*/
80+
inline ControlPlaneTagFilter& WithOrConditions(Aws::Vector<Aws::Vector<TagCondition>>&& value) { SetOrConditions(std::move(value)); return *this;}
81+
82+
/**
83+
* <p>A list of conditions which would be applied together with an <code>OR</code>
84+
* condition. </p>
85+
*/
86+
inline ControlPlaneTagFilter& AddOrConditions(const Aws::Vector<TagCondition>& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; }
87+
88+
/**
89+
* <p>A list of conditions which would be applied together with an <code>OR</code>
90+
* condition. </p>
91+
*/
92+
inline ControlPlaneTagFilter& AddOrConditions(Aws::Vector<TagCondition>&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; }
93+
94+
95+
/**
96+
* <p>A list of conditions which would be applied together with an <code>AND</code>
97+
* condition.</p>
98+
*/
99+
inline const Aws::Vector<TagCondition>& GetAndConditions() const{ return m_andConditions; }
100+
101+
/**
102+
* <p>A list of conditions which would be applied together with an <code>AND</code>
103+
* condition.</p>
104+
*/
105+
inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
106+
107+
/**
108+
* <p>A list of conditions which would be applied together with an <code>AND</code>
109+
* condition.</p>
110+
*/
111+
inline void SetAndConditions(const Aws::Vector<TagCondition>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
112+
113+
/**
114+
* <p>A list of conditions which would be applied together with an <code>AND</code>
115+
* condition.</p>
116+
*/
117+
inline void SetAndConditions(Aws::Vector<TagCondition>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
118+
119+
/**
120+
* <p>A list of conditions which would be applied together with an <code>AND</code>
121+
* condition.</p>
122+
*/
123+
inline ControlPlaneTagFilter& WithAndConditions(const Aws::Vector<TagCondition>& value) { SetAndConditions(value); return *this;}
124+
125+
/**
126+
* <p>A list of conditions which would be applied together with an <code>AND</code>
127+
* condition.</p>
128+
*/
129+
inline ControlPlaneTagFilter& WithAndConditions(Aws::Vector<TagCondition>&& value) { SetAndConditions(std::move(value)); return *this;}
130+
131+
/**
132+
* <p>A list of conditions which would be applied together with an <code>AND</code>
133+
* condition.</p>
134+
*/
135+
inline ControlPlaneTagFilter& AddAndConditions(const TagCondition& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
136+
137+
/**
138+
* <p>A list of conditions which would be applied together with an <code>AND</code>
139+
* condition.</p>
140+
*/
141+
inline ControlPlaneTagFilter& AddAndConditions(TagCondition&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
142+
143+
144+
/**
145+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
146+
*/
147+
inline const TagCondition& GetTagCondition() const{ return m_tagCondition; }
148+
149+
/**
150+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
151+
*/
152+
inline bool TagConditionHasBeenSet() const { return m_tagConditionHasBeenSet; }
153+
154+
/**
155+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
156+
*/
157+
inline void SetTagCondition(const TagCondition& value) { m_tagConditionHasBeenSet = true; m_tagCondition = value; }
158+
159+
/**
160+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
161+
*/
162+
inline void SetTagCondition(TagCondition&& value) { m_tagConditionHasBeenSet = true; m_tagCondition = std::move(value); }
163+
164+
/**
165+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
166+
*/
167+
inline ControlPlaneTagFilter& WithTagCondition(const TagCondition& value) { SetTagCondition(value); return *this;}
168+
169+
/**
170+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
171+
*/
172+
inline ControlPlaneTagFilter& WithTagCondition(TagCondition&& value) { SetTagCondition(std::move(value)); return *this;}
173+
174+
private:
175+
176+
Aws::Vector<Aws::Vector<TagCondition>> m_orConditions;
177+
bool m_orConditionsHasBeenSet;
178+
179+
Aws::Vector<TagCondition> m_andConditions;
180+
bool m_andConditionsHasBeenSet;
181+
182+
TagCondition m_tagCondition;
183+
bool m_tagConditionHasBeenSet;
184+
};
185+
186+
} // namespace Model
187+
} // namespace Connect
188+
} // namespace Aws

0 commit comments

Comments
 (0)