libZSservicesZSamazonka-appsyncZSamazonka-appsync
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.AppSync.GetFunction

Description

Get a Function.

Synopsis

Creating a Request

data GetFunction Source #

See: newGetFunction smart constructor.

Constructors

GetFunction' 

Fields

Instances

Instances details
Eq GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Read GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Show GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Generic GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Associated Types

type Rep GetFunction :: Type -> Type #

NFData GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Methods

rnf :: GetFunction -> () #

Hashable GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

AWSRequest GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Associated Types

type AWSResponse GetFunction #

ToHeaders GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Methods

toHeaders :: GetFunction -> [Header] #

ToPath GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

ToQuery GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

type Rep GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

type Rep GetFunction = D1 ('MetaData "GetFunction" "Amazonka.AppSync.GetFunction" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "GetFunction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "functionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetFunction Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

newGetFunction Source #

Create a value of GetFunction 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:apiId:GetFunction', getFunction_apiId - The GraphQL API ID.

$sel:functionId:GetFunction', getFunction_functionId - The Function ID.

Request Lenses

Destructuring the Response

data GetFunctionResponse Source #

See: newGetFunctionResponse smart constructor.

Constructors

GetFunctionResponse' 

Fields

Instances

Instances details
Eq GetFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Read GetFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Show GetFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Generic GetFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Associated Types

type Rep GetFunctionResponse :: Type -> Type #

NFData GetFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

Methods

rnf :: GetFunctionResponse -> () #

type Rep GetFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetFunction

type Rep GetFunctionResponse = D1 ('MetaData "GetFunctionResponse" "Amazonka.AppSync.GetFunction" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "GetFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetFunctionResponse Source #

Create a value of GetFunctionResponse 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:functionConfiguration:GetFunctionResponse', getFunctionResponse_functionConfiguration - The Function object.

$sel:httpStatus:GetFunctionResponse', getFunctionResponse_httpStatus - The response's http status code.

Response Lenses