Skip to content

EnvironmentUpdateBackendRequest

Source code in docs_src/capo_amplifygen3/types/environment_update_backend_request.py
class EnvironmentUpdateBackendRequest(TypedDict, closed=True):
    auth: NotRequired["capo_amplifygen3.types.auth_config_document.AuthConfigDocument"]
    """<p>The authentication settings for the environment's backend, as a JSON document. If you omit this, the stored settings are unchanged. Specify an empty JSON object ({}) to reset the settings to the defaults.</p>"""
    database: NotRequired[
        "capo_amplifygen3.types.database_config_request.DatabaseConfigRequest"
    ]
    """<p>The database settings for the environment. If you omit this, the stored settings are unchanged. If you specify this, it replaces the stored settings, so a member that you omit uses the plan's default. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.</p>"""
    database_log_config: NotRequired[
        "capo_amplifygen3.types.database_log_config_request.DatabaseLogConfigRequest"
    ]
    """<p>The delivery settings for the environment's database logs. If you omit this, the stored settings are unchanged. You can specify this only when the app has a backend, unless the request only turns off delivery destinations.</p>"""

auth instance-attribute

auth: NotRequired[AuthConfigDocument]

The authentication settings for the environment's backend, as a JSON document. If you omit this, the stored settings are unchanged. Specify an empty JSON object ({}) to reset the settings to the defaults.

database instance-attribute

database: NotRequired[DatabaseConfigRequest]

The database settings for the environment. If you omit this, the stored settings are unchanged. If you specify this, it replaces the stored settings, so a member that you omit uses the plan's default. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.

database_log_config instance-attribute

database_log_config: NotRequired[DatabaseLogConfigRequest]

The delivery settings for the environment's database logs. If you omit this, the stored settings are unchanged. You can specify this only when the app has a backend, unless the request only turns off delivery destinations.