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

Description

Creates a new component for an Amplify app.

Synopsis

Creating a Request

data CreateComponent Source #

See: newCreateComponent smart constructor.

Constructors

CreateComponent' 

Fields

Instances

Instances details
ToJSON CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

ToHeaders CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

ToPath CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

ToQuery CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

AWSRequest CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Associated Types

type AWSResponse CreateComponent #

Generic CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Associated Types

type Rep CreateComponent :: Type -> Type #

Read CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Show CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

NFData CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Methods

rnf :: CreateComponent -> () #

Eq CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Hashable CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

type AWSResponse CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

type Rep CreateComponent Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

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

newCreateComponent Source #

Create a value of CreateComponent 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:clientToken:CreateComponent', createComponent_clientToken - The unique client token.

CreateComponent, createComponent_appId - The unique ID of the Amplify app to associate with the component.

$sel:componentToCreate:CreateComponent', createComponent_componentToCreate - Represents the configuration of the component to create.

CreateComponent, createComponent_environmentName - The name of the backend environment that is a part of the Amplify app.

Request Lenses

createComponent_appId :: Lens' CreateComponent Text Source #

The unique ID of the Amplify app to associate with the component.

createComponent_componentToCreate :: Lens' CreateComponent CreateComponentData Source #

Represents the configuration of the component to create.

createComponent_environmentName :: Lens' CreateComponent Text Source #

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

Destructuring the Response

data CreateComponentResponse Source #

See: newCreateComponentResponse smart constructor.

Constructors

CreateComponentResponse' 

Fields

Instances

Instances details
Generic CreateComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Associated Types

type Rep CreateComponentResponse :: Type -> Type #

Read CreateComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Show CreateComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

NFData CreateComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

Methods

rnf :: CreateComponentResponse -> () #

Eq CreateComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

type Rep CreateComponentResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateComponent

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

newCreateComponentResponse Source #

Create a value of CreateComponentResponse 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:entity:CreateComponentResponse', createComponentResponse_entity - Describes the configuration of the new component.

$sel:httpStatus:CreateComponentResponse', createComponentResponse_httpStatus - The response's http status code.

Response Lenses

createComponentResponse_entity :: Lens' CreateComponentResponse (Maybe Component) Source #

Describes the configuration of the new component.