opsworks_describe_deployments: Requests a description of a specified set of deployments

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

Requests a description of a specified set of deployments.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

Usage

1
opsworks_describe_deployments(StackId, AppId, DeploymentIds)

Arguments

StackId

The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.

AppId

The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.

DeploymentIds

An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
list(
  Deployments = list(
    list(
      DeploymentId = "string",
      StackId = "string",
      AppId = "string",
      CreatedAt = "string",
      CompletedAt = "string",
      Duration = 123,
      IamUserArn = "string",
      Comment = "string",
      Command = list(
        Name = "install_dependencies"|"update_dependencies"|"update_custom_cookbooks"|"execute_recipes"|"configure"|"setup"|"deploy"|"rollback"|"start"|"stop"|"restart"|"undeploy",
        Args = list(
          list(
            "string"
          )
        )
      ),
      Status = "string",
      CustomJson = "string",
      InstanceIds = list(
        "string"
      )
    )
  )
)

Request syntax

1
2
3
4
5
6
7
svc$describe_deployments(
  StackId = "string",
  AppId = "string",
  DeploymentIds = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.