| 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.Glue.DeleteUserDefinedFunction
Description
Deletes an existing function definition from the Data Catalog.
Synopsis
- data DeleteUserDefinedFunction = DeleteUserDefinedFunction' {
- catalogId :: Maybe Text
- databaseName :: Text
- functionName :: Text
- newDeleteUserDefinedFunction :: Text -> Text -> DeleteUserDefinedFunction
- deleteUserDefinedFunction_catalogId :: Lens' DeleteUserDefinedFunction (Maybe Text)
- deleteUserDefinedFunction_databaseName :: Lens' DeleteUserDefinedFunction Text
- deleteUserDefinedFunction_functionName :: Lens' DeleteUserDefinedFunction Text
- data DeleteUserDefinedFunctionResponse = DeleteUserDefinedFunctionResponse' {
- httpStatus :: Int
- newDeleteUserDefinedFunctionResponse :: Int -> DeleteUserDefinedFunctionResponse
- deleteUserDefinedFunctionResponse_httpStatus :: Lens' DeleteUserDefinedFunctionResponse Int
Creating a Request
data DeleteUserDefinedFunction Source #
See: newDeleteUserDefinedFunction smart constructor.
Constructors
| DeleteUserDefinedFunction' | |
Fields
| |
Instances
newDeleteUserDefinedFunction Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteUserDefinedFunction |
Create a value of DeleteUserDefinedFunction 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:
DeleteUserDefinedFunction, deleteUserDefinedFunction_catalogId - The ID of the Data Catalog where the function to be deleted is located.
If none is supplied, the Amazon Web Services account ID is used by
default.
DeleteUserDefinedFunction, deleteUserDefinedFunction_databaseName - The name of the catalog database where the function is located.
DeleteUserDefinedFunction, deleteUserDefinedFunction_functionName - The name of the function definition to be deleted.
Request Lenses
deleteUserDefinedFunction_catalogId :: Lens' DeleteUserDefinedFunction (Maybe Text) Source #
The ID of the Data Catalog where the function to be deleted is located. If none is supplied, the Amazon Web Services account ID is used by default.
deleteUserDefinedFunction_databaseName :: Lens' DeleteUserDefinedFunction Text Source #
The name of the catalog database where the function is located.
deleteUserDefinedFunction_functionName :: Lens' DeleteUserDefinedFunction Text Source #
The name of the function definition to be deleted.
Destructuring the Response
data DeleteUserDefinedFunctionResponse Source #
See: newDeleteUserDefinedFunctionResponse smart constructor.
Constructors
| DeleteUserDefinedFunctionResponse' | |
Fields
| |
Instances
newDeleteUserDefinedFunctionResponse Source #
Arguments
| :: Int | |
| -> DeleteUserDefinedFunctionResponse |
Create a value of DeleteUserDefinedFunctionResponse 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:DeleteUserDefinedFunctionResponse', deleteUserDefinedFunctionResponse_httpStatus - The response's http status code.
Response Lenses
deleteUserDefinedFunctionResponse_httpStatus :: Lens' DeleteUserDefinedFunctionResponse Int Source #
The response's http status code.