opsworks_describe_commands: Describes the results of specified commands

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

Describes the results of specified commands.

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_commands(DeploymentId, InstanceId, CommandIds)

Arguments

DeploymentId

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

InstanceId

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

CommandIds

An array of command IDs. If you include this parameter, describe_commands returns a description of the specified commands. Otherwise, it returns a description of every command.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
list(
  Commands = list(
    list(
      CommandId = "string",
      InstanceId = "string",
      DeploymentId = "string",
      CreatedAt = "string",
      AcknowledgedAt = "string",
      CompletedAt = "string",
      Status = "string",
      ExitCode = 123,
      LogUrl = "string",
      Type = "string"
    )
  )
)

Request syntax

1
2
3
4
5
6
7
svc$describe_commands(
  DeploymentId = "string",
  InstanceId = "string",
  CommandIds = list(
    "string"
  )
)

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