Skip to content

Commit d55bd18

Browse files
author
aws-sdk-cpp-automation
committed
Chime VoiceConnector will now support ValidateE911Address which will allow customers to prevalidate their addresses included in their SIP invites for emergency calling
Adding doc updates for OpsCenter support in Service Setting actions. This release adds ListConformancePackComplianceScores API to support the new compliance score feature, which provides a percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack. This release adds an exceeded quota exception to several APIs. We added a ServiceQuotaExceededException for the following operations: CreateAssessment, CreateControl, CreateAssessmentFramework, and UpdateAssessmentStatus. Added CreateWorkspaceImage API to create a new WorkSpace image from an existing WorkSpace. Amazon Polly adds new English and Hindi voice - Kajal. Kajal is available as Neural voice only. Global Accelerator now supports dual-stack accelerators, enabling support for IPv4 and IPv6 traffic. The SDK for the StartChangeSet API will now automatically set and use an idempotency token in the ClientRequestToken request parameter if the customer does not provide it.
1 parent 4ecc02e commit d55bd18

File tree

97 files changed

+6767
-1608
lines changed

Some content is hidden

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

97 files changed

+6767
-1608
lines changed

aws-cpp-sdk-auditmanager/include/aws/auditmanager/AuditManagerErrors.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ enum class AuditManagerErrors
4747
UNKNOWN = 100,
4848
///////////////////////////////////////////////////////////////////////////////////////////
4949

50-
INTERNAL_SERVER= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1
50+
INTERNAL_SERVER= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51+
SERVICE_QUOTA_EXCEEDED
5152
};
5253

5354
class AWS_AUDITMANAGER_API AuditManagerError : public Aws::Client::AWSError<AuditManagerErrors>

aws-cpp-sdk-auditmanager/include/aws/auditmanager/model/SourceKeyword.h

+12-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,18 @@ namespace Model
2626

2727
/**
2828
* <p> The keyword to search for in CloudTrail logs, Config rules, Security Hub
29-
* checks, and Amazon Web Services API names. </p><p><h3>See Also:</h3> <a
29+
* checks, and Amazon Web Services API names. </p> <p> To learn more about the
30+
* supported keywords that you can use when mapping a control data source, see the
31+
* following pages in the <i>Audit Manager User Guide</i>:</p> <ul> <li> <p> <a
32+
* href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html">Config
33+
* rules supported by Audit Manager</a> </p> </li> <li> <p> <a
34+
* href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html">Security
35+
* Hub controls supported by Audit Manager</a> </p> </li> <li> <p> <a
36+
* href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html">API
37+
* calls supported by Audit Manager</a> </p> </li> <li> <p> <a
38+
* href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html">CloudTrail
39+
* event names supported by Audit Manager</a> </p> </li> </ul><p><h3>See Also:</h3>
40+
* <a
3041
* href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/SourceKeyword">AWS
3142
* API Reference</a></p>
3243
*/

aws-cpp-sdk-auditmanager/source/AuditManagerErrors.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,19 @@ template<> AWS_AUDITMANAGER_API ValidationException AuditManagerError::GetModele
3333
namespace AuditManagerErrorMapper
3434
{
3535

36+
static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException");
3637
static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException");
3738

3839

3940
AWSError<CoreErrors> GetErrorForName(const char* errorName)
4041
{
4142
int hashCode = HashingUtils::HashString(errorName);
4243

43-
if (hashCode == INTERNAL_SERVER_HASH)
44+
if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH)
45+
{
46+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AuditManagerErrors::SERVICE_QUOTA_EXCEEDED), false);
47+
}
48+
else if (hashCode == INTERNAL_SERVER_HASH)
4449
{
4550
return AWSError<CoreErrors>(static_cast<CoreErrors>(AuditManagerErrors::INTERNAL_SERVER), false);
4651
}

aws-cpp-sdk-chime/include/aws/chime/ChimeClient.h

+29-2
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
#include <aws/chime/model/UpdateUserResult.h>
165165
#include <aws/chime/model/UpdateVoiceConnectorResult.h>
166166
#include <aws/chime/model/UpdateVoiceConnectorGroupResult.h>
167+
#include <aws/chime/model/ValidateE911AddressResult.h>
167168
#include <aws/core/NoResult.h>
168169
#include <aws/core/client/AsyncCallerContext.h>
169170
#include <aws/core/http/HttpTypes.h>
@@ -392,6 +393,7 @@ namespace Model
392393
class UpdateUserSettingsRequest;
393394
class UpdateVoiceConnectorRequest;
394395
class UpdateVoiceConnectorGroupRequest;
396+
class ValidateE911AddressRequest;
395397

396398
typedef Aws::Utils::Outcome<AssociatePhoneNumberWithUserResult, ChimeError> AssociatePhoneNumberWithUserOutcome;
397399
typedef Aws::Utils::Outcome<AssociatePhoneNumbersWithVoiceConnectorResult, ChimeError> AssociatePhoneNumbersWithVoiceConnectorOutcome;
@@ -583,6 +585,7 @@ namespace Model
583585
typedef Aws::Utils::Outcome<Aws::NoResult, ChimeError> UpdateUserSettingsOutcome;
584586
typedef Aws::Utils::Outcome<UpdateVoiceConnectorResult, ChimeError> UpdateVoiceConnectorOutcome;
585587
typedef Aws::Utils::Outcome<UpdateVoiceConnectorGroupResult, ChimeError> UpdateVoiceConnectorGroupOutcome;
588+
typedef Aws::Utils::Outcome<ValidateE911AddressResult, ChimeError> ValidateE911AddressOutcome;
586589

587590
typedef std::future<AssociatePhoneNumberWithUserOutcome> AssociatePhoneNumberWithUserOutcomeCallable;
588591
typedef std::future<AssociatePhoneNumbersWithVoiceConnectorOutcome> AssociatePhoneNumbersWithVoiceConnectorOutcomeCallable;
@@ -774,6 +777,7 @@ namespace Model
774777
typedef std::future<UpdateUserSettingsOutcome> UpdateUserSettingsOutcomeCallable;
775778
typedef std::future<UpdateVoiceConnectorOutcome> UpdateVoiceConnectorOutcomeCallable;
776779
typedef std::future<UpdateVoiceConnectorGroupOutcome> UpdateVoiceConnectorGroupOutcomeCallable;
780+
typedef std::future<ValidateE911AddressOutcome> ValidateE911AddressOutcomeCallable;
777781
} // namespace Model
778782

779783
class ChimeClient;
@@ -968,6 +972,7 @@ namespace Model
968972
typedef std::function<void(const ChimeClient*, const Model::UpdateUserSettingsRequest&, const Model::UpdateUserSettingsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateUserSettingsResponseReceivedHandler;
969973
typedef std::function<void(const ChimeClient*, const Model::UpdateVoiceConnectorRequest&, const Model::UpdateVoiceConnectorOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateVoiceConnectorResponseReceivedHandler;
970974
typedef std::function<void(const ChimeClient*, const Model::UpdateVoiceConnectorGroupRequest&, const Model::UpdateVoiceConnectorGroupOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateVoiceConnectorGroupResponseReceivedHandler;
975+
typedef std::function<void(const ChimeClient*, const Model::ValidateE911AddressRequest&, const Model::ValidateE911AddressOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ValidateE911AddressResponseReceivedHandler;
971976

972977
/**
973978
* <p>The Amazon Chime API (application programming interface) is designed for
@@ -3966,8 +3971,8 @@ namespace Model
39663971
/**
39673972
* <p>Adds a streaming configuration for the specified Amazon Chime Voice
39683973
* Connector. The streaming configuration specifies whether media streaming is
3969-
* enabled for sending to Indonesians. It also sets the retention period, in hours,
3970-
* for the Amazon Kinesis data.</p><p><h3>See Also:</h3> <a
3974+
* enabled for sending to Kinesis. It also sets the retention period, in hours, for
3975+
* the Amazon Kinesis data.</p><p><h3>See Also:</h3> <a
39713976
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration">AWS
39723977
* API Reference</a></p>
39733978
*/
@@ -4723,6 +4728,27 @@ namespace Model
47234728
*/
47244729
virtual void UpdateVoiceConnectorGroupAsync(const Model::UpdateVoiceConnectorGroupRequest& request, const UpdateVoiceConnectorGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
47254730

4731+
/**
4732+
* <p>Validates an address to be used for 911 calls made with Amazon Chime Voice
4733+
* Connectors. You can use validated addresses in a Presence Information Data
4734+
* Format Location Object file that you include in SIP requests. That helps ensure
4735+
* that addresses are routed to the appropriate Public Safety Answering
4736+
* Point.</p><p><h3>See Also:</h3> <a
4737+
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ValidateE911Address">AWS
4738+
* API Reference</a></p>
4739+
*/
4740+
virtual Model::ValidateE911AddressOutcome ValidateE911Address(const Model::ValidateE911AddressRequest& request) const;
4741+
4742+
/**
4743+
* A Callable wrapper for ValidateE911Address that returns a future to the operation so that it can be executed in parallel to other requests.
4744+
*/
4745+
virtual Model::ValidateE911AddressOutcomeCallable ValidateE911AddressCallable(const Model::ValidateE911AddressRequest& request) const;
4746+
4747+
/**
4748+
* An Async wrapper for ValidateE911Address that queues the request into a thread executor and triggers associated callback when operation has finished.
4749+
*/
4750+
virtual void ValidateE911AddressAsync(const Model::ValidateE911AddressRequest& request, const ValidateE911AddressResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
4751+
47264752

47274753
void OverrideEndpoint(const Aws::String& endpoint);
47284754
private:
@@ -4917,6 +4943,7 @@ namespace Model
49174943
void UpdateUserSettingsAsyncHelper(const Model::UpdateUserSettingsRequest& request, const UpdateUserSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
49184944
void UpdateVoiceConnectorAsyncHelper(const Model::UpdateVoiceConnectorRequest& request, const UpdateVoiceConnectorResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
49194945
void UpdateVoiceConnectorGroupAsyncHelper(const Model::UpdateVoiceConnectorGroupRequest& request, const UpdateVoiceConnectorGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
4946+
void ValidateE911AddressAsyncHelper(const Model::ValidateE911AddressRequest& request, const ValidateE911AddressResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
49204947

49214948
Aws::String m_baseUri;
49224949
Aws::String m_scheme;

0 commit comments

Comments
 (0)