Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetHostnameSuggestion = GetHostnameSuggestion' {}
- newGetHostnameSuggestion :: Text -> GetHostnameSuggestion
- getHostnameSuggestion_layerId :: Lens' GetHostnameSuggestion Text
- data GetHostnameSuggestionResponse = GetHostnameSuggestionResponse' {}
- newGetHostnameSuggestionResponse :: Int -> GetHostnameSuggestionResponse
- getHostnameSuggestionResponse_hostname :: Lens' GetHostnameSuggestionResponse (Maybe Text)
- getHostnameSuggestionResponse_layerId :: Lens' GetHostnameSuggestionResponse (Maybe Text)
- getHostnameSuggestionResponse_httpStatus :: Lens' GetHostnameSuggestionResponse Int
Creating a Request
data GetHostnameSuggestion Source #
See: newGetHostnameSuggestion
smart constructor.
Instances
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
getHostnameSuggestion_layerId :: Lens' GetHostnameSuggestion Text Source #
The layer ID.
Destructuring the Response
data GetHostnameSuggestionResponse Source #
Contains the response to a GetHostnameSuggestion
request.
See: newGetHostnameSuggestionResponse
smart constructor.
Instances
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
getHostnameSuggestionResponse_hostname :: Lens' GetHostnameSuggestionResponse (Maybe Text) Source #
The generated host name.
getHostnameSuggestionResponse_layerId :: Lens' GetHostnameSuggestionResponse (Maybe Text) Source #
The layer ID.
getHostnameSuggestionResponse_httpStatus :: Lens' GetHostnameSuggestionResponse Int Source #
The response's http status code.