Copyright | (c) 2013-2016 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.
- 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
createInstanceProfile Source #
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 IAM User Guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
cipInstanceProfileName :: Lens' CreateInstanceProfile Text Source #
The name of the instance profile to create.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-
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 #
A structure containing details about the new instance profile.