Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- describeActivations :: DescribeActivations
- data DescribeActivations
- daFilters :: Lens' DescribeActivations [DescribeActivationsFilter]
- daNextToken :: Lens' DescribeActivations (Maybe Text)
- daMaxResults :: Lens' DescribeActivations (Maybe Natural)
- describeActivationsResponse :: Int -> DescribeActivationsResponse
- data DescribeActivationsResponse
- darsActivationList :: Lens' DescribeActivationsResponse [Activation]
- darsNextToken :: Lens' DescribeActivationsResponse (Maybe Text)
- darsResponseStatus :: Lens' DescribeActivationsResponse Int
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
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:
darsActivationList
- A list of activations for your AWS account.darsNextToken
- The token for the next set of items to return. Use this token to get the next set of results.darsResponseStatus
- -- | The response status code.
data DescribeActivationsResponse Source #
See: describeActivationsResponse
smart constructor.
Instances
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.
darsResponseStatus :: Lens' DescribeActivationsResponse Int Source #
- - | The response status code.