Class: Aws::EC2::Types::DescribeIamInstanceProfileAssociationsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass DescribeIamInstanceProfileAssociationsRequest data as a hash:

{
  association_ids: ["String"],
  filters: [
    {
      name: "String",
      values: ["String"],
    },
  ],
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#association_idsArray<String>

One or more IAM instance profile associations.

Returns:

  • (Array<String>)


11238
11239
11240
11241
11242
11243
11244
# File 'lib/aws-sdk-ec2/types.rb', line 11238

class DescribeIamInstanceProfileAssociationsRequest < Struct.new(
  :association_ids,
  :filters,
  :max_results,
  :next_token)
  include Aws::Structure
end

#filtersArray<Types::Filter>

One or more filters.

  • ‘instance-id` - The ID of the instance.

  • ‘state` - The state of the association (`associating` | `associated` | `disassociating` | `disassociated`).

Returns:



11238
11239
11240
11241
11242
11243
11244
# File 'lib/aws-sdk-ec2/types.rb', line 11238

class DescribeIamInstanceProfileAssociationsRequest < Struct.new(
  :association_ids,
  :filters,
  :max_results,
  :next_token)
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)


11238
11239
11240
11241
11242
11243
11244
# File 'lib/aws-sdk-ec2/types.rb', line 11238

class DescribeIamInstanceProfileAssociationsRequest < Struct.new(
  :association_ids,
  :filters,
  :max_results,
  :next_token)
  include Aws::Structure
end

#next_tokenString

The token to request the next page of results.

Returns:

  • (String)


11238
11239
11240
11241
11242
11243
11244
# File 'lib/aws-sdk-ec2/types.rb', line 11238

class DescribeIamInstanceProfileAssociationsRequest < Struct.new(
  :association_ids,
  :filters,
  :max_results,
  :next_token)
  include Aws::Structure
end