Skip to content

Gets the Deployments for an API

Description

Gets the Deployments for an API.

Usage

apigatewayv2_get_deployments(ApiId, MaxResults, NextToken)

Arguments

  • ApiId

    [required] The API identifier.

  • MaxResults

    The maximum number of elements to be returned for this resource.

  • NextToken

    The next page of elements from this collection. Not valid for the last element of the collection.

Value

A list with the following syntax:

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

Request syntax

svc$get_deployments(
  ApiId = "string",
  MaxResults = "string",
  NextToken = "string"
)