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 multiple function definitions from the Data Catalog.
This operation returns paginated results.
- getUserDefinedFunctions :: Text -> Text -> GetUserDefinedFunctions
- data GetUserDefinedFunctions
- gudfCatalogId :: Lens' GetUserDefinedFunctions (Maybe Text)
- gudfNextToken :: Lens' GetUserDefinedFunctions (Maybe Text)
- gudfMaxResults :: Lens' GetUserDefinedFunctions (Maybe Natural)
- gudfDatabaseName :: Lens' GetUserDefinedFunctions Text
- gudfPattern :: Lens' GetUserDefinedFunctions Text
- getUserDefinedFunctionsResponse :: Int -> GetUserDefinedFunctionsResponse
- data GetUserDefinedFunctionsResponse
- gudfrsNextToken :: Lens' GetUserDefinedFunctionsResponse (Maybe Text)
- gudfrsUserDefinedFunctions :: Lens' GetUserDefinedFunctionsResponse [UserDefinedFunction]
- gudfrsResponseStatus :: Lens' GetUserDefinedFunctionsResponse Int
Creating a Request
getUserDefinedFunctions Source #
Creates a value of GetUserDefinedFunctions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gudfCatalogId
- The ID of the Data Catalog where the functions to be retrieved are located. If none is supplied, the AWS account ID is used by default.gudfNextToken
- A continuation token, if this is a continuation call.gudfMaxResults
- The maximum number of functions to return in one response.gudfDatabaseName
- The name of the catalog database where the functions are located.gudfPattern
- An optional function-name pattern string that filters the function definitions returned.
data GetUserDefinedFunctions Source #
See: getUserDefinedFunctions
smart constructor.
Request Lenses
gudfCatalogId :: Lens' GetUserDefinedFunctions (Maybe Text) Source #
The ID of the Data Catalog where the functions to be retrieved are located. If none is supplied, the AWS account ID is used by default.
gudfNextToken :: Lens' GetUserDefinedFunctions (Maybe Text) Source #
A continuation token, if this is a continuation call.
gudfMaxResults :: Lens' GetUserDefinedFunctions (Maybe Natural) Source #
The maximum number of functions to return in one response.
gudfDatabaseName :: Lens' GetUserDefinedFunctions Text Source #
The name of the catalog database where the functions are located.
gudfPattern :: Lens' GetUserDefinedFunctions Text Source #
An optional function-name pattern string that filters the function definitions returned.
Destructuring the Response
getUserDefinedFunctionsResponse Source #
Creates a value of GetUserDefinedFunctionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gudfrsNextToken
- A continuation token, if the list of functions returned does not include the last requested function.gudfrsUserDefinedFunctions
- A list of requested function definitions.gudfrsResponseStatus
- -- | The response status code.
data GetUserDefinedFunctionsResponse Source #
See: getUserDefinedFunctionsResponse
smart constructor.
Response Lenses
gudfrsNextToken :: Lens' GetUserDefinedFunctionsResponse (Maybe Text) Source #
A continuation token, if the list of functions returned does not include the last requested function.
gudfrsUserDefinedFunctions :: Lens' GetUserDefinedFunctionsResponse [UserDefinedFunction] Source #
A list of requested function definitions.
gudfrsResponseStatus :: Lens' GetUserDefinedFunctionsResponse Int Source #
- - | The response status code.