Skip to content

Commit bdf4f66

Browse files
AWS Deadline Cloud service-managed fleets now support storage profiles. With storage profiles, you can map file paths between a workstation and the worker hosts running the job.
This release introduces Cost Comparison feature (GetCostAndUsageComparisons, GetCostComparisonDrivers) allowing you find cost variations across multiple dimensions and identify key drivers of spending changes. This release adds three features - option to store AWS Site-to-Site VPN pre-shared keys in AWS Secrets Manager, GetActiveVpnTunnelStatus API to check the in-use VPN algorithms, and SampleType option in GetVpnConnectionDeviceSampleConfiguration API to get recommended sample configs for VPN devices.
1 parent 4df00a7 commit bdf4f66

File tree

51 files changed

+3820
-878
lines changed

Some content is hidden

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

51 files changed

+3820
-878
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.575
1+
1.11.576

generated/src/aws-cpp-sdk-ce/include/aws/ce/CostExplorerClient.h

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,33 @@ namespace CostExplorer
441441
return SubmitAsync(&CostExplorerClient::GetCostAndUsage, request, handler, context);
442442
}
443443

444+
/**
445+
* <p>Retrieves cost and usage comparisons for your account between two periods
446+
* within the last 13 months. If you have enabled multi-year data at monthly
447+
* granularity, you can go back up to 38 months.</p><p><h3>See Also:</h3> <a
448+
* href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageComparisons">AWS
449+
* API Reference</a></p>
450+
*/
451+
virtual Model::GetCostAndUsageComparisonsOutcome GetCostAndUsageComparisons(const Model::GetCostAndUsageComparisonsRequest& request) const;
452+
453+
/**
454+
* A Callable wrapper for GetCostAndUsageComparisons that returns a future to the operation so that it can be executed in parallel to other requests.
455+
*/
456+
template<typename GetCostAndUsageComparisonsRequestT = Model::GetCostAndUsageComparisonsRequest>
457+
Model::GetCostAndUsageComparisonsOutcomeCallable GetCostAndUsageComparisonsCallable(const GetCostAndUsageComparisonsRequestT& request) const
458+
{
459+
return SubmitCallable(&CostExplorerClient::GetCostAndUsageComparisons, request);
460+
}
461+
462+
/**
463+
* An Async wrapper for GetCostAndUsageComparisons that queues the request into a thread executor and triggers associated callback when operation has finished.
464+
*/
465+
template<typename GetCostAndUsageComparisonsRequestT = Model::GetCostAndUsageComparisonsRequest>
466+
void GetCostAndUsageComparisonsAsync(const GetCostAndUsageComparisonsRequestT& request, const GetCostAndUsageComparisonsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
467+
{
468+
return SubmitAsync(&CostExplorerClient::GetCostAndUsageComparisons, request, handler, context);
469+
}
470+
444471
/**
445472
* <p>Retrieves cost and usage metrics with resources for your account. You can
446473
* specify which cost and usage-related metric, such as <code>BlendedCosts</code>
@@ -509,6 +536,34 @@ namespace CostExplorer
509536
return SubmitAsync(&CostExplorerClient::GetCostCategories, request, handler, context);
510537
}
511538

539+
/**
540+
* <p>Retrieves key factors driving cost changes between two time periods within
541+
* the last 13 months, such as usage changes, discount changes, and
542+
* commitment-based savings. If you have enabled multi-year data at monthly
543+
* granularity, you can go back up to 38 months.</p><p><h3>See Also:</h3> <a
544+
* href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostComparisonDrivers">AWS
545+
* API Reference</a></p>
546+
*/
547+
virtual Model::GetCostComparisonDriversOutcome GetCostComparisonDrivers(const Model::GetCostComparisonDriversRequest& request) const;
548+
549+
/**
550+
* A Callable wrapper for GetCostComparisonDrivers that returns a future to the operation so that it can be executed in parallel to other requests.
551+
*/
552+
template<typename GetCostComparisonDriversRequestT = Model::GetCostComparisonDriversRequest>
553+
Model::GetCostComparisonDriversOutcomeCallable GetCostComparisonDriversCallable(const GetCostComparisonDriversRequestT& request) const
554+
{
555+
return SubmitCallable(&CostExplorerClient::GetCostComparisonDrivers, request);
556+
}
557+
558+
/**
559+
* An Async wrapper for GetCostComparisonDrivers that queues the request into a thread executor and triggers associated callback when operation has finished.
560+
*/
561+
template<typename GetCostComparisonDriversRequestT = Model::GetCostComparisonDriversRequest>
562+
void GetCostComparisonDriversAsync(const GetCostComparisonDriversRequestT& request, const GetCostComparisonDriversResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
563+
{
564+
return SubmitAsync(&CostExplorerClient::GetCostComparisonDrivers, request, handler, context);
565+
}
566+
512567
/**
513568
* <p>Retrieves a forecast for how much Amazon Web Services predicts that you will
514569
* spend over the forecast time period that you select, based on your past costs.

generated/src/aws-cpp-sdk-ce/include/aws/ce/CostExplorerServiceClientModel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
#include <aws/ce/model/GetApproximateUsageRecordsResult.h>
3232
#include <aws/ce/model/GetCommitmentPurchaseAnalysisResult.h>
3333
#include <aws/ce/model/GetCostAndUsageResult.h>
34+
#include <aws/ce/model/GetCostAndUsageComparisonsResult.h>
3435
#include <aws/ce/model/GetCostAndUsageWithResourcesResult.h>
3536
#include <aws/ce/model/GetCostCategoriesResult.h>
37+
#include <aws/ce/model/GetCostComparisonDriversResult.h>
3638
#include <aws/ce/model/GetCostForecastResult.h>
3739
#include <aws/ce/model/GetDimensionValuesResult.h>
3840
#include <aws/ce/model/GetReservationCoverageResult.h>
@@ -123,8 +125,10 @@ namespace Aws
123125
class GetApproximateUsageRecordsRequest;
124126
class GetCommitmentPurchaseAnalysisRequest;
125127
class GetCostAndUsageRequest;
128+
class GetCostAndUsageComparisonsRequest;
126129
class GetCostAndUsageWithResourcesRequest;
127130
class GetCostCategoriesRequest;
131+
class GetCostComparisonDriversRequest;
128132
class GetCostForecastRequest;
129133
class GetDimensionValuesRequest;
130134
class GetReservationCoverageRequest;
@@ -170,8 +174,10 @@ namespace Aws
170174
typedef Aws::Utils::Outcome<GetApproximateUsageRecordsResult, CostExplorerError> GetApproximateUsageRecordsOutcome;
171175
typedef Aws::Utils::Outcome<GetCommitmentPurchaseAnalysisResult, CostExplorerError> GetCommitmentPurchaseAnalysisOutcome;
172176
typedef Aws::Utils::Outcome<GetCostAndUsageResult, CostExplorerError> GetCostAndUsageOutcome;
177+
typedef Aws::Utils::Outcome<GetCostAndUsageComparisonsResult, CostExplorerError> GetCostAndUsageComparisonsOutcome;
173178
typedef Aws::Utils::Outcome<GetCostAndUsageWithResourcesResult, CostExplorerError> GetCostAndUsageWithResourcesOutcome;
174179
typedef Aws::Utils::Outcome<GetCostCategoriesResult, CostExplorerError> GetCostCategoriesOutcome;
180+
typedef Aws::Utils::Outcome<GetCostComparisonDriversResult, CostExplorerError> GetCostComparisonDriversOutcome;
175181
typedef Aws::Utils::Outcome<GetCostForecastResult, CostExplorerError> GetCostForecastOutcome;
176182
typedef Aws::Utils::Outcome<GetDimensionValuesResult, CostExplorerError> GetDimensionValuesOutcome;
177183
typedef Aws::Utils::Outcome<GetReservationCoverageResult, CostExplorerError> GetReservationCoverageOutcome;
@@ -217,8 +223,10 @@ namespace Aws
217223
typedef std::future<GetApproximateUsageRecordsOutcome> GetApproximateUsageRecordsOutcomeCallable;
218224
typedef std::future<GetCommitmentPurchaseAnalysisOutcome> GetCommitmentPurchaseAnalysisOutcomeCallable;
219225
typedef std::future<GetCostAndUsageOutcome> GetCostAndUsageOutcomeCallable;
226+
typedef std::future<GetCostAndUsageComparisonsOutcome> GetCostAndUsageComparisonsOutcomeCallable;
220227
typedef std::future<GetCostAndUsageWithResourcesOutcome> GetCostAndUsageWithResourcesOutcomeCallable;
221228
typedef std::future<GetCostCategoriesOutcome> GetCostCategoriesOutcomeCallable;
229+
typedef std::future<GetCostComparisonDriversOutcome> GetCostComparisonDriversOutcomeCallable;
222230
typedef std::future<GetCostForecastOutcome> GetCostForecastOutcomeCallable;
223231
typedef std::future<GetDimensionValuesOutcome> GetDimensionValuesOutcomeCallable;
224232
typedef std::future<GetReservationCoverageOutcome> GetReservationCoverageOutcomeCallable;
@@ -267,8 +275,10 @@ namespace Aws
267275
typedef std::function<void(const CostExplorerClient*, const Model::GetApproximateUsageRecordsRequest&, const Model::GetApproximateUsageRecordsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetApproximateUsageRecordsResponseReceivedHandler;
268276
typedef std::function<void(const CostExplorerClient*, const Model::GetCommitmentPurchaseAnalysisRequest&, const Model::GetCommitmentPurchaseAnalysisOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCommitmentPurchaseAnalysisResponseReceivedHandler;
269277
typedef std::function<void(const CostExplorerClient*, const Model::GetCostAndUsageRequest&, const Model::GetCostAndUsageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCostAndUsageResponseReceivedHandler;
278+
typedef std::function<void(const CostExplorerClient*, const Model::GetCostAndUsageComparisonsRequest&, const Model::GetCostAndUsageComparisonsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCostAndUsageComparisonsResponseReceivedHandler;
270279
typedef std::function<void(const CostExplorerClient*, const Model::GetCostAndUsageWithResourcesRequest&, const Model::GetCostAndUsageWithResourcesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCostAndUsageWithResourcesResponseReceivedHandler;
271280
typedef std::function<void(const CostExplorerClient*, const Model::GetCostCategoriesRequest&, const Model::GetCostCategoriesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCostCategoriesResponseReceivedHandler;
281+
typedef std::function<void(const CostExplorerClient*, const Model::GetCostComparisonDriversRequest&, const Model::GetCostComparisonDriversOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCostComparisonDriversResponseReceivedHandler;
272282
typedef std::function<void(const CostExplorerClient*, const Model::GetCostForecastRequest&, const Model::GetCostForecastOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCostForecastResponseReceivedHandler;
273283
typedef std::function<void(const CostExplorerClient*, const Model::GetDimensionValuesRequest&, const Model::GetDimensionValuesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetDimensionValuesResponseReceivedHandler;
274284
typedef std::function<void(const CostExplorerClient*, const Model::GetReservationCoverageRequest&, const Model::GetReservationCoverageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetReservationCoverageResponseReceivedHandler;
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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/ce/CostExplorer_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 CostExplorer
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>Contains cost or usage metric values for comparing two time periods. Each
28+
* value includes amounts for the baseline and comparison time periods, their
29+
* difference, and the unit of measurement.</p><p><h3>See Also:</h3> <a
30+
* href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ComparisonMetricValue">AWS
31+
* API Reference</a></p>
32+
*/
33+
class ComparisonMetricValue
34+
{
35+
public:
36+
AWS_COSTEXPLORER_API ComparisonMetricValue() = default;
37+
AWS_COSTEXPLORER_API ComparisonMetricValue(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_COSTEXPLORER_API ComparisonMetricValue& operator=(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
40+
41+
42+
///@{
43+
/**
44+
* <p>The numeric value for the baseline time period measurement.</p>
45+
*/
46+
inline const Aws::String& GetBaselineTimePeriodAmount() const { return m_baselineTimePeriodAmount; }
47+
inline bool BaselineTimePeriodAmountHasBeenSet() const { return m_baselineTimePeriodAmountHasBeenSet; }
48+
template<typename BaselineTimePeriodAmountT = Aws::String>
49+
void SetBaselineTimePeriodAmount(BaselineTimePeriodAmountT&& value) { m_baselineTimePeriodAmountHasBeenSet = true; m_baselineTimePeriodAmount = std::forward<BaselineTimePeriodAmountT>(value); }
50+
template<typename BaselineTimePeriodAmountT = Aws::String>
51+
ComparisonMetricValue& WithBaselineTimePeriodAmount(BaselineTimePeriodAmountT&& value) { SetBaselineTimePeriodAmount(std::forward<BaselineTimePeriodAmountT>(value)); return *this;}
52+
///@}
53+
54+
///@{
55+
/**
56+
* <p>The numeric value for the comparison time period measurement.</p>
57+
*/
58+
inline const Aws::String& GetComparisonTimePeriodAmount() const { return m_comparisonTimePeriodAmount; }
59+
inline bool ComparisonTimePeriodAmountHasBeenSet() const { return m_comparisonTimePeriodAmountHasBeenSet; }
60+
template<typename ComparisonTimePeriodAmountT = Aws::String>
61+
void SetComparisonTimePeriodAmount(ComparisonTimePeriodAmountT&& value) { m_comparisonTimePeriodAmountHasBeenSet = true; m_comparisonTimePeriodAmount = std::forward<ComparisonTimePeriodAmountT>(value); }
62+
template<typename ComparisonTimePeriodAmountT = Aws::String>
63+
ComparisonMetricValue& WithComparisonTimePeriodAmount(ComparisonTimePeriodAmountT&& value) { SetComparisonTimePeriodAmount(std::forward<ComparisonTimePeriodAmountT>(value)); return *this;}
64+
///@}
65+
66+
///@{
67+
/**
68+
* <p>The calculated difference between <code>ComparisonTimePeriodAmount</code> and
69+
* <code>BaselineTimePeriodAmount</code>.</p>
70+
*/
71+
inline const Aws::String& GetDifference() const { return m_difference; }
72+
inline bool DifferenceHasBeenSet() const { return m_differenceHasBeenSet; }
73+
template<typename DifferenceT = Aws::String>
74+
void SetDifference(DifferenceT&& value) { m_differenceHasBeenSet = true; m_difference = std::forward<DifferenceT>(value); }
75+
template<typename DifferenceT = Aws::String>
76+
ComparisonMetricValue& WithDifference(DifferenceT&& value) { SetDifference(std::forward<DifferenceT>(value)); return *this;}
77+
///@}
78+
79+
///@{
80+
/**
81+
* <p>The unit of measurement applicable to all numeric values in this
82+
* comparison.</p>
83+
*/
84+
inline const Aws::String& GetUnit() const { return m_unit; }
85+
inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
86+
template<typename UnitT = Aws::String>
87+
void SetUnit(UnitT&& value) { m_unitHasBeenSet = true; m_unit = std::forward<UnitT>(value); }
88+
template<typename UnitT = Aws::String>
89+
ComparisonMetricValue& WithUnit(UnitT&& value) { SetUnit(std::forward<UnitT>(value)); return *this;}
90+
///@}
91+
private:
92+
93+
Aws::String m_baselineTimePeriodAmount;
94+
bool m_baselineTimePeriodAmountHasBeenSet = false;
95+
96+
Aws::String m_comparisonTimePeriodAmount;
97+
bool m_comparisonTimePeriodAmountHasBeenSet = false;
98+
99+
Aws::String m_difference;
100+
bool m_differenceHasBeenSet = false;
101+
102+
Aws::String m_unit;
103+
bool m_unitHasBeenSet = false;
104+
};
105+
106+
} // namespace Model
107+
} // namespace CostExplorer
108+
} // namespace Aws
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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/ce/CostExplorer_EXPORTS.h>
8+
#include <aws/ce/model/Expression.h>
9+
#include <aws/core/utils/memory/stl/AWSMap.h>
10+
#include <aws/core/utils/memory/stl/AWSString.h>
11+
#include <aws/ce/model/ComparisonMetricValue.h>
12+
#include <utility>
13+
14+
namespace Aws
15+
{
16+
namespace Utils
17+
{
18+
namespace Json
19+
{
20+
class JsonValue;
21+
class JsonView;
22+
} // namespace Json
23+
} // namespace Utils
24+
namespace CostExplorer
25+
{
26+
namespace Model
27+
{
28+
29+
/**
30+
* <p>Represents a comparison of cost and usage metrics between two time
31+
* periods.</p><p><h3>See Also:</h3> <a
32+
* href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostAndUsageComparison">AWS
33+
* API Reference</a></p>
34+
*/
35+
class CostAndUsageComparison
36+
{
37+
public:
38+
AWS_COSTEXPLORER_API CostAndUsageComparison() = default;
39+
AWS_COSTEXPLORER_API CostAndUsageComparison(Aws::Utils::Json::JsonView jsonValue);
40+
AWS_COSTEXPLORER_API CostAndUsageComparison& operator=(Aws::Utils::Json::JsonView jsonValue);
41+
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
42+
43+
44+
///@{
45+
46+
inline const Expression& GetCostAndUsageSelector() const { return m_costAndUsageSelector; }
47+
inline bool CostAndUsageSelectorHasBeenSet() const { return m_costAndUsageSelectorHasBeenSet; }
48+
template<typename CostAndUsageSelectorT = Expression>
49+
void SetCostAndUsageSelector(CostAndUsageSelectorT&& value) { m_costAndUsageSelectorHasBeenSet = true; m_costAndUsageSelector = std::forward<CostAndUsageSelectorT>(value); }
50+
template<typename CostAndUsageSelectorT = Expression>
51+
CostAndUsageComparison& WithCostAndUsageSelector(CostAndUsageSelectorT&& value) { SetCostAndUsageSelector(std::forward<CostAndUsageSelectorT>(value)); return *this;}
52+
///@}
53+
54+
///@{
55+
/**
56+
* <p>A mapping of metric names to their comparison values.</p>
57+
*/
58+
inline const Aws::Map<Aws::String, ComparisonMetricValue>& GetMetrics() const { return m_metrics; }
59+
inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
60+
template<typename MetricsT = Aws::Map<Aws::String, ComparisonMetricValue>>
61+
void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
62+
template<typename MetricsT = Aws::Map<Aws::String, ComparisonMetricValue>>
63+
CostAndUsageComparison& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
64+
template<typename MetricsKeyT = Aws::String, typename MetricsValueT = ComparisonMetricValue>
65+
CostAndUsageComparison& AddMetrics(MetricsKeyT&& key, MetricsValueT&& value) {
66+
m_metricsHasBeenSet = true; m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value)); return *this;
67+
}
68+
///@}
69+
private:
70+
71+
Expression m_costAndUsageSelector;
72+
bool m_costAndUsageSelectorHasBeenSet = false;
73+
74+
Aws::Map<Aws::String, ComparisonMetricValue> m_metrics;
75+
bool m_metricsHasBeenSet = false;
76+
};
77+
78+
} // namespace Model
79+
} // namespace CostExplorer
80+
} // namespace Aws

0 commit comments

Comments
 (0)