putAccountSettingDefault
inline suspend fun EcsClient.putAccountSettingDefault(crossinline block: PutAccountSettingDefaultRequest.Builder.() -> Unit): PutAccountSettingDefaultResponse
Modifies an account setting for all users on an account for whom no individual account setting has been specified. Account settings are set on a per-Region basis.
Samples
import aws.sdk.kotlin.services.ecs.model.SettingName
fun main() {
//sampleStart
// This example modifies the default account setting for the specified resource for all IAM users or
// roles on an account. These changes apply to the entire AWS account, unless an IAM user or role explicitly
// overrides these settings for themselves.
val resp = ecsClient.putAccountSettingDefault {
name = SettingName.fromValue("serviceLongArnFormat")
value = "enabled"
}
//sampleEnd
}