Copyright | (c) 2013-2021 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 |
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
- stackId :: Maybe Text
- serviceErrorIds :: Maybe [Text]
- newDescribeServiceErrors :: DescribeServiceErrors
- describeServiceErrors_instanceId :: Lens' DescribeServiceErrors (Maybe Text)
- describeServiceErrors_stackId :: Lens' DescribeServiceErrors (Maybe Text)
- describeServiceErrors_serviceErrorIds :: 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.
DescribeServiceErrors' | |
|
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:
$sel:instanceId:DescribeServiceErrors'
, describeServiceErrors_instanceId
- The instance ID. If you use this parameter, DescribeServiceErrors
returns descriptions of the errors associated with the specified
instance.
$sel:stackId:DescribeServiceErrors'
, describeServiceErrors_stackId
- The stack ID. If you use this parameter, DescribeServiceErrors
returns
descriptions of the errors associated with the specified stack.
$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.
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_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.
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.
Destructuring the Response
data DescribeServiceErrorsResponse Source #
Contains the response to a DescribeServiceErrors
request.
See: newDescribeServiceErrorsResponse
smart constructor.
DescribeServiceErrorsResponse' | |
|
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.