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 |
Amazonka.Kafka.DescribeConfiguration
Description
Returns a description of this MSK configuration.
Synopsis
- data DescribeConfiguration = DescribeConfiguration' {}
- newDescribeConfiguration :: Text -> DescribeConfiguration
- describeConfiguration_arn :: Lens' DescribeConfiguration Text
- data DescribeConfigurationResponse = DescribeConfigurationResponse' {}
- newDescribeConfigurationResponse :: Int -> DescribeConfigurationResponse
- describeConfigurationResponse_creationTime :: Lens' DescribeConfigurationResponse (Maybe UTCTime)
- describeConfigurationResponse_state :: Lens' DescribeConfigurationResponse (Maybe ConfigurationState)
- describeConfigurationResponse_kafkaVersions :: Lens' DescribeConfigurationResponse (Maybe [Text])
- describeConfigurationResponse_arn :: Lens' DescribeConfigurationResponse (Maybe Text)
- describeConfigurationResponse_latestRevision :: Lens' DescribeConfigurationResponse (Maybe ConfigurationRevision)
- describeConfigurationResponse_name :: Lens' DescribeConfigurationResponse (Maybe Text)
- describeConfigurationResponse_description :: Lens' DescribeConfigurationResponse (Maybe Text)
- describeConfigurationResponse_httpStatus :: Lens' DescribeConfigurationResponse Int
Creating a Request
data DescribeConfiguration Source #
See: newDescribeConfiguration
smart constructor.
Constructors
DescribeConfiguration' | |
Instances
newDescribeConfiguration Source #
Arguments
:: Text | |
-> DescribeConfiguration |
Create a value of DescribeConfiguration
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:arn:DescribeConfiguration'
, describeConfiguration_arn
- The Amazon Resource Name (ARN) that uniquely identifies an MSK
configuration and all of its revisions.
Request Lenses
describeConfiguration_arn :: Lens' DescribeConfiguration Text Source #
The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
Destructuring the Response
data DescribeConfigurationResponse Source #
See: newDescribeConfigurationResponse
smart constructor.
Constructors
DescribeConfigurationResponse' | |
Fields
|
Instances
newDescribeConfigurationResponse Source #
Create a value of DescribeConfigurationResponse
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:creationTime:DescribeConfigurationResponse'
, describeConfigurationResponse_creationTime
- The time when the configuration was created.
$sel:state:DescribeConfigurationResponse'
, describeConfigurationResponse_state
- The state of the configuration. The possible states are ACTIVE,
DELETING, and DELETE_FAILED.
$sel:kafkaVersions:DescribeConfigurationResponse'
, describeConfigurationResponse_kafkaVersions
- The versions of Apache Kafka with which you can use this MSK
configuration.
$sel:arn:DescribeConfiguration'
, describeConfigurationResponse_arn
- The Amazon Resource Name (ARN) of the configuration.
$sel:latestRevision:DescribeConfigurationResponse'
, describeConfigurationResponse_latestRevision
- Latest revision of the configuration.
$sel:name:DescribeConfigurationResponse'
, describeConfigurationResponse_name
- The name of the configuration.
$sel:description:DescribeConfigurationResponse'
, describeConfigurationResponse_description
- The description of the configuration.
$sel:httpStatus:DescribeConfigurationResponse'
, describeConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
describeConfigurationResponse_creationTime :: Lens' DescribeConfigurationResponse (Maybe UTCTime) Source #
The time when the configuration was created.
describeConfigurationResponse_state :: Lens' DescribeConfigurationResponse (Maybe ConfigurationState) Source #
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
describeConfigurationResponse_kafkaVersions :: Lens' DescribeConfigurationResponse (Maybe [Text]) Source #
The versions of Apache Kafka with which you can use this MSK configuration.
describeConfigurationResponse_arn :: Lens' DescribeConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the configuration.
describeConfigurationResponse_latestRevision :: Lens' DescribeConfigurationResponse (Maybe ConfigurationRevision) Source #
Latest revision of the configuration.
describeConfigurationResponse_name :: Lens' DescribeConfigurationResponse (Maybe Text) Source #
The name of the configuration.
describeConfigurationResponse_description :: Lens' DescribeConfigurationResponse (Maybe Text) Source #
The description of the configuration.
describeConfigurationResponse_httpStatus :: Lens' DescribeConfigurationResponse Int Source #
The response's http status code.