amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeIamInstanceProfileAssociations

Description

Describes your IAM instance profile associations.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeIamInstanceProfileAssociations Source #

Constructors

DescribeIamInstanceProfileAssociations' 

Fields

  • associationIds :: Maybe [Text]

    The IAM instance profile associations.

  • filters :: Maybe [Filter]

    The filters.

    • instance-id - The ID of the instance.
    • state - The state of the association (associating | associated | disassociating).
  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

  • nextToken :: Maybe Text

    The token to request the next page of results.

Instances

Instances details
ToHeaders DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

ToPath DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

ToQuery DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

AWSPager DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

AWSRequest DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Generic DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Read DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Show DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

NFData DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Eq DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Hashable DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

type AWSResponse DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

type Rep DescribeIamInstanceProfileAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

type Rep DescribeIamInstanceProfileAssociations = D1 ('MetaData "DescribeIamInstanceProfileAssociations" "Amazonka.EC2.DescribeIamInstanceProfileAssociations" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeIamInstanceProfileAssociations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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_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.

Destructuring the Response

data DescribeIamInstanceProfileAssociationsResponse Source #

Constructors

DescribeIamInstanceProfileAssociationsResponse' 

Fields

Instances

Instances details
Generic DescribeIamInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Read DescribeIamInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Show DescribeIamInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

NFData DescribeIamInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

Eq DescribeIamInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

type Rep DescribeIamInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeIamInstanceProfileAssociations

type Rep DescribeIamInstanceProfileAssociationsResponse = D1 ('MetaData "DescribeIamInstanceProfileAssociationsResponse" "Amazonka.EC2.DescribeIamInstanceProfileAssociations" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeIamInstanceProfileAssociationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamInstanceProfileAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IamInstanceProfileAssociation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeIamInstanceProfileAssociationsResponse Source #

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_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.