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.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:
$sel:catalogId: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.
$sel:databaseName:DeleteUserDefinedFunction'
, deleteUserDefinedFunction_databaseName
- The name of the catalog database where the function is located.
$sel:functionName: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.