| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.GetUserDefinedFunctions
Description
Retrieves multiple function definitions from the Data Catalog.
This operation returns paginated results.
Synopsis
- data GetUserDefinedFunctions = GetUserDefinedFunctions' {}
- newGetUserDefinedFunctions :: Text -> GetUserDefinedFunctions
- getUserDefinedFunctions_catalogId :: Lens' GetUserDefinedFunctions (Maybe Text)
- getUserDefinedFunctions_databaseName :: Lens' GetUserDefinedFunctions (Maybe Text)
- getUserDefinedFunctions_maxResults :: Lens' GetUserDefinedFunctions (Maybe Natural)
- getUserDefinedFunctions_nextToken :: Lens' GetUserDefinedFunctions (Maybe Text)
- getUserDefinedFunctions_pattern :: Lens' GetUserDefinedFunctions Text
- data GetUserDefinedFunctionsResponse = GetUserDefinedFunctionsResponse' {}
- newGetUserDefinedFunctionsResponse :: Int -> GetUserDefinedFunctionsResponse
- getUserDefinedFunctionsResponse_nextToken :: Lens' GetUserDefinedFunctionsResponse (Maybe Text)
- getUserDefinedFunctionsResponse_userDefinedFunctions :: Lens' GetUserDefinedFunctionsResponse (Maybe [UserDefinedFunction])
- getUserDefinedFunctionsResponse_httpStatus :: Lens' GetUserDefinedFunctionsResponse Int
Creating a Request
data GetUserDefinedFunctions Source #
See: newGetUserDefinedFunctions smart constructor.
Constructors
| GetUserDefinedFunctions' | |
Fields
| |
Instances
newGetUserDefinedFunctions Source #
Create a value of GetUserDefinedFunctions with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetUserDefinedFunctions, getUserDefinedFunctions_catalogId - The ID of the Data Catalog where the functions to be retrieved are
located. If none is provided, the Amazon Web Services account ID is used
by default.
GetUserDefinedFunctions, getUserDefinedFunctions_databaseName - The name of the catalog database where the functions are located. If
none is provided, functions from all the databases across the catalog
will be returned.
$sel:maxResults:GetUserDefinedFunctions', getUserDefinedFunctions_maxResults - The maximum number of functions to return in one response.
GetUserDefinedFunctions, getUserDefinedFunctions_nextToken - A continuation token, if this is a continuation call.
$sel:pattern':GetUserDefinedFunctions', getUserDefinedFunctions_pattern - An optional function-name pattern string that filters the function
definitions returned.
Request Lenses
getUserDefinedFunctions_catalogId :: Lens' GetUserDefinedFunctions (Maybe Text) Source #
The ID of the Data Catalog where the functions to be retrieved are located. If none is provided, the Amazon Web Services account ID is used by default.
getUserDefinedFunctions_databaseName :: Lens' GetUserDefinedFunctions (Maybe Text) Source #
The name of the catalog database where the functions are located. If none is provided, functions from all the databases across the catalog will be returned.
getUserDefinedFunctions_maxResults :: Lens' GetUserDefinedFunctions (Maybe Natural) Source #
The maximum number of functions to return in one response.
getUserDefinedFunctions_nextToken :: Lens' GetUserDefinedFunctions (Maybe Text) Source #
A continuation token, if this is a continuation call.
getUserDefinedFunctions_pattern :: Lens' GetUserDefinedFunctions Text Source #
An optional function-name pattern string that filters the function definitions returned.
Destructuring the Response
data GetUserDefinedFunctionsResponse Source #
See: newGetUserDefinedFunctionsResponse smart constructor.
Constructors
| GetUserDefinedFunctionsResponse' | |
Fields
| |
Instances
newGetUserDefinedFunctionsResponse Source #
Create a value of GetUserDefinedFunctionsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetUserDefinedFunctions, getUserDefinedFunctionsResponse_nextToken - A continuation token, if the list of functions returned does not include
the last requested function.
$sel:userDefinedFunctions:GetUserDefinedFunctionsResponse', getUserDefinedFunctionsResponse_userDefinedFunctions - A list of requested function definitions.
$sel:httpStatus:GetUserDefinedFunctionsResponse', getUserDefinedFunctionsResponse_httpStatus - The response's http status code.
Response Lenses
getUserDefinedFunctionsResponse_nextToken :: Lens' GetUserDefinedFunctionsResponse (Maybe Text) Source #
A continuation token, if the list of functions returned does not include the last requested function.
getUserDefinedFunctionsResponse_userDefinedFunctions :: Lens' GetUserDefinedFunctionsResponse (Maybe [UserDefinedFunction]) Source #
A list of requested function definitions.
getUserDefinedFunctionsResponse_httpStatus :: Lens' GetUserDefinedFunctionsResponse Int Source #
The response's http status code.