amazonka-amplifyuibuilder-2.0: Amazon Amplify UI Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AmplifyUiBuilder.GetComponent

Description

Returns an existing component for an Amplify app.

Synopsis

Creating a Request

data GetComponent Source #

See: newGetComponent smart constructor.

Constructors

GetComponent' 

Fields

  • appId :: Text

    The unique ID of the Amplify app.

  • environmentName :: Text

    The name of the backend environment that is part of the Amplify app.

  • id :: Text

    The unique ID of the component.

Instances

Instances details
ToHeaders GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

ToPath GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

ToQuery GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

AWSRequest GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Associated Types

type AWSResponse GetComponent #

Generic GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Associated Types

type Rep GetComponent :: Type -> Type #

Read GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Show GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

NFData GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Methods

rnf :: GetComponent -> () #

Eq GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Hashable GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

type AWSResponse GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

type Rep GetComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

type Rep GetComponent = D1 ('MetaData "GetComponent" "Amazonka.AmplifyUiBuilder.GetComponent" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "GetComponent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetComponent Source #

Create a value of GetComponent 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:

GetComponent, getComponent_appId - The unique ID of the Amplify app.

GetComponent, getComponent_environmentName - The name of the backend environment that is part of the Amplify app.

GetComponent, getComponent_id - The unique ID of the component.

Request Lenses

getComponent_appId :: Lens' GetComponent Text Source #

The unique ID of the Amplify app.

getComponent_environmentName :: Lens' GetComponent Text Source #

The name of the backend environment that is part of the Amplify app.

getComponent_id :: Lens' GetComponent Text Source #

The unique ID of the component.

Destructuring the Response

data GetComponentResponse Source #

See: newGetComponentResponse smart constructor.

Constructors

GetComponentResponse' 

Fields

Instances

Instances details
Generic GetComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Associated Types

type Rep GetComponentResponse :: Type -> Type #

Read GetComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Show GetComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

NFData GetComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

Methods

rnf :: GetComponentResponse -> () #

Eq GetComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

type Rep GetComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetComponent

type Rep GetComponentResponse = D1 ('MetaData "GetComponentResponse" "Amazonka.AmplifyUiBuilder.GetComponent" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "GetComponentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "component") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Component)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetComponentResponse Source #

Create a value of GetComponentResponse 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:component:GetComponentResponse', getComponentResponse_component - Represents the configuration settings for the component.

$sel:httpStatus:GetComponentResponse', getComponentResponse_httpStatus - The response's http status code.

Response Lenses

getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component) Source #

Represents the configuration settings for the component.