Skip to content

Commit 002f687

Browse files
To expand support for matching records using digital identifiers with TransUnion
Added support for ClientRouteEnforcementOptions flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses This release adds refresh token rotation. Fix endpoint resolution test cases You can now delete Amazon MQ broker configurations using the DeleteConfiguration API. For more information, see Configurations in the Amazon MQ API Reference. Provides new and updated API members to support the Redshift Serverless reservations feature. AWS Account Management now supports account name update via IAM principals.
1 parent ce05c3b commit 002f687

File tree

116 files changed

+6222
-961
lines changed

Some content is hidden

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

116 files changed

+6222
-961
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.551
1+
1.11.552

generated/src/aws-cpp-sdk-account/include/aws/account/AccountClient.h

+55
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,34 @@ namespace Account
191191
return SubmitAsync(&AccountClient::EnableRegion, request, handler, context);
192192
}
193193

194+
/**
195+
* <p>Retrieves information about the specified account including its account name,
196+
* account ID, and account creation date and time. To use this API, an IAM user or
197+
* role must have the <code>account:GetAccountInformation</code> IAM permission.
198+
* </p><p><h3>See Also:</h3> <a
199+
* href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetAccountInformation">AWS
200+
* API Reference</a></p>
201+
*/
202+
virtual Model::GetAccountInformationOutcome GetAccountInformation(const Model::GetAccountInformationRequest& request = {}) const;
203+
204+
/**
205+
* A Callable wrapper for GetAccountInformation that returns a future to the operation so that it can be executed in parallel to other requests.
206+
*/
207+
template<typename GetAccountInformationRequestT = Model::GetAccountInformationRequest>
208+
Model::GetAccountInformationOutcomeCallable GetAccountInformationCallable(const GetAccountInformationRequestT& request = {}) const
209+
{
210+
return SubmitCallable(&AccountClient::GetAccountInformation, request);
211+
}
212+
213+
/**
214+
* An Async wrapper for GetAccountInformation that queues the request into a thread executor and triggers associated callback when operation has finished.
215+
*/
216+
template<typename GetAccountInformationRequestT = Model::GetAccountInformationRequest>
217+
void GetAccountInformationAsync(const GetAccountInformationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetAccountInformationRequestT& request = {}) const
218+
{
219+
return SubmitAsync(&AccountClient::GetAccountInformation, request, handler, context);
220+
}
221+
194222
/**
195223
* <p>Retrieves the specified alternate contact attached to an Amazon Web Services
196224
* account.</p> <p>For complete details about how to use the alternate contact
@@ -335,6 +363,33 @@ namespace Account
335363
return SubmitAsync(&AccountClient::ListRegions, request, handler, context);
336364
}
337365

366+
/**
367+
* <p>Updates the account name of the specified account. To use this API, IAM
368+
* principals must have the <code>account:PutAccountName</code> IAM permission.
369+
* </p><p><h3>See Also:</h3> <a
370+
* href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/PutAccountName">AWS
371+
* API Reference</a></p>
372+
*/
373+
virtual Model::PutAccountNameOutcome PutAccountName(const Model::PutAccountNameRequest& request) const;
374+
375+
/**
376+
* A Callable wrapper for PutAccountName that returns a future to the operation so that it can be executed in parallel to other requests.
377+
*/
378+
template<typename PutAccountNameRequestT = Model::PutAccountNameRequest>
379+
Model::PutAccountNameOutcomeCallable PutAccountNameCallable(const PutAccountNameRequestT& request) const
380+
{
381+
return SubmitCallable(&AccountClient::PutAccountName, request);
382+
}
383+
384+
/**
385+
* An Async wrapper for PutAccountName that queues the request into a thread executor and triggers associated callback when operation has finished.
386+
*/
387+
template<typename PutAccountNameRequestT = Model::PutAccountNameRequest>
388+
void PutAccountNameAsync(const PutAccountNameRequestT& request, const PutAccountNameResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
389+
{
390+
return SubmitAsync(&AccountClient::PutAccountName, request, handler, context);
391+
}
392+
338393
/**
339394
* <p>Modifies the specified alternate contact attached to an Amazon Web Services
340395
* account.</p> <p>For complete details about how to use the alternate contact

generated/src/aws-cpp-sdk-account/include/aws/account/AccountServiceClientModel.h

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
/* Service model headers required in AccountClient header */
2121
#include <aws/account/model/AcceptPrimaryEmailUpdateResult.h>
22+
#include <aws/account/model/GetAccountInformationResult.h>
2223
#include <aws/account/model/GetAlternateContactResult.h>
2324
#include <aws/account/model/GetContactInformationResult.h>
2425
#include <aws/account/model/GetPrimaryEmailResult.h>
@@ -27,6 +28,7 @@
2728
#include <aws/account/model/StartPrimaryEmailUpdateResult.h>
2829
#include <aws/account/model/GetContactInformationRequest.h>
2930
#include <aws/account/model/ListRegionsRequest.h>
31+
#include <aws/account/model/GetAccountInformationRequest.h>
3032
#include <aws/core/NoResult.h>
3133
/* End of service model headers required in AccountClient header */
3234

@@ -72,11 +74,13 @@ namespace Aws
7274
class DeleteAlternateContactRequest;
7375
class DisableRegionRequest;
7476
class EnableRegionRequest;
77+
class GetAccountInformationRequest;
7578
class GetAlternateContactRequest;
7679
class GetContactInformationRequest;
7780
class GetPrimaryEmailRequest;
7881
class GetRegionOptStatusRequest;
7982
class ListRegionsRequest;
83+
class PutAccountNameRequest;
8084
class PutAlternateContactRequest;
8185
class PutContactInformationRequest;
8286
class StartPrimaryEmailUpdateRequest;
@@ -87,11 +91,13 @@ namespace Aws
8791
typedef Aws::Utils::Outcome<Aws::NoResult, AccountError> DeleteAlternateContactOutcome;
8892
typedef Aws::Utils::Outcome<Aws::NoResult, AccountError> DisableRegionOutcome;
8993
typedef Aws::Utils::Outcome<Aws::NoResult, AccountError> EnableRegionOutcome;
94+
typedef Aws::Utils::Outcome<GetAccountInformationResult, AccountError> GetAccountInformationOutcome;
9095
typedef Aws::Utils::Outcome<GetAlternateContactResult, AccountError> GetAlternateContactOutcome;
9196
typedef Aws::Utils::Outcome<GetContactInformationResult, AccountError> GetContactInformationOutcome;
9297
typedef Aws::Utils::Outcome<GetPrimaryEmailResult, AccountError> GetPrimaryEmailOutcome;
9398
typedef Aws::Utils::Outcome<GetRegionOptStatusResult, AccountError> GetRegionOptStatusOutcome;
9499
typedef Aws::Utils::Outcome<ListRegionsResult, AccountError> ListRegionsOutcome;
100+
typedef Aws::Utils::Outcome<Aws::NoResult, AccountError> PutAccountNameOutcome;
95101
typedef Aws::Utils::Outcome<Aws::NoResult, AccountError> PutAlternateContactOutcome;
96102
typedef Aws::Utils::Outcome<Aws::NoResult, AccountError> PutContactInformationOutcome;
97103
typedef Aws::Utils::Outcome<StartPrimaryEmailUpdateResult, AccountError> StartPrimaryEmailUpdateOutcome;
@@ -102,11 +108,13 @@ namespace Aws
102108
typedef std::future<DeleteAlternateContactOutcome> DeleteAlternateContactOutcomeCallable;
103109
typedef std::future<DisableRegionOutcome> DisableRegionOutcomeCallable;
104110
typedef std::future<EnableRegionOutcome> EnableRegionOutcomeCallable;
111+
typedef std::future<GetAccountInformationOutcome> GetAccountInformationOutcomeCallable;
105112
typedef std::future<GetAlternateContactOutcome> GetAlternateContactOutcomeCallable;
106113
typedef std::future<GetContactInformationOutcome> GetContactInformationOutcomeCallable;
107114
typedef std::future<GetPrimaryEmailOutcome> GetPrimaryEmailOutcomeCallable;
108115
typedef std::future<GetRegionOptStatusOutcome> GetRegionOptStatusOutcomeCallable;
109116
typedef std::future<ListRegionsOutcome> ListRegionsOutcomeCallable;
117+
typedef std::future<PutAccountNameOutcome> PutAccountNameOutcomeCallable;
110118
typedef std::future<PutAlternateContactOutcome> PutAlternateContactOutcomeCallable;
111119
typedef std::future<PutContactInformationOutcome> PutContactInformationOutcomeCallable;
112120
typedef std::future<StartPrimaryEmailUpdateOutcome> StartPrimaryEmailUpdateOutcomeCallable;
@@ -120,11 +128,13 @@ namespace Aws
120128
typedef std::function<void(const AccountClient*, const Model::DeleteAlternateContactRequest&, const Model::DeleteAlternateContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAlternateContactResponseReceivedHandler;
121129
typedef std::function<void(const AccountClient*, const Model::DisableRegionRequest&, const Model::DisableRegionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DisableRegionResponseReceivedHandler;
122130
typedef std::function<void(const AccountClient*, const Model::EnableRegionRequest&, const Model::EnableRegionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EnableRegionResponseReceivedHandler;
131+
typedef std::function<void(const AccountClient*, const Model::GetAccountInformationRequest&, const Model::GetAccountInformationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetAccountInformationResponseReceivedHandler;
123132
typedef std::function<void(const AccountClient*, const Model::GetAlternateContactRequest&, const Model::GetAlternateContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetAlternateContactResponseReceivedHandler;
124133
typedef std::function<void(const AccountClient*, const Model::GetContactInformationRequest&, const Model::GetContactInformationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetContactInformationResponseReceivedHandler;
125134
typedef std::function<void(const AccountClient*, const Model::GetPrimaryEmailRequest&, const Model::GetPrimaryEmailOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetPrimaryEmailResponseReceivedHandler;
126135
typedef std::function<void(const AccountClient*, const Model::GetRegionOptStatusRequest&, const Model::GetRegionOptStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetRegionOptStatusResponseReceivedHandler;
127136
typedef std::function<void(const AccountClient*, const Model::ListRegionsRequest&, const Model::ListRegionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListRegionsResponseReceivedHandler;
137+
typedef std::function<void(const AccountClient*, const Model::PutAccountNameRequest&, const Model::PutAccountNameOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutAccountNameResponseReceivedHandler;
128138
typedef std::function<void(const AccountClient*, const Model::PutAlternateContactRequest&, const Model::PutAlternateContactOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutAlternateContactResponseReceivedHandler;
129139
typedef std::function<void(const AccountClient*, const Model::PutContactInformationRequest&, const Model::PutContactInformationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutContactInformationResponseReceivedHandler;
130140
typedef std::function<void(const AccountClient*, const Model::StartPrimaryEmailUpdateRequest&, const Model::StartPrimaryEmailUpdateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartPrimaryEmailUpdateResponseReceivedHandler;

generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateRequest.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ namespace Model
4343
* must have <a
4444
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all
4545
* features enabled</a>, and the organization must have <a
46-
* href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted
46+
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted
4747
* access</a> enabled for the Account Management service, and optionally a <a
48-
* href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated
48+
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated
4949
* admin</a> account assigned.</p> <p>This operation can only be called from the
5050
* management account or the delegated administrator account of an organization for
5151
* a member account.</p> <p>The management account can't specify its own
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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/account/Account_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 Account
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>The operation failed because the calling identity doesn't have the minimum
28+
* required permissions.</p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/AccessDeniedException">AWS
30+
* API Reference</a></p>
31+
*/
32+
class AccessDeniedException
33+
{
34+
public:
35+
AWS_ACCOUNT_API AccessDeniedException() = default;
36+
AWS_ACCOUNT_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_ACCOUNT_API AccessDeniedException& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_ACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
///@{
42+
/**
43+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by
44+
* API Gateway.</p>
45+
*/
46+
inline const Aws::String& GetErrorType() const { return m_errorType; }
47+
inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
48+
template<typename ErrorTypeT = Aws::String>
49+
void SetErrorType(ErrorTypeT&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::forward<ErrorTypeT>(value); }
50+
template<typename ErrorTypeT = Aws::String>
51+
AccessDeniedException& WithErrorType(ErrorTypeT&& value) { SetErrorType(std::forward<ErrorTypeT>(value)); return *this;}
52+
///@}
53+
54+
///@{
55+
56+
inline const Aws::String& GetMessage() const { return m_message; }
57+
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
58+
template<typename MessageT = Aws::String>
59+
void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
60+
template<typename MessageT = Aws::String>
61+
AccessDeniedException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
62+
///@}
63+
private:
64+
65+
Aws::String m_errorType;
66+
bool m_errorTypeHasBeenSet = false;
67+
68+
Aws::String m_message;
69+
bool m_messageHasBeenSet = false;
70+
};
71+
72+
} // namespace Model
73+
} // namespace Account
74+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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/account/Account_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 Account
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>The request could not be processed because of a conflict in the current
28+
* status of the resource. For example, this happens if you try to enable a Region
29+
* that is currently being disabled (in a status of DISABLING) or if you try to
30+
* change an account’s root user email to an email address which is already in
31+
* use.</p><p><h3>See Also:</h3> <a
32+
* href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ConflictException">AWS
33+
* API Reference</a></p>
34+
*/
35+
class ConflictException
36+
{
37+
public:
38+
AWS_ACCOUNT_API ConflictException() = default;
39+
AWS_ACCOUNT_API ConflictException(Aws::Utils::Json::JsonView jsonValue);
40+
AWS_ACCOUNT_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue);
41+
AWS_ACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
42+
43+
44+
///@{
45+
/**
46+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by
47+
* API Gateway.</p>
48+
*/
49+
inline const Aws::String& GetErrorType() const { return m_errorType; }
50+
inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
51+
template<typename ErrorTypeT = Aws::String>
52+
void SetErrorType(ErrorTypeT&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::forward<ErrorTypeT>(value); }
53+
template<typename ErrorTypeT = Aws::String>
54+
ConflictException& WithErrorType(ErrorTypeT&& value) { SetErrorType(std::forward<ErrorTypeT>(value)); return *this;}
55+
///@}
56+
57+
///@{
58+
59+
inline const Aws::String& GetMessage() const { return m_message; }
60+
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
61+
template<typename MessageT = Aws::String>
62+
void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
63+
template<typename MessageT = Aws::String>
64+
ConflictException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
65+
///@}
66+
private:
67+
68+
Aws::String m_errorType;
69+
bool m_errorTypeHasBeenSet = false;
70+
71+
Aws::String m_message;
72+
bool m_messageHasBeenSet = false;
73+
};
74+
75+
} // namespace Model
76+
} // namespace Account
77+
} // namespace Aws

generated/src/aws-cpp-sdk-account/include/aws/account/model/DisableRegionRequest.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ namespace Model
4545
* must have <a
4646
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all
4747
* features enabled</a>, and the organization must have <a
48-
* href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted
48+
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted
4949
* access</a> enabled for the Account Management service, and optionally a <a
50-
* href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated
50+
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated
5151
* admin</a> account assigned.</p> <p>The management account can't specify
5252
* its own <code>AccountId</code>. It must call the operation in standalone context
5353
* by not including the <code>AccountId</code> parameter.</p> <p>To call

generated/src/aws-cpp-sdk-account/include/aws/account/model/EnableRegionRequest.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ namespace Model
4545
* must have <a
4646
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all
4747
* features enabled</a>, and the organization must have <a
48-
* href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted
48+
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted
4949
* access</a> enabled for the Account Management service, and optionally a <a
50-
* href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated
50+
* href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated
5151
* admin</a> account assigned.</p> <p>The management account can't specify
5252
* its own <code>AccountId</code>. It must call the operation in standalone context
5353
* by not including the <code>AccountId</code> parameter.</p> <p>To call

0 commit comments

Comments
 (0)