Skip to content

Commit 66a9613

Browse files
The CheckDocumentAccess API for Amazon Q Business is a self-service debugging API that allows administrators to verify document access permissions and review Access Control List (ACL) configurations.
Added support for Recurring Prefetch and Traffic Shaping on both Single and Recurring Prefetch. ListPrefetchSchedules now return single prefetchs by default and can be provided scheduleType of SINGLE, RECURRING, AND ALL. Documentation update regarding the number of streams you can create using the CreateDeliveryStream API. Minor documentation update for the GetConfigurationPolicyAssociation example Releasing the new Budget FilterExpression and Metrics fields to support more granular filtering options. These new fields are intended to replace CostFilters and CostTypes, which are deprecated as of 2025/18/04. Updates to documentation and exception types for Zonal Autoshift
1 parent 97e4ab0 commit 66a9613

File tree

86 files changed

+5808
-1059
lines changed

Some content is hidden

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

86 files changed

+5808
-1059
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.550
1+
1.11.551

generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftClient.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,7 @@ namespace ARCZonalShift
326326
/**
327327
* <p>Lists all active and completed zonal shifts in Amazon Route 53 Application
328328
* Recovery Controller in your Amazon Web Services account in this Amazon Web
329-
* Services Region. <code>ListZonalShifts</code> returns customer-initiated zonal
330-
* shifts, as well as practice run zonal shifts that ARC started on your behalf for
331-
* zonal autoshift.</p> <p>For more information about listing autoshifts, see <a
332-
* href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.</p><p><h3>See
333-
* Also:</h3> <a
329+
* Services Region.</p><p><h3>See Also:</h3> <a
334330
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListZonalShifts">AWS
335331
* API Reference</a></p>
336332
*/

generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ namespace Model
3535
* automatically registered with ARC.</p> <p>Autoshifts are temporary. When the
3636
* Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic
3737
* for the resource is no longer directed to the other Availability Zones in the
38-
* Region.</p> <p>You can stop an autoshift for a resource by disabling zonal
39-
* autoshift.</p><p><h3>See Also:</h3> <a
38+
* Region.</p><p><h3>See Also:</h3> <a
4039
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/AutoshiftSummary">AWS
4140
* API Reference</a></p>
4241
*/

generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ValidationExceptionReason.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ namespace Model
2626
InvalidAlarmCondition,
2727
InvalidConditionType,
2828
InvalidPracticeBlocker,
29-
FISExperimentUpdateNotAllowed
29+
FISExperimentUpdateNotAllowed,
30+
AutoshiftUpdateNotAllowed
3031
};
3132

3233
namespace ValidationExceptionReasonMapper

generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/ValidationExceptionReason.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace Aws
3131
static const int InvalidConditionType_HASH = HashingUtils::HashString("InvalidConditionType");
3232
static const int InvalidPracticeBlocker_HASH = HashingUtils::HashString("InvalidPracticeBlocker");
3333
static const int FISExperimentUpdateNotAllowed_HASH = HashingUtils::HashString("FISExperimentUpdateNotAllowed");
34+
static const int AutoshiftUpdateNotAllowed_HASH = HashingUtils::HashString("AutoshiftUpdateNotAllowed");
3435

3536

3637
ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name)
@@ -80,6 +81,10 @@ namespace Aws
8081
{
8182
return ValidationExceptionReason::FISExperimentUpdateNotAllowed;
8283
}
84+
else if (hashCode == AutoshiftUpdateNotAllowed_HASH)
85+
{
86+
return ValidationExceptionReason::AutoshiftUpdateNotAllowed;
87+
}
8388
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
8489
if(overflowContainer)
8590
{
@@ -118,6 +123,8 @@ namespace Aws
118123
return "InvalidPracticeBlocker";
119124
case ValidationExceptionReason::FISExperimentUpdateNotAllowed:
120125
return "FISExperimentUpdateNotAllowed";
126+
case ValidationExceptionReason::AutoshiftUpdateNotAllowed:
127+
return "AutoshiftUpdateNotAllowed";
121128
default:
122129
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
123130
if(overflowContainer)

generated/src/aws-cpp-sdk-budgets/include/aws/budgets/BudgetsClient.h

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,18 @@ namespace Budgets
105105
* <p>Creates a budget and, if included, notifications and subscribers. </p>
106106
* <p>Only one of <code>BudgetLimit</code> or
107107
* <code>PlannedBudgetLimits</code> can be present in the syntax at one time. Use
108-
* the syntax that matches your case. The Request Syntax section shows the
108+
* the syntax that matches your use case. The Request Syntax section shows the
109109
* <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the
110110
* <a
111111
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_CreateBudget.html#API_CreateBudget_Examples">Examples</a>
112-
* section. </p> <p><h3>See Also:</h3> <a
112+
* section.</p> <p>Similarly, only one set of filter and metric selections can be
113+
* present in the syntax at one time. Either <code>FilterExpression</code> and
114+
* <code>Metrics</code> or <code>CostFilters</code> and <code>CostTypes</code>, not
115+
* both or a different combination. We recommend using
116+
* <code>FilterExpression</code> and <code>Metrics</code> as they provide more
117+
* flexible and powerful filtering capabilities. The Request Syntax section shows
118+
* the <code>FilterExpression</code>/<code>Metrics</code> syntax.</p>
119+
* <p><h3>See Also:</h3> <a
113120
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/CreateBudget">AWS
114121
* API Reference</a></p>
115122
*/
@@ -321,7 +328,7 @@ namespace Budgets
321328
* <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the
322329
* <a
323330
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudget.html#API_DescribeBudget_Examples">Examples</a>
324-
* section. </p> <p><h3>See Also:</h3> <a
331+
* section.</p> <p><h3>See Also:</h3> <a
325332
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/DescribeBudget">AWS
326333
* API Reference</a></p>
327334
*/
@@ -505,7 +512,7 @@ namespace Budgets
505512
* Request Syntax section shows the <code>BudgetLimit</code> syntax. For
506513
* <code>PlannedBudgetLimits</code>, see the <a
507514
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudgets.html#API_DescribeBudgets_Examples">Examples</a>
508-
* section. </p> <p><h3>See Also:</h3> <a
515+
* section.</p> <p><h3>See Also:</h3> <a
509516
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/DescribeBudgets">AWS
510517
* API Reference</a></p>
511518
*/
@@ -694,7 +701,14 @@ namespace Budgets
694701
* Syntax section shows the <code>BudgetLimit</code> syntax. For
695702
* <code>PlannedBudgetLimits</code>, see the <a
696703
* href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_UpdateBudget.html#API_UpdateBudget_Examples">Examples</a>
697-
* section. </p> <p><h3>See Also:</h3> <a
704+
* section.</p> <p>Similarly, only one set of filter and metric selections can be
705+
* present in the syntax at one time. Either <code>FilterExpression</code> and
706+
* <code>Metrics</code> or <code>CostFilters</code> and <code>CostTypes</code>, not
707+
* both or a different combination. We recommend using
708+
* <code>FilterExpression</code> and <code>Metrics</code> as they provide more
709+
* flexible and powerful filtering capabilities. The Request Syntax section shows
710+
* the <code>FilterExpression</code>/<code>Metrics</code> syntax.</p>
711+
* <p><h3>See Also:</h3> <a
698712
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/UpdateBudget">AWS
699713
* API Reference</a></p>
700714
*/

generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/Budget.h

Lines changed: 34 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
#include <aws/core/utils/memory/stl/AWSString.h>
99
#include <aws/budgets/model/Spend.h>
1010
#include <aws/core/utils/memory/stl/AWSMap.h>
11-
#include <aws/budgets/model/CostTypes.h>
1211
#include <aws/budgets/model/TimeUnit.h>
1312
#include <aws/budgets/model/TimePeriod.h>
1413
#include <aws/budgets/model/CalculatedSpend.h>
1514
#include <aws/budgets/model/BudgetType.h>
1615
#include <aws/core/utils/DateTime.h>
1716
#include <aws/budgets/model/AutoAdjustData.h>
17+
#include <aws/budgets/model/Expression.h>
1818
#include <aws/core/utils/memory/stl/AWSVector.h>
19+
#include <aws/budgets/model/Metric.h>
1920
#include <utility>
2021

2122
namespace Aws
@@ -126,43 +127,6 @@ namespace Model
126127
}
127128
///@}
128129

129-
///@{
130-
/**
131-
* <p>The cost filters, such as <code>Region</code>, <code>Service</code>,
132-
* <code>LinkedAccount</code>, <code>Tag</code>, or <code>CostCategory</code>, that
133-
* are applied to a budget.</p> <p>Amazon Web Services Budgets supports the
134-
* following services as a <code>Service</code> filter for RI budgets:</p> <ul>
135-
* <li> <p>Amazon EC2</p> </li> <li> <p>Amazon Redshift</p> </li> <li> <p>Amazon
136-
* Relational Database Service</p> </li> <li> <p>Amazon ElastiCache</p> </li> <li>
137-
* <p>Amazon OpenSearch Service</p> </li> </ul>
138-
*/
139-
inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetCostFilters() const { return m_costFilters; }
140-
inline bool CostFiltersHasBeenSet() const { return m_costFiltersHasBeenSet; }
141-
template<typename CostFiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
142-
void SetCostFilters(CostFiltersT&& value) { m_costFiltersHasBeenSet = true; m_costFilters = std::forward<CostFiltersT>(value); }
143-
template<typename CostFiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
144-
Budget& WithCostFilters(CostFiltersT&& value) { SetCostFilters(std::forward<CostFiltersT>(value)); return *this;}
145-
template<typename CostFiltersKeyT = Aws::String, typename CostFiltersValueT = Aws::Vector<Aws::String>>
146-
Budget& AddCostFilters(CostFiltersKeyT&& key, CostFiltersValueT&& value) {
147-
m_costFiltersHasBeenSet = true; m_costFilters.emplace(std::forward<CostFiltersKeyT>(key), std::forward<CostFiltersValueT>(value)); return *this;
148-
}
149-
///@}
150-
151-
///@{
152-
/**
153-
* <p>The types of costs that are included in this <code>COST</code> budget.</p>
154-
* <p> <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>,
155-
* <code>SAVINGS_PLANS_UTILIZATION</code>, and <code>SAVINGS_PLANS_COVERAGE</code>
156-
* budgets do not have <code>CostTypes</code>.</p>
157-
*/
158-
inline const CostTypes& GetCostTypes() const { return m_costTypes; }
159-
inline bool CostTypesHasBeenSet() const { return m_costTypesHasBeenSet; }
160-
template<typename CostTypesT = CostTypes>
161-
void SetCostTypes(CostTypesT&& value) { m_costTypesHasBeenSet = true; m_costTypes = std::forward<CostTypesT>(value); }
162-
template<typename CostTypesT = CostTypes>
163-
Budget& WithCostTypes(CostTypesT&& value) { SetCostTypes(std::forward<CostTypesT>(value)); return *this;}
164-
///@}
165-
166130
///@{
167131
/**
168132
* <p>The length of time until a budget resets the actual and forecasted spend.</p>
@@ -175,7 +139,7 @@ namespace Model
175139

176140
///@{
177141
/**
178-
* <p>The period of time that's covered by a budget. You setthe start date and end
142+
* <p>The period of time that's covered by a budget. You set the start date and end
179143
* date. The start date must come before the end date. The end date must come
180144
* before <code>06/15/87 00:00 UTC</code>. </p> <p>If you create your budget and
181145
* don't specify a start date, Amazon Web Services defaults to the start of your
@@ -245,6 +209,31 @@ namespace Model
245209
template<typename AutoAdjustDataT = AutoAdjustData>
246210
Budget& WithAutoAdjustData(AutoAdjustDataT&& value) { SetAutoAdjustData(std::forward<AutoAdjustDataT>(value)); return *this;}
247211
///@}
212+
213+
///@{
214+
/**
215+
* <p>The filtering dimensions for the budget and their corresponding values.</p>
216+
*/
217+
inline const Expression& GetFilterExpression() const { return m_filterExpression; }
218+
inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
219+
template<typename FilterExpressionT = Expression>
220+
void SetFilterExpression(FilterExpressionT&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::forward<FilterExpressionT>(value); }
221+
template<typename FilterExpressionT = Expression>
222+
Budget& WithFilterExpression(FilterExpressionT&& value) { SetFilterExpression(std::forward<FilterExpressionT>(value)); return *this;}
223+
///@}
224+
225+
///@{
226+
/**
227+
* <p>The definition for how the budget data is aggregated.</p>
228+
*/
229+
inline const Aws::Vector<Metric>& GetMetrics() const { return m_metrics; }
230+
inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
231+
template<typename MetricsT = Aws::Vector<Metric>>
232+
void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
233+
template<typename MetricsT = Aws::Vector<Metric>>
234+
Budget& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
235+
inline Budget& AddMetrics(Metric value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; }
236+
///@}
248237
private:
249238

250239
Aws::String m_budgetName;
@@ -256,12 +245,6 @@ namespace Model
256245
Aws::Map<Aws::String, Spend> m_plannedBudgetLimits;
257246
bool m_plannedBudgetLimitsHasBeenSet = false;
258247

259-
Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_costFilters;
260-
bool m_costFiltersHasBeenSet = false;
261-
262-
CostTypes m_costTypes;
263-
bool m_costTypesHasBeenSet = false;
264-
265248
TimeUnit m_timeUnit{TimeUnit::NOT_SET};
266249
bool m_timeUnitHasBeenSet = false;
267250

@@ -279,6 +262,12 @@ namespace Model
279262

280263
AutoAdjustData m_autoAdjustData;
281264
bool m_autoAdjustDataHasBeenSet = false;
265+
266+
Expression m_filterExpression;
267+
bool m_filterExpressionHasBeenSet = false;
268+
269+
Aws::Vector<Metric> m_metrics;
270+
bool m_metricsHasBeenSet = false;
282271
};
283272

284273
} // namespace Model
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
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/budgets/Budgets_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/core/utils/memory/stl/AWSVector.h>
10+
#include <aws/budgets/model/MatchOption.h>
11+
#include <utility>
12+
13+
namespace Aws
14+
{
15+
namespace Utils
16+
{
17+
namespace Json
18+
{
19+
class JsonValue;
20+
class JsonView;
21+
} // namespace Json
22+
} // namespace Utils
23+
namespace Budgets
24+
{
25+
namespace Model
26+
{
27+
28+
/**
29+
* <p>The cost category values used for filtering the costs.</p><p><h3>See
30+
* Also:</h3> <a
31+
* href="http://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/CostCategoryValues">AWS
32+
* API Reference</a></p>
33+
*/
34+
class CostCategoryValues
35+
{
36+
public:
37+
AWS_BUDGETS_API CostCategoryValues() = default;
38+
AWS_BUDGETS_API CostCategoryValues(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_BUDGETS_API CostCategoryValues& operator=(Aws::Utils::Json::JsonView jsonValue);
40+
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
41+
42+
43+
///@{
44+
/**
45+
* <p>The unique name of the cost category.</p>
46+
*/
47+
inline const Aws::String& GetKey() const { return m_key; }
48+
inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49+
template<typename KeyT = Aws::String>
50+
void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
51+
template<typename KeyT = Aws::String>
52+
CostCategoryValues& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
53+
///@}
54+
55+
///@{
56+
/**
57+
* <p>The specific value of the cost category.</p>
58+
*/
59+
inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
60+
inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
61+
template<typename ValuesT = Aws::Vector<Aws::String>>
62+
void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
63+
template<typename ValuesT = Aws::Vector<Aws::String>>
64+
CostCategoryValues& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
65+
template<typename ValuesT = Aws::String>
66+
CostCategoryValues& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
67+
///@}
68+
69+
///@{
70+
/**
71+
* <p>The match options that you can use to filter your results. </p>
72+
*/
73+
inline const Aws::Vector<MatchOption>& GetMatchOptions() const { return m_matchOptions; }
74+
inline bool MatchOptionsHasBeenSet() const { return m_matchOptionsHasBeenSet; }
75+
template<typename MatchOptionsT = Aws::Vector<MatchOption>>
76+
void SetMatchOptions(MatchOptionsT&& value) { m_matchOptionsHasBeenSet = true; m_matchOptions = std::forward<MatchOptionsT>(value); }
77+
template<typename MatchOptionsT = Aws::Vector<MatchOption>>
78+
CostCategoryValues& WithMatchOptions(MatchOptionsT&& value) { SetMatchOptions(std::forward<MatchOptionsT>(value)); return *this;}
79+
inline CostCategoryValues& AddMatchOptions(MatchOption value) { m_matchOptionsHasBeenSet = true; m_matchOptions.push_back(value); return *this; }
80+
///@}
81+
private:
82+
83+
Aws::String m_key;
84+
bool m_keyHasBeenSet = false;
85+
86+
Aws::Vector<Aws::String> m_values;
87+
bool m_valuesHasBeenSet = false;
88+
89+
Aws::Vector<MatchOption> m_matchOptions;
90+
bool m_matchOptionsHasBeenSet = false;
91+
};
92+
93+
} // namespace Model
94+
} // namespace Budgets
95+
} // namespace Aws

generated/src/aws-cpp-sdk-budgets/include/aws/budgets/model/DescribeBudgetRequest.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,29 @@ namespace Model
6161
template<typename BudgetNameT = Aws::String>
6262
DescribeBudgetRequest& WithBudgetName(BudgetNameT&& value) { SetBudgetName(std::forward<BudgetNameT>(value)); return *this;}
6363
///@}
64+
65+
///@{
66+
/**
67+
* <p>Specifies whether the response includes the filter expression associated with
68+
* the budget. By showing the filter expression, you can see detailed filtering
69+
* logic applied to the budget, such as Amazon Web Services services or tags that
70+
* are being tracked.</p>
71+
*/
72+
inline bool GetShowFilterExpression() const { return m_showFilterExpression; }
73+
inline bool ShowFilterExpressionHasBeenSet() const { return m_showFilterExpressionHasBeenSet; }
74+
inline void SetShowFilterExpression(bool value) { m_showFilterExpressionHasBeenSet = true; m_showFilterExpression = value; }
75+
inline DescribeBudgetRequest& WithShowFilterExpression(bool value) { SetShowFilterExpression(value); return *this;}
76+
///@}
6477
private:
6578

6679
Aws::String m_accountId;
6780
bool m_accountIdHasBeenSet = false;
6881

6982
Aws::String m_budgetName;
7083
bool m_budgetNameHasBeenSet = false;
84+
85+
bool m_showFilterExpression{false};
86+
bool m_showFilterExpressionHasBeenSet = false;
7187
};
7288

7389
} // namespace Model

0 commit comments

Comments
 (0)