amazonka-opsworks-0.3.2: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.GetHostnameSuggestion

Contents

Description

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

Synopsis

Request

Request constructor

getHostnameSuggestion Source

Arguments

:: Text

ghsLayerId

-> GetHostnameSuggestion 

GetHostnameSuggestion constructor.

The fields accessible through corresponding lenses are:

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.