def METHOD_NAME():
    client = boto3.client("ecs", region_name="eu-west-1")
    client.put_account_setting(name="containerInstanceLongArnFormat", value="enabled")
    client.put_account_setting(name="serviceLongArnFormat", value="enabled")
    client.put_account_setting(name="taskLongArnFormat", value="enabled")
    resp = client.list_account_settings()
    assert len(resp["settings"]) == 3
    client.delete_account_setting(name="serviceLongArnFormat")
    resp = client.list_account_settings()
    assert len(resp["settings"]) == 2
    assert {"name": "containerInstanceLongArnFormat", "value": "enabled"} in resp[
        "settings"
    ]
    assert {"name": "taskLongArnFormat", "value": "enabled"} in resp["settings"]