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.GetDataSource

Description

Retrieves a DataSource object.

Synopsis

Creating a Request

data GetDataSource Source #

See: newGetDataSource smart constructor.

Constructors

GetDataSource' 

Fields

Instances

Instances details
Eq GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Read GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Show GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Generic GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Associated Types

type Rep GetDataSource :: Type -> Type #

NFData GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Methods

rnf :: GetDataSource -> () #

Hashable GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

AWSRequest GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Associated Types

type AWSResponse GetDataSource #

ToHeaders GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

ToPath GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

ToQuery GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

type Rep GetDataSource Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

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

Defined in Amazonka.AppSync.GetDataSource

newGetDataSource Source #

Create a value of GetDataSource 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:GetDataSource', getDataSource_apiId - The API ID.

$sel:name:GetDataSource', getDataSource_name - The name of the data source.

Request Lenses

getDataSource_name :: Lens' GetDataSource Text Source #

The name of the data source.

Destructuring the Response

data GetDataSourceResponse Source #

See: newGetDataSourceResponse smart constructor.

Constructors

GetDataSourceResponse' 

Fields

Instances

Instances details
Eq GetDataSourceResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Read GetDataSourceResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Show GetDataSourceResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Generic GetDataSourceResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Associated Types

type Rep GetDataSourceResponse :: Type -> Type #

NFData GetDataSourceResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

Methods

rnf :: GetDataSourceResponse -> () #

type Rep GetDataSourceResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetDataSource

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

newGetDataSourceResponse Source #

Create a value of GetDataSourceResponse 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:dataSource:GetDataSourceResponse', getDataSourceResponse_dataSource - The DataSource object.

$sel:httpStatus:GetDataSourceResponse', getDataSourceResponse_httpStatus - The response's http status code.

Response Lenses