Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateBranchCommand

Creates a new branch for an Amplify app.

example

Use a bare-bones client and the command you need to make an API call.

import { AmplifyClient, CreateBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
// const { AmplifyClient, CreateBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
const client = new AmplifyClient(config);
const command = new CreateBranchCommand(input);
const response = await client.send(command);
see

CreateBranchCommandInput for command's input shape.

see

CreateBranchCommandOutput for command's response shape.

see

config for AmplifyClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateBranchCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateBranchCommandInput, CreateBranchCommandOutput>