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 |
Retrieves a short summary of discovered assets.
This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
Synopsis
- data GetDiscoverySummary = GetDiscoverySummary' {
- newGetDiscoverySummary :: GetDiscoverySummary
- data GetDiscoverySummaryResponse = GetDiscoverySummaryResponse' {}
- newGetDiscoverySummaryResponse :: Int -> GetDiscoverySummaryResponse
- getDiscoverySummaryResponse_servers :: Lens' GetDiscoverySummaryResponse (Maybe Integer)
- getDiscoverySummaryResponse_serversMappedtoTags :: Lens' GetDiscoverySummaryResponse (Maybe Integer)
- getDiscoverySummaryResponse_serversMappedToApplications :: Lens' GetDiscoverySummaryResponse (Maybe Integer)
- getDiscoverySummaryResponse_connectorSummary :: Lens' GetDiscoverySummaryResponse (Maybe CustomerConnectorInfo)
- getDiscoverySummaryResponse_agentSummary :: Lens' GetDiscoverySummaryResponse (Maybe CustomerAgentInfo)
- getDiscoverySummaryResponse_applications :: Lens' GetDiscoverySummaryResponse (Maybe Integer)
- getDiscoverySummaryResponse_httpStatus :: Lens' GetDiscoverySummaryResponse Int
Creating a Request
data GetDiscoverySummary Source #
See: newGetDiscoverySummary
smart constructor.
Instances
newGetDiscoverySummary :: GetDiscoverySummary Source #
Create a value of GetDiscoverySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetDiscoverySummaryResponse Source #
See: newGetDiscoverySummaryResponse
smart constructor.
GetDiscoverySummaryResponse' | |
|
Instances
newGetDiscoverySummaryResponse Source #
Create a value of GetDiscoverySummaryResponse
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:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_servers
- The number of servers discovered.
$sel:serversMappedtoTags:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_serversMappedtoTags
- The number of servers mapped to tags.
$sel:serversMappedToApplications:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_serversMappedToApplications
- The number of servers mapped to applications.
$sel:connectorSummary:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_connectorSummary
- Details about discovered connectors, including connector status and
health.
$sel:agentSummary:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_agentSummary
- Details about discovered agents, including agent status and health.
$sel:applications:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_applications
- The number of applications discovered.
$sel:httpStatus:GetDiscoverySummaryResponse'
, getDiscoverySummaryResponse_httpStatus
- The response's http status code.
Response Lenses
getDiscoverySummaryResponse_servers :: Lens' GetDiscoverySummaryResponse (Maybe Integer) Source #
The number of servers discovered.
getDiscoverySummaryResponse_serversMappedtoTags :: Lens' GetDiscoverySummaryResponse (Maybe Integer) Source #
The number of servers mapped to tags.
getDiscoverySummaryResponse_serversMappedToApplications :: Lens' GetDiscoverySummaryResponse (Maybe Integer) Source #
The number of servers mapped to applications.
getDiscoverySummaryResponse_connectorSummary :: Lens' GetDiscoverySummaryResponse (Maybe CustomerConnectorInfo) Source #
Details about discovered connectors, including connector status and health.
getDiscoverySummaryResponse_agentSummary :: Lens' GetDiscoverySummaryResponse (Maybe CustomerAgentInfo) Source #
Details about discovered agents, including agent status and health.
getDiscoverySummaryResponse_applications :: Lens' GetDiscoverySummaryResponse (Maybe Integer) Source #
The number of applications discovered.
getDiscoverySummaryResponse_httpStatus :: Lens' GetDiscoverySummaryResponse Int Source #
The response's http status code.