Copyright | (c) 2013-2018 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 AWS OpsWorks Stacks 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 .
This call accepts only one resource-identifying parameter.
- 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:
dseInstanceId
- The instance ID. If you use this parameter,DescribeServiceErrors
returns descriptions of the errors associated with the specified instance.dseStackId
- The stack ID. If you use this parameter,DescribeServiceErrors
returns descriptions of the errors associated with the specified stack.dseServiceErrorIds
- 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.
data DescribeServiceErrors Source #
See: describeServiceErrors
smart constructor.
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 #
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:
dsersServiceErrors
- An array ofServiceError
objects that describe the specified service errors.dsersResponseStatus
- -- | The response status code.
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.
dsersResponseStatus :: Lens' DescribeServiceErrorsResponse Int Source #
- - | The response status code.