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 Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateInstanceProfile.html
- data CreateInstanceProfile
- createInstanceProfile :: Text -> CreateInstanceProfile
- cipInstanceProfileName :: Lens' CreateInstanceProfile Text
- cipPath :: Lens' CreateInstanceProfile (Maybe Text)
- data CreateInstanceProfileResponse
- createInstanceProfileResponse :: InstanceProfile -> CreateInstanceProfileResponse
- ciprInstanceProfile :: Lens' CreateInstanceProfileResponse InstanceProfile
Request
Request constructor
CreateInstanceProfile
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cipInstanceProfileName :: Lens' CreateInstanceProfile Text Source
The name of the instance profile to create.
cipPath :: Lens' CreateInstanceProfile (Maybe Text) Source
The path to the instance profile. For more information about paths, see IAMIdentifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
Response
Response constructor
createInstanceProfileResponse Source
CreateInstanceProfileResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
ciprInstanceProfile :: Lens' CreateInstanceProfileResponse InstanceProfile Source
Information about the instance profile.