Learn R Programming

paws.compute (version 0.1.12)

ec2_describe_iam_instance_profile_associations: Describes your IAM instance profile associations

Description

Describes your IAM instance profile associations.

Usage

ec2_describe_iam_instance_profile_associations(AssociationIds, Filters,
  MaxResults, NextToken)

Value

A list with the following syntax:

list(
  IamInstanceProfileAssociations = list(
    list(
      AssociationId = "string",
      InstanceId = "string",
      IamInstanceProfile = list(
        Arn = "string",
        Id = "string"
      ),
      State = "associating"|"associated"|"disassociating"|"disassociated",
      Timestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Arguments

AssociationIds

The IAM instance profile associations.

Filters

The filters.

  • instance-id - The ID of the instance.

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

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.

NextToken

The token to request the next page of results.

Request syntax

svc$describe_iam_instance_profile_associations(
  AssociationIds = list(
    "string"
  ),
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)

Examples

Run this code
if (FALSE) {
# This example describes the specified IAM instance profile association.
svc$describe_iam_instance_profile_associations(
  AssociationIds = list(
    "iip-assoc-0db249b1f25fa24b8"
  )
)
}

Run the code above in your browser using DataLab