| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.DescribeIamInstanceProfileAssociations
Description
Describes your IAM instance profile associations.
This operation returns paginated results.
Synopsis
- data DescribeIamInstanceProfileAssociations = DescribeIamInstanceProfileAssociations' {}
- newDescribeIamInstanceProfileAssociations :: DescribeIamInstanceProfileAssociations
- describeIamInstanceProfileAssociations_associationIds :: Lens' DescribeIamInstanceProfileAssociations (Maybe [Text])
- describeIamInstanceProfileAssociations_filters :: Lens' DescribeIamInstanceProfileAssociations (Maybe [Filter])
- describeIamInstanceProfileAssociations_maxResults :: Lens' DescribeIamInstanceProfileAssociations (Maybe Natural)
- describeIamInstanceProfileAssociations_nextToken :: Lens' DescribeIamInstanceProfileAssociations (Maybe Text)
- data DescribeIamInstanceProfileAssociationsResponse = DescribeIamInstanceProfileAssociationsResponse' {}
- newDescribeIamInstanceProfileAssociationsResponse :: Int -> DescribeIamInstanceProfileAssociationsResponse
- describeIamInstanceProfileAssociationsResponse_iamInstanceProfileAssociations :: Lens' DescribeIamInstanceProfileAssociationsResponse (Maybe [IamInstanceProfileAssociation])
- describeIamInstanceProfileAssociationsResponse_nextToken :: Lens' DescribeIamInstanceProfileAssociationsResponse (Maybe Text)
- describeIamInstanceProfileAssociationsResponse_httpStatus :: Lens' DescribeIamInstanceProfileAssociationsResponse Int
Creating a Request
data DescribeIamInstanceProfileAssociations Source #
See: newDescribeIamInstanceProfileAssociations smart constructor.
Constructors
| DescribeIamInstanceProfileAssociations' | |
Fields
| |
Instances
newDescribeIamInstanceProfileAssociations :: DescribeIamInstanceProfileAssociations Source #
Create a value of DescribeIamInstanceProfileAssociations with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associationIds:DescribeIamInstanceProfileAssociations', describeIamInstanceProfileAssociations_associationIds - The IAM instance profile associations.
$sel:filters:DescribeIamInstanceProfileAssociations', describeIamInstanceProfileAssociations_filters - The filters.
instance-id- The ID of the instance.state- The state of the association (associating|associated|disassociating).
$sel:maxResults:DescribeIamInstanceProfileAssociations', describeIamInstanceProfileAssociations_maxResults - The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value.
DescribeIamInstanceProfileAssociations, describeIamInstanceProfileAssociations_nextToken - The token to request the next page of results.
Request Lenses
describeIamInstanceProfileAssociations_associationIds :: Lens' DescribeIamInstanceProfileAssociations (Maybe [Text]) Source #
The IAM instance profile associations.
describeIamInstanceProfileAssociations_filters :: Lens' DescribeIamInstanceProfileAssociations (Maybe [Filter]) Source #
The filters.
instance-id- The ID of the instance.state- The state of the association (associating|associated|disassociating).
describeIamInstanceProfileAssociations_maxResults :: 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.
describeIamInstanceProfileAssociations_nextToken :: Lens' DescribeIamInstanceProfileAssociations (Maybe Text) Source #
The token to request the next page of results.
Destructuring the Response
data DescribeIamInstanceProfileAssociationsResponse Source #
See: newDescribeIamInstanceProfileAssociationsResponse smart constructor.
Constructors
| DescribeIamInstanceProfileAssociationsResponse' | |
Fields
| |
Instances
newDescribeIamInstanceProfileAssociationsResponse Source #
Arguments
| :: Int |
|
| -> DescribeIamInstanceProfileAssociationsResponse |
Create a value of DescribeIamInstanceProfileAssociationsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iamInstanceProfileAssociations:DescribeIamInstanceProfileAssociationsResponse', describeIamInstanceProfileAssociationsResponse_iamInstanceProfileAssociations - Information about the IAM instance profile associations.
DescribeIamInstanceProfileAssociations, describeIamInstanceProfileAssociationsResponse_nextToken - The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeIamInstanceProfileAssociationsResponse', describeIamInstanceProfileAssociationsResponse_httpStatus - The response's http status code.
Response Lenses
describeIamInstanceProfileAssociationsResponse_iamInstanceProfileAssociations :: Lens' DescribeIamInstanceProfileAssociationsResponse (Maybe [IamInstanceProfileAssociation]) Source #
Information about the IAM instance profile associations.
describeIamInstanceProfileAssociationsResponse_nextToken :: 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.
describeIamInstanceProfileAssociationsResponse_httpStatus :: Lens' DescribeIamInstanceProfileAssociationsResponse Int Source #
The response's http status code.