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

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

Creating a Request

data DescribeServiceErrors Source #

See: newDescribeServiceErrors smart constructor.

Constructors

DescribeServiceErrors' 

Fields

  • instanceId :: Maybe Text

    The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.

  • stackId :: Maybe Text

    The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

  • serviceErrorIds :: Maybe [Text]

    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.

Instances

Instances details
Eq DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Read DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Show DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Generic DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Associated Types

type Rep DescribeServiceErrors :: Type -> Type #

NFData DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Methods

rnf :: DescribeServiceErrors -> () #

Hashable DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

ToJSON DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

AWSRequest DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Associated Types

type AWSResponse DescribeServiceErrors #

ToHeaders DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

ToPath DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

ToQuery DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

type Rep DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

type Rep DescribeServiceErrors = D1 ('MetaData "DescribeServiceErrors" "Amazonka.OpsWorks.DescribeServiceErrors" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeServiceErrors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceErrorIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))
type AWSResponse DescribeServiceErrors Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

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.

Constructors

DescribeServiceErrorsResponse' 

Fields

Instances

Instances details
Eq DescribeServiceErrorsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Read DescribeServiceErrorsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Show DescribeServiceErrorsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Generic DescribeServiceErrorsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

Associated Types

type Rep DescribeServiceErrorsResponse :: Type -> Type #

NFData DescribeServiceErrorsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

type Rep DescribeServiceErrorsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeServiceErrors

type Rep DescribeServiceErrorsResponse = D1 ('MetaData "DescribeServiceErrorsResponse" "Amazonka.OpsWorks.DescribeServiceErrors" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeServiceErrorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.