| Copyright | (c) 2013-2017 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 |
Network.AWS.Glue.CreateUserDefinedFunction
Description
Creates a new function definition in the Data Catalog.
- createUserDefinedFunction :: Text -> UserDefinedFunctionInput -> CreateUserDefinedFunction
- data CreateUserDefinedFunction
- cudfCatalogId :: Lens' CreateUserDefinedFunction (Maybe Text)
- cudfDatabaseName :: Lens' CreateUserDefinedFunction Text
- cudfFunctionInput :: Lens' CreateUserDefinedFunction UserDefinedFunctionInput
- createUserDefinedFunctionResponse :: Int -> CreateUserDefinedFunctionResponse
- data CreateUserDefinedFunctionResponse
- cudfrsResponseStatus :: Lens' CreateUserDefinedFunctionResponse Int
Creating a Request
createUserDefinedFunction Source #
Arguments
| :: Text | |
| -> UserDefinedFunctionInput | |
| -> CreateUserDefinedFunction |
Creates a value of CreateUserDefinedFunction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cudfCatalogId- The ID of the Data Catalog in which to create the function. If none is supplied, the AWS account ID is used by default.cudfDatabaseName- The name of the catalog database in which to create the function.cudfFunctionInput- AFunctionInputobject that defines the function to create in the Data Catalog.
data CreateUserDefinedFunction Source #
See: createUserDefinedFunction smart constructor.
Instances
Request Lenses
cudfCatalogId :: Lens' CreateUserDefinedFunction (Maybe Text) Source #
The ID of the Data Catalog in which to create the function. If none is supplied, the AWS account ID is used by default.
cudfDatabaseName :: Lens' CreateUserDefinedFunction Text Source #
The name of the catalog database in which to create the function.
cudfFunctionInput :: Lens' CreateUserDefinedFunction UserDefinedFunctionInput Source #
A FunctionInput object that defines the function to create in the Data Catalog.
Destructuring the Response
createUserDefinedFunctionResponse Source #
Arguments
| :: Int | |
| -> CreateUserDefinedFunctionResponse |
Creates a value of CreateUserDefinedFunctionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cudfrsResponseStatus- -- | The response status code.
data CreateUserDefinedFunctionResponse Source #
See: createUserDefinedFunctionResponse smart constructor.
Instances
Response Lenses
cudfrsResponseStatus :: Lens' CreateUserDefinedFunctionResponse Int Source #
- - | The response status code.