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 |
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.
DeleteUserDefinedFunction' | |
|
Instances
newDeleteUserDefinedFunction Source #
:: 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.
DeleteUserDefinedFunctionResponse' | |
|
Instances
Eq DeleteUserDefinedFunctionResponse Source # | |
Read DeleteUserDefinedFunctionResponse Source # | |
Show DeleteUserDefinedFunctionResponse Source # | |
Generic DeleteUserDefinedFunctionResponse Source # | |
NFData DeleteUserDefinedFunctionResponse Source # | |
Defined in Amazonka.Glue.DeleteUserDefinedFunction rnf :: DeleteUserDefinedFunctionResponse -> () # | |
type Rep DeleteUserDefinedFunctionResponse Source # | |
Defined in Amazonka.Glue.DeleteUserDefinedFunction type Rep DeleteUserDefinedFunctionResponse = D1 ('MetaData "DeleteUserDefinedFunctionResponse" "Amazonka.Glue.DeleteUserDefinedFunction" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteUserDefinedFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteUserDefinedFunctionResponse Source #
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.