amazonka-opsworks-1.3.3: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DescribeServiceErrors

Contents

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.

Synopsis

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:

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:

Response Lenses

dsersServiceErrors :: Lens' DescribeServiceErrorsResponse [ServiceError'] Source

An array of ServiceError objects that describe the specified service errors.