| 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.GetUserDefinedFunction
Description
Retrieves a specified function definition from the Data Catalog.
- getUserDefinedFunction :: Text -> Text -> GetUserDefinedFunction
- data GetUserDefinedFunction
- getCatalogId :: Lens' GetUserDefinedFunction (Maybe Text)
- getDatabaseName :: Lens' GetUserDefinedFunction Text
- getFunctionName :: Lens' GetUserDefinedFunction Text
- getUserDefinedFunctionResponse :: Int -> GetUserDefinedFunctionResponse
- data GetUserDefinedFunctionResponse
- gudfursUserDefinedFunction :: Lens' GetUserDefinedFunctionResponse (Maybe UserDefinedFunction)
- gudfursResponseStatus :: Lens' GetUserDefinedFunctionResponse Int
Creating a Request
getUserDefinedFunction Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetUserDefinedFunction |
Creates a value of GetUserDefinedFunction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getCatalogId- The ID of the Data Catalog where the function to be retrieved is located. If none is supplied, the AWS account ID is used by default.getDatabaseName- The name of the catalog database where the function is located.getFunctionName- The name of the function.
data GetUserDefinedFunction Source #
See: getUserDefinedFunction smart constructor.
Instances
Request Lenses
getCatalogId :: Lens' GetUserDefinedFunction (Maybe Text) Source #
The ID of the Data Catalog where the function to be retrieved is located. If none is supplied, the AWS account ID is used by default.
getDatabaseName :: Lens' GetUserDefinedFunction Text Source #
The name of the catalog database where the function is located.
getFunctionName :: Lens' GetUserDefinedFunction Text Source #
The name of the function.
Destructuring the Response
getUserDefinedFunctionResponse Source #
Arguments
| :: Int | |
| -> GetUserDefinedFunctionResponse |
Creates a value of GetUserDefinedFunctionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gudfursUserDefinedFunction- The requested function definition.gudfursResponseStatus- -- | The response status code.
data GetUserDefinedFunctionResponse Source #
See: getUserDefinedFunctionResponse smart constructor.
Instances
Response Lenses
gudfursUserDefinedFunction :: Lens' GetUserDefinedFunctionResponse (Maybe UserDefinedFunction) Source #
The requested function definition.
gudfursResponseStatus :: Lens' GetUserDefinedFunctionResponse Int Source #
- - | The response status code.