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 |
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.
UpdateUserDefinedFunction' | |
|
Instances
newUpdateUserDefinedFunction Source #
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:
$sel:catalogId: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.
$sel:databaseName:UpdateUserDefinedFunction'
, updateUserDefinedFunction_databaseName
- The name of the catalog database where the function to be updated is
located.
$sel:functionName: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.
UpdateUserDefinedFunctionResponse' | |
|
Instances
Eq UpdateUserDefinedFunctionResponse Source # | |
Read UpdateUserDefinedFunctionResponse Source # | |
Show UpdateUserDefinedFunctionResponse Source # | |
Generic UpdateUserDefinedFunctionResponse Source # | |
NFData UpdateUserDefinedFunctionResponse Source # | |
Defined in Amazonka.Glue.UpdateUserDefinedFunction rnf :: UpdateUserDefinedFunctionResponse -> () # | |
type Rep UpdateUserDefinedFunctionResponse Source # | |
Defined in Amazonka.Glue.UpdateUserDefinedFunction type Rep UpdateUserDefinedFunctionResponse = D1 ('MetaData "UpdateUserDefinedFunctionResponse" "Amazonka.Glue.UpdateUserDefinedFunction" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "UpdateUserDefinedFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateUserDefinedFunctionResponse Source #
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.