Skip to content

Commit 9c57cd5

Browse files
Adjust Vietnam PaymentVoucherNumber regex and minor API change.
This release adds support for adding, removing, and listing SLO time exclusion windows with the BatchUpdateExclusionWindows and ListServiceLevelObjectiveExclusionWindows APIs. Provide support for vector map styles in the GetStaticMap operation. CloudWatch RUM now supports unminification of JS error stack traces. AWS WAF now lets you inspect fragments of request URIs. You can specify the scope of the URI to inspect and narrow the set of URI fragments.
1 parent 62dee83 commit 9c57cd5

File tree

62 files changed

+3934
-1009
lines changed

Some content is hidden

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

62 files changed

+3934
-1009
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.526
1+
1.11.527

generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/ApplicationSignalsClient.h

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,32 @@ namespace ApplicationSignals
127127
return SubmitAsync(&ApplicationSignalsClient::BatchGetServiceLevelObjectiveBudgetReport, request, handler, context);
128128
}
129129

130+
/**
131+
* <p>Add or remove time window exclusions for one or more Service Level Objectives
132+
* (SLOs).</p><p><h3>See Also:</h3> <a
133+
* href="http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchUpdateExclusionWindows">AWS
134+
* API Reference</a></p>
135+
*/
136+
virtual Model::BatchUpdateExclusionWindowsOutcome BatchUpdateExclusionWindows(const Model::BatchUpdateExclusionWindowsRequest& request) const;
137+
138+
/**
139+
* A Callable wrapper for BatchUpdateExclusionWindows that returns a future to the operation so that it can be executed in parallel to other requests.
140+
*/
141+
template<typename BatchUpdateExclusionWindowsRequestT = Model::BatchUpdateExclusionWindowsRequest>
142+
Model::BatchUpdateExclusionWindowsOutcomeCallable BatchUpdateExclusionWindowsCallable(const BatchUpdateExclusionWindowsRequestT& request) const
143+
{
144+
return SubmitCallable(&ApplicationSignalsClient::BatchUpdateExclusionWindows, request);
145+
}
146+
147+
/**
148+
* An Async wrapper for BatchUpdateExclusionWindows that queues the request into a thread executor and triggers associated callback when operation has finished.
149+
*/
150+
template<typename BatchUpdateExclusionWindowsRequestT = Model::BatchUpdateExclusionWindowsRequest>
151+
void BatchUpdateExclusionWindowsAsync(const BatchUpdateExclusionWindowsRequestT& request, const BatchUpdateExclusionWindowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
152+
{
153+
return SubmitAsync(&ApplicationSignalsClient::BatchUpdateExclusionWindows, request, handler, context);
154+
}
155+
130156
/**
131157
* <p>Creates a service level objective (SLO), which can help you ensure that your
132158
* critical business operations are meeting customer expectations. Use SLOs to set
@@ -339,6 +365,32 @@ namespace ApplicationSignals
339365
return SubmitAsync(&ApplicationSignalsClient::ListServiceDependents, request, handler, context);
340366
}
341367

368+
/**
369+
* <p>Retrieves all exclusion windows configured for a specific SLO.</p><p><h3>See
370+
* Also:</h3> <a
371+
* href="http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectiveExclusionWindows">AWS
372+
* API Reference</a></p>
373+
*/
374+
virtual Model::ListServiceLevelObjectiveExclusionWindowsOutcome ListServiceLevelObjectiveExclusionWindows(const Model::ListServiceLevelObjectiveExclusionWindowsRequest& request) const;
375+
376+
/**
377+
* A Callable wrapper for ListServiceLevelObjectiveExclusionWindows that returns a future to the operation so that it can be executed in parallel to other requests.
378+
*/
379+
template<typename ListServiceLevelObjectiveExclusionWindowsRequestT = Model::ListServiceLevelObjectiveExclusionWindowsRequest>
380+
Model::ListServiceLevelObjectiveExclusionWindowsOutcomeCallable ListServiceLevelObjectiveExclusionWindowsCallable(const ListServiceLevelObjectiveExclusionWindowsRequestT& request) const
381+
{
382+
return SubmitCallable(&ApplicationSignalsClient::ListServiceLevelObjectiveExclusionWindows, request);
383+
}
384+
385+
/**
386+
* An Async wrapper for ListServiceLevelObjectiveExclusionWindows that queues the request into a thread executor and triggers associated callback when operation has finished.
387+
*/
388+
template<typename ListServiceLevelObjectiveExclusionWindowsRequestT = Model::ListServiceLevelObjectiveExclusionWindowsRequest>
389+
void ListServiceLevelObjectiveExclusionWindowsAsync(const ListServiceLevelObjectiveExclusionWindowsRequestT& request, const ListServiceLevelObjectiveExclusionWindowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
390+
{
391+
return SubmitAsync(&ApplicationSignalsClient::ListServiceLevelObjectiveExclusionWindows, request, handler, context);
392+
}
393+
342394
/**
343395
* <p>Returns a list of SLOs created in this account.</p><p><h3>See Also:</h3> <a
344396
* href="http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectives">AWS

generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/ApplicationSignalsServiceClientModel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919

2020
/* Service model headers required in ApplicationSignalsClient header */
2121
#include <aws/application-signals/model/BatchGetServiceLevelObjectiveBudgetReportResult.h>
22+
#include <aws/application-signals/model/BatchUpdateExclusionWindowsResult.h>
2223
#include <aws/application-signals/model/CreateServiceLevelObjectiveResult.h>
2324
#include <aws/application-signals/model/DeleteServiceLevelObjectiveResult.h>
2425
#include <aws/application-signals/model/GetServiceResult.h>
2526
#include <aws/application-signals/model/GetServiceLevelObjectiveResult.h>
2627
#include <aws/application-signals/model/ListServiceDependenciesResult.h>
2728
#include <aws/application-signals/model/ListServiceDependentsResult.h>
29+
#include <aws/application-signals/model/ListServiceLevelObjectiveExclusionWindowsResult.h>
2830
#include <aws/application-signals/model/ListServiceLevelObjectivesResult.h>
2931
#include <aws/application-signals/model/ListServiceOperationsResult.h>
3032
#include <aws/application-signals/model/ListServicesResult.h>
@@ -76,12 +78,14 @@ namespace Aws
7678
{
7779
/* Service model forward declarations required in ApplicationSignalsClient header */
7880
class BatchGetServiceLevelObjectiveBudgetReportRequest;
81+
class BatchUpdateExclusionWindowsRequest;
7982
class CreateServiceLevelObjectiveRequest;
8083
class DeleteServiceLevelObjectiveRequest;
8184
class GetServiceRequest;
8285
class GetServiceLevelObjectiveRequest;
8386
class ListServiceDependenciesRequest;
8487
class ListServiceDependentsRequest;
88+
class ListServiceLevelObjectiveExclusionWindowsRequest;
8589
class ListServiceLevelObjectivesRequest;
8690
class ListServiceOperationsRequest;
8791
class ListServicesRequest;
@@ -94,12 +98,14 @@ namespace Aws
9498

9599
/* Service model Outcome class definitions */
96100
typedef Aws::Utils::Outcome<BatchGetServiceLevelObjectiveBudgetReportResult, ApplicationSignalsError> BatchGetServiceLevelObjectiveBudgetReportOutcome;
101+
typedef Aws::Utils::Outcome<BatchUpdateExclusionWindowsResult, ApplicationSignalsError> BatchUpdateExclusionWindowsOutcome;
97102
typedef Aws::Utils::Outcome<CreateServiceLevelObjectiveResult, ApplicationSignalsError> CreateServiceLevelObjectiveOutcome;
98103
typedef Aws::Utils::Outcome<DeleteServiceLevelObjectiveResult, ApplicationSignalsError> DeleteServiceLevelObjectiveOutcome;
99104
typedef Aws::Utils::Outcome<GetServiceResult, ApplicationSignalsError> GetServiceOutcome;
100105
typedef Aws::Utils::Outcome<GetServiceLevelObjectiveResult, ApplicationSignalsError> GetServiceLevelObjectiveOutcome;
101106
typedef Aws::Utils::Outcome<ListServiceDependenciesResult, ApplicationSignalsError> ListServiceDependenciesOutcome;
102107
typedef Aws::Utils::Outcome<ListServiceDependentsResult, ApplicationSignalsError> ListServiceDependentsOutcome;
108+
typedef Aws::Utils::Outcome<ListServiceLevelObjectiveExclusionWindowsResult, ApplicationSignalsError> ListServiceLevelObjectiveExclusionWindowsOutcome;
103109
typedef Aws::Utils::Outcome<ListServiceLevelObjectivesResult, ApplicationSignalsError> ListServiceLevelObjectivesOutcome;
104110
typedef Aws::Utils::Outcome<ListServiceOperationsResult, ApplicationSignalsError> ListServiceOperationsOutcome;
105111
typedef Aws::Utils::Outcome<ListServicesResult, ApplicationSignalsError> ListServicesOutcome;
@@ -112,12 +118,14 @@ namespace Aws
112118

113119
/* Service model Outcome callable definitions */
114120
typedef std::future<BatchGetServiceLevelObjectiveBudgetReportOutcome> BatchGetServiceLevelObjectiveBudgetReportOutcomeCallable;
121+
typedef std::future<BatchUpdateExclusionWindowsOutcome> BatchUpdateExclusionWindowsOutcomeCallable;
115122
typedef std::future<CreateServiceLevelObjectiveOutcome> CreateServiceLevelObjectiveOutcomeCallable;
116123
typedef std::future<DeleteServiceLevelObjectiveOutcome> DeleteServiceLevelObjectiveOutcomeCallable;
117124
typedef std::future<GetServiceOutcome> GetServiceOutcomeCallable;
118125
typedef std::future<GetServiceLevelObjectiveOutcome> GetServiceLevelObjectiveOutcomeCallable;
119126
typedef std::future<ListServiceDependenciesOutcome> ListServiceDependenciesOutcomeCallable;
120127
typedef std::future<ListServiceDependentsOutcome> ListServiceDependentsOutcomeCallable;
128+
typedef std::future<ListServiceLevelObjectiveExclusionWindowsOutcome> ListServiceLevelObjectiveExclusionWindowsOutcomeCallable;
121129
typedef std::future<ListServiceLevelObjectivesOutcome> ListServiceLevelObjectivesOutcomeCallable;
122130
typedef std::future<ListServiceOperationsOutcome> ListServiceOperationsOutcomeCallable;
123131
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
@@ -133,12 +141,14 @@ namespace Aws
133141

134142
/* Service model async handlers definitions */
135143
typedef std::function<void(const ApplicationSignalsClient*, const Model::BatchGetServiceLevelObjectiveBudgetReportRequest&, const Model::BatchGetServiceLevelObjectiveBudgetReportOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > BatchGetServiceLevelObjectiveBudgetReportResponseReceivedHandler;
144+
typedef std::function<void(const ApplicationSignalsClient*, const Model::BatchUpdateExclusionWindowsRequest&, const Model::BatchUpdateExclusionWindowsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > BatchUpdateExclusionWindowsResponseReceivedHandler;
136145
typedef std::function<void(const ApplicationSignalsClient*, const Model::CreateServiceLevelObjectiveRequest&, const Model::CreateServiceLevelObjectiveOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateServiceLevelObjectiveResponseReceivedHandler;
137146
typedef std::function<void(const ApplicationSignalsClient*, const Model::DeleteServiceLevelObjectiveRequest&, const Model::DeleteServiceLevelObjectiveOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteServiceLevelObjectiveResponseReceivedHandler;
138147
typedef std::function<void(const ApplicationSignalsClient*, const Model::GetServiceRequest&, const Model::GetServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetServiceResponseReceivedHandler;
139148
typedef std::function<void(const ApplicationSignalsClient*, const Model::GetServiceLevelObjectiveRequest&, const Model::GetServiceLevelObjectiveOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetServiceLevelObjectiveResponseReceivedHandler;
140149
typedef std::function<void(const ApplicationSignalsClient*, const Model::ListServiceDependenciesRequest&, const Model::ListServiceDependenciesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServiceDependenciesResponseReceivedHandler;
141150
typedef std::function<void(const ApplicationSignalsClient*, const Model::ListServiceDependentsRequest&, const Model::ListServiceDependentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServiceDependentsResponseReceivedHandler;
151+
typedef std::function<void(const ApplicationSignalsClient*, const Model::ListServiceLevelObjectiveExclusionWindowsRequest&, const Model::ListServiceLevelObjectiveExclusionWindowsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServiceLevelObjectiveExclusionWindowsResponseReceivedHandler;
142152
typedef std::function<void(const ApplicationSignalsClient*, const Model::ListServiceLevelObjectivesRequest&, const Model::ListServiceLevelObjectivesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServiceLevelObjectivesResponseReceivedHandler;
143153
typedef std::function<void(const ApplicationSignalsClient*, const Model::ListServiceOperationsRequest&, const Model::ListServiceOperationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServiceOperationsResponseReceivedHandler;
144154
typedef std::function<void(const ApplicationSignalsClient*, const Model::ListServicesRequest&, const Model::ListServicesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServicesResponseReceivedHandler;
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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/application-signals/ApplicationSignals_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace ApplicationSignals
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>An array of structures, where each structure includes an error indicating
28+
* that one of the requests in the array was not valid.</p><p><h3>See Also:</h3>
29+
* <a
30+
* href="http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchUpdateExclusionWindowsError">AWS
31+
* API Reference</a></p>
32+
*/
33+
class BatchUpdateExclusionWindowsError
34+
{
35+
public:
36+
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError();
37+
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError& operator=(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
40+
41+
42+
///@{
43+
/**
44+
* <p>The SLO ID in the error.</p>
45+
*/
46+
inline const Aws::String& GetSloId() const{ return m_sloId; }
47+
inline bool SloIdHasBeenSet() const { return m_sloIdHasBeenSet; }
48+
inline void SetSloId(const Aws::String& value) { m_sloIdHasBeenSet = true; m_sloId = value; }
49+
inline void SetSloId(Aws::String&& value) { m_sloIdHasBeenSet = true; m_sloId = std::move(value); }
50+
inline void SetSloId(const char* value) { m_sloIdHasBeenSet = true; m_sloId.assign(value); }
51+
inline BatchUpdateExclusionWindowsError& WithSloId(const Aws::String& value) { SetSloId(value); return *this;}
52+
inline BatchUpdateExclusionWindowsError& WithSloId(Aws::String&& value) { SetSloId(std::move(value)); return *this;}
53+
inline BatchUpdateExclusionWindowsError& WithSloId(const char* value) { SetSloId(value); return *this;}
54+
///@}
55+
56+
///@{
57+
/**
58+
* <p>The error code.</p>
59+
*/
60+
inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
61+
inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
62+
inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
63+
inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
64+
inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
65+
inline BatchUpdateExclusionWindowsError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
66+
inline BatchUpdateExclusionWindowsError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
67+
inline BatchUpdateExclusionWindowsError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
68+
///@}
69+
70+
///@{
71+
/**
72+
* <p>The error message.</p>
73+
*/
74+
inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
75+
inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
76+
inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
77+
inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
78+
inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
79+
inline BatchUpdateExclusionWindowsError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
80+
inline BatchUpdateExclusionWindowsError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
81+
inline BatchUpdateExclusionWindowsError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
82+
///@}
83+
private:
84+
85+
Aws::String m_sloId;
86+
bool m_sloIdHasBeenSet = false;
87+
88+
Aws::String m_errorCode;
89+
bool m_errorCodeHasBeenSet = false;
90+
91+
Aws::String m_errorMessage;
92+
bool m_errorMessageHasBeenSet = false;
93+
};
94+
95+
} // namespace Model
96+
} // namespace ApplicationSignals
97+
} // namespace Aws

0 commit comments

Comments
 (0)