| 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 |
Amazonka.OpsWorksCM.DescribeServers
Description
Lists all configuration management servers that are identified with your account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks CM does not query other services.
This operation is synchronous.
A ResourceNotFoundException is thrown when the server does not exist.
A ValidationException is raised when parameters of the request are not
valid.
This operation returns paginated results.
Synopsis
- data DescribeServers = DescribeServers' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- serverName :: Maybe Text
- newDescribeServers :: DescribeServers
- describeServers_maxResults :: Lens' DescribeServers (Maybe Natural)
- describeServers_nextToken :: Lens' DescribeServers (Maybe Text)
- describeServers_serverName :: Lens' DescribeServers (Maybe Text)
- data DescribeServersResponse = DescribeServersResponse' {}
- newDescribeServersResponse :: Int -> DescribeServersResponse
- describeServersResponse_nextToken :: Lens' DescribeServersResponse (Maybe Text)
- describeServersResponse_servers :: Lens' DescribeServersResponse (Maybe [Server])
- describeServersResponse_httpStatus :: Lens' DescribeServersResponse Int
Creating a Request
data DescribeServers Source #
See: newDescribeServers smart constructor.
Constructors
| DescribeServers' | |
Fields
| |
Instances
newDescribeServers :: DescribeServers Source #
Create a value of DescribeServers 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:DescribeServers', describeServers_maxResults - This is not currently implemented for DescribeServers requests.
DescribeServers, describeServers_nextToken - This is not currently implemented for DescribeServers requests.
DescribeServers, describeServers_serverName - Describes the server with the specified ServerName.
Request Lenses
describeServers_maxResults :: Lens' DescribeServers (Maybe Natural) Source #
This is not currently implemented for DescribeServers requests.
describeServers_nextToken :: Lens' DescribeServers (Maybe Text) Source #
This is not currently implemented for DescribeServers requests.
describeServers_serverName :: Lens' DescribeServers (Maybe Text) Source #
Describes the server with the specified ServerName.
Destructuring the Response
data DescribeServersResponse Source #
See: newDescribeServersResponse smart constructor.
Constructors
| DescribeServersResponse' | |
Fields
| |
Instances
newDescribeServersResponse Source #
Create a value of DescribeServersResponse 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:
DescribeServers, describeServersResponse_nextToken - This is not currently implemented for DescribeServers requests.
$sel:servers:DescribeServersResponse', describeServersResponse_servers - Contains the response to a DescribeServers request.
For Chef Automate servers: If
DescribeServersResponse$Servers$EngineAttributes includes
CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server
to Chef Automate 2. To be eligible for upgrade, a server running Chef
Automate 1 must have had at least one successful maintenance run after
November 1, 2019.
For Puppet servers: DescribeServersResponse$Servers$EngineAttributes
contains the following two responses:
PUPPET_API_CA_CERT, the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. The CA certificate is also used to sign node certificates.PUPPET_API_CRL, a certificate revocation list. The certificate revocation list is for internal maintenance purposes only. For more information about the Puppet certificate revocation list, see Man Page: puppet certificate_revocation_list in the Puppet documentation.
$sel:httpStatus:DescribeServersResponse', describeServersResponse_httpStatus - The response's http status code.
Response Lenses
describeServersResponse_nextToken :: Lens' DescribeServersResponse (Maybe Text) Source #
This is not currently implemented for DescribeServers requests.
describeServersResponse_servers :: Lens' DescribeServersResponse (Maybe [Server]) Source #
Contains the response to a DescribeServers request.
For Chef Automate servers: If
DescribeServersResponse$Servers$EngineAttributes includes
CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server
to Chef Automate 2. To be eligible for upgrade, a server running Chef
Automate 1 must have had at least one successful maintenance run after
November 1, 2019.
For Puppet servers: DescribeServersResponse$Servers$EngineAttributes
contains the following two responses:
PUPPET_API_CA_CERT, the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. The CA certificate is also used to sign node certificates.PUPPET_API_CRL, a certificate revocation list. The certificate revocation list is for internal maintenance purposes only. For more information about the Puppet certificate revocation list, see Man Page: puppet certificate_revocation_list in the Puppet documentation.
describeServersResponse_httpStatus :: Lens' DescribeServersResponse Int Source #
The response's http status code.