| Copyright | (c) 2013-2016 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 |
Network.AWS.OpsWorks.DescribeServiceErrors
Description
Describes AWS OpsWorks service errors.
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.
- describeServiceErrors :: DescribeServiceErrors
- data DescribeServiceErrors
- dseInstanceId :: Lens' DescribeServiceErrors (Maybe Text)
- dseStackId :: Lens' DescribeServiceErrors (Maybe Text)
- dseServiceErrorIds :: Lens' DescribeServiceErrors [Text]
- describeServiceErrorsResponse :: Int -> DescribeServiceErrorsResponse
- data DescribeServiceErrorsResponse
- dsersServiceErrors :: Lens' DescribeServiceErrorsResponse [ServiceError']
- dsersResponseStatus :: Lens' DescribeServiceErrorsResponse Int
Creating a Request
describeServiceErrors :: DescribeServiceErrors Source #
Creates a value of DescribeServiceErrors with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeServiceErrors Source #
See: describeServiceErrors smart constructor.
Instances
Request Lenses
dseInstanceId :: Lens' DescribeServiceErrors (Maybe Text) Source #
The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.
dseStackId :: Lens' DescribeServiceErrors (Maybe Text) Source #
The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.
dseServiceErrorIds :: Lens' DescribeServiceErrors [Text] Source #
An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.
Destructuring the Response
describeServiceErrorsResponse Source #
Arguments
| :: Int | |
| -> DescribeServiceErrorsResponse |
Creates a value of DescribeServiceErrorsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeServiceErrorsResponse Source #
Contains the response to a DescribeServiceErrors request.
See: describeServiceErrorsResponse smart constructor.
Instances
Response Lenses
dsersServiceErrors :: Lens' DescribeServiceErrorsResponse [ServiceError'] Source #
An array of ServiceError objects that describe the specified service errors.
dsersResponseStatus :: Lens' DescribeServiceErrorsResponse Int Source #
The response status code.