Skip to content

Commit 6bcefd2

Browse files
Added EntityLimitExceeded exception handling to the following API operations AssociateDistributionWebACL, AssociateDistributionTenantWebACL, UpdateDistributionWithStagingConfig
Adding MaterializedViews task run APIs Adds waiters to Amazon Transcribe. Adds optional field "view" to GetMemory API input to give customers control over whether CMK encrypted data such as strategy decryption or override prompts is returned or not. MediaPackage v2 output groups in MediaLive can now accept one additional destination for single pipeline channels and up to two additional destinations for standard channels. MediaPackage v2 destinations now support sending to cross region MediaPackage channels.
1 parent fe0deaa commit 6bcefd2

File tree

50 files changed

+2905
-189
lines changed

Some content is hidden

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

50 files changed

+2905
-189
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.724
1+
1.11.725

generated/src/aws-cpp-sdk-bedrock-agentcore-control/include/aws/bedrock-agentcore-control/model/GetMemoryRequest.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66
#pragma once
77
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControlRequest.h>
88
#include <aws/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
9+
#include <aws/bedrock-agentcore-control/model/MemoryView.h>
910
#include <aws/core/utils/memory/stl/AWSString.h>
1011

1112
#include <utility>
1213

1314
namespace Aws {
15+
namespace Http {
16+
class URI;
17+
} // namespace Http
1418
namespace BedrockAgentCoreControl {
1519
namespace Model {
1620

@@ -28,6 +32,8 @@ class GetMemoryRequest : public BedrockAgentCoreControlRequest {
2832

2933
AWS_BEDROCKAGENTCORECONTROL_API Aws::String SerializePayload() const override;
3034

35+
AWS_BEDROCKAGENTCORECONTROL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36+
3137
///@{
3238
/**
3339
* <p>The unique identifier of the memory to retrieve.</p>
@@ -45,9 +51,28 @@ class GetMemoryRequest : public BedrockAgentCoreControlRequest {
4551
return *this;
4652
}
4753
///@}
54+
55+
///@{
56+
/**
57+
* <p>The level of detail to return for the memory.</p>
58+
*/
59+
inline MemoryView GetView() const { return m_view; }
60+
inline bool ViewHasBeenSet() const { return m_viewHasBeenSet; }
61+
inline void SetView(MemoryView value) {
62+
m_viewHasBeenSet = true;
63+
m_view = value;
64+
}
65+
inline GetMemoryRequest& WithView(MemoryView value) {
66+
SetView(value);
67+
return *this;
68+
}
69+
///@}
4870
private:
4971
Aws::String m_memoryId;
72+
73+
MemoryView m_view{MemoryView::NOT_SET};
5074
bool m_memoryIdHasBeenSet = false;
75+
bool m_viewHasBeenSet = false;
5176
};
5277

5378
} // namespace Model
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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/bedrock-agentcore-control/BedrockAgentCoreControl_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws {
11+
namespace BedrockAgentCoreControl {
12+
namespace Model {
13+
enum class MemoryView { NOT_SET, full, without_decryption };
14+
15+
namespace MemoryViewMapper {
16+
AWS_BEDROCKAGENTCORECONTROL_API MemoryView GetMemoryViewForName(const Aws::String& name);
17+
18+
AWS_BEDROCKAGENTCORECONTROL_API Aws::String GetNameForMemoryView(MemoryView value);
19+
} // namespace MemoryViewMapper
20+
} // namespace Model
21+
} // namespace BedrockAgentCoreControl
22+
} // namespace Aws

generated/src/aws-cpp-sdk-bedrock-agentcore-control/source/model/GetMemoryRequest.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,24 @@
44
*/
55

66
#include <aws/bedrock-agentcore-control/model/GetMemoryRequest.h>
7+
#include <aws/core/http/URI.h>
78
#include <aws/core/utils/json/JsonSerializer.h>
9+
#include <aws/core/utils/memory/stl/AWSStringStream.h>
810

911
#include <utility>
1012

1113
using namespace Aws::BedrockAgentCoreControl::Model;
1214
using namespace Aws::Utils::Json;
1315
using namespace Aws::Utils;
16+
using namespace Aws::Http;
1417

1518
Aws::String GetMemoryRequest::SerializePayload() const { return {}; }
19+
20+
void GetMemoryRequest::AddQueryStringParameters(URI& uri) const {
21+
Aws::StringStream ss;
22+
if (m_viewHasBeenSet) {
23+
ss << MemoryViewMapper::GetNameForMemoryView(m_view);
24+
uri.AddQueryStringParameter("view", ss.str());
25+
ss.str("");
26+
}
27+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/bedrock-agentcore-control/model/MemoryView.h>
7+
#include <aws/core/Globals.h>
8+
#include <aws/core/utils/EnumParseOverflowContainer.h>
9+
#include <aws/core/utils/HashingUtils.h>
10+
11+
using namespace Aws::Utils;
12+
13+
namespace Aws {
14+
namespace BedrockAgentCoreControl {
15+
namespace Model {
16+
namespace MemoryViewMapper {
17+
18+
static const int full_HASH = HashingUtils::HashString("full");
19+
static const int without_decryption_HASH = HashingUtils::HashString("without_decryption");
20+
21+
MemoryView GetMemoryViewForName(const Aws::String& name) {
22+
int hashCode = HashingUtils::HashString(name.c_str());
23+
if (hashCode == full_HASH) {
24+
return MemoryView::full;
25+
} else if (hashCode == without_decryption_HASH) {
26+
return MemoryView::without_decryption;
27+
}
28+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
29+
if (overflowContainer) {
30+
overflowContainer->StoreOverflow(hashCode, name);
31+
return static_cast<MemoryView>(hashCode);
32+
}
33+
34+
return MemoryView::NOT_SET;
35+
}
36+
37+
Aws::String GetNameForMemoryView(MemoryView enumValue) {
38+
switch (enumValue) {
39+
case MemoryView::NOT_SET:
40+
return {};
41+
case MemoryView::full:
42+
return "full";
43+
case MemoryView::without_decryption:
44+
return "without_decryption";
45+
default:
46+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
47+
if (overflowContainer) {
48+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
49+
}
50+
51+
return {};
52+
}
53+
}
54+
55+
} // namespace MemoryViewMapper
56+
} // namespace Model
57+
} // namespace BedrockAgentCoreControl
58+
} // namespace Aws

generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/OriginAccessControlSummary.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ class OriginAccessControlSummary {
113113
* <p> <code>never</code> – CloudFront doesn't sign any origin requests.</p> </li>
114114
* <li> <p> <code>always</code> – CloudFront signs all origin requests, overwriting
115115
* the <code>Authorization</code> header from the viewer request if necessary.</p>
116-
* </li> <li> <p> <code>no-override</code> ��� If the viewer request doesn't
117-
* contain the <code>Authorization</code> header, CloudFront signs the origin
118-
* request. If the viewer request contains the <code>Authorization</code> header,
119-
* CloudFront doesn't sign the origin request, but instead passes along the
116+
* </li> <li> <p> <code>no-override</code> If the viewer request doesn't contain
117+
* the <code>Authorization</code> header, CloudFront signs the origin request. If
118+
* the viewer request contains the <code>Authorization</code> header, CloudFront
119+
* doesn't sign the origin request, but instead passes along the
120120
* <code>Authorization</code> header that it received in the viewer request.</p>
121121
* </li> </ul>
122122
*/

generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3894,6 +3894,36 @@ class AWS_GLUE_API GlueClient : public Aws::Client::AWSJsonClient, public Aws::C
38943894
return SubmitAsync(&GlueClient::GetMapping, request, handler, context);
38953895
}
38963896

3897+
/**
3898+
* <p>Get the associated metadata/information for a task run, given a task run
3899+
* ID.</p><p><h3>See Also:</h3> <a
3900+
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMaterializedViewRefreshTaskRun">AWS
3901+
* API Reference</a></p>
3902+
*/
3903+
virtual Model::GetMaterializedViewRefreshTaskRunOutcome GetMaterializedViewRefreshTaskRun(
3904+
const Model::GetMaterializedViewRefreshTaskRunRequest& request) const;
3905+
3906+
/**
3907+
* A Callable wrapper for GetMaterializedViewRefreshTaskRun that returns a future to the operation so that it can be executed in parallel
3908+
* to other requests.
3909+
*/
3910+
template <typename GetMaterializedViewRefreshTaskRunRequestT = Model::GetMaterializedViewRefreshTaskRunRequest>
3911+
Model::GetMaterializedViewRefreshTaskRunOutcomeCallable GetMaterializedViewRefreshTaskRunCallable(
3912+
const GetMaterializedViewRefreshTaskRunRequestT& request) const {
3913+
return SubmitCallable(&GlueClient::GetMaterializedViewRefreshTaskRun, request);
3914+
}
3915+
3916+
/**
3917+
* An Async wrapper for GetMaterializedViewRefreshTaskRun that queues the request into a thread executor and triggers associated callback
3918+
* when operation has finished.
3919+
*/
3920+
template <typename GetMaterializedViewRefreshTaskRunRequestT = Model::GetMaterializedViewRefreshTaskRunRequest>
3921+
void GetMaterializedViewRefreshTaskRunAsync(const GetMaterializedViewRefreshTaskRunRequestT& request,
3922+
const GetMaterializedViewRefreshTaskRunResponseReceivedHandler& handler,
3923+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
3924+
return SubmitAsync(&GlueClient::GetMaterializedViewRefreshTaskRun, request, handler, context);
3925+
}
3926+
38973927
/**
38983928
* <p>Retrieves information about a specified partition.</p><p><h3>See Also:</h3>
38993929
* <a
@@ -5329,6 +5359,35 @@ class AWS_GLUE_API GlueClient : public Aws::Client::AWSJsonClient, public Aws::C
53295359
return SubmitAsync(&GlueClient::ListMLTransforms, request, handler, context);
53305360
}
53315361

5362+
/**
5363+
* <p>List all task runs for a particular account.</p><p><h3>See Also:</h3> <a
5364+
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMaterializedViewRefreshTaskRuns">AWS
5365+
* API Reference</a></p>
5366+
*/
5367+
virtual Model::ListMaterializedViewRefreshTaskRunsOutcome ListMaterializedViewRefreshTaskRuns(
5368+
const Model::ListMaterializedViewRefreshTaskRunsRequest& request) const;
5369+
5370+
/**
5371+
* A Callable wrapper for ListMaterializedViewRefreshTaskRuns that returns a future to the operation so that it can be executed in
5372+
* parallel to other requests.
5373+
*/
5374+
template <typename ListMaterializedViewRefreshTaskRunsRequestT = Model::ListMaterializedViewRefreshTaskRunsRequest>
5375+
Model::ListMaterializedViewRefreshTaskRunsOutcomeCallable ListMaterializedViewRefreshTaskRunsCallable(
5376+
const ListMaterializedViewRefreshTaskRunsRequestT& request) const {
5377+
return SubmitCallable(&GlueClient::ListMaterializedViewRefreshTaskRuns, request);
5378+
}
5379+
5380+
/**
5381+
* An Async wrapper for ListMaterializedViewRefreshTaskRuns that queues the request into a thread executor and triggers associated
5382+
* callback when operation has finished.
5383+
*/
5384+
template <typename ListMaterializedViewRefreshTaskRunsRequestT = Model::ListMaterializedViewRefreshTaskRunsRequest>
5385+
void ListMaterializedViewRefreshTaskRunsAsync(const ListMaterializedViewRefreshTaskRunsRequestT& request,
5386+
const ListMaterializedViewRefreshTaskRunsResponseReceivedHandler& handler,
5387+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
5388+
return SubmitAsync(&GlueClient::ListMaterializedViewRefreshTaskRuns, request, handler, context);
5389+
}
5390+
53325391
/**
53335392
* <p>Returns a list of registries that you have created, with minimal registry
53345393
* information. Registries in the <code>Deleting</code> status will not be included
@@ -6365,6 +6424,36 @@ class AWS_GLUE_API GlueClient : public Aws::Client::AWSJsonClient, public Aws::C
63656424
return SubmitAsync(&GlueClient::StartMLLabelingSetGenerationTaskRun, request, handler, context);
63666425
}
63676426

6427+
/**
6428+
* <p>Starts a materialized view refresh task run, for a specified table and
6429+
* columns.</p><p><h3>See Also:</h3> <a
6430+
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMaterializedViewRefreshTaskRun">AWS
6431+
* API Reference</a></p>
6432+
*/
6433+
virtual Model::StartMaterializedViewRefreshTaskRunOutcome StartMaterializedViewRefreshTaskRun(
6434+
const Model::StartMaterializedViewRefreshTaskRunRequest& request) const;
6435+
6436+
/**
6437+
* A Callable wrapper for StartMaterializedViewRefreshTaskRun that returns a future to the operation so that it can be executed in
6438+
* parallel to other requests.
6439+
*/
6440+
template <typename StartMaterializedViewRefreshTaskRunRequestT = Model::StartMaterializedViewRefreshTaskRunRequest>
6441+
Model::StartMaterializedViewRefreshTaskRunOutcomeCallable StartMaterializedViewRefreshTaskRunCallable(
6442+
const StartMaterializedViewRefreshTaskRunRequestT& request) const {
6443+
return SubmitCallable(&GlueClient::StartMaterializedViewRefreshTaskRun, request);
6444+
}
6445+
6446+
/**
6447+
* An Async wrapper for StartMaterializedViewRefreshTaskRun that queues the request into a thread executor and triggers associated
6448+
* callback when operation has finished.
6449+
*/
6450+
template <typename StartMaterializedViewRefreshTaskRunRequestT = Model::StartMaterializedViewRefreshTaskRunRequest>
6451+
void StartMaterializedViewRefreshTaskRunAsync(const StartMaterializedViewRefreshTaskRunRequestT& request,
6452+
const StartMaterializedViewRefreshTaskRunResponseReceivedHandler& handler,
6453+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
6454+
return SubmitAsync(&GlueClient::StartMaterializedViewRefreshTaskRun, request, handler, context);
6455+
}
6456+
63686457
/**
63696458
* <p>Starts an existing trigger. See <a
63706459
* href="https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html">Triggering
@@ -6531,6 +6620,36 @@ class AWS_GLUE_API GlueClient : public Aws::Client::AWSJsonClient, public Aws::C
65316620
return SubmitAsync(&GlueClient::StopCrawlerSchedule, request, handler, context);
65326621
}
65336622

6623+
/**
6624+
* <p>Stops a materialized view refresh task run, for a specified table and
6625+
* columns.</p><p><h3>See Also:</h3> <a
6626+
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopMaterializedViewRefreshTaskRun">AWS
6627+
* API Reference</a></p>
6628+
*/
6629+
virtual Model::StopMaterializedViewRefreshTaskRunOutcome StopMaterializedViewRefreshTaskRun(
6630+
const Model::StopMaterializedViewRefreshTaskRunRequest& request) const;
6631+
6632+
/**
6633+
* A Callable wrapper for StopMaterializedViewRefreshTaskRun that returns a future to the operation so that it can be executed in parallel
6634+
* to other requests.
6635+
*/
6636+
template <typename StopMaterializedViewRefreshTaskRunRequestT = Model::StopMaterializedViewRefreshTaskRunRequest>
6637+
Model::StopMaterializedViewRefreshTaskRunOutcomeCallable StopMaterializedViewRefreshTaskRunCallable(
6638+
const StopMaterializedViewRefreshTaskRunRequestT& request) const {
6639+
return SubmitCallable(&GlueClient::StopMaterializedViewRefreshTaskRun, request);
6640+
}
6641+
6642+
/**
6643+
* An Async wrapper for StopMaterializedViewRefreshTaskRun that queues the request into a thread executor and triggers associated callback
6644+
* when operation has finished.
6645+
*/
6646+
template <typename StopMaterializedViewRefreshTaskRunRequestT = Model::StopMaterializedViewRefreshTaskRunRequest>
6647+
void StopMaterializedViewRefreshTaskRunAsync(const StopMaterializedViewRefreshTaskRunRequestT& request,
6648+
const StopMaterializedViewRefreshTaskRunResponseReceivedHandler& handler,
6649+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
6650+
return SubmitAsync(&GlueClient::StopMaterializedViewRefreshTaskRun, request, handler, context);
6651+
}
6652+
65346653
/**
65356654
* <p>Stops the session.</p><p><h3>See Also:</h3> <a
65366655
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopSession">AWS

generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueErrors.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ enum class GlueErrors {
7373
INVALID_INTEGRATION_STATE_FAULT,
7474
INVALID_STATE,
7575
K_M_S_KEY_NOT_ACCESSIBLE_FAULT,
76+
MATERIALIZED_VIEW_REFRESH_TASK_NOT_RUNNING,
77+
MATERIALIZED_VIEW_REFRESH_TASK_RUNNING,
78+
MATERIALIZED_VIEW_REFRESH_TASK_STOPPING,
7679
M_L_TRANSFORM_NOT_READY,
7780
NO_SCHEDULE,
7881
OPERATION_NOT_SUPPORTED,

0 commit comments

Comments
 (0)