Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Disassociates an IAM instance profile from a running or stopped instance.
Use DescribeIamInstanceProfileAssociations to get the association ID.
Synopsis
- data DisassociateIamInstanceProfile = DisassociateIamInstanceProfile' {}
- newDisassociateIamInstanceProfile :: Text -> DisassociateIamInstanceProfile
- disassociateIamInstanceProfile_associationId :: Lens' DisassociateIamInstanceProfile Text
- data DisassociateIamInstanceProfileResponse = DisassociateIamInstanceProfileResponse' {}
- newDisassociateIamInstanceProfileResponse :: Int -> DisassociateIamInstanceProfileResponse
- disassociateIamInstanceProfileResponse_iamInstanceProfileAssociation :: Lens' DisassociateIamInstanceProfileResponse (Maybe IamInstanceProfileAssociation)
- disassociateIamInstanceProfileResponse_httpStatus :: Lens' DisassociateIamInstanceProfileResponse Int
Creating a Request
data DisassociateIamInstanceProfile Source #
See: newDisassociateIamInstanceProfile
smart constructor.
DisassociateIamInstanceProfile' | |
|
Instances
newDisassociateIamInstanceProfile Source #
Create a value of DisassociateIamInstanceProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DisassociateIamInstanceProfile
, disassociateIamInstanceProfile_associationId
- The ID of the IAM instance profile association.
Request Lenses
disassociateIamInstanceProfile_associationId :: Lens' DisassociateIamInstanceProfile Text Source #
The ID of the IAM instance profile association.
Destructuring the Response
data DisassociateIamInstanceProfileResponse Source #
See: newDisassociateIamInstanceProfileResponse
smart constructor.
DisassociateIamInstanceProfileResponse' | |
|
Instances
newDisassociateIamInstanceProfileResponse Source #
Create a value of DisassociateIamInstanceProfileResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iamInstanceProfileAssociation:DisassociateIamInstanceProfileResponse'
, disassociateIamInstanceProfileResponse_iamInstanceProfileAssociation
- Information about the IAM instance profile association.
$sel:httpStatus:DisassociateIamInstanceProfileResponse'
, disassociateIamInstanceProfileResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateIamInstanceProfileResponse_iamInstanceProfileAssociation :: Lens' DisassociateIamInstanceProfileResponse (Maybe IamInstanceProfileAssociation) Source #
Information about the IAM instance profile association.
disassociateIamInstanceProfileResponse_httpStatus :: Lens' DisassociateIamInstanceProfileResponse Int Source #
The response's http status code.