Skip to content

Commit

Permalink
Documentation updates for AWS Key Management Service
Browse files Browse the repository at this point in the history
Increase number of fields that can be included in CaseEventIncludedData from 50 to 200
Adds relatedContactId field to StartOutboundVoiceContact API input. Introduces PauseContact API and ResumeContact API for Task contacts. Adds pause duration, number of pauses, timestamps for last paused and resumed events to DescribeContact API response. Adds new Rule type and new Rule action.
This release 1) introduces a new API: DeleteCompilationJob , and 2) adds InfraCheckConfig for Create/Describe training job API
Updates Amazon RDS documentation by adding code examples
Updated Cloud9 API documentation for AL2023 release
  • Loading branch information
aws-sdk-cpp-automation committed Dec 15, 2023
1 parent 3ed4bd1 commit 3a53686
Show file tree
Hide file tree
Showing 180 changed files with 7,593 additions and 3,387 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.225
1.11.226

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4394,6 +4394,31 @@ namespace Connect
return SubmitAsync(&ConnectClient::MonitorContact, request, handler, context);
}

/**
* <p>Allows pausing an ongoing task contact.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PauseContact">AWS
* API Reference</a></p>
*/
virtual Model::PauseContactOutcome PauseContact(const Model::PauseContactRequest& request) const;

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

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

/**
* <p>Changes the current status of a user or agent in Amazon Connect. If the agent
* is currently handling a contact, this sets the agent's next status.</p> <p>For
Expand Down Expand Up @@ -4503,6 +4528,32 @@ namespace Connect
return SubmitAsync(&ConnectClient::ReplicateInstance, request, handler, context);
}

/**
* <p>Allows resuming a task contact in a paused state.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContact">AWS
* API Reference</a></p>
*/
virtual Model::ResumeContactOutcome ResumeContact(const Model::ResumeContactRequest& request) const;

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

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

/**
* <p>When a contact is being recorded, and the recording has been suspended using
* SuspendContactRecording, this API resumes recording whatever recording is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ enum class ConnectErrors
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////

CONTACT_FLOW_NOT_PUBLISHED= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CONFLICT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CONTACT_FLOW_NOT_PUBLISHED,
CONTACT_NOT_FOUND,
DESTINATION_NOT_ALLOWED,
DUPLICATE_RESOURCE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,10 @@
#include <aws/connect/model/ListViewVersionsResult.h>
#include <aws/connect/model/ListViewsResult.h>
#include <aws/connect/model/MonitorContactResult.h>
#include <aws/connect/model/PauseContactResult.h>
#include <aws/connect/model/PutUserStatusResult.h>
#include <aws/connect/model/ReplicateInstanceResult.h>
#include <aws/connect/model/ResumeContactResult.h>
#include <aws/connect/model/ResumeContactRecordingResult.h>
#include <aws/connect/model/SearchAvailablePhoneNumbersResult.h>
#include <aws/connect/model/SearchHoursOfOperationsResult.h>
Expand Down Expand Up @@ -382,9 +384,11 @@ namespace Aws
class ListViewVersionsRequest;
class ListViewsRequest;
class MonitorContactRequest;
class PauseContactRequest;
class PutUserStatusRequest;
class ReleasePhoneNumberRequest;
class ReplicateInstanceRequest;
class ResumeContactRequest;
class ResumeContactRecordingRequest;
class SearchAvailablePhoneNumbersRequest;
class SearchHoursOfOperationsRequest;
Expand Down Expand Up @@ -614,9 +618,11 @@ namespace Aws
typedef Aws::Utils::Outcome<ListViewVersionsResult, ConnectError> ListViewVersionsOutcome;
typedef Aws::Utils::Outcome<ListViewsResult, ConnectError> ListViewsOutcome;
typedef Aws::Utils::Outcome<MonitorContactResult, ConnectError> MonitorContactOutcome;
typedef Aws::Utils::Outcome<PauseContactResult, ConnectError> PauseContactOutcome;
typedef Aws::Utils::Outcome<PutUserStatusResult, ConnectError> PutUserStatusOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, ConnectError> ReleasePhoneNumberOutcome;
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<SearchAvailablePhoneNumbersResult, ConnectError> SearchAvailablePhoneNumbersOutcome;
typedef Aws::Utils::Outcome<SearchHoursOfOperationsResult, ConnectError> SearchHoursOfOperationsOutcome;
Expand Down Expand Up @@ -846,9 +852,11 @@ namespace Aws
typedef std::future<ListViewVersionsOutcome> ListViewVersionsOutcomeCallable;
typedef std::future<ListViewsOutcome> ListViewsOutcomeCallable;
typedef std::future<MonitorContactOutcome> MonitorContactOutcomeCallable;
typedef std::future<PauseContactOutcome> PauseContactOutcomeCallable;
typedef std::future<PutUserStatusOutcome> PutUserStatusOutcomeCallable;
typedef std::future<ReleasePhoneNumberOutcome> ReleasePhoneNumberOutcomeCallable;
typedef std::future<ReplicateInstanceOutcome> ReplicateInstanceOutcomeCallable;
typedef std::future<ResumeContactOutcome> ResumeContactOutcomeCallable;
typedef std::future<ResumeContactRecordingOutcome> ResumeContactRecordingOutcomeCallable;
typedef std::future<SearchAvailablePhoneNumbersOutcome> SearchAvailablePhoneNumbersOutcomeCallable;
typedef std::future<SearchHoursOfOperationsOutcome> SearchHoursOfOperationsOutcomeCallable;
Expand Down Expand Up @@ -1081,9 +1089,11 @@ namespace Aws
typedef std::function<void(const ConnectClient*, const Model::ListViewVersionsRequest&, const Model::ListViewVersionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListViewVersionsResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::ListViewsRequest&, const Model::ListViewsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListViewsResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::MonitorContactRequest&, const Model::MonitorContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > MonitorContactResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::PauseContactRequest&, const Model::PauseContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PauseContactResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::PutUserStatusRequest&, const Model::PutUserStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutUserStatusResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::ReleasePhoneNumberRequest&, const Model::ReleasePhoneNumberOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReleasePhoneNumberResponseReceivedHandler;
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::SearchAvailablePhoneNumbersRequest&, const Model::SearchAvailablePhoneNumbersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchAvailablePhoneNumbersResponseReceivedHandler;
typedef std::function<void(const ConnectClient*, const Model::SearchHoursOfOperationsRequest&, const Model::SearchHoursOfOperationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SearchHoursOfOperationsResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ namespace Model
CREATE_TASK,
ASSIGN_CONTACT_CATEGORY,
GENERATE_EVENTBRIDGE_EVENT,
SEND_NOTIFICATION
SEND_NOTIFICATION,
CREATE_CASE,
UPDATE_CASE,
END_ASSOCIATED_TASKS
};

namespace ActionTypeMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,37 @@ namespace Model
*/
inline AgentInfo& WithConnectedToAgentTimestamp(Aws::Utils::DateTime&& value) { SetConnectedToAgentTimestamp(std::move(value)); return *this;}


/**
* <p>Agent pause duration for a contact in seconds.</p>
*/
inline int GetAgentPauseDurationInSeconds() const{ return m_agentPauseDurationInSeconds; }

/**
* <p>Agent pause duration for a contact in seconds.</p>
*/
inline bool AgentPauseDurationInSecondsHasBeenSet() const { return m_agentPauseDurationInSecondsHasBeenSet; }

/**
* <p>Agent pause duration for a contact in seconds.</p>
*/
inline void SetAgentPauseDurationInSeconds(int value) { m_agentPauseDurationInSecondsHasBeenSet = true; m_agentPauseDurationInSeconds = value; }

/**
* <p>Agent pause duration for a contact in seconds.</p>
*/
inline AgentInfo& WithAgentPauseDurationInSeconds(int value) { SetAgentPauseDurationInSeconds(value); return *this;}

private:

Aws::String m_id;
bool m_idHasBeenSet = false;

Aws::Utils::DateTime m_connectedToAgentTimestamp;
bool m_connectedToAgentTimestampHasBeenSet = false;

int m_agentPauseDurationInSeconds;
bool m_agentPauseDurationInSecondsHasBeenSet = false;
};

} // namespace Model
Expand Down
116 changes: 116 additions & 0 deletions generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Contact.h
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,110 @@ namespace Model
inline Contact& WithLastUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateTimestamp(std::move(value)); return *this;}


/**
* <p>The timestamp when the contact was last paused.</p>
*/
inline const Aws::Utils::DateTime& GetLastPausedTimestamp() const{ return m_lastPausedTimestamp; }

/**
* <p>The timestamp when the contact was last paused.</p>
*/
inline bool LastPausedTimestampHasBeenSet() const { return m_lastPausedTimestampHasBeenSet; }

/**
* <p>The timestamp when the contact was last paused.</p>
*/
inline void SetLastPausedTimestamp(const Aws::Utils::DateTime& value) { m_lastPausedTimestampHasBeenSet = true; m_lastPausedTimestamp = value; }

/**
* <p>The timestamp when the contact was last paused.</p>
*/
inline void SetLastPausedTimestamp(Aws::Utils::DateTime&& value) { m_lastPausedTimestampHasBeenSet = true; m_lastPausedTimestamp = std::move(value); }

/**
* <p>The timestamp when the contact was last paused.</p>
*/
inline Contact& WithLastPausedTimestamp(const Aws::Utils::DateTime& value) { SetLastPausedTimestamp(value); return *this;}

/**
* <p>The timestamp when the contact was last paused.</p>
*/
inline Contact& WithLastPausedTimestamp(Aws::Utils::DateTime&& value) { SetLastPausedTimestamp(std::move(value)); return *this;}


/**
* <p>The timestamp when the contact was last resumed.</p>
*/
inline const Aws::Utils::DateTime& GetLastResumedTimestamp() const{ return m_lastResumedTimestamp; }

/**
* <p>The timestamp when the contact was last resumed.</p>
*/
inline bool LastResumedTimestampHasBeenSet() const { return m_lastResumedTimestampHasBeenSet; }

/**
* <p>The timestamp when the contact was last resumed.</p>
*/
inline void SetLastResumedTimestamp(const Aws::Utils::DateTime& value) { m_lastResumedTimestampHasBeenSet = true; m_lastResumedTimestamp = value; }

/**
* <p>The timestamp when the contact was last resumed.</p>
*/
inline void SetLastResumedTimestamp(Aws::Utils::DateTime&& value) { m_lastResumedTimestampHasBeenSet = true; m_lastResumedTimestamp = std::move(value); }

/**
* <p>The timestamp when the contact was last resumed.</p>
*/
inline Contact& WithLastResumedTimestamp(const Aws::Utils::DateTime& value) { SetLastResumedTimestamp(value); return *this;}

/**
* <p>The timestamp when the contact was last resumed.</p>
*/
inline Contact& WithLastResumedTimestamp(Aws::Utils::DateTime&& value) { SetLastResumedTimestamp(std::move(value)); return *this;}


/**
* <p>Total pause count for a contact.</p>
*/
inline int GetTotalPauseCount() const{ return m_totalPauseCount; }

/**
* <p>Total pause count for a contact.</p>
*/
inline bool TotalPauseCountHasBeenSet() const { return m_totalPauseCountHasBeenSet; }

/**
* <p>Total pause count for a contact.</p>
*/
inline void SetTotalPauseCount(int value) { m_totalPauseCountHasBeenSet = true; m_totalPauseCount = value; }

/**
* <p>Total pause count for a contact.</p>
*/
inline Contact& WithTotalPauseCount(int value) { SetTotalPauseCount(value); return *this;}


/**
* <p>Total pause duration for a contact in seconds.</p>
*/
inline int GetTotalPauseDurationInSeconds() const{ return m_totalPauseDurationInSeconds; }

/**
* <p>Total pause duration for a contact in seconds.</p>
*/
inline bool TotalPauseDurationInSecondsHasBeenSet() const { return m_totalPauseDurationInSecondsHasBeenSet; }

/**
* <p>Total pause duration for a contact in seconds.</p>
*/
inline void SetTotalPauseDurationInSeconds(int value) { m_totalPauseDurationInSecondsHasBeenSet = true; m_totalPauseDurationInSeconds = value; }

/**
* <p>Total pause duration for a contact in seconds.</p>
*/
inline Contact& WithTotalPauseDurationInSeconds(int value) { SetTotalPauseDurationInSeconds(value); return *this;}


/**
* <p>The timestamp, in Unix epoch time format, at which to start running the
* inbound flow. </p>
Expand Down Expand Up @@ -821,6 +925,18 @@ namespace Model
Aws::Utils::DateTime m_lastUpdateTimestamp;
bool m_lastUpdateTimestampHasBeenSet = false;

Aws::Utils::DateTime m_lastPausedTimestamp;
bool m_lastPausedTimestampHasBeenSet = false;

Aws::Utils::DateTime m_lastResumedTimestamp;
bool m_lastResumedTimestampHasBeenSet = false;

int m_totalPauseCount;
bool m_totalPauseCountHasBeenSet = false;

int m_totalPauseDurationInSeconds;
bool m_totalPauseDurationInSecondsHasBeenSet = false;

Aws::Utils::DateTime m_scheduledTimestamp;
bool m_scheduledTimestampHasBeenSet = false;

Expand Down
Loading

0 comments on commit 3a53686

Please sign in to comment.