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 |
Creates a new instance profile. For information about instance profiles, go to About Instance Profiles.
For information about the number of instance profiles you can create, see Limitations on IAM Entities in the IAM User Guide.
See: AWS API Reference for CreateInstanceProfile.
- createInstanceProfile :: Text -> CreateInstanceProfile
- data CreateInstanceProfile
- cipPath :: Lens' CreateInstanceProfile (Maybe Text)
- cipInstanceProfileName :: Lens' CreateInstanceProfile Text
- createInstanceProfileResponse :: Int -> InstanceProfile -> CreateInstanceProfileResponse
- data CreateInstanceProfileResponse
- ciprsResponseStatus :: Lens' CreateInstanceProfileResponse Int
- ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse InstanceProfile
Creating a Request
Creates a value of CreateInstanceProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateInstanceProfile Source
See: createInstanceProfile
smart constructor.
Request Lenses
cipPath :: Lens' CreateInstanceProfile (Maybe Text) Source
The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
cipInstanceProfileName :: Lens' CreateInstanceProfile Text Source
The name of the instance profile to create.
Destructuring the Response
createInstanceProfileResponse Source
Creates a value of CreateInstanceProfileResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateInstanceProfileResponse Source
Contains the response to a successful CreateInstanceProfile request.
See: createInstanceProfileResponse
smart constructor.
Response Lenses
ciprsResponseStatus :: Lens' CreateInstanceProfileResponse Int Source
The response status code.
ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse InstanceProfile Source
Information about the instance profile.