@@ -103,12 +103,13 @@ class AWS_ACCOUNT_API AccountClient : public Aws::Client::AWSJsonClient, public
103103 * <p>Deletes the specified alternate contact from an Amazon Web Services
104104 * account.</p> <p>For complete details about how to use the alternate contact
105105 * operations, see <a
106- * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access
107- * or updating the alternate contacts</a>.</p> <p>Before you can update the
108- * alternate contact information for an Amazon Web Services account that is managed
109- * by Organizations, you must first enable integration between Amazon Web Services
110- * Account Management and Organizations. For more information, see <a
111- * href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling
106+ * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-alternate.html">Update
107+ * the alternate contacts for your Amazon Web Services account</a>.</p>
108+ * <p>Before you can update the alternate contact information for an Amazon Web
109+ * Services account that is managed by Organizations, you must first enable
110+ * integration between Amazon Web Services Account Management and Organizations.
111+ * For more information, see <a
112+ * href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enable
112113 * trusted access for Amazon Web Services Account Management</a>.</p>
113114 * <p><h3>See Also:</h3> <a
114115 * href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DeleteAlternateContact">AWS
@@ -223,12 +224,13 @@ class AWS_ACCOUNT_API AccountClient : public Aws::Client::AWSJsonClient, public
223224 * <p>Retrieves the specified alternate contact attached to an Amazon Web Services
224225 * account.</p> <p>For complete details about how to use the alternate contact
225226 * operations, see <a
226- * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access
227- * or updating the alternate contacts</a>.</p> <p>Before you can update the
228- * alternate contact information for an Amazon Web Services account that is managed
229- * by Organizations, you must first enable integration between Amazon Web Services
230- * Account Management and Organizations. For more information, see <a
231- * href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling
227+ * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-alternate.html">Update
228+ * the alternate contacts for your Amazon Web Services account</a>.</p>
229+ * <p>Before you can update the alternate contact information for an Amazon Web
230+ * Services account that is managed by Organizations, you must first enable
231+ * integration between Amazon Web Services Account Management and Organizations.
232+ * For more information, see <a
233+ * href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enable
232234 * trusted access for Amazon Web Services Account Management</a>.</p>
233235 * <p><h3>See Also:</h3> <a
234236 * href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetAlternateContact">AWS
@@ -259,8 +261,9 @@ class AWS_ACCOUNT_API AccountClient : public Aws::Client::AWSJsonClient, public
259261 * <p>Retrieves the primary contact information of an Amazon Web Services
260262 * account.</p> <p>For complete details about how to use the primary contact
261263 * operations, see <a
262- * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
263- * the primary and alternate contact information</a>.</p><p><h3>See Also:</h3> <a
264+ * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html">Update
265+ * the primary contact for your Amazon Web Services account</a>.</p><p><h3>See
266+ * Also:</h3> <a
264267 * href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetContactInformation">AWS
265268 * API Reference</a></p>
266269 */
@@ -286,6 +289,39 @@ class AWS_ACCOUNT_API AccountClient : public Aws::Client::AWSJsonClient, public
286289 return SubmitAsync (&AccountClient::GetContactInformation, request, handler, context);
287290 }
288291
292+ /* *
293+ * <p>Retrieves information about the GovCloud account linked to the specified
294+ * standard account (if it exists) including the GovCloud account ID and state. To
295+ * use this API, an IAM user or role must have the
296+ * <code>account:GetGovCloudAccountInformation</code> IAM permission.
297+ * </p><p><h3>See Also:</h3> <a
298+ * href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetGovCloudAccountInformation">AWS
299+ * API Reference</a></p>
300+ */
301+ virtual Model::GetGovCloudAccountInformationOutcome GetGovCloudAccountInformation (
302+ const Model::GetGovCloudAccountInformationRequest& request = {}) const ;
303+
304+ /* *
305+ * A Callable wrapper for GetGovCloudAccountInformation that returns a future to the operation so that it can be executed in parallel to
306+ * other requests.
307+ */
308+ template <typename GetGovCloudAccountInformationRequestT = Model::GetGovCloudAccountInformationRequest>
309+ Model::GetGovCloudAccountInformationOutcomeCallable GetGovCloudAccountInformationCallable (
310+ const GetGovCloudAccountInformationRequestT& request = {}) const {
311+ return SubmitCallable (&AccountClient::GetGovCloudAccountInformation, request);
312+ }
313+
314+ /* *
315+ * An Async wrapper for GetGovCloudAccountInformation that queues the request into a thread executor and triggers associated callback when
316+ * operation has finished.
317+ */
318+ template <typename GetGovCloudAccountInformationRequestT = Model::GetGovCloudAccountInformationRequest>
319+ void GetGovCloudAccountInformationAsync (const GetGovCloudAccountInformationResponseReceivedHandler& handler,
320+ const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ,
321+ const GetGovCloudAccountInformationRequestT& request = {}) const {
322+ return SubmitAsync (&AccountClient::GetGovCloudAccountInformation, request, handler, context);
323+ }
324+
289325 /* *
290326 * <p>Retrieves the primary email address for the specified account.</p><p><h3>See
291327 * Also:</h3> <a
@@ -399,12 +435,13 @@ class AWS_ACCOUNT_API AccountClient : public Aws::Client::AWSJsonClient, public
399435 * <p>Modifies the specified alternate contact attached to an Amazon Web Services
400436 * account.</p> <p>For complete details about how to use the alternate contact
401437 * operations, see <a
402- * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access
403- * or updating the alternate contacts</a>.</p> <p>Before you can update the
404- * alternate contact information for an Amazon Web Services account that is managed
405- * by Organizations, you must first enable integration between Amazon Web Services
406- * Account Management and Organizations. For more information, see <a
407- * href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling
438+ * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-alternate.html">Update
439+ * the alternate contacts for your Amazon Web Services account</a>.</p>
440+ * <p>Before you can update the alternate contact information for an Amazon Web
441+ * Services account that is managed by Organizations, you must first enable
442+ * integration between Amazon Web Services Account Management and Organizations.
443+ * For more information, see <a
444+ * href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enable
408445 * trusted access for Amazon Web Services Account Management</a>.</p>
409446 * <p><h3>See Also:</h3> <a
410447 * href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/PutAlternateContact">AWS
@@ -435,8 +472,9 @@ class AWS_ACCOUNT_API AccountClient : public Aws::Client::AWSJsonClient, public
435472 * <p>Updates the primary contact information of an Amazon Web Services
436473 * account.</p> <p>For complete details about how to use the primary contact
437474 * operations, see <a
438- * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
439- * the primary and alternate contact information</a>.</p><p><h3>See Also:</h3> <a
475+ * href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html">Update
476+ * the primary contact for your Amazon Web Services account</a>.</p><p><h3>See
477+ * Also:</h3> <a
440478 * href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/PutContactInformation">AWS
441479 * API Reference</a></p>
442480 */
0 commit comments