Skip to content

Create Deployment

apigatewayv2_create_deployment R Documentation

Creates a Deployment for an API

Description

Creates a Deployment for an API.

Usage

apigatewayv2_create_deployment(ApiId, Description, StageName)

Arguments

ApiId

[required] The API identifier.

Description

The description for the deployment resource.

StageName

The name of the Stage resource for the Deployment resource to create.

Value

A list with the following syntax:

list(
  AutoDeployed = TRUE|FALSE,
  CreatedDate = as.POSIXct(
    "2015-01-01"
  ),
  DeploymentId = "string",
  DeploymentStatus = "PENDING"|"FAILED"|"DEPLOYED",
  DeploymentStatusMessage = "string",
  Description = "string"
)

Request syntax

svc$create_deployment(
  ApiId = "string",
  Description = "string",
  StageName = "string"
)