Safe Haskell | None |
---|---|
Language | Haskell2010 |
Gets a generated host name for the specified layer, based on the current host name theme.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing UserPermissions.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_GetHostnameSuggestion.html
- data GetHostnameSuggestion
- getHostnameSuggestion :: Text -> GetHostnameSuggestion
- ghsLayerId :: Lens' GetHostnameSuggestion Text
- data GetHostnameSuggestionResponse
- getHostnameSuggestionResponse :: GetHostnameSuggestionResponse
- ghsrHostname :: Lens' GetHostnameSuggestionResponse (Maybe Text)
- ghsrLayerId :: Lens' GetHostnameSuggestionResponse (Maybe Text)
Request
data GetHostnameSuggestion Source
Request constructor
GetHostnameSuggestion
constructor.
The fields accessible through corresponding lenses are:
ghsLayerId
::
Text
Request lenses
ghsLayerId :: Lens' GetHostnameSuggestion Text Source
The layer ID.
Response
Response constructor
getHostnameSuggestionResponse :: GetHostnameSuggestionResponse Source
GetHostnameSuggestionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
ghsrHostname :: Lens' GetHostnameSuggestionResponse (Maybe Text) Source
The generated host name.
ghsrLayerId :: Lens' GetHostnameSuggestionResponse (Maybe Text) Source
The layer ID.