2026/03/25 - AWS User Experience Customization - 3 new api methods
Changes GA release of AccountCustomizations, used to manage account color, visible services, and visible regions settings in the AWS Management Console.
Returns the current account customization settings, including account color, visible services, and visible Regions. Settings that you have not configured return their default values: visible Regions and visible services return null, and account color returns none.
See also: AWS API Documentation
Request Syntax
client.get_account_customizations()
dict
Response Syntax
{
'accountColor': 'none'|'pink'|'purple'|'darkBlue'|'lightBlue'|'teal'|'green'|'yellow'|'orange'|'red',
'visibleServices': [
'string',
],
'visibleRegions': [
'string',
]
}
Response Structure
(dict) --
accountColor (string) --
The account color preference. A value of none indicates that you have not set a color.
visibleServices (list) --
The list of Amazon Web Services service identifiers that are visible to the account in the Amazon Web Services Management Console. A value of null indicates that you have not configured this feature and all services are visible. For valid service identifiers, call ListServices.
(string) --
visibleRegions (list) --
The list of Amazon Web Services Region codes that are visible to the account in the Amazon Web Services Management Console. A value of null indicates that you have not configured this feature and all Regions are visible. For a list of valid Region codes, see Amazon Web Services Regions.
(string) --
Returns a paginated list of Amazon Web Services service identifiers that you can use as values for the visibleServices setting in UpdateAccountCustomizations. The available services vary by Amazon Web Services partition. Use pagination to retrieve all results.
See also: AWS API Documentation
Request Syntax
client.list_services(
nextToken='string',
maxResults=123
)
string
The token for retrieving the next page of results. Use the nextToken value from a previous response.
integer
The maximum number of results to return per page.
dict
Response Syntax
{
'nextToken': 'string',
'services': [
'string',
]
}
Response Structure
(dict) --
nextToken (string) --
The token for retrieving the next page of results. This value is null when no more results are available.
services (list) --
The list of available Amazon Web Services service identifiers.
(string) --
Updates one or more account customization settings. You can update account color, visible services, and visible Regions in a single request. Only the settings that you include in the request body are modified. Omitted settings remain unchanged. To reset a setting to its default behavior, set the value to null for visible Regions and visible services, or none for account color. This operation is idempotent.
See also: AWS API Documentation
Request Syntax
client.update_account_customizations(
accountColor='none'|'pink'|'purple'|'darkBlue'|'lightBlue'|'teal'|'green'|'yellow'|'orange'|'red',
visibleServices=[
'string',
],
visibleRegions=[
'string',
]
)
string
The account color preference to set. Set to none to reset to the default (no color).
list
The list of Amazon Web Services service identifiers to make visible in the Amazon Web Services Management Console. Set to null to reset to the default, which makes all services visible. For valid service identifiers, call ListServices.
(string) --
list
The list of Amazon Web Services Region codes to make visible in the Amazon Web Services Management Console. Set to null to reset to the default, which makes all Regions visible. For a list of valid Region codes, see Amazon Web Services Regions.
(string) --
dict
Response Syntax
{
'accountColor': 'none'|'pink'|'purple'|'darkBlue'|'lightBlue'|'teal'|'green'|'yellow'|'orange'|'red',
'visibleServices': [
'string',
],
'visibleRegions': [
'string',
]
}
Response Structure
(dict) --
accountColor (string) --
The current account color preference after the update.
visibleServices (list) --
The current list of visible service identifiers after the update.
(string) --
visibleRegions (list) --
The current list of visible Region codes after the update.
(string) --