Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes the results of specified commands.
You must specify at least one of the parameters.
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
- data DescribeCommands
- describeCommands :: DescribeCommands
- dcCommandIds :: Lens' DescribeCommands [Text]
- dcDeploymentId :: Lens' DescribeCommands (Maybe Text)
- dcInstanceId :: Lens' DescribeCommands (Maybe Text)
- data DescribeCommandsResponse
- describeCommandsResponse :: DescribeCommandsResponse
- dcrCommands :: Lens' DescribeCommandsResponse [Command]
Request
data DescribeCommands Source
Request constructor
describeCommands :: DescribeCommands Source
DescribeCommands
constructor.
The fields accessible through corresponding lenses are:
dcCommandIds
::
[Text
]dcDeploymentId
::
Maybe
Text
dcInstanceId
::
Maybe
Text
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:
dcrCommands
::
[Command
]
Response lenses
dcrCommands :: Lens' DescribeCommandsResponse [Command] Source
An array of Command
objects that describe each of the specified commands.