| 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 |
Network.AWS.EC2.DescribeIAMInstanceProfileAssociations
Description
Describes your IAM instance profile associations.
This operation returns paginated results.
Synopsis
- describeIAMInstanceProfileAssociations :: DescribeIAMInstanceProfileAssociations
- data DescribeIAMInstanceProfileAssociations
- diapaFilters :: Lens' DescribeIAMInstanceProfileAssociations [Filter]
- diapaNextToken :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Text)
- diapaAssociationIds :: Lens' DescribeIAMInstanceProfileAssociations [Text]
- diapaMaxResults :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Natural)
- describeIAMInstanceProfileAssociationsResponse :: Int -> DescribeIAMInstanceProfileAssociationsResponse
- data DescribeIAMInstanceProfileAssociationsResponse
- diaparsIAMInstanceProfileAssociations :: Lens' DescribeIAMInstanceProfileAssociationsResponse [IAMInstanceProfileAssociation]
- diaparsNextToken :: Lens' DescribeIAMInstanceProfileAssociationsResponse (Maybe Text)
- diaparsResponseStatus :: Lens' DescribeIAMInstanceProfileAssociationsResponse Int
Creating a Request
describeIAMInstanceProfileAssociations :: DescribeIAMInstanceProfileAssociations Source #
Creates a value of DescribeIAMInstanceProfileAssociations with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diapaFilters- One or more filters. *instance-id- The ID of the instance. *state- The state of the association (associating|associated|disassociating|disassociated).diapaNextToken- The token to request the next page of results.diapaAssociationIds- One or more IAM instance profile associations.diapaMaxResults- The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returnedNextTokenvalue.
data DescribeIAMInstanceProfileAssociations Source #
See: describeIAMInstanceProfileAssociations smart constructor.
Instances
Request Lenses
diapaFilters :: Lens' DescribeIAMInstanceProfileAssociations [Filter] Source #
One or more filters. * instance-id - The ID of the instance. * state - The state of the association (associating | associated | disassociating | disassociated ).
diapaNextToken :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Text) Source #
The token to request the next page of results.
diapaAssociationIds :: Lens' DescribeIAMInstanceProfileAssociations [Text] Source #
One or more IAM instance profile associations.
diapaMaxResults :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
Destructuring the Response
describeIAMInstanceProfileAssociationsResponse Source #
Creates a value of DescribeIAMInstanceProfileAssociationsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diaparsIAMInstanceProfileAssociations- Information about one or more IAM instance profile associations.diaparsNextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.diaparsResponseStatus- -- | The response status code.
data DescribeIAMInstanceProfileAssociationsResponse Source #
See: describeIAMInstanceProfileAssociationsResponse smart constructor.
Instances
Response Lenses
diaparsIAMInstanceProfileAssociations :: Lens' DescribeIAMInstanceProfileAssociationsResponse [IAMInstanceProfileAssociation] Source #
Information about one or more IAM instance profile associations.
diaparsNextToken :: Lens' DescribeIAMInstanceProfileAssociationsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
diaparsResponseStatus :: Lens' DescribeIAMInstanceProfileAssociationsResponse Int Source #
- - | The response status code.