libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.Amplify.Types.App

Description

 
Synopsis

Documentation

data App Source #

Represents the different branches of a repository for building, deploying, and hosting an Amplify app.

See: newApp smart constructor.

Constructors

App' 

Fields

Instances

Instances details
Eq App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

(==) :: App -> App -> Bool #

(/=) :: App -> App -> Bool #

Show App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

Generic App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Associated Types

type Rep App :: Type -> Type #

Methods

from :: App -> Rep App x #

to :: Rep App x -> App #

NFData App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

rnf :: App -> () #

Hashable App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

FromJSON App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

type Rep App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

type Rep App = D1 ('MetaData "App" "Amazonka.Amplify.Types.App" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "App'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "customHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "basicAuthCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "buildSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enableBranchAutoDeletion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "customRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomRule]))))) :*: ((S1 ('MetaSel ('Just "iamServiceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoBranchCreationPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "productionBranch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductionBranch)))) :*: (S1 ('MetaSel ('Just "autoBranchCreationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoBranchCreationConfig)) :*: (S1 ('MetaSel ('Just "enableAutoBranchCreation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))) :*: (((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Platform)))) :*: ((S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "environmentVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "defaultDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "enableBranchAutoBuild") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "enableBasicAuth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newApp Source #

Create a value of App 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:customHeaders:App', app_customHeaders - Describes the custom HTTP headers for the Amplify app.

$sel:basicAuthCredentials:App', app_basicAuthCredentials - The basic authorization credentials for branches for the Amplify app.

$sel:buildSpec:App', app_buildSpec - Describes the content of the build specification (build spec) for the Amplify app.

$sel:enableBranchAutoDeletion:App', app_enableBranchAutoDeletion - Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.

$sel:customRules:App', app_customRules - Describes the custom redirect and rewrite rules for the Amplify app.

$sel:iamServiceRoleArn:App', app_iamServiceRoleArn - The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.

$sel:autoBranchCreationPatterns:App', app_autoBranchCreationPatterns - Describes the automated branch creation glob patterns for the Amplify app.

$sel:productionBranch:App', app_productionBranch - Describes the information about a production branch of the Amplify app.

$sel:autoBranchCreationConfig:App', app_autoBranchCreationConfig - Describes the automated branch creation configuration for the Amplify app.

$sel:enableAutoBranchCreation:App', app_enableAutoBranchCreation - Enables automated branch creation for the Amplify app.

$sel:tags:App', app_tags - The tag for the Amplify app.

$sel:appId:App', app_appId - The unique ID of the Amplify app.

$sel:appArn:App', app_appArn - The Amazon Resource Name (ARN) of the Amplify app.

$sel:name:App', app_name - The name for the Amplify app.

$sel:description:App', app_description - The description for the Amplify app.

$sel:repository:App', app_repository - The repository for the Amplify app.

$sel:platform:App', app_platform - The platform for the Amplify app.

$sel:createTime:App', app_createTime - Creates a date and time for the Amplify app.

$sel:updateTime:App', app_updateTime - Updates the date and time for the Amplify app.

$sel:environmentVariables:App', app_environmentVariables - The environment variables for the Amplify app.

$sel:defaultDomain:App', app_defaultDomain - The default domain for the Amplify app.

$sel:enableBranchAutoBuild:App', app_enableBranchAutoBuild - Enables the auto-building of branches for the Amplify app.

$sel:enableBasicAuth:App', app_enableBasicAuth - Enables basic authorization for the Amplify app's branches.

app_customHeaders :: Lens' App (Maybe Text) Source #

Describes the custom HTTP headers for the Amplify app.

app_basicAuthCredentials :: Lens' App (Maybe Text) Source #

The basic authorization credentials for branches for the Amplify app.

app_buildSpec :: Lens' App (Maybe Text) Source #

Describes the content of the build specification (build spec) for the Amplify app.

app_enableBranchAutoDeletion :: Lens' App (Maybe Bool) Source #

Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.

app_customRules :: Lens' App (Maybe [CustomRule]) Source #

Describes the custom redirect and rewrite rules for the Amplify app.

app_iamServiceRoleArn :: Lens' App (Maybe Text) Source #

The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.

app_autoBranchCreationPatterns :: Lens' App (Maybe [Text]) Source #

Describes the automated branch creation glob patterns for the Amplify app.

app_productionBranch :: Lens' App (Maybe ProductionBranch) Source #

Describes the information about a production branch of the Amplify app.

app_autoBranchCreationConfig :: Lens' App (Maybe AutoBranchCreationConfig) Source #

Describes the automated branch creation configuration for the Amplify app.

app_enableAutoBranchCreation :: Lens' App (Maybe Bool) Source #

Enables automated branch creation for the Amplify app.

app_tags :: Lens' App (Maybe (HashMap Text Text)) Source #

The tag for the Amplify app.

app_appId :: Lens' App Text Source #

The unique ID of the Amplify app.

app_appArn :: Lens' App Text Source #

The Amazon Resource Name (ARN) of the Amplify app.

app_name :: Lens' App Text Source #

The name for the Amplify app.

app_description :: Lens' App Text Source #

The description for the Amplify app.

app_repository :: Lens' App Text Source #

The repository for the Amplify app.

app_platform :: Lens' App Platform Source #

The platform for the Amplify app.

app_createTime :: Lens' App UTCTime Source #

Creates a date and time for the Amplify app.

app_updateTime :: Lens' App UTCTime Source #

Updates the date and time for the Amplify app.

app_environmentVariables :: Lens' App (HashMap Text Text) Source #

The environment variables for the Amplify app.

app_defaultDomain :: Lens' App Text Source #

The default domain for the Amplify app.

app_enableBranchAutoBuild :: Lens' App Bool Source #

Enables the auto-building of branches for the Amplify app.

app_enableBasicAuth :: Lens' App Bool Source #

Enables basic authorization for the Amplify app's branches.