Skip to content

GetBranchResponse

Source code in docs_src/capo_amplifygen3/types/get_branch_response.py
class GetBranchResponse(TypedDict, closed=True):
    app_name: "capo_amplifygen3.types.app_name.AppName"
    """<p>The name of the app.</p>"""
    environment_name: "capo_amplifygen3.types.environment_name.EnvironmentName"
    """<p>The name of the environment.</p>"""
    branch_name: "capo_amplifygen3.types.branch_name.BranchName"
    """<p>The name of the branch.</p>"""
    branch_arn: "capo_amplifygen3.types.branch_arn.BranchArn"
    """<p>The Amazon Resource Name (ARN) of the branch.</p>"""
    git_branch_name: NotRequired["capo_amplifygen3.types.git_branch_name.GitBranchName"]
    """<p>The name of the Git branch that the branch was created for. Present only for a branch that was created for a Git branch.</p>"""
    created_at: "datetime.datetime"
    """<p>The time at which the branch was created. The value is in ISO-8601 format.</p>"""
    backend: NotRequired["capo_amplifygen3.types.branch_backend.BranchBackend"]
    """<p>The backend of the branch. If Amplify can't read the state of the backend, the request fails.</p>"""
    source_branch: NotRequired[
        "capo_amplifygen3.types.restore_source_branch.RestoreSourceBranch"
    ]
    """<p>The branch that this branch was restored from, and the point in time it was restored to. Present only for a branch that was created by RestoreBranch.</p>"""

app_name instance-attribute

app_name: AppName

The name of the app.

backend instance-attribute

backend: NotRequired[BranchBackend]

The backend of the branch. If Amplify can't read the state of the backend, the request fails.

branch_arn instance-attribute

branch_arn: BranchArn

The Amazon Resource Name (ARN) of the branch.

branch_name instance-attribute

branch_name: BranchName

The name of the branch.

created_at instance-attribute

created_at: datetime

The time at which the branch was created. The value is in ISO-8601 format.

environment_name instance-attribute

environment_name: EnvironmentName

The name of the environment.

git_branch_name instance-attribute

git_branch_name: NotRequired[GitBranchName]

The name of the Git branch that the branch was created for. Present only for a branch that was created for a Git branch.

source_branch instance-attribute

source_branch: NotRequired[RestoreSourceBranch]

The branch that this branch was restored from, and the point in time it was restored to. Present only for a branch that was created by RestoreBranch.