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.Discovery.DescribeConfigurations
Description
Retrieves attributes for a list of configuration item IDs.
All of the supplied IDs must be for the same asset type from one of the following:
- server
- application
- process
- connection
Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.
For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
Synopsis
- data DescribeConfigurations = DescribeConfigurations' {
- configurationIds :: [Text]
- newDescribeConfigurations :: DescribeConfigurations
- describeConfigurations_configurationIds :: Lens' DescribeConfigurations [Text]
- data DescribeConfigurationsResponse = DescribeConfigurationsResponse' {
- configurations :: Maybe [HashMap Text Text]
- httpStatus :: Int
- newDescribeConfigurationsResponse :: Int -> DescribeConfigurationsResponse
- describeConfigurationsResponse_configurations :: Lens' DescribeConfigurationsResponse (Maybe [HashMap Text Text])
- describeConfigurationsResponse_httpStatus :: Lens' DescribeConfigurationsResponse Int
Creating a Request
data DescribeConfigurations Source #
See: newDescribeConfigurations
smart constructor.
Constructors
DescribeConfigurations' | |
Fields
|
Instances
newDescribeConfigurations :: DescribeConfigurations Source #
Create a value of DescribeConfigurations
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:configurationIds:DescribeConfigurations'
, describeConfigurations_configurationIds
- One or more configuration IDs.
Request Lenses
describeConfigurations_configurationIds :: Lens' DescribeConfigurations [Text] Source #
One or more configuration IDs.
Destructuring the Response
data DescribeConfigurationsResponse Source #
See: newDescribeConfigurationsResponse
smart constructor.
Constructors
DescribeConfigurationsResponse' | |
Fields
|
Instances
newDescribeConfigurationsResponse Source #
Create a value of DescribeConfigurationsResponse
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:configurations:DescribeConfigurationsResponse'
, describeConfigurationsResponse_configurations
- A key in the response map. The value is an array of data.
$sel:httpStatus:DescribeConfigurationsResponse'
, describeConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeConfigurationsResponse_configurations :: Lens' DescribeConfigurationsResponse (Maybe [HashMap Text Text]) Source #
A key in the response map. The value is an array of data.
describeConfigurationsResponse_httpStatus :: Lens' DescribeConfigurationsResponse Int Source #
The response's http status code.