| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Amplify.Types.Branch
Description
Synopsis
- data Branch = Branch' {
- associatedResources :: Maybe [Text]
- backendEnvironmentArn :: Maybe Text
- basicAuthCredentials :: Maybe (Sensitive Text)
- buildSpec :: Maybe (Sensitive Text)
- destinationBranch :: Maybe Text
- enablePerformanceMode :: Maybe Bool
- pullRequestEnvironmentName :: Maybe Text
- sourceBranch :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- thumbnailUrl :: Maybe 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_associatedResources :: Lens' Branch (Maybe [Text])
- branch_backendEnvironmentArn :: Lens' Branch (Maybe Text)
- branch_basicAuthCredentials :: Lens' Branch (Maybe Text)
- branch_buildSpec :: Lens' Branch (Maybe Text)
- branch_destinationBranch :: Lens' Branch (Maybe Text)
- branch_enablePerformanceMode :: Lens' Branch (Maybe Bool)
- branch_pullRequestEnvironmentName :: Lens' Branch (Maybe Text)
- branch_sourceBranch :: Lens' Branch (Maybe Text)
- branch_tags :: Lens' Branch (Maybe (HashMap Text Text))
- branch_thumbnailUrl :: Lens' Branch (Maybe 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.
Constructors
| Branch' | |
Fields
| |
Instances
Arguments
| :: 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:associatedResources:Branch', branch_associatedResources - A list of custom resources that are linked to this branch.
$sel:backendEnvironmentArn:Branch', branch_backendEnvironmentArn - The Amazon Resource Name (ARN) for a backend environment that is part of
an Amplify app.
$sel:basicAuthCredentials:Branch', branch_basicAuthCredentials - The basic authorization credentials for a branch of an Amplify app. You
must base64-encode the authorization credentials and provide them in the
format user:password.
$sel:buildSpec:Branch', branch_buildSpec - The build specification (build spec) content for the branch of an
Amplify app.
$sel:destinationBranch:Branch', branch_destinationBranch - The destination 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:pullRequestEnvironmentName:Branch', branch_pullRequestEnvironmentName - The Amplify environment name for the pull request.
$sel:sourceBranch:Branch', branch_sourceBranch - The source branch if the branch is a pull request branch.
$sel:tags:Branch', branch_tags - The tag for the branch of an Amplify app.
$sel:thumbnailUrl:Branch', branch_thumbnailUrl - The thumbnail URL 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_associatedResources :: Lens' Branch (Maybe [Text]) Source #
A list of custom resources that are linked to this 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_basicAuthCredentials :: Lens' Branch (Maybe Text) Source #
The basic authorization credentials for a branch of an Amplify app. You
must base64-encode the authorization credentials and provide them in the
format user:password.
branch_buildSpec :: Lens' Branch (Maybe Text) Source #
The build specification (build spec) content for the branch of an Amplify app.
branch_destinationBranch :: Lens' Branch (Maybe Text) Source #
The destination 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_pullRequestEnvironmentName :: Lens' Branch (Maybe Text) Source #
The Amplify environment name for the pull request.
branch_sourceBranch :: Lens' Branch (Maybe Text) Source #
The source branch if the branch is a pull request branch.
branch_tags :: Lens' Branch (Maybe (HashMap Text Text)) Source #
The tag for the branch of an Amplify app.
branch_thumbnailUrl :: Lens' Branch (Maybe Text) Source #
The thumbnail URL 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.