libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.GetHostnameSuggestion

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

data GetHostnameSuggestion Source #

See: newGetHostnameSuggestion smart constructor.

Constructors

GetHostnameSuggestion' 

Fields

Instances

Instances details
Eq GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Read GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Show GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Generic GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Associated Types

type Rep GetHostnameSuggestion :: Type -> Type #

NFData GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Methods

rnf :: GetHostnameSuggestion -> () #

Hashable GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

ToJSON GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

AWSRequest GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Associated Types

type AWSResponse GetHostnameSuggestion #

ToHeaders GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

ToPath GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

ToQuery GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

type Rep GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

type Rep GetHostnameSuggestion = D1 ('MetaData "GetHostnameSuggestion" "Amazonka.OpsWorks.GetHostnameSuggestion" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "GetHostnameSuggestion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "layerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetHostnameSuggestion Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

newGetHostnameSuggestion Source #

Create a value of GetHostnameSuggestion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:layerId:GetHostnameSuggestion', getHostnameSuggestion_layerId - The layer ID.

Request Lenses

Destructuring the Response

data GetHostnameSuggestionResponse Source #

Contains the response to a GetHostnameSuggestion request.

See: newGetHostnameSuggestionResponse smart constructor.

Constructors

GetHostnameSuggestionResponse' 

Fields

Instances

Instances details
Eq GetHostnameSuggestionResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Read GetHostnameSuggestionResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Show GetHostnameSuggestionResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Generic GetHostnameSuggestionResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

Associated Types

type Rep GetHostnameSuggestionResponse :: Type -> Type #

NFData GetHostnameSuggestionResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

type Rep GetHostnameSuggestionResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.GetHostnameSuggestion

type Rep GetHostnameSuggestionResponse = D1 ('MetaData "GetHostnameSuggestionResponse" "Amazonka.OpsWorks.GetHostnameSuggestion" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "GetHostnameSuggestionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "layerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetHostnameSuggestionResponse Source #

Create a value of GetHostnameSuggestionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hostname:GetHostnameSuggestionResponse', getHostnameSuggestionResponse_hostname - The generated host name.

$sel:layerId:GetHostnameSuggestion', getHostnameSuggestionResponse_layerId - The layer ID.

$sel:httpStatus:GetHostnameSuggestionResponse', getHostnameSuggestionResponse_httpStatus - The response's http status code.

Response Lenses