Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance.
get/#Action=AssociateIamInstanceProfile
Query parameters
The IAM instance profile.
InstanceIdstring required
The ID of the instance.
Action'AssociateIamInstanceProfile' required
Version'2016-11-15' required
Response
Success