Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves detailed information about a specified server.
This operation returns paginated results.
Synopsis
- data GetServerDetails = GetServerDetails' {}
- newGetServerDetails :: Text -> GetServerDetails
- getServerDetails_maxResults :: Lens' GetServerDetails (Maybe Int)
- getServerDetails_nextToken :: Lens' GetServerDetails (Maybe Text)
- getServerDetails_serverId :: Lens' GetServerDetails Text
- data GetServerDetailsResponse = GetServerDetailsResponse' {}
- newGetServerDetailsResponse :: Int -> GetServerDetailsResponse
- getServerDetailsResponse_associatedApplications :: Lens' GetServerDetailsResponse (Maybe [AssociatedApplication])
- getServerDetailsResponse_nextToken :: Lens' GetServerDetailsResponse (Maybe Text)
- getServerDetailsResponse_serverDetail :: Lens' GetServerDetailsResponse (Maybe ServerDetail)
- getServerDetailsResponse_httpStatus :: Lens' GetServerDetailsResponse Int
Creating a Request
data GetServerDetails Source #
See: newGetServerDetails
smart constructor.
GetServerDetails' | |
|
Instances
Create a value of GetServerDetails
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:maxResults:GetServerDetails'
, getServerDetails_maxResults
- The maximum number of items to include in the response. The maximum
value is 100.
GetServerDetails
, getServerDetails_nextToken
- The token from a previous call that you use to retrieve the next set of
results. For example, if a previous call to this action returned 100
items, but you set maxResults
to 10. You'll receive a set of 10
results along with a token. You then use the returned token to retrieve
the next set of 10.
$sel:serverId:GetServerDetails'
, getServerDetails_serverId
- The ID of the server.
Request Lenses
getServerDetails_maxResults :: Lens' GetServerDetails (Maybe Int) Source #
The maximum number of items to include in the response. The maximum value is 100.
getServerDetails_nextToken :: Lens' GetServerDetails (Maybe Text) Source #
The token from a previous call that you use to retrieve the next set of
results. For example, if a previous call to this action returned 100
items, but you set maxResults
to 10. You'll receive a set of 10
results along with a token. You then use the returned token to retrieve
the next set of 10.
getServerDetails_serverId :: Lens' GetServerDetails Text Source #
The ID of the server.
Destructuring the Response
data GetServerDetailsResponse Source #
See: newGetServerDetailsResponse
smart constructor.
GetServerDetailsResponse' | |
|
Instances
newGetServerDetailsResponse Source #
Create a value of GetServerDetailsResponse
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:associatedApplications:GetServerDetailsResponse'
, getServerDetailsResponse_associatedApplications
- The associated application group the server belongs to, as defined in
AWS Application Discovery Service.
GetServerDetails
, getServerDetailsResponse_nextToken
- The token you use to retrieve the next set of results, or null if there
are no more results.
$sel:serverDetail:GetServerDetailsResponse'
, getServerDetailsResponse_serverDetail
- Detailed information about the server.
$sel:httpStatus:GetServerDetailsResponse'
, getServerDetailsResponse_httpStatus
- The response's http status code.
Response Lenses
getServerDetailsResponse_associatedApplications :: Lens' GetServerDetailsResponse (Maybe [AssociatedApplication]) Source #
The associated application group the server belongs to, as defined in AWS Application Discovery Service.
getServerDetailsResponse_nextToken :: Lens' GetServerDetailsResponse (Maybe Text) Source #
The token you use to retrieve the next set of results, or null if there are no more results.
getServerDetailsResponse_serverDetail :: Lens' GetServerDetailsResponse (Maybe ServerDetail) Source #
Detailed information about the server.
getServerDetailsResponse_httpStatus :: Lens' GetServerDetailsResponse Int Source #
The response's http status code.