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 |
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 User Permissions.
- getHostnameSuggestion :: Text -> GetHostnameSuggestion
- data GetHostnameSuggestion
- ghsLayerId :: Lens' GetHostnameSuggestion Text
- getHostnameSuggestionResponse :: Int -> GetHostnameSuggestionResponse
- data GetHostnameSuggestionResponse
- ghsrsHostname :: Lens' GetHostnameSuggestionResponse (Maybe Text)
- ghsrsLayerId :: Lens' GetHostnameSuggestionResponse (Maybe Text)
- ghsrsResponseStatus :: Lens' GetHostnameSuggestionResponse Int
Creating a Request
getHostnameSuggestion Source #
Creates a value of GetHostnameSuggestion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetHostnameSuggestion Source #
See: getHostnameSuggestion
smart constructor.
Request Lenses
ghsLayerId :: Lens' GetHostnameSuggestion Text Source #
The layer ID.
Destructuring the Response
getHostnameSuggestionResponse Source #
Creates a value of GetHostnameSuggestionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetHostnameSuggestionResponse Source #
Contains the response to a GetHostnameSuggestion
request.
See: getHostnameSuggestionResponse
smart constructor.
Response Lenses
ghsrsHostname :: Lens' GetHostnameSuggestionResponse (Maybe Text) Source #
The generated host name.
ghsrsLayerId :: Lens' GetHostnameSuggestionResponse (Maybe Text) Source #
The layer ID.
ghsrsResponseStatus :: Lens' GetHostnameSuggestionResponse Int Source #
The response status code.