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 |
Records the configuration state for a custom resource that has been deleted. This API records a new ConfigurationItem with a ResourceDeleted status. You can retrieve the ConfigurationItems recorded for this resource in your Config History.
Synopsis
- data DeleteResourceConfig = DeleteResourceConfig' {
- resourceType :: Text
- resourceId :: Text
- newDeleteResourceConfig :: Text -> Text -> DeleteResourceConfig
- deleteResourceConfig_resourceType :: Lens' DeleteResourceConfig Text
- deleteResourceConfig_resourceId :: Lens' DeleteResourceConfig Text
- data DeleteResourceConfigResponse = DeleteResourceConfigResponse' {
- newDeleteResourceConfigResponse :: DeleteResourceConfigResponse
Creating a Request
data DeleteResourceConfig Source #
See: newDeleteResourceConfig
smart constructor.
DeleteResourceConfig' | |
|
Instances
newDeleteResourceConfig Source #
:: Text | |
-> Text | |
-> DeleteResourceConfig |
Create a value of DeleteResourceConfig
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:resourceType:DeleteResourceConfig'
, deleteResourceConfig_resourceType
- The type of the resource.
$sel:resourceId:DeleteResourceConfig'
, deleteResourceConfig_resourceId
- Unique identifier of the resource.
Request Lenses
deleteResourceConfig_resourceType :: Lens' DeleteResourceConfig Text Source #
The type of the resource.
deleteResourceConfig_resourceId :: Lens' DeleteResourceConfig Text Source #
Unique identifier of the resource.
Destructuring the Response
data DeleteResourceConfigResponse Source #
See: newDeleteResourceConfigResponse
smart constructor.
Instances
newDeleteResourceConfigResponse :: DeleteResourceConfigResponse Source #
Create a value of DeleteResourceConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.