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 |
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 #
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.
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.
Response Lenses
diaprsIAMInstanceProfileAssociation :: Lens' DisassociateIAMInstanceProfileResponse (Maybe IAMInstanceProfileAssociation) Source #
Information about the IAM instance profile association.
diaprsResponseStatus :: Lens' DisassociateIAMInstanceProfileResponse Int Source #
- - | The response status code.