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 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 AWS 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.
DescribeConfigurations' | |
|
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.
DescribeConfigurationsResponse' | |
|
Instances
Eq DescribeConfigurationsResponse Source # | |
Read DescribeConfigurationsResponse Source # | |
Show DescribeConfigurationsResponse Source # | |
Defined in Amazonka.Discovery.DescribeConfigurations | |
Generic DescribeConfigurationsResponse Source # | |
NFData DescribeConfigurationsResponse Source # | |
Defined in Amazonka.Discovery.DescribeConfigurations rnf :: DescribeConfigurationsResponse -> () # | |
type Rep DescribeConfigurationsResponse Source # | |
Defined in Amazonka.Discovery.DescribeConfigurations type Rep DescribeConfigurationsResponse = D1 ('MetaData "DescribeConfigurationsResponse" "Amazonka.Discovery.DescribeConfigurations" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "DescribeConfigurationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.