| 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.DirectoryService.CancelSchemaExtension
Description
Cancels an in-progress schema extension to a Microsoft AD directory.
Once a schema extension has started replicating to all domain
controllers, the task can no longer be canceled. A schema extension can
be canceled during any of the following states; Initializing,
CreatingSnapshot, and UpdatingSchema.
Synopsis
- data CancelSchemaExtension = CancelSchemaExtension' {}
- newCancelSchemaExtension :: Text -> Text -> CancelSchemaExtension
- cancelSchemaExtension_directoryId :: Lens' CancelSchemaExtension Text
- cancelSchemaExtension_schemaExtensionId :: Lens' CancelSchemaExtension Text
- data CancelSchemaExtensionResponse = CancelSchemaExtensionResponse' {
- httpStatus :: Int
- newCancelSchemaExtensionResponse :: Int -> CancelSchemaExtensionResponse
- cancelSchemaExtensionResponse_httpStatus :: Lens' CancelSchemaExtensionResponse Int
Creating a Request
data CancelSchemaExtension Source #
See: newCancelSchemaExtension smart constructor.
Constructors
| CancelSchemaExtension' | |
Fields
| |
Instances
newCancelSchemaExtension Source #
Arguments
| :: Text | |
| -> Text | |
| -> CancelSchemaExtension |
Create a value of CancelSchemaExtension 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:
CancelSchemaExtension, cancelSchemaExtension_directoryId - The identifier of the directory whose schema extension will be canceled.
CancelSchemaExtension, cancelSchemaExtension_schemaExtensionId - The identifier of the schema extension that will be canceled.
Request Lenses
cancelSchemaExtension_directoryId :: Lens' CancelSchemaExtension Text Source #
The identifier of the directory whose schema extension will be canceled.
cancelSchemaExtension_schemaExtensionId :: Lens' CancelSchemaExtension Text Source #
The identifier of the schema extension that will be canceled.
Destructuring the Response
data CancelSchemaExtensionResponse Source #
See: newCancelSchemaExtensionResponse smart constructor.
Constructors
| CancelSchemaExtensionResponse' | |
Fields
| |
Instances
newCancelSchemaExtensionResponse Source #
Create a value of CancelSchemaExtensionResponse 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:httpStatus:CancelSchemaExtensionResponse', cancelSchemaExtensionResponse_httpStatus - The response's http status code.
Response Lenses
cancelSchemaExtensionResponse_httpStatus :: Lens' CancelSchemaExtensionResponse Int Source #
The response's http status code.