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 |
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 #
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.
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 #
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.
Response Lenses
gudfursUserDefinedFunction :: Lens' GetUserDefinedFunctionResponse (Maybe UserDefinedFunction) Source #
The requested function definition.
gudfursResponseStatus :: Lens' GetUserDefinedFunctionResponse Int Source #
- - | The response status code.