Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
- describeCommands :: DescribeCommands
- data DescribeCommands
- dcDeploymentId :: Lens' DescribeCommands (Maybe Text)
- dcInstanceId :: Lens' DescribeCommands (Maybe Text)
- dcCommandIds :: Lens' DescribeCommands [Text]
- describeCommandsResponse :: Int -> DescribeCommandsResponse
- data DescribeCommandsResponse
- dcrsCommands :: Lens' DescribeCommandsResponse [Command]
- dcrsResponseStatus :: 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:
dcDeploymentId
- The deployment ID. If you include this parameter,DescribeCommands
returns a description of the commands associated with the specified deployment.dcInstanceId
- The instance ID. If you include this parameter,DescribeCommands
returns a description of the commands associated with the specified instance.dcCommandIds
- 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.
data DescribeCommands Source #
See: describeCommands
smart constructor.
Request Lenses
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.
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:
dcrsCommands
- An array ofCommand
objects that describe each of the specified commands.dcrsResponseStatus
- -- | The response status code.
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.
dcrsResponseStatus :: Lens' DescribeCommandsResponse Int Source #
- - | The response status code.