amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

This operation returns paginated results.

Synopsis

Creating a Request

describeActivations :: DescribeActivations Source #

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 Source #

See: describeActivations smart constructor.

Instances

Eq DescribeActivations Source # 
Data DescribeActivations Source # 

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 Source # 
Show DescribeActivations Source # 
Generic DescribeActivations Source # 
Hashable DescribeActivations Source # 
ToJSON DescribeActivations Source # 
NFData DescribeActivations Source # 

Methods

rnf :: DescribeActivations -> () #

AWSPager DescribeActivations Source # 
AWSRequest DescribeActivations Source # 
ToHeaders DescribeActivations Source # 
ToPath DescribeActivations Source # 
ToQuery DescribeActivations Source # 
type Rep DescribeActivations Source # 
type Rep DescribeActivations = D1 * (MetaData "DescribeActivations" "Network.AWS.SSM.DescribeActivations" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" 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 Source # 

Request Lenses

daFilters :: Lens' DescribeActivations [DescribeActivationsFilter] Source #

A filter to view information about your activations.

daNextToken :: Lens' DescribeActivations (Maybe Text) Source #

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

daMaxResults :: Lens' DescribeActivations (Maybe Natural) Source #

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 Source #

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 Source #

See: describeActivationsResponse smart constructor.

Instances

Eq DescribeActivationsResponse Source # 
Data DescribeActivationsResponse Source # 

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 Source # 
Show DescribeActivationsResponse Source # 
Generic DescribeActivationsResponse Source # 
NFData DescribeActivationsResponse Source # 
type Rep DescribeActivationsResponse Source # 
type Rep DescribeActivationsResponse = D1 * (MetaData "DescribeActivationsResponse" "Network.AWS.SSM.DescribeActivations" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses

darsActivationList :: Lens' DescribeActivationsResponse [Activation] Source #

A list of activations for your AWS account.

darsNextToken :: Lens' DescribeActivationsResponse (Maybe Text) Source #

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