| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EC2.DisassociateIAMInstanceProfile
Description
Disassociates an IAM instance profile from a running or stopped instance.
Use DescribeIamInstanceProfileAssociations to get the association ID.
- disassociateIAMInstanceProfile :: Text -> DisassociateIAMInstanceProfile
- data DisassociateIAMInstanceProfile
- diapAssociationId :: Lens' DisassociateIAMInstanceProfile Text
- disassociateIAMInstanceProfileResponse :: Int -> DisassociateIAMInstanceProfileResponse
- data DisassociateIAMInstanceProfileResponse
- diaprsIAMInstanceProfileAssociation :: Lens' DisassociateIAMInstanceProfileResponse (Maybe IAMInstanceProfileAssociation)
- diaprsResponseStatus :: Lens' DisassociateIAMInstanceProfileResponse Int
Creating a Request
disassociateIAMInstanceProfile Source #
Arguments
| :: Text | |
| -> DisassociateIAMInstanceProfile |
Creates a value of DisassociateIAMInstanceProfile with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diapAssociationId- The ID of the IAM instance profile association.
data DisassociateIAMInstanceProfile Source #
See: disassociateIAMInstanceProfile smart constructor.
Instances
Request Lenses
diapAssociationId :: Lens' DisassociateIAMInstanceProfile Text Source #
The ID of the IAM instance profile association.
Destructuring the Response
disassociateIAMInstanceProfileResponse Source #
Creates a value of DisassociateIAMInstanceProfileResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diaprsIAMInstanceProfileAssociation- Information about the IAM instance profile association.diaprsResponseStatus- -- | The response status code.
data DisassociateIAMInstanceProfileResponse Source #
See: disassociateIAMInstanceProfileResponse smart constructor.
Instances
Response Lenses
diaprsIAMInstanceProfileAssociation :: Lens' DisassociateIAMInstanceProfileResponse (Maybe IAMInstanceProfileAssociation) Source #
Information about the IAM instance profile association.
diaprsResponseStatus :: Lens' DisassociateIAMInstanceProfileResponse Int Source #
- - | The response status code.