| 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.UpdateUserDefinedFunction
Description
Updates an existing function definition in the Data Catalog.
Synopsis
- data UpdateUserDefinedFunction = UpdateUserDefinedFunction' {}
- newUpdateUserDefinedFunction :: Text -> Text -> UserDefinedFunctionInput -> UpdateUserDefinedFunction
- updateUserDefinedFunction_catalogId :: Lens' UpdateUserDefinedFunction (Maybe Text)
- updateUserDefinedFunction_databaseName :: Lens' UpdateUserDefinedFunction Text
- updateUserDefinedFunction_functionName :: Lens' UpdateUserDefinedFunction Text
- updateUserDefinedFunction_functionInput :: Lens' UpdateUserDefinedFunction UserDefinedFunctionInput
- data UpdateUserDefinedFunctionResponse = UpdateUserDefinedFunctionResponse' {
- httpStatus :: Int
- newUpdateUserDefinedFunctionResponse :: Int -> UpdateUserDefinedFunctionResponse
- updateUserDefinedFunctionResponse_httpStatus :: Lens' UpdateUserDefinedFunctionResponse Int
Creating a Request
data UpdateUserDefinedFunction Source #
See: newUpdateUserDefinedFunction smart constructor.
Constructors
| UpdateUserDefinedFunction' | |
Fields
| |
Instances
newUpdateUserDefinedFunction Source #
Arguments
| :: Text | |
| -> Text | |
| -> UserDefinedFunctionInput | |
| -> UpdateUserDefinedFunction |
Create a value of UpdateUserDefinedFunction 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:
UpdateUserDefinedFunction, updateUserDefinedFunction_catalogId - The ID of the Data Catalog where the function to be updated is located.
If none is provided, the Amazon Web Services account ID is used by
default.
UpdateUserDefinedFunction, updateUserDefinedFunction_databaseName - The name of the catalog database where the function to be updated is
located.
UpdateUserDefinedFunction, updateUserDefinedFunction_functionName - The name of the function.
$sel:functionInput:UpdateUserDefinedFunction', updateUserDefinedFunction_functionInput - A FunctionInput object that redefines the function in the Data
Catalog.
Request Lenses
updateUserDefinedFunction_catalogId :: Lens' UpdateUserDefinedFunction (Maybe Text) Source #
The ID of the Data Catalog where the function to be updated is located. If none is provided, the Amazon Web Services account ID is used by default.
updateUserDefinedFunction_databaseName :: Lens' UpdateUserDefinedFunction Text Source #
The name of the catalog database where the function to be updated is located.
updateUserDefinedFunction_functionName :: Lens' UpdateUserDefinedFunction Text Source #
The name of the function.
updateUserDefinedFunction_functionInput :: Lens' UpdateUserDefinedFunction UserDefinedFunctionInput Source #
A FunctionInput object that redefines the function in the Data
Catalog.
Destructuring the Response
data UpdateUserDefinedFunctionResponse Source #
See: newUpdateUserDefinedFunctionResponse smart constructor.
Constructors
| UpdateUserDefinedFunctionResponse' | |
Fields
| |
Instances
newUpdateUserDefinedFunctionResponse Source #
Arguments
| :: Int | |
| -> UpdateUserDefinedFunctionResponse |
Create a value of UpdateUserDefinedFunctionResponse 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:UpdateUserDefinedFunctionResponse', updateUserDefinedFunctionResponse_httpStatus - The response's http status code.
Response Lenses
updateUserDefinedFunctionResponse_httpStatus :: Lens' UpdateUserDefinedFunctionResponse Int Source #
The response's http status code.