amazonka-opsworks-1.4.5: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 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 .

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:

  • 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.

Instances

Eq DescribeServiceErrors Source # 
Data DescribeServiceErrors Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeServiceErrors -> c DescribeServiceErrors #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeServiceErrors #

toConstr :: DescribeServiceErrors -> Constr #

dataTypeOf :: DescribeServiceErrors -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeServiceErrors) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeServiceErrors) #

gmapT :: (forall b. Data b => b -> b) -> DescribeServiceErrors -> DescribeServiceErrors #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServiceErrors -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServiceErrors -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeServiceErrors -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeServiceErrors -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeServiceErrors -> m DescribeServiceErrors #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServiceErrors -> m DescribeServiceErrors #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServiceErrors -> m DescribeServiceErrors #

Read DescribeServiceErrors Source # 
Show DescribeServiceErrors Source # 
Generic DescribeServiceErrors Source # 
Hashable DescribeServiceErrors Source # 
ToJSON DescribeServiceErrors Source # 
NFData DescribeServiceErrors Source # 

Methods

rnf :: DescribeServiceErrors -> () #

AWSRequest DescribeServiceErrors Source # 
ToPath DescribeServiceErrors Source # 
ToHeaders DescribeServiceErrors Source # 
ToQuery DescribeServiceErrors Source # 
type Rep DescribeServiceErrors Source # 
type Rep DescribeServiceErrors = D1 (MetaData "DescribeServiceErrors" "Network.AWS.OpsWorks.DescribeServiceErrors" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "DescribeServiceErrors'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dseInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dseStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dseServiceErrorIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))
type Rs DescribeServiceErrors Source # 

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:

data DescribeServiceErrorsResponse Source #

Contains the response to a DescribeServiceErrors request.

See: describeServiceErrorsResponse smart constructor.

Instances

Eq DescribeServiceErrorsResponse Source # 
Data DescribeServiceErrorsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeServiceErrorsResponse -> c DescribeServiceErrorsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeServiceErrorsResponse #

toConstr :: DescribeServiceErrorsResponse -> Constr #

dataTypeOf :: DescribeServiceErrorsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeServiceErrorsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeServiceErrorsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeServiceErrorsResponse -> DescribeServiceErrorsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServiceErrorsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeServiceErrorsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeServiceErrorsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeServiceErrorsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeServiceErrorsResponse -> m DescribeServiceErrorsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServiceErrorsResponse -> m DescribeServiceErrorsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeServiceErrorsResponse -> m DescribeServiceErrorsResponse #

Read DescribeServiceErrorsResponse Source # 
Show DescribeServiceErrorsResponse Source # 
Generic DescribeServiceErrorsResponse Source # 
NFData DescribeServiceErrorsResponse Source # 
type Rep DescribeServiceErrorsResponse Source # 
type Rep DescribeServiceErrorsResponse = D1 (MetaData "DescribeServiceErrorsResponse" "Network.AWS.OpsWorks.DescribeServiceErrors" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "DescribeServiceErrorsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsersServiceErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceError']))) (S1 (MetaSel (Just Symbol "_dsersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dsersServiceErrors :: Lens' DescribeServiceErrorsResponse [ServiceError'] Source #

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