You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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>)


6674
6675
6676
6677
6678
6679
6680
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6674

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:



6674
6675
6676
6677
6678
6679
6680
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6674

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)


6674
6675
6676
6677
6678
6679
6680
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6674

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)


6674
6675
6676
6677
6678
6679
6680
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6674

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