Retrieve a CodeCommit branch

Reads one selected branch head through the stored authentication. Use its commit_sha for immutable directory discovery; the branch may advance afterward. No repository scan or per-item enrichment of branch listings. Protection remains null. Missing or inaccessible provider branches follow the existing upstream error mapping. Requires workspace-level stack or integration management permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^iau_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Public id composed of the resource type prefix and its UUID.

Query Params
string
required
length between 0 and 1024

External repository name.

string
required
length between 0 and 1024

Selected external branch name, including any slashes.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json