| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpsWorks.DescribeServiceErrors
Description
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 about user permissions, see Managing User Permissions.
This call accepts only one resource-identifying parameter.
Synopsis
- data DescribeServiceErrors = DescribeServiceErrors' {
- instanceId :: Maybe Text
- serviceErrorIds :: Maybe [Text]
- stackId :: Maybe Text
- newDescribeServiceErrors :: DescribeServiceErrors
- describeServiceErrors_instanceId :: Lens' DescribeServiceErrors (Maybe Text)
- describeServiceErrors_serviceErrorIds :: Lens' DescribeServiceErrors (Maybe [Text])
- describeServiceErrors_stackId :: Lens' DescribeServiceErrors (Maybe Text)
- data DescribeServiceErrorsResponse = DescribeServiceErrorsResponse' {
- serviceErrors :: Maybe [ServiceError]
- httpStatus :: Int
- newDescribeServiceErrorsResponse :: Int -> DescribeServiceErrorsResponse
- describeServiceErrorsResponse_serviceErrors :: Lens' DescribeServiceErrorsResponse (Maybe [ServiceError])
- describeServiceErrorsResponse_httpStatus :: Lens' DescribeServiceErrorsResponse Int
Creating a Request
data DescribeServiceErrors Source #
See: newDescribeServiceErrors smart constructor.
Constructors
| DescribeServiceErrors' | |
Fields
| |
Instances
newDescribeServiceErrors :: DescribeServiceErrors Source #
Create a value of DescribeServiceErrors with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeServiceErrors, describeServiceErrors_instanceId - The instance ID. If you use this parameter, DescribeServiceErrors
returns descriptions of the errors associated with the specified
instance.
$sel:serviceErrorIds:DescribeServiceErrors', describeServiceErrors_serviceErrorIds - 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.
DescribeServiceErrors, describeServiceErrors_stackId - The stack ID. If you use this parameter, DescribeServiceErrors returns
descriptions of the errors associated with the specified stack.
Request Lenses
describeServiceErrors_instanceId :: Lens' DescribeServiceErrors (Maybe Text) Source #
The instance ID. If you use this parameter, DescribeServiceErrors
returns descriptions of the errors associated with the specified
instance.
describeServiceErrors_serviceErrorIds :: Lens' DescribeServiceErrors (Maybe [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.
describeServiceErrors_stackId :: 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
data DescribeServiceErrorsResponse Source #
Contains the response to a DescribeServiceErrors request.
See: newDescribeServiceErrorsResponse smart constructor.
Constructors
| DescribeServiceErrorsResponse' | |
Fields
| |
Instances
newDescribeServiceErrorsResponse Source #
Create a value of DescribeServiceErrorsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serviceErrors:DescribeServiceErrorsResponse', describeServiceErrorsResponse_serviceErrors - An array of ServiceError objects that describe the specified service
errors.
$sel:httpStatus:DescribeServiceErrorsResponse', describeServiceErrorsResponse_httpStatus - The response's http status code.
Response Lenses
describeServiceErrorsResponse_serviceErrors :: Lens' DescribeServiceErrorsResponse (Maybe [ServiceError]) Source #
An array of ServiceError objects that describe the specified service
errors.
describeServiceErrorsResponse_httpStatus :: Lens' DescribeServiceErrorsResponse Int Source #
The response's http status code.