Skip to content

/AWS1/CL_EC2=>DISASSOCIAMINSTANCEPROFILE()

About DisassociateIamInstanceProfile

Disassociates an IAM instance profile from a running or stopped instance.

Use DescribeIamInstanceProfileAssociations to get the association ID.

Method Signature

IMPORTING

Required arguments:

IV_ASSOCIATIONID TYPE /AWS1/EC2IAMINSTPFLASSOCIATI01 /AWS1/EC2IAMINSTPFLASSOCIATI01

The ID of the IAM instance profile association.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DISASCIAMINSTPFLRS /AWS1/CL_EC2DISASCIAMINSTPFLRS