Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates an existing function definition in the Data Catalog.
- updateUserDefinedFunction :: Text -> Text -> UserDefinedFunctionInput -> UpdateUserDefinedFunction
- data UpdateUserDefinedFunction
- uudfCatalogId :: Lens' UpdateUserDefinedFunction (Maybe Text)
- uudfDatabaseName :: Lens' UpdateUserDefinedFunction Text
- uudfFunctionName :: Lens' UpdateUserDefinedFunction Text
- uudfFunctionInput :: Lens' UpdateUserDefinedFunction UserDefinedFunctionInput
- updateUserDefinedFunctionResponse :: Int -> UpdateUserDefinedFunctionResponse
- data UpdateUserDefinedFunctionResponse
- uudfrsResponseStatus :: Lens' UpdateUserDefinedFunctionResponse Int
Creating a Request
updateUserDefinedFunction Source #
Creates a value of UpdateUserDefinedFunction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uudfCatalogId
- The ID of the Data Catalog where the function to be updated is located. If none is supplied, the AWS account ID is used by default.uudfDatabaseName
- The name of the catalog database where the function to be updated is located.uudfFunctionName
- The name of the function.uudfFunctionInput
- AFunctionInput
object that re-defines the function in the Data Catalog.
data UpdateUserDefinedFunction Source #
See: updateUserDefinedFunction
smart constructor.
Request Lenses
uudfCatalogId :: Lens' UpdateUserDefinedFunction (Maybe Text) Source #
The ID of the Data Catalog where the function to be updated is located. If none is supplied, the AWS account ID is used by default.
uudfDatabaseName :: Lens' UpdateUserDefinedFunction Text Source #
The name of the catalog database where the function to be updated is located.
uudfFunctionName :: Lens' UpdateUserDefinedFunction Text Source #
The name of the function.
uudfFunctionInput :: Lens' UpdateUserDefinedFunction UserDefinedFunctionInput Source #
A FunctionInput
object that re-defines the function in the Data Catalog.
Destructuring the Response
updateUserDefinedFunctionResponse Source #
Creates a value of UpdateUserDefinedFunctionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uudfrsResponseStatus
- -- | The response status code.
data UpdateUserDefinedFunctionResponse Source #
See: updateUserDefinedFunctionResponse
smart constructor.
Response Lenses
uudfrsResponseStatus :: Lens' UpdateUserDefinedFunctionResponse Int Source #
- - | The response status code.