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 |
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' {
- serverName :: Maybe Text
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newDescribeServers :: DescribeServers
- describeServers_serverName :: Lens' DescribeServers (Maybe Text)
- describeServers_nextToken :: Lens' DescribeServers (Maybe Text)
- describeServers_maxResults :: Lens' DescribeServers (Maybe Natural)
- data DescribeServersResponse = DescribeServersResponse' {}
- newDescribeServersResponse :: Int -> DescribeServersResponse
- describeServersResponse_servers :: Lens' DescribeServersResponse (Maybe [Server])
- describeServersResponse_nextToken :: Lens' DescribeServersResponse (Maybe Text)
- describeServersResponse_httpStatus :: Lens' DescribeServersResponse Int
Creating a Request
data DescribeServers Source #
See: newDescribeServers
smart constructor.
DescribeServers' | |
|
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:serverName:DescribeServers'
, describeServers_serverName
- Describes the server with the specified ServerName.
$sel:nextToken:DescribeServers'
, describeServers_nextToken
- This is not currently implemented for DescribeServers
requests.
$sel:maxResults:DescribeServers'
, describeServers_maxResults
- This is not currently implemented for DescribeServers
requests.
Request Lenses
describeServers_serverName :: Lens' DescribeServers (Maybe Text) Source #
Describes the server with the specified ServerName.
describeServers_nextToken :: Lens' DescribeServers (Maybe Text) Source #
This is not currently implemented for DescribeServers
requests.
describeServers_maxResults :: Lens' DescribeServers (Maybe Natural) Source #
This is not currently implemented for DescribeServers
requests.
Destructuring the Response
data DescribeServersResponse Source #
See: newDescribeServersResponse
smart constructor.
DescribeServersResponse' | |
|
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:
$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:nextToken:DescribeServers'
, describeServersResponse_nextToken
- This is not currently implemented for DescribeServers
requests.
$sel:httpStatus:DescribeServersResponse'
, describeServersResponse_httpStatus
- The response's http status code.
Response Lenses
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_nextToken :: Lens' DescribeServersResponse (Maybe Text) Source #
This is not currently implemented for DescribeServers
requests.
describeServersResponse_httpStatus :: Lens' DescribeServersResponse Int Source #
The response's http status code.