amazonka-ssm-1.4.5: Amazon Simple Systems Manager (SSM) 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.SSM.DescribeActivations

Contents

Description

Details about the activation, including: the date and time the activation was created, the expiration date, the IAM role assigned to the instances in the activation, and the number of instances activated by this registration.

Synopsis

Creating a Request

describeActivations :: DescribeActivations #

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

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

  • daFilters - A filter to view information about your activations.
  • daNextToken - A token to start the list. Use this token to get the next set of results.
  • daMaxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

data DescribeActivations #

See: describeActivations smart constructor.

Instances

Eq DescribeActivations # 
Data DescribeActivations # 

Methods

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

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

toConstr :: DescribeActivations -> Constr #

dataTypeOf :: DescribeActivations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeActivations # 
Show DescribeActivations # 
Generic DescribeActivations # 
Hashable DescribeActivations # 
ToJSON DescribeActivations # 
NFData DescribeActivations # 

Methods

rnf :: DescribeActivations -> () #

AWSRequest DescribeActivations # 
ToQuery DescribeActivations # 
ToPath DescribeActivations # 
ToHeaders DescribeActivations # 
type Rep DescribeActivations # 
type Rep DescribeActivations = D1 (MetaData "DescribeActivations" "Network.AWS.SSM.DescribeActivations" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "DescribeActivations'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_daFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DescribeActivationsFilter]))) ((:*:) (S1 (MetaSel (Just Symbol "_daNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_daMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs DescribeActivations # 

Request Lenses

daFilters :: Lens' DescribeActivations [DescribeActivationsFilter] #

A filter to view information about your activations.

daNextToken :: Lens' DescribeActivations (Maybe Text) #

A token to start the list. Use this token to get the next set of results.

daMaxResults :: Lens' DescribeActivations (Maybe Natural) #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

describeActivationsResponse #

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

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

data DescribeActivationsResponse #

See: describeActivationsResponse smart constructor.

Instances

Eq DescribeActivationsResponse # 
Data DescribeActivationsResponse # 

Methods

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

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

toConstr :: DescribeActivationsResponse -> Constr #

dataTypeOf :: DescribeActivationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeActivationsResponse # 
Show DescribeActivationsResponse # 
Generic DescribeActivationsResponse # 
NFData DescribeActivationsResponse # 
type Rep DescribeActivationsResponse # 
type Rep DescribeActivationsResponse = D1 (MetaData "DescribeActivationsResponse" "Network.AWS.SSM.DescribeActivations" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "DescribeActivationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_darsActivationList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Activation]))) ((:*:) (S1 (MetaSel (Just Symbol "_darsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_darsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

darsActivationList :: Lens' DescribeActivationsResponse [Activation] #

A list of activations for your AWS account.

darsNextToken :: Lens' DescribeActivationsResponse (Maybe Text) #

The token for the next set of items to return. Use this token to get the next set of results.

darsResponseStatus :: Lens' DescribeActivationsResponse Int #

  • - | The response status code.