amazonka-opsworks-1.4.5: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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 User Permissions .

Synopsis

Creating a Request

getHostnameSuggestion #

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 #

See: getHostnameSuggestion smart constructor.

Instances

Eq GetHostnameSuggestion # 
Data GetHostnameSuggestion # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetHostnameSuggestion -> c GetHostnameSuggestion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetHostnameSuggestion #

toConstr :: GetHostnameSuggestion -> Constr #

dataTypeOf :: GetHostnameSuggestion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetHostnameSuggestion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetHostnameSuggestion) #

gmapT :: (forall b. Data b => b -> b) -> GetHostnameSuggestion -> GetHostnameSuggestion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetHostnameSuggestion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetHostnameSuggestion -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetHostnameSuggestion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetHostnameSuggestion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetHostnameSuggestion -> m GetHostnameSuggestion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostnameSuggestion -> m GetHostnameSuggestion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostnameSuggestion -> m GetHostnameSuggestion #

Read GetHostnameSuggestion # 
Show GetHostnameSuggestion # 
Generic GetHostnameSuggestion # 
Hashable GetHostnameSuggestion # 
ToJSON GetHostnameSuggestion # 
NFData GetHostnameSuggestion # 

Methods

rnf :: GetHostnameSuggestion -> () #

AWSRequest GetHostnameSuggestion # 
ToQuery GetHostnameSuggestion # 
ToPath GetHostnameSuggestion # 
ToHeaders GetHostnameSuggestion # 
type Rep GetHostnameSuggestion # 
type Rep GetHostnameSuggestion = D1 (MetaData "GetHostnameSuggestion" "Network.AWS.OpsWorks.GetHostnameSuggestion" "amazonka-opsworks-1.4.5-JiFrWEFhyqOE1ZKfkjkheh" True) (C1 (MetaCons "GetHostnameSuggestion'" PrefixI True) (S1 (MetaSel (Just Symbol "_ghsLayerId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetHostnameSuggestion # 

Request Lenses

Destructuring the Response

getHostnameSuggestionResponse #

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 #

Contains the response to a GetHostnameSuggestion request.

See: getHostnameSuggestionResponse smart constructor.

Instances

Eq GetHostnameSuggestionResponse # 
Data GetHostnameSuggestionResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetHostnameSuggestionResponse -> c GetHostnameSuggestionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetHostnameSuggestionResponse #

toConstr :: GetHostnameSuggestionResponse -> Constr #

dataTypeOf :: GetHostnameSuggestionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetHostnameSuggestionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetHostnameSuggestionResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetHostnameSuggestionResponse -> GetHostnameSuggestionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetHostnameSuggestionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetHostnameSuggestionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetHostnameSuggestionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetHostnameSuggestionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetHostnameSuggestionResponse -> m GetHostnameSuggestionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostnameSuggestionResponse -> m GetHostnameSuggestionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetHostnameSuggestionResponse -> m GetHostnameSuggestionResponse #

Read GetHostnameSuggestionResponse # 
Show GetHostnameSuggestionResponse # 
Generic GetHostnameSuggestionResponse # 
NFData GetHostnameSuggestionResponse # 
type Rep GetHostnameSuggestionResponse # 
type Rep GetHostnameSuggestionResponse = D1 (MetaData "GetHostnameSuggestionResponse" "Network.AWS.OpsWorks.GetHostnameSuggestion" "amazonka-opsworks-1.4.5-JiFrWEFhyqOE1ZKfkjkheh" False) (C1 (MetaCons "GetHostnameSuggestionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ghsrsHostname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ghsrsLayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ghsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses