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

Description

Creates a new form for an Amplify app.

Synopsis

Creating a Request

data CreateForm Source #

See: newCreateForm smart constructor.

Constructors

CreateForm' 

Fields

Instances

Instances details
ToJSON CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

ToHeaders CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Methods

toHeaders :: CreateForm -> [Header] #

ToPath CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

ToQuery CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

AWSRequest CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Associated Types

type AWSResponse CreateForm #

Generic CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Associated Types

type Rep CreateForm :: Type -> Type #

Read CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Show CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

NFData CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Methods

rnf :: CreateForm -> () #

Eq CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Hashable CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

type AWSResponse CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

type Rep CreateForm Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

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

newCreateForm Source #

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

CreateForm, createForm_appId - The unique ID of the Amplify app to associate with the form.

CreateForm, createForm_environmentName - The name of the backend environment that is a part of the Amplify app.

$sel:formToCreate:CreateForm', createForm_formToCreate - Represents the configuration of the form to create.

Request Lenses

createForm_appId :: Lens' CreateForm Text Source #

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

createForm_environmentName :: Lens' CreateForm Text Source #

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

createForm_formToCreate :: Lens' CreateForm CreateFormData Source #

Represents the configuration of the form to create.

Destructuring the Response

data CreateFormResponse Source #

See: newCreateFormResponse smart constructor.

Constructors

CreateFormResponse' 

Fields

Instances

Instances details
Generic CreateFormResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Associated Types

type Rep CreateFormResponse :: Type -> Type #

Read CreateFormResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Show CreateFormResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

NFData CreateFormResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

Methods

rnf :: CreateFormResponse -> () #

Eq CreateFormResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

type Rep CreateFormResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateForm

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

newCreateFormResponse Source #

Create a value of CreateFormResponse 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:CreateFormResponse', createFormResponse_entity - Describes the configuration of the new form.

$sel:httpStatus:CreateFormResponse', createFormResponse_httpStatus - The response's http status code.

Response Lenses

createFormResponse_entity :: Lens' CreateFormResponse (Maybe Form) Source #

Describes the configuration of the new form.