Skip to content

Commit 4b5ea0b

Browse files
committed
revamp account management
1 parent 321254c commit 4b5ea0b

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

src/content/docs/aws/services/account-management.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
---
22
title: "Account Management"
3-
linkTitle: "Account Management"
43
description: Get started with AWS Account Management on LocalStack
54
tags: ["Ultimate"]
65
---
76

87
## Introduction
98

10-
The Account service provides APIs to manage your AWS account.
9+
Account service provides APIs to manage your AWS account.
1110
You can use the Account APIs to retrieve information about your account, manage your contact information and alternate contacts.
1211
Additionally, you can use the Account APIs to enable or disable a region for your account, and delete alternate contacts in your account.
1312

1413
LocalStack allows you to use the Account API to retrieve information about your account.
15-
The supported APIs are available on our [API coverage page]({{< ref "coverage_account" >}}), which provides information on the extent of Account's integration with LocalStack.
14+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Account's integration with LocalStack.
1615

17-
{{< callout >}}
18-
LocalStack's Account provider is mock-only and does not support any real AWS account.
16+
:::note
17+
LocalStack's Account provider is mock-only and does not support connecting to any real AWS account.
1918
The Account APIs are only intended to demonstrate how you can use and mock the AWS Account APIs in your local environment.
2019
It's important to note that LocalStack doesn't offer a programmatic interface to manage your AWS or your LocalStack account.
21-
{{< /callout >}}
20+
:::
2221

2322
## Getting started
2423

@@ -32,8 +31,8 @@ We will demonstrate how to put contact information, fetch account details, and a
3231
You can use the [`PutContactInformation`](https://docs.aws.amazon.com/accounts/latest/reference/API_PutContactInformation.html) API to add or update the contact information for your AWS account.
3332
Run the following command to add contact information to your account:
3433

35-
{{< command >}}
36-
$ awslocal account put-contact-information \
34+
```bash
35+
awslocal account put-contact-information \
3736
--contact-information '{
3837
"FullName": "Jane Doe",
3938
"PhoneNumber": "+XXXXXXXXX",
@@ -43,16 +42,16 @@ $ awslocal account put-contact-information \
4342
"CountryCode": "US",
4443
"StateOrRegion": "WA"
4544
}'
46-
{{< /command >}}
45+
```
4746

4847
### Fetch account details
4948

5049
You can use the [`GetContactInformation`](https://docs.aws.amazon.com/accounts/latest/reference/API_GetContactInformation.html) API to retrieve the contact information for your AWS account.
5150
Run the following command to fetch the contact information for your account:
5251

53-
{{< command >}}
54-
$ awslocal account get-contact-information
55-
{{< /command >}}
52+
```bash
53+
awslocal account get-contact-information
54+
```
5655

5756
The command will return the contact information for your account:
5857

@@ -75,22 +74,21 @@ The command will return the contact information for your account:
7574
You can attach an alternate contact using [`PutAlternateContact`](https://docs.aws.amazon.com/accounts/latest/reference/API_PutAlternateContact.html) API.
7675
Run the following command to attach an alternate contact to your account:
7776

78-
{{< command >}}
79-
$ awslocal account put-alternate-contact \
77+
```bash
78+
awslocal account put-alternate-contact \
8079
--alternate-contact-type "BILLING" \
8180
--email-address "[email protected]" \
8281
--name "Bill Ing" \
8382
--phone-number "+1 555-555-5555" \
8483
--title "Billing"
85-
{{< /command >}}
84+
```
8685

8786
## Resource Browser
8887

8988
The LocalStack Web Application provides a Resource Browser for managing contact information & alternate accounts for the Account service.
9089
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the Resources section, and then clicking on **Account** under the **Management & Governance** section.
9190

92-
<img src="account-resource-browser.png" alt="Account Resource Browser" title="Account Resource Browser" width="900" />
93-
<br><br>
91+
![Account Resource Browser](/images/aws/account-resource-browser.png)
9492

9593
The Resource Browser allows you to perform the following actions:
9694

0 commit comments

Comments
 (0)