| 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 |
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.
See: AWS API Reference for DescribeServiceErrors.
- describeServiceErrors :: DescribeServiceErrors
- data DescribeServiceErrors
- dseInstanceId :: Lens' DescribeServiceErrors (Maybe Text)
- dseServiceErrorIds :: Lens' DescribeServiceErrors [Text]
- dseStackId :: Lens' DescribeServiceErrors (Maybe Text)
- describeServiceErrorsResponse :: Int -> DescribeServiceErrorsResponse
- data DescribeServiceErrorsResponse
- dsersServiceErrors :: Lens' DescribeServiceErrorsResponse [ServiceError']
- dsersStatus :: 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.
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.
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.
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.
Response Lenses
dsersServiceErrors :: Lens' DescribeServiceErrorsResponse [ServiceError'] Source
An array of ServiceError objects that describe the specified service
errors.
dsersStatus :: Lens' DescribeServiceErrorsResponse Int Source
The response status code.