Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Branch = Branch' {
- backendEnvironmentArn :: Maybe Text
- thumbnailUrl :: Maybe Text
- basicAuthCredentials :: Maybe (Sensitive Text)
- buildSpec :: Maybe Text
- sourceBranch :: Maybe Text
- enablePerformanceMode :: Maybe Bool
- destinationBranch :: Maybe Text
- pullRequestEnvironmentName :: Maybe Text
- associatedResources :: Maybe [Text]
- tags :: Maybe (HashMap Text Text)
- branchArn :: Text
- branchName :: Text
- description :: Text
- stage :: Stage
- displayName :: Text
- enableNotification :: Bool
- createTime :: POSIX
- updateTime :: POSIX
- environmentVariables :: HashMap Text Text
- enableAutoBuild :: Bool
- customDomains :: [Text]
- framework :: Text
- activeJobId :: Text
- totalNumberOfJobs :: Text
- enableBasicAuth :: Bool
- ttl :: Text
- enablePullRequestPreview :: Bool
- newBranch :: Text -> Text -> Text -> Stage -> Text -> Bool -> UTCTime -> UTCTime -> Bool -> Text -> Text -> Text -> Bool -> Text -> Bool -> Branch
- branch_backendEnvironmentArn :: Lens' Branch (Maybe Text)
- branch_thumbnailUrl :: Lens' Branch (Maybe Text)
- branch_basicAuthCredentials :: Lens' Branch (Maybe Text)
- branch_buildSpec :: Lens' Branch (Maybe Text)
- branch_sourceBranch :: Lens' Branch (Maybe Text)
- branch_enablePerformanceMode :: Lens' Branch (Maybe Bool)
- branch_destinationBranch :: Lens' Branch (Maybe Text)
- branch_pullRequestEnvironmentName :: Lens' Branch (Maybe Text)
- branch_associatedResources :: Lens' Branch (Maybe [Text])
- branch_tags :: Lens' Branch (Maybe (HashMap Text Text))
- branch_branchArn :: Lens' Branch Text
- branch_branchName :: Lens' Branch Text
- branch_description :: Lens' Branch Text
- branch_stage :: Lens' Branch Stage
- branch_displayName :: Lens' Branch Text
- branch_enableNotification :: Lens' Branch Bool
- branch_createTime :: Lens' Branch UTCTime
- branch_updateTime :: Lens' Branch UTCTime
- branch_environmentVariables :: Lens' Branch (HashMap Text Text)
- branch_enableAutoBuild :: Lens' Branch Bool
- branch_customDomains :: Lens' Branch [Text]
- branch_framework :: Lens' Branch Text
- branch_activeJobId :: Lens' Branch Text
- branch_totalNumberOfJobs :: Lens' Branch Text
- branch_enableBasicAuth :: Lens' Branch Bool
- branch_ttl :: Lens' Branch Text
- branch_enablePullRequestPreview :: Lens' Branch Bool
Documentation
The branch for an Amplify app, which maps to a third-party repository branch.
See: newBranch
smart constructor.
Branch' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Stage | |
-> Text | |
-> Bool | |
-> UTCTime | |
-> UTCTime | |
-> Bool | |
-> Text | |
-> Text | |
-> Text | |
-> Bool | |
-> Text | |
-> Bool | |
-> Branch |
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_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.