Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
See: AWS API Reference for DescribeCommands.
- describeCommands :: DescribeCommands
- data DescribeCommands
- dcInstanceId :: Lens' DescribeCommands (Maybe Text)
- dcDeploymentId :: Lens' DescribeCommands (Maybe Text)
- dcCommandIds :: Lens' DescribeCommands [Text]
- describeCommandsResponse :: Int -> DescribeCommandsResponse
- data DescribeCommandsResponse
- dcrsCommands :: Lens' DescribeCommandsResponse [Command]
- dcrsStatus :: Lens' DescribeCommandsResponse Int
Creating a Request
describeCommands :: DescribeCommands Source
Creates a value of DescribeCommands
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCommands Source
See: describeCommands
smart constructor.
Request Lenses
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.
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.
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.
Destructuring the Response
describeCommandsResponse Source
Creates a value of DescribeCommandsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCommandsResponse Source
Contains the response to a DescribeCommands
request.
See: describeCommandsResponse
smart constructor.
Response Lenses
dcrsCommands :: Lens' DescribeCommandsResponse [Command] Source
An array of Command
objects that describe each of the specified
commands.
dcrsStatus :: Lens' DescribeCommandsResponse Int Source
The response status code.