amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud 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.EC2.ReportInstanceStatus

Contents

Description

Submits feedback about the status of an instance. The instance must be in the running state. If your experience with the instance differs from the instance status returned by DescribeInstanceStatus , use ReportInstanceStatus to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks.

Use of this action does not change the value returned by DescribeInstanceStatus .

Synopsis

Creating a Request

reportInstanceStatus Source #

Creates a value of ReportInstanceStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • risStartTime - The time at which the reported instance health state began.
  • risEndTime - The time at which the reported instance health state ended.
  • risDescription - Descriptive text about the health state of your instance.
  • risDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • risInstances - One or more instances.
  • risStatus - The status of all instances listed.
  • risReasonCodes - One or more reason codes that describes the health state of your instance. * instance-stuck-in-state : My instance is stuck in a state. * unresponsive : My instance is unresponsive. * not-accepting-credentials : My instance is not accepting my credentials. * password-not-available : A password is not available for my instance. * performance-network : My instance is experiencing performance problems which I believe are network related. * performance-instance-store : My instance is experiencing performance problems which I believe are related to the instance stores. * performance-ebs-volume : My instance is experiencing performance problems which I believe are related to an EBS volume. * performance-other : My instance is experiencing performance problems. * other : [explain using the description parameter]

data ReportInstanceStatus Source #

Contains the parameters for ReportInstanceStatus.

See: reportInstanceStatus smart constructor.

Instances

Eq ReportInstanceStatus Source # 
Data ReportInstanceStatus Source # 

Methods

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

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

toConstr :: ReportInstanceStatus -> Constr #

dataTypeOf :: ReportInstanceStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReportInstanceStatus Source # 
Show ReportInstanceStatus Source # 
Generic ReportInstanceStatus Source # 
Hashable ReportInstanceStatus Source # 
NFData ReportInstanceStatus Source # 

Methods

rnf :: ReportInstanceStatus -> () #

AWSRequest ReportInstanceStatus Source # 
ToPath ReportInstanceStatus Source # 
ToHeaders ReportInstanceStatus Source # 
ToQuery ReportInstanceStatus Source # 
type Rep ReportInstanceStatus Source # 
type Rs ReportInstanceStatus Source # 

Request Lenses

risStartTime :: Lens' ReportInstanceStatus (Maybe UTCTime) Source #

The time at which the reported instance health state began.

risEndTime :: Lens' ReportInstanceStatus (Maybe UTCTime) Source #

The time at which the reported instance health state ended.

risDescription :: Lens' ReportInstanceStatus (Maybe Text) Source #

Descriptive text about the health state of your instance.

risDryRun :: Lens' ReportInstanceStatus (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

risInstances :: Lens' ReportInstanceStatus [Text] Source #

One or more instances.

risStatus :: Lens' ReportInstanceStatus ReportStatusType Source #

The status of all instances listed.

risReasonCodes :: Lens' ReportInstanceStatus [ReportInstanceReasonCodes] Source #

One or more reason codes that describes the health state of your instance. * instance-stuck-in-state : My instance is stuck in a state. * unresponsive : My instance is unresponsive. * not-accepting-credentials : My instance is not accepting my credentials. * password-not-available : A password is not available for my instance. * performance-network : My instance is experiencing performance problems which I believe are network related. * performance-instance-store : My instance is experiencing performance problems which I believe are related to the instance stores. * performance-ebs-volume : My instance is experiencing performance problems which I believe are related to an EBS volume. * performance-other : My instance is experiencing performance problems. * other : [explain using the description parameter]

Destructuring the Response

reportInstanceStatusResponse :: ReportInstanceStatusResponse Source #

Creates a value of ReportInstanceStatusResponse with the minimum fields required to make a request.

data ReportInstanceStatusResponse Source #

See: reportInstanceStatusResponse smart constructor.

Instances

Eq ReportInstanceStatusResponse Source # 
Data ReportInstanceStatusResponse Source # 

Methods

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

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

toConstr :: ReportInstanceStatusResponse -> Constr #

dataTypeOf :: ReportInstanceStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReportInstanceStatusResponse Source # 
Show ReportInstanceStatusResponse Source # 
Generic ReportInstanceStatusResponse Source # 
NFData ReportInstanceStatusResponse Source # 
type Rep ReportInstanceStatusResponse Source # 
type Rep ReportInstanceStatusResponse = D1 (MetaData "ReportInstanceStatusResponse" "Network.AWS.EC2.ReportInstanceStatus" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "ReportInstanceStatusResponse'" PrefixI False) U1)