Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified instance profile. The instance profile must not have an associated role.
Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.
For more information about instance profiles, go to About Instance Profiles.
See: AWS API Reference for DeleteInstanceProfile.
Creating a Request
Creates a value of DeleteInstanceProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteInstanceProfile Source
See: deleteInstanceProfile
smart constructor.
Request Lenses
dipInstanceProfileName :: Lens' DeleteInstanceProfile Text Source
The name of the instance profile to delete.
Destructuring the Response
deleteInstanceProfileResponse :: DeleteInstanceProfileResponse Source
Creates a value of DeleteInstanceProfileResponse
with the minimum fields required to make a request.
data DeleteInstanceProfileResponse Source
See: deleteInstanceProfileResponse
smart constructor.