updateAccountCustomizations
abstract suspend fun updateAccountCustomizations(input: UpdateAccountCustomizationsRequest = UpdateAccountCustomizationsRequest { }): UpdateAccountCustomizationsResponse
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.
The visibleServices and visibleRegions settings control only the appearance of services and Regions in the Amazon Web Services Management Console. They do not restrict access through the CLI, SDKs, or other APIs.
Samples
import aws.sdk.kotlin.services.uxc.model.AccountColor
fun main() {
//sampleStart
// Updates account customization settings with new values
val resp = uxcClient.updateAccountCustomizations {
accountColor = AccountColor.fromValue("green")
visibleServices = listOf<String>(
"s3",
"ec2",
"lambda"
)
}
//sampleEnd
}