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

Description

 
Synopsis

Documentation

data Branch Source #

The branch for an Amplify app, which maps to a third-party repository branch.

See: newBranch smart constructor.

Constructors

Branch' 

Fields

Instances

Instances details
Eq Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

Methods

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

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

Show Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

Generic Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

Associated Types

type Rep Branch :: Type -> Type #

Methods

from :: Branch -> Rep Branch x #

to :: Rep Branch x -> Branch #

NFData Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

Methods

rnf :: Branch -> () #

Hashable Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

Methods

hashWithSalt :: Int -> Branch -> Int #

hash :: Branch -> Int #

FromJSON Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

type Rep Branch Source # 
Instance details

Defined in Amazonka.Amplify.Types.Branch

type Rep Branch = D1 ('MetaData "Branch" "Amazonka.Amplify.Types.Branch" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "Branch'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "backendEnvironmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "thumbnailUrl") '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 "sourceBranch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enablePerformanceMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "destinationBranch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pullRequestEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associatedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "branchArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) :*: (((S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Stage) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "enableNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :*: ((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 "enableAutoBuild") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "customDomains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "framework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "activeJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "totalNumberOfJobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "enableBasicAuth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "ttl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "enablePullRequestPreview") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newBranch Source #

Create a value of Branch 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:backendEnvironmentArn:Branch', branch_backendEnvironmentArn - The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.

$sel:thumbnailUrl:Branch', branch_thumbnailUrl - The thumbnail URL for the branch of an Amplify app.

$sel:basicAuthCredentials:Branch', branch_basicAuthCredentials - The basic authorization credentials for a branch of an Amplify app.

$sel:buildSpec:Branch', branch_buildSpec - The build specification (build spec) content for the branch of an Amplify app.

$sel:sourceBranch:Branch', branch_sourceBranch - The source branch if the branch is a pull request branch.

$sel:enablePerformanceMode:Branch', branch_enablePerformanceMode - Enables performance mode for the branch.

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

$sel:destinationBranch:Branch', branch_destinationBranch - The destination branch if the branch is a pull request branch.

$sel:pullRequestEnvironmentName:Branch', branch_pullRequestEnvironmentName - The Amplify environment name for the pull request.

$sel:associatedResources:Branch', branch_associatedResources - A list of custom resources that are linked to this branch.

$sel:tags:Branch', branch_tags - The tag for the branch of an Amplify app.

$sel:branchArn:Branch', branch_branchArn - The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

$sel:branchName:Branch', branch_branchName - The name for the branch that is part of an Amplify app.

$sel:description:Branch', branch_description - The description for the branch that is part of an Amplify app.

$sel:stage:Branch', branch_stage - The current stage for the branch that is part of an Amplify app.

$sel:displayName:Branch', branch_displayName - The display name for the branch. This is used as the default domain prefix.

$sel:enableNotification:Branch', branch_enableNotification - Enables notifications for a branch that is part of an Amplify app.

$sel:createTime:Branch', branch_createTime - The creation date and time for a branch that is part of an Amplify app.

$sel:updateTime:Branch', branch_updateTime - The last updated date and time for a branch that is part of an Amplify app.

$sel:environmentVariables:Branch', branch_environmentVariables - The environment variables specific to a branch of an Amplify app.

$sel:enableAutoBuild:Branch', branch_enableAutoBuild - Enables auto-building on push for a branch of an Amplify app.

$sel:customDomains:Branch', branch_customDomains - The custom domains for a branch of an Amplify app.

$sel:framework:Branch', branch_framework - The framework for a branch of an Amplify app.

$sel:activeJobId:Branch', branch_activeJobId - The ID of the active job for a branch of an Amplify app.

$sel:totalNumberOfJobs:Branch', branch_totalNumberOfJobs - The total number of jobs that are part of an Amplify app.

$sel:enableBasicAuth:Branch', branch_enableBasicAuth - Enables basic authorization for a branch of an Amplify app.

$sel:ttl:Branch', branch_ttl - The content Time to Live (TTL) for the website in seconds.

$sel:enablePullRequestPreview:Branch', branch_enablePullRequestPreview - Enables pull request previews for the branch.

branch_backendEnvironmentArn :: Lens' Branch (Maybe Text) Source #

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.

branch_thumbnailUrl :: Lens' Branch (Maybe Text) Source #

The thumbnail URL for the branch of an Amplify app.

branch_basicAuthCredentials :: Lens' Branch (Maybe Text) Source #

The basic authorization credentials for a branch of an Amplify app.

branch_buildSpec :: Lens' Branch (Maybe Text) Source #

The build specification (build spec) content for the branch of an Amplify app.

branch_sourceBranch :: Lens' Branch (Maybe Text) Source #

The source branch if the branch is a pull request branch.

branch_enablePerformanceMode :: Lens' Branch (Maybe Bool) Source #

Enables performance mode for the branch.

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

branch_destinationBranch :: Lens' Branch (Maybe Text) Source #

The destination branch if the branch is a pull request branch.

branch_pullRequestEnvironmentName :: Lens' Branch (Maybe Text) Source #

The Amplify environment name for the pull request.

branch_associatedResources :: Lens' Branch (Maybe [Text]) Source #

A list of custom resources that are linked to this branch.

branch_tags :: Lens' Branch (Maybe (HashMap Text Text)) Source #

The tag for the branch of an Amplify app.

branch_branchArn :: Lens' Branch Text Source #

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

branch_branchName :: Lens' Branch Text Source #

The name for the branch that is part of an Amplify app.

branch_description :: Lens' Branch Text Source #

The description for the branch that is part of an Amplify app.

branch_stage :: Lens' Branch Stage Source #

The current stage for the branch that is part of an Amplify app.

branch_displayName :: Lens' Branch Text Source #

The display name for the branch. This is used as the default domain prefix.

branch_enableNotification :: Lens' Branch Bool Source #

Enables notifications for a branch that is part of an Amplify app.

branch_createTime :: Lens' Branch UTCTime Source #

The creation date and time for a branch that is part of an Amplify app.

branch_updateTime :: Lens' Branch UTCTime Source #

The last updated date and time for a branch that is part of an Amplify app.

branch_environmentVariables :: Lens' Branch (HashMap Text Text) Source #

The environment variables specific to a branch of an Amplify app.

branch_enableAutoBuild :: Lens' Branch Bool Source #

Enables auto-building on push for a branch of an Amplify app.

branch_customDomains :: Lens' Branch [Text] Source #

The custom domains for a branch of an Amplify app.

branch_framework :: Lens' Branch Text Source #

The framework for a branch of an Amplify app.

branch_activeJobId :: Lens' Branch Text Source #

The ID of the active job for a branch of an Amplify app.

branch_totalNumberOfJobs :: Lens' Branch Text Source #

The total number of jobs that are part of an Amplify app.

branch_enableBasicAuth :: Lens' Branch Bool Source #

Enables basic authorization for a branch of an Amplify app.

branch_ttl :: Lens' Branch Text Source #

The content Time to Live (TTL) for the website in seconds.

branch_enablePullRequestPreview :: Lens' Branch Bool Source #

Enables pull request previews for the branch.