Module Values_4.ReplaceIamInstanceProfileAssociationRequestSource

Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first. Use DescribeIamInstanceProfileAssociations to get the association ID.

Sourcetype nonrec t = {
  1. iamInstanceProfile : Values_0.IamInstanceProfileSpecification.t;
    (*

    The IAM instance profile.

    *)
  2. associationId : Values_2.IamInstanceProfileAssociationId.t;
    (*

    The ID of the existing IAM instance profile association.

    *)
}
Sourceval context_ : string
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_2.IamInstanceProfileAssociationId.t | `Structure of (string * [> `String of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t