Copyright | (c) 2013-2021 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 |
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_nextToken :: Lens' GetUserDefinedFunctions (Maybe Text)
- getUserDefinedFunctions_databaseName :: Lens' GetUserDefinedFunctions (Maybe Text)
- getUserDefinedFunctions_maxResults :: Lens' GetUserDefinedFunctions (Maybe Natural)
- 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.
GetUserDefinedFunctions' | |
|
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:
$sel:catalogId: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.
$sel:nextToken:GetUserDefinedFunctions'
, getUserDefinedFunctions_nextToken
- A continuation token, if this is a continuation call.
$sel:databaseName: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.
$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_nextToken :: Lens' GetUserDefinedFunctions (Maybe Text) Source #
A continuation token, if this is a continuation call.
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_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.
GetUserDefinedFunctionsResponse' | |
|
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:
$sel:nextToken: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.