libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.GetUserDefinedFunctions

Description

Retrieves multiple function definitions from the Data Catalog.

This operation returns paginated results.

Synopsis

Creating a Request

data GetUserDefinedFunctions Source #

See: newGetUserDefinedFunctions smart constructor.

Constructors

GetUserDefinedFunctions' 

Fields

  • catalogId :: Maybe Text

    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.

  • nextToken :: Maybe Text

    A continuation token, if this is a continuation call.

  • databaseName :: Maybe Text

    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.

  • maxResults :: Maybe Natural

    The maximum number of functions to return in one response.

  • pattern' :: Text

    An optional function-name pattern string that filters the function definitions returned.

Instances

Instances details
Eq GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Read GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Show GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Generic GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Associated Types

type Rep GetUserDefinedFunctions :: Type -> Type #

NFData GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Methods

rnf :: GetUserDefinedFunctions -> () #

Hashable GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

ToJSON GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

AWSPager GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

AWSRequest GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

ToHeaders GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

ToPath GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

ToQuery GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

type Rep GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

type Rep GetUserDefinedFunctions = D1 ('MetaData "GetUserDefinedFunctions" "Amazonka.Glue.GetUserDefinedFunctions" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetUserDefinedFunctions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetUserDefinedFunctions Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

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.

Constructors

GetUserDefinedFunctionsResponse' 

Fields

Instances

Instances details
Eq GetUserDefinedFunctionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Read GetUserDefinedFunctionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Show GetUserDefinedFunctionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Generic GetUserDefinedFunctionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

Associated Types

type Rep GetUserDefinedFunctionsResponse :: Type -> Type #

NFData GetUserDefinedFunctionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

type Rep GetUserDefinedFunctionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetUserDefinedFunctions

type Rep GetUserDefinedFunctionsResponse = D1 ('MetaData "GetUserDefinedFunctionsResponse" "Amazonka.Glue.GetUserDefinedFunctions" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetUserDefinedFunctionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userDefinedFunctions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserDefinedFunction])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.