Skip to content

BranchBackend

Source code in docs_src/capo_amplifygen3/types/branch_backend.py
class BranchBackend(TypedDict, closed=True):
    url: NotRequired["capo_amplifygen3.types.branch_url.BranchUrl"]
    """<p>The URL of the branch's backend.</p>"""
    status: NotRequired["capo_amplifygen3.types.branch_status.BranchStatus"]
    """<p>The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.</p>"""
    database_config: NotRequired[
        "capo_amplifygen3.types.branch_database_configuration.BranchDatabaseConfiguration"
    ]
    """<p>The database settings that are in effect on the branch's database cluster. These are the settings that the most recent deployment applied, or the cluster's defaults if no deployment has set any. A deployment that changes them completes only after they are applied. They can differ from the environment's Backend.Database settings, which take effect at the next deployment. Absent before the branch has its own database cluster.</p>"""
    auth: NotRequired["capo_amplifygen3.types.auth_config_document.AuthConfigDocument"]
    """<p>The authentication settings of the branch's live deployment, as a JSON document. These can differ from the environment's Backend.Auth settings, which take effect at the next deployment. Absent when the live deployment's configuration has no authentication settings, or when no deployment with backend settings has gone live.</p>"""
    database_usage: NotRequired[
        "capo_amplifygen3.types.branch_database_usage.BranchDatabaseUsage"
    ]
    """<p>The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.</p>"""
    database_connection: NotRequired[
        "capo_amplifygen3.types.branch_database_connection.BranchDatabaseConnection"
    ]
    """<p>The connection details for the branch's database. Absent when connections aren't available for the branch, or before the branch has a database.</p>"""

auth instance-attribute

auth: NotRequired[AuthConfigDocument]

The authentication settings of the branch's live deployment, as a JSON document. These can differ from the environment's Backend.Auth settings, which take effect at the next deployment. Absent when the live deployment's configuration has no authentication settings, or when no deployment with backend settings has gone live.

database_config instance-attribute

database_config: NotRequired[BranchDatabaseConfiguration]

The database settings that are in effect on the branch's database cluster. These are the settings that the most recent deployment applied, or the cluster's defaults if no deployment has set any. A deployment that changes them completes only after they are applied. They can differ from the environment's Backend.Database settings, which take effect at the next deployment. Absent before the branch has its own database cluster.

database_connection instance-attribute

database_connection: NotRequired[BranchDatabaseConnection]

The connection details for the branch's database. Absent when connections aren't available for the branch, or before the branch has a database.

database_usage instance-attribute

database_usage: NotRequired[BranchDatabaseUsage]

The latest usage sample of the branch's database. Absent before the first sample, or for a branch that was created by RestoreBranch.

status instance-attribute

status: NotRequired[BranchStatus]

The lifecycle status of the branch. Absent only when the status isn't one that this API recognizes.

url instance-attribute

url: NotRequired[BranchUrl]

The URL of the branch's backend.