amazonka-opsworks-0.0.4: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DescribeCommands

Contents

Description

Describes the results of specified commands.

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 on user permissions, see Managing User Permissions.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_DescribeCommands.html

Synopsis

Request

Request constructor

describeCommands :: DescribeCommands Source

DescribeCommands constructor.

The fields accessible through corresponding lenses are:

Request lenses

dcCommandIds :: Lens' DescribeCommands [Text] Source

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

dcDeploymentId :: Lens' DescribeCommands (Maybe Text) Source

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

dcInstanceId :: Lens' DescribeCommands (Maybe Text) Source

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

Response

Response constructor

describeCommandsResponse :: DescribeCommandsResponse Source

DescribeCommandsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

dcrCommands :: Lens' DescribeCommandsResponse [Command] Source

An array of Command objects that describe each of the specified commands.