| 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.DeleteConfiguration
Description
Deletes an MSK Configuration.
Synopsis
- data DeleteConfiguration = DeleteConfiguration' {}
- newDeleteConfiguration :: Text -> DeleteConfiguration
- deleteConfiguration_arn :: Lens' DeleteConfiguration Text
- data DeleteConfigurationResponse = DeleteConfigurationResponse' {
- state :: Maybe ConfigurationState
- arn :: Maybe Text
- httpStatus :: Int
- newDeleteConfigurationResponse :: Int -> DeleteConfigurationResponse
- deleteConfigurationResponse_state :: Lens' DeleteConfigurationResponse (Maybe ConfigurationState)
- deleteConfigurationResponse_arn :: Lens' DeleteConfigurationResponse (Maybe Text)
- deleteConfigurationResponse_httpStatus :: Lens' DeleteConfigurationResponse Int
Creating a Request
data DeleteConfiguration Source #
See: newDeleteConfiguration smart constructor.
Constructors
| DeleteConfiguration' | |
Instances
newDeleteConfiguration Source #
Arguments
| :: Text | |
| -> DeleteConfiguration |
Create a value of DeleteConfiguration 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:DeleteConfiguration', deleteConfiguration_arn - The Amazon Resource Name (ARN) that uniquely identifies an MSK
configuration.
Request Lenses
deleteConfiguration_arn :: Lens' DeleteConfiguration Text Source #
The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration.
Destructuring the Response
data DeleteConfigurationResponse Source #
See: newDeleteConfigurationResponse smart constructor.
Constructors
| DeleteConfigurationResponse' | |
Fields
| |
Instances
newDeleteConfigurationResponse Source #
Create a value of DeleteConfigurationResponse 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:state:DeleteConfigurationResponse', deleteConfigurationResponse_state - The state of the configuration. The possible states are ACTIVE,
DELETING, and DELETE_FAILED.
$sel:arn:DeleteConfiguration', deleteConfigurationResponse_arn - The Amazon Resource Name (ARN) that uniquely identifies an MSK
configuration.
$sel:httpStatus:DeleteConfigurationResponse', deleteConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
deleteConfigurationResponse_state :: Lens' DeleteConfigurationResponse (Maybe ConfigurationState) Source #
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
deleteConfigurationResponse_arn :: Lens' DeleteConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration.
deleteConfigurationResponse_httpStatus :: Lens' DeleteConfigurationResponse Int Source #
The response's http status code.