Skip to content

Commit 203cdab

Browse files
Added support for cross account through Id parameter overloading with ARN and allow owner account for some APIs instead of ARN
CMAF Ingest output groups in MediaLive can now accept one additional destination url for single pipeline channels and up to two additional destination urls for standard channels. AWS Glue now supports Trusted Identity Propagation. This release 1/ Adds support for throttled keys mode for CloudWatch Contributor Insights, 2/ Adds throttling reasons to exceptions across dataplane APIs. 3/ Explicitly models ThrottlingException as a class in statically typed languages. Refer to the launch day blog post for more details. Added pagination support for DescribeHostedConnections, DescribeVirtualInterfaces, DescribeConnections, DescribeInterconnects, DescribeLags. Added asnLong support for BGP peer operations which supports a large range. New APIs introduced to import WorkSpaces BYOL image using a new process that leveraged EC2 Image Builder. WorkSpaces tests and fixes your image's compatibility issues and supports customized VM images. This release adds ModifyInstanceConnectEndpoint API to update configurations on existing EC2 Instance Connect Endpoints and improves IPv6 support through dualstack DNS names for EC2 Instance Connect Endpoints. Updated the regex pattern and description of iamInstanceProfileArn in the CreateComputeNodeGroup and UpdateComputeNodeGroup API actions. Name and path requirements apply to the ARN of the IAM role associated with the instance profile and not the ARN of the instance profile. Endpoint rule test and documentation update. Added support for entity lists. Documentation update for Amazon Q Apps API Reference Initial SDK release for AWS Billing and Cost Management Recommended Actions. Amazon FSx for NetApp ONTAP 2nd generation file systems now support decreasing SSD storage capacity.
1 parent 7d4023f commit 203cdab

File tree

338 files changed

+17331
-1640
lines changed

Some content is hidden

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

338 files changed

+17331
-1640
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.626
1+
1.11.627
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
#include <algorithm>
6+
#include <aws/core/auth/AWSCredentialsProviderChain.h>
7+
#include <aws/core/client/AsyncCallerContext.h>
8+
#include <aws/core/client/ClientConfiguration.h>
9+
#include <aws/core/client/CoreErrors.h>
10+
#include <aws/core/http/HttpTypes.h>
11+
#include <aws/core/utils/Outcome.h>
12+
#include <aws/core/utils/UnreferencedParam.h>
13+
#include <aws/core/utils/logging/LogMacros.h>
14+
#include <aws/core/utils/memory/AWSMemory.h>
15+
#include <utility>
16+
#include <aws/testing/AwsCppSdkGTestSuite.h>
17+
#include <aws/testing/AwsTestHelpers.h>
18+
#include <aws/bcm-recommended-actions/BCMRecommendedActionsClient.h>
19+
#include <aws/bcm-recommended-actions/model/ListRecommendedActionsRequest.h>
20+
21+
namespace BCMRecommendedActionsSmokeTest{
22+
using namespace Aws::Auth;
23+
using namespace Aws::Http;
24+
using namespace Aws::Client;
25+
26+
using namespace Aws::BCMRecommendedActions;
27+
using namespace Aws::BCMRecommendedActions::Model;
28+
class BCMRecommendedActionsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
29+
public:
30+
static const char ALLOCATION_TAG[];
31+
};
32+
const char BCMRecommendedActionsSmokeTestSuite::ALLOCATION_TAG[] = "BCMRecommendedActionsSmokeTest";
33+
TEST_F(BCMRecommendedActionsSmokeTestSuite, ListRecommendedActionsSuccess )
34+
{
35+
Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration clientConfiguration;
36+
clientConfiguration.region = "us-west-2";
37+
clientConfiguration.useFIPS = false;
38+
clientConfiguration.useDualStack = false;
39+
auto clientSp = Aws::MakeShared<BCMRecommendedActionsClient>(ALLOCATION_TAG, clientConfiguration);
40+
//populate input params
41+
42+
ListRecommendedActionsRequest input;
43+
input.SetMaxResults(10);
44+
auto outcome = clientSp->ListRecommendedActions(input);
45+
EXPECT_FALSE( outcome.IsSuccess());
46+
}
47+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
add_project(bcm-recommended-actions-smoke-tests
2+
"Tests for the AWS BCM-RECOMMENDED-ACTIONS C++ SDK"
3+
testing-resources
4+
aws-cpp-sdk-bcm-recommended-actions
5+
aws-cpp-sdk-core
6+
)
7+
file(GLOB AWS_BCM-RECOMMENDED-ACTIONS_GENERATED_SMOKE_TEST_SRC
8+
"${CMAKE_CURRENT_SOURCE_DIR}/../RunTests.cpp"
9+
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
10+
)
11+
if(MSVC AND BUILD_SHARED_LIBS)
12+
add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1)
13+
endif()
14+
15+
if (CMAKE_CROSSCOMPILING)
16+
set(AUTORUN_UNIT_TESTS OFF)
17+
endif()
18+
19+
if (AUTORUN_UNIT_TESTS)
20+
enable_testing()
21+
endif()
22+
23+
if(PLATFORM_ANDROID AND BUILD_SHARED_LIBS)
24+
add_library(${PROJECT_NAME} "${AWS_BCM-RECOMMENDED-ACTIONS_GENERATED_SMOKE_TEST_SRC}")
25+
else()
26+
add_executable(${PROJECT_NAME} "${AWS_BCM-RECOMMENDED-ACTIONS_GENERATED_SMOKE_TEST_SRC}")
27+
endif()
28+
29+
set_compiler_flags(${PROJECT_NAME})
30+
set_compiler_warnings(${PROJECT_NAME})
31+
32+
target_include_directories(${PROJECT_NAME} PUBLIC
33+
${CMAKE_CURRENT_SOURCE_DIR}/../../src/aws-cpp-sdk-bcm-recommended-actions/include)
34+
35+
target_link_libraries(${PROJECT_NAME}
36+
${PROJECT_LIBS})
37+
38+
if(NOT CMAKE_CROSSCOMPILING)
39+
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
40+
endif()
41+

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/ARCRegionswitchClient.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ namespace ARCRegionswitch
2323
* Region to another. You can test your plans in practice mode before using them in
2424
* a real recovery scenario.</p> <p>Region switch provides a structured approach to
2525
* multi-Region failover, helping you to meet your recovery time objectives (RTOs)
26-
* and maintain business continuity during regional disruptions.</p>
26+
* and maintain business continuity during regional disruptions.</p> <p>For more
27+
* information, see <a
28+
* href="https://docs.aws.amazon.com/r53recovery/latest/dg/region-switch.html">Region
29+
* switch in ARC</a> in the <i>Amazon Application Recovery Controller User
30+
* Guide</i>.</p>
2731
*/
2832
class AWS_ARCREGIONSWITCH_API ARCRegionswitchClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<ARCRegionswitchClient>
2933
{
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
add_project(aws-cpp-sdk-bcm-recommended-actions "C++ SDK for the AWS bcm-recommended-actions service" aws-cpp-sdk-core)
2+
3+
file(GLOB AWS_BCM-RECOMMENDED-ACTIONS_HEADERS
4+
"include/aws/bcm-recommended-actions/*.h"
5+
)
6+
7+
file(GLOB AWS_BCM-RECOMMENDED-ACTIONS_MODEL_HEADERS
8+
"include/aws/bcm-recommended-actions/model/*.h"
9+
)
10+
11+
file(GLOB AWS_BCM-RECOMMENDED-ACTIONS_SOURCE
12+
"source/*.cpp"
13+
)
14+
15+
file(GLOB AWS_BCM-RECOMMENDED-ACTIONS_MODEL_SOURCE
16+
"source/model/*.cpp"
17+
)
18+
19+
file(GLOB BCM-RECOMMENDED-ACTIONS_UNIFIED_HEADERS
20+
${AWS_BCM-RECOMMENDED-ACTIONS_HEADERS}
21+
${AWS_BCM-RECOMMENDED-ACTIONS_MODEL_HEADERS}
22+
)
23+
24+
file(GLOB BCM-RECOMMENDED-ACTIONS_UNITY_SRC
25+
${AWS_BCM-RECOMMENDED-ACTIONS_SOURCE}
26+
${AWS_BCM-RECOMMENDED-ACTIONS_MODEL_SOURCE}
27+
)
28+
29+
if(ENABLE_UNITY_BUILD)
30+
enable_unity_build("BCM-RECOMMENDED-ACTIONS" BCM-RECOMMENDED-ACTIONS_UNITY_SRC)
31+
endif()
32+
33+
file(GLOB BCM-RECOMMENDED-ACTIONS_SRC
34+
${BCM-RECOMMENDED-ACTIONS_UNIFIED_HEADERS}
35+
${BCM-RECOMMENDED-ACTIONS_UNITY_SRC}
36+
)
37+
38+
if(WIN32)
39+
#if we are compiling for visual studio, create a sane directory tree.
40+
if(MSVC)
41+
source_group("Header Files\\aws\\bcm-recommended-actions" FILES ${AWS_BCM-RECOMMENDED-ACTIONS_HEADERS})
42+
source_group("Header Files\\aws\\bcm-recommended-actions\\model" FILES ${AWS_BCM-RECOMMENDED-ACTIONS_MODEL_HEADERS})
43+
source_group("Source Files" FILES ${AWS_BCM-RECOMMENDED-ACTIONS_SOURCE})
44+
source_group("Source Files\\model" FILES ${AWS_BCM-RECOMMENDED-ACTIONS_MODEL_SOURCE})
45+
endif(MSVC)
46+
endif()
47+
48+
set(BCM-RECOMMENDED-ACTIONS_INCLUDES
49+
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
50+
)
51+
52+
add_library(${PROJECT_NAME} ${BCM-RECOMMENDED-ACTIONS_SRC})
53+
add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
54+
55+
set_compiler_flags(${PROJECT_NAME})
56+
set_compiler_warnings(${PROJECT_NAME})
57+
58+
if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS)
59+
target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_BCMRECOMMENDEDACTIONS_EXPORTS")
60+
endif()
61+
62+
target_include_directories(${PROJECT_NAME} PUBLIC
63+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
64+
$<INSTALL_INTERFACE:include>)
65+
66+
target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS})
67+
68+
69+
setup_install()
70+
71+
install (FILES ${AWS_BCM-RECOMMENDED-ACTIONS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/bcm-recommended-actions)
72+
install (FILES ${AWS_BCM-RECOMMENDED-ACTIONS_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/bcm-recommended-actions/model)
73+
74+
do_packaging()
75+
76+
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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/bcm-recommended-actions/BCMRecommendedActions_EXPORTS.h>
8+
#include <aws/core/client/ClientConfiguration.h>
9+
#include <aws/core/client/AWSClient.h>
10+
#include <aws/core/client/AWSClientAsyncCRTP.h>
11+
#include <aws/core/utils/json/JsonSerializer.h>
12+
#include <aws/bcm-recommended-actions/BCMRecommendedActionsServiceClientModel.h>
13+
14+
namespace Aws
15+
{
16+
namespace BCMRecommendedActions
17+
{
18+
/**
19+
* <p>You can use the Billing and Cost Management Recommended Actions API to
20+
* programmatically query your best practices and recommendations to optimize your
21+
* costs.</p> <p>The Billing and Cost Management Recommended Actions API provides
22+
* the following endpoint:</p> <ul> <li> <p>
23+
* https://bcm-recommended-actions.us-east-1.api.aws</p> </li> </ul>
24+
*/
25+
class AWS_BCMRECOMMENDEDACTIONS_API BCMRecommendedActionsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<BCMRecommendedActionsClient>
26+
{
27+
public:
28+
typedef Aws::Client::AWSJsonClient BASECLASS;
29+
static const char* GetServiceName();
30+
static const char* GetAllocationTag();
31+
32+
typedef BCMRecommendedActionsClientConfiguration ClientConfigurationType;
33+
typedef BCMRecommendedActionsEndpointProvider EndpointProviderType;
34+
35+
/**
36+
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
37+
* is not specified, it will be initialized to default values.
38+
*/
39+
BCMRecommendedActionsClient(const Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration& clientConfiguration = Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration(),
40+
std::shared_ptr<BCMRecommendedActionsEndpointProviderBase> endpointProvider = nullptr);
41+
42+
/**
43+
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
44+
* is not specified, it will be initialized to default values.
45+
*/
46+
BCMRecommendedActionsClient(const Aws::Auth::AWSCredentials& credentials,
47+
std::shared_ptr<BCMRecommendedActionsEndpointProviderBase> endpointProvider = nullptr,
48+
const Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration& clientConfiguration = Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration());
49+
50+
/**
51+
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
52+
* the default http client factory will be used
53+
*/
54+
BCMRecommendedActionsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
55+
std::shared_ptr<BCMRecommendedActionsEndpointProviderBase> endpointProvider = nullptr,
56+
const Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration& clientConfiguration = Aws::BCMRecommendedActions::BCMRecommendedActionsClientConfiguration());
57+
58+
59+
/* Legacy constructors due deprecation */
60+
/**
61+
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
62+
* is not specified, it will be initialized to default values.
63+
*/
64+
BCMRecommendedActionsClient(const Aws::Client::ClientConfiguration& clientConfiguration);
65+
66+
/**
67+
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
68+
* is not specified, it will be initialized to default values.
69+
*/
70+
BCMRecommendedActionsClient(const Aws::Auth::AWSCredentials& credentials,
71+
const Aws::Client::ClientConfiguration& clientConfiguration);
72+
73+
/**
74+
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
75+
* the default http client factory will be used
76+
*/
77+
BCMRecommendedActionsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
78+
const Aws::Client::ClientConfiguration& clientConfiguration);
79+
80+
/* End of legacy constructors due deprecation */
81+
virtual ~BCMRecommendedActionsClient();
82+
83+
/**
84+
* <p>Returns a list of recommended actions that match the filter
85+
* criteria.</p><p><h3>See Also:</h3> <a
86+
* href="http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ListRecommendedActions">AWS
87+
* API Reference</a></p>
88+
*/
89+
virtual Model::ListRecommendedActionsOutcome ListRecommendedActions(const Model::ListRecommendedActionsRequest& request = {}) const;
90+
91+
/**
92+
* A Callable wrapper for ListRecommendedActions that returns a future to the operation so that it can be executed in parallel to other requests.
93+
*/
94+
template<typename ListRecommendedActionsRequestT = Model::ListRecommendedActionsRequest>
95+
Model::ListRecommendedActionsOutcomeCallable ListRecommendedActionsCallable(const ListRecommendedActionsRequestT& request = {}) const
96+
{
97+
return SubmitCallable(&BCMRecommendedActionsClient::ListRecommendedActions, request);
98+
}
99+
100+
/**
101+
* An Async wrapper for ListRecommendedActions that queues the request into a thread executor and triggers associated callback when operation has finished.
102+
*/
103+
template<typename ListRecommendedActionsRequestT = Model::ListRecommendedActionsRequest>
104+
void ListRecommendedActionsAsync(const ListRecommendedActionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListRecommendedActionsRequestT& request = {}) const
105+
{
106+
return SubmitAsync(&BCMRecommendedActionsClient::ListRecommendedActions, request, handler, context);
107+
}
108+
109+
110+
void OverrideEndpoint(const Aws::String& endpoint);
111+
std::shared_ptr<BCMRecommendedActionsEndpointProviderBase>& accessEndpointProvider();
112+
private:
113+
friend class Aws::Client::ClientWithAsyncTemplateMethods<BCMRecommendedActionsClient>;
114+
void init(const BCMRecommendedActionsClientConfiguration& clientConfiguration);
115+
116+
BCMRecommendedActionsClientConfiguration m_clientConfiguration;
117+
std::shared_ptr<BCMRecommendedActionsEndpointProviderBase> m_endpointProvider;
118+
};
119+
120+
} // namespace BCMRecommendedActions
121+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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/bcm-recommended-actions/BCMRecommendedActions_EXPORTS.h>
8+
#include <aws/core/client/GenericClientConfiguration.h>
9+
#include <aws/core/endpoint/DefaultEndpointProvider.h>
10+
#include <aws/core/endpoint/EndpointParameter.h>
11+
#include <aws/core/utils/memory/stl/AWSString.h>
12+
#include <aws/core/utils/memory/stl/AWSVector.h>
13+
14+
#include <aws/bcm-recommended-actions/BCMRecommendedActionsEndpointRules.h>
15+
16+
17+
namespace Aws
18+
{
19+
namespace BCMRecommendedActions
20+
{
21+
namespace Endpoint
22+
{
23+
using EndpointParameters = Aws::Endpoint::EndpointParameters;
24+
using Aws::Endpoint::EndpointProviderBase;
25+
using Aws::Endpoint::DefaultEndpointProvider;
26+
27+
using BCMRecommendedActionsClientContextParameters = Aws::Endpoint::ClientContextParameters;
28+
29+
using BCMRecommendedActionsClientConfiguration = Aws::Client::GenericClientConfiguration;
30+
using BCMRecommendedActionsBuiltInParameters = Aws::Endpoint::BuiltInParameters;
31+
32+
/**
33+
* The type for the BCMRecommendedActions Client Endpoint Provider.
34+
* Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider.
35+
* The SDK must use service-specific type for each service per specification.
36+
*/
37+
using BCMRecommendedActionsEndpointProviderBase =
38+
EndpointProviderBase<BCMRecommendedActionsClientConfiguration, BCMRecommendedActionsBuiltInParameters, BCMRecommendedActionsClientContextParameters>;
39+
40+
using BCMRecommendedActionsDefaultEpProviderBase =
41+
DefaultEndpointProvider<BCMRecommendedActionsClientConfiguration, BCMRecommendedActionsBuiltInParameters, BCMRecommendedActionsClientContextParameters>;
42+
43+
/**
44+
* Default endpoint provider used for this service
45+
*/
46+
class AWS_BCMRECOMMENDEDACTIONS_API BCMRecommendedActionsEndpointProvider : public BCMRecommendedActionsDefaultEpProviderBase
47+
{
48+
public:
49+
using BCMRecommendedActionsResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;
50+
51+
BCMRecommendedActionsEndpointProvider()
52+
: BCMRecommendedActionsDefaultEpProviderBase(Aws::BCMRecommendedActions::BCMRecommendedActionsEndpointRules::GetRulesBlob(), Aws::BCMRecommendedActions::BCMRecommendedActionsEndpointRules::RulesBlobSize)
53+
{}
54+
55+
~BCMRecommendedActionsEndpointProvider()
56+
{
57+
}
58+
};
59+
} // namespace Endpoint
60+
} // namespace BCMRecommendedActions
61+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 <cstddef>
8+
#include <aws/bcm-recommended-actions/BCMRecommendedActions_EXPORTS.h>
9+
10+
namespace Aws
11+
{
12+
namespace BCMRecommendedActions
13+
{
14+
class BCMRecommendedActionsEndpointRules
15+
{
16+
public:
17+
static const size_t RulesBlobStrLen;
18+
static const size_t RulesBlobSize;
19+
20+
static const char* GetRulesBlob();
21+
};
22+
} // namespace BCMRecommendedActions
23+
} // namespace Aws

0 commit comments

Comments
 (0)