amazonka-amplify-2.0: Amazon Amplify 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.Amplify.Lens

Description

 
Synopsis

Operations

CreateApp

createApp_accessToken :: Lens' CreateApp (Maybe Text) Source #

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

createApp_autoBranchCreationConfig :: Lens' CreateApp (Maybe AutoBranchCreationConfig) Source #

The automated branch creation configuration for an Amplify app.

createApp_autoBranchCreationPatterns :: Lens' CreateApp (Maybe [Text]) Source #

The automated branch creation glob patterns for an Amplify app.

createApp_basicAuthCredentials :: Lens' CreateApp (Maybe Text) Source #

The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

createApp_buildSpec :: Lens' CreateApp (Maybe Text) Source #

The build specification (build spec) for an Amplify app.

createApp_customHeaders :: Lens' CreateApp (Maybe Text) Source #

The custom HTTP headers for an Amplify app.

createApp_customRules :: Lens' CreateApp (Maybe [CustomRule]) Source #

The custom rewrite and redirect rules for an Amplify app.

createApp_description :: Lens' CreateApp (Maybe Text) Source #

The description for an Amplify app.

createApp_enableAutoBranchCreation :: Lens' CreateApp (Maybe Bool) Source #

Enables automated branch creation for an Amplify app.

createApp_enableBasicAuth :: Lens' CreateApp (Maybe Bool) Source #

Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.

createApp_enableBranchAutoBuild :: Lens' CreateApp (Maybe Bool) Source #

Enables the auto building of branches for an Amplify app.

createApp_enableBranchAutoDeletion :: Lens' CreateApp (Maybe Bool) Source #

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

createApp_environmentVariables :: Lens' CreateApp (Maybe (HashMap Text Text)) Source #

The environment variables map for an Amplify app.

createApp_iamServiceRoleArn :: Lens' CreateApp (Maybe Text) Source #

The AWS Identity and Access Management (IAM) service role for an Amplify app.

createApp_oauthToken :: Lens' CreateApp (Maybe Text) Source #

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you create a new app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

createApp_platform :: Lens' CreateApp (Maybe Platform) Source #

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

createApp_repository :: Lens' CreateApp (Maybe Text) Source #

The repository for an Amplify app.

createApp_tags :: Lens' CreateApp (Maybe (HashMap Text Text)) Source #

The tag for an Amplify app.

createApp_name :: Lens' CreateApp Text Source #

The name for an Amplify app.

createAppResponse_httpStatus :: Lens' CreateAppResponse Int Source #

The response's http status code.

CreateBackendEnvironment

createBackendEnvironment_stackName :: Lens' CreateBackendEnvironment (Maybe Text) Source #

The AWS CloudFormation stack name of a backend environment.

CreateBranch

createBranch_backendEnvironmentArn :: Lens' CreateBranch (Maybe Text) Source #

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

createBranch_basicAuthCredentials :: Lens' CreateBranch (Maybe Text) Source #

The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password.

createBranch_buildSpec :: Lens' CreateBranch (Maybe Text) Source #

The build specification (build spec) for the branch.

createBranch_description :: Lens' CreateBranch (Maybe Text) Source #

The description for the branch.

createBranch_displayName :: Lens' CreateBranch (Maybe Text) Source #

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

createBranch_enableAutoBuild :: Lens' CreateBranch (Maybe Bool) Source #

Enables auto building for the branch.

createBranch_enableBasicAuth :: Lens' CreateBranch (Maybe Bool) Source #

Enables basic authorization for the branch.

createBranch_enableNotification :: Lens' CreateBranch (Maybe Bool) Source #

Enables notifications for the branch.

createBranch_enablePerformanceMode :: Lens' CreateBranch (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.

createBranch_enablePullRequestPreview :: Lens' CreateBranch (Maybe Bool) Source #

Enables pull request previews for this branch.

createBranch_environmentVariables :: Lens' CreateBranch (Maybe (HashMap Text Text)) Source #

The environment variables for the branch.

createBranch_framework :: Lens' CreateBranch (Maybe Text) Source #

The framework for the branch.

createBranch_pullRequestEnvironmentName :: Lens' CreateBranch (Maybe Text) Source #

The Amplify environment name for the pull request.

createBranch_stage :: Lens' CreateBranch (Maybe Stage) Source #

Describes the current stage for the branch.

createBranch_ttl :: Lens' CreateBranch (Maybe Text) Source #

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

createBranch_appId :: Lens' CreateBranch Text Source #

The unique ID for an Amplify app.

createBranchResponse_branch :: Lens' CreateBranchResponse Branch Source #

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

CreateDeployment

createDeployment_fileMap :: Lens' CreateDeployment (Maybe (HashMap Text Text)) Source #

An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.

createDeployment_appId :: Lens' CreateDeployment Text Source #

The unique ID for an Amplify app.

createDeployment_branchName :: Lens' CreateDeployment Text Source #

The name for the branch, for the job.

createDeploymentResponse_jobId :: Lens' CreateDeploymentResponse (Maybe Text) Source #

The job ID for this deployment. will supply to start deployment api.

createDeploymentResponse_fileUploadUrls :: Lens' CreateDeploymentResponse (HashMap Text Text) Source #

When the fileMap argument is provided in the request, fileUploadUrls will contain a map of file names to upload URLs.

createDeploymentResponse_zipUploadUrl :: Lens' CreateDeploymentResponse Text Source #

When the fileMap argument is not provided in the request, this zipUploadUrl is returned.

CreateDomainAssociation

createDomainAssociation_autoSubDomainCreationPatterns :: Lens' CreateDomainAssociation (Maybe [Text]) Source #

Sets the branch patterns for automatic subdomain creation.

createDomainAssociation_autoSubDomainIAMRole :: Lens' CreateDomainAssociation (Maybe Text) Source #

The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

createDomainAssociation_enableAutoSubDomain :: Lens' CreateDomainAssociation (Maybe Bool) Source #

Enables the automated creation of subdomains for branches.

createDomainAssociation_domainName :: Lens' CreateDomainAssociation Text Source #

The domain name for the domain association.

createDomainAssociationResponse_domainAssociation :: Lens' CreateDomainAssociationResponse DomainAssociation Source #

Describes the structure of a domain association, which associates a custom domain with an Amplify app.

CreateWebhook

createWebhook_description :: Lens' CreateWebhook (Maybe Text) Source #

The description for a webhook.

createWebhook_appId :: Lens' CreateWebhook Text Source #

The unique ID for an Amplify app.

createWebhook_branchName :: Lens' CreateWebhook Text Source #

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

createWebhookResponse_webhook :: Lens' CreateWebhookResponse Webhook Source #

Describes a webhook that connects repository events to an Amplify app.

DeleteApp

deleteApp_appId :: Lens' DeleteApp Text Source #

The unique ID for an Amplify app.

deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int Source #

The response's http status code.

DeleteBackendEnvironment

deleteBackendEnvironment_environmentName :: Lens' DeleteBackendEnvironment Text Source #

The name of a backend environment of an Amplify app.

DeleteBranch

deleteBranch_appId :: Lens' DeleteBranch Text Source #

The unique ID for an Amplify app.

deleteBranchResponse_branch :: Lens' DeleteBranchResponse Branch Source #

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

DeleteDomainAssociation

DeleteJob

deleteJob_appId :: Lens' DeleteJob Text Source #

The unique ID for an Amplify app.

deleteJob_branchName :: Lens' DeleteJob Text Source #

The name for the branch, for the job.

deleteJob_jobId :: Lens' DeleteJob Text Source #

The unique ID for the job.

deleteJobResponse_httpStatus :: Lens' DeleteJobResponse Int Source #

The response's http status code.

DeleteWebhook

deleteWebhook_webhookId :: Lens' DeleteWebhook Text Source #

The unique ID for a webhook.

deleteWebhookResponse_webhook :: Lens' DeleteWebhookResponse Webhook Source #

Describes a webhook that connects repository events to an Amplify app.

GenerateAccessLogs

generateAccessLogs_endTime :: Lens' GenerateAccessLogs (Maybe UTCTime) Source #

The time at which the logs should end. The time range specified is inclusive of the end time.

generateAccessLogs_startTime :: Lens' GenerateAccessLogs (Maybe UTCTime) Source #

The time at which the logs should start. The time range specified is inclusive of the start time.

generateAccessLogs_appId :: Lens' GenerateAccessLogs Text Source #

The unique ID for an Amplify app.

generateAccessLogsResponse_logUrl :: Lens' GenerateAccessLogsResponse (Maybe Text) Source #

The pre-signed URL for the requested access logs.

GetApp

getApp_appId :: Lens' GetApp Text Source #

The unique ID for an Amplify app.

getAppResponse_httpStatus :: Lens' GetAppResponse Int Source #

The response's http status code.

GetArtifactUrl

getArtifactUrl_artifactId :: Lens' GetArtifactUrl Text Source #

The unique ID for an artifact.

GetBackendEnvironment

GetBranch

getBranch_appId :: Lens' GetBranch Text Source #

The unique ID for an Amplify app.

getBranch_branchName :: Lens' GetBranch Text Source #

The name for the branch.

getBranchResponse_httpStatus :: Lens' GetBranchResponse Int Source #

The response's http status code.

GetDomainAssociation

getDomainAssociationResponse_domainAssociation :: Lens' GetDomainAssociationResponse DomainAssociation Source #

Describes the structure of a domain association, which associates a custom domain with an Amplify app.

GetJob

getJob_appId :: Lens' GetJob Text Source #

The unique ID for an Amplify app.

getJob_branchName :: Lens' GetJob Text Source #

The branch name for the job.

getJob_jobId :: Lens' GetJob Text Source #

The unique ID for the job.

getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #

The response's http status code.

GetWebhook

getWebhook_webhookId :: Lens' GetWebhook Text Source #

The unique ID for a webhook.

getWebhookResponse_webhook :: Lens' GetWebhookResponse Webhook Source #

Describes the structure of a webhook.

ListApps

listApps_maxResults :: Lens' ListApps (Maybe Natural) Source #

The maximum number of records to list in a single response.

listApps_nextToken :: Lens' ListApps (Maybe Text) Source #

A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #

A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.

listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #

The response's http status code.

ListArtifacts

listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural) Source #

The maximum number of records to list in a single response.

listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text) Source #

A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.

listArtifacts_appId :: Lens' ListArtifacts Text Source #

The unique ID for an Amplify app.

listArtifacts_branchName :: Lens' ListArtifacts Text Source #

The name of a branch that is part of an Amplify app.

listArtifacts_jobId :: Lens' ListArtifacts Text Source #

The unique ID for a job.

listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text) Source #

A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

ListBackendEnvironments

listBackendEnvironments_maxResults :: Lens' ListBackendEnvironments (Maybe Natural) Source #

The maximum number of records to list in a single response.

listBackendEnvironments_nextToken :: Lens' ListBackendEnvironments (Maybe Text) Source #

A pagination token. Set to null to start listing backend environments from the start. If a non-null pagination token is returned in a result, pass its value in here to list more backend environments.

listBackendEnvironmentsResponse_nextToken :: Lens' ListBackendEnvironmentsResponse (Maybe Text) Source #

A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

ListBranches

listBranches_maxResults :: Lens' ListBranches (Maybe Natural) Source #

The maximum number of records to list in a single response.

listBranches_nextToken :: Lens' ListBranches (Maybe Text) Source #

A pagination token. Set to null to start listing branches from the start. If a non-null pagination token is returned in a result, pass its value in here to list more branches.

listBranches_appId :: Lens' ListBranches Text Source #

The unique ID for an Amplify app.

listBranchesResponse_nextToken :: Lens' ListBranchesResponse (Maybe Text) Source #

A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

listBranchesResponse_branches :: Lens' ListBranchesResponse [Branch] Source #

A list of branches for an Amplify app.

ListDomainAssociations

listDomainAssociations_maxResults :: Lens' ListDomainAssociations (Maybe Natural) Source #

The maximum number of records to list in a single response.

listDomainAssociations_nextToken :: Lens' ListDomainAssociations (Maybe Text) Source #

A pagination token. Set to null to start listing apps from the start. If non-null, a pagination token is returned in a result. Pass its value in here to list more projects.

listDomainAssociationsResponse_nextToken :: Lens' ListDomainAssociationsResponse (Maybe Text) Source #

A pagination token. If non-null, a pagination token is returned in a result. Pass its value in another request to retrieve more entries.

ListJobs

listJobs_maxResults :: Lens' ListJobs (Maybe Natural) Source #

The maximum number of records to list in a single response.

listJobs_nextToken :: Lens' ListJobs (Maybe Text) Source #

A pagination token. Set to null to start listing steps from the start. If a non-null pagination token is returned in a result, pass its value in here to list more steps.

listJobs_appId :: Lens' ListJobs Text Source #

The unique ID for an Amplify app.

listJobs_branchName :: Lens' ListJobs Text Source #

The name for a branch.

listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text) Source #

A pagination token. If non-null the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #

The response's http status code.

listJobsResponse_jobSummaries :: Lens' ListJobsResponse [JobSummary] Source #

The result structure for the list job result request.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) to use to list tags.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #

A list of tags for the specified The Amazon Resource Name (ARN).

ListWebhooks

listWebhooks_maxResults :: Lens' ListWebhooks (Maybe Natural) Source #

The maximum number of records to list in a single response.

listWebhooks_nextToken :: Lens' ListWebhooks (Maybe Text) Source #

A pagination token. Set to null to start listing webhooks from the start. If non-null,the pagination token is returned in a result. Pass its value in here to list more webhooks.

listWebhooks_appId :: Lens' ListWebhooks Text Source #

The unique ID for an Amplify app.

listWebhooksResponse_nextToken :: Lens' ListWebhooksResponse (Maybe Text) Source #

A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

StartDeployment

startDeployment_jobId :: Lens' StartDeployment (Maybe Text) Source #

The job ID for this deployment, generated by the create deployment request.

startDeployment_sourceUrl :: Lens' StartDeployment (Maybe Text) Source #

The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.

startDeployment_appId :: Lens' StartDeployment Text Source #

The unique ID for an Amplify app.

startDeployment_branchName :: Lens' StartDeployment Text Source #

The name for the branch, for the job.

StartJob

startJob_commitId :: Lens' StartJob (Maybe Text) Source #

The commit ID from a third-party repository provider for the job.

startJob_commitMessage :: Lens' StartJob (Maybe Text) Source #

The commit message from a third-party repository provider for the job.

startJob_commitTime :: Lens' StartJob (Maybe UTCTime) Source #

The commit date and time for the job.

startJob_jobId :: Lens' StartJob (Maybe Text) Source #

The unique ID for an existing job. This is required if the value of jobType is RETRY.

startJob_jobReason :: Lens' StartJob (Maybe Text) Source #

A descriptive reason for starting this job.

startJob_appId :: Lens' StartJob Text Source #

The unique ID for an Amplify app.

startJob_branchName :: Lens' StartJob Text Source #

The branch name for the job.

startJob_jobType :: Lens' StartJob JobType Source #

Describes the type for the job. The job type RELEASE starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository. The job type RETRY retries an existing job. If the job type value is RETRY, the jobId is also required.

startJobResponse_httpStatus :: Lens' StartJobResponse Int Source #

The response's http status code.

StopJob

stopJob_appId :: Lens' StopJob Text Source #

The unique ID for an Amplify app.

stopJob_branchName :: Lens' StopJob Text Source #

The name for the branch, for the job.

stopJob_jobId :: Lens' StopJob Text Source #

The unique id for the job.

stopJobResponse_httpStatus :: Lens' StopJobResponse Int Source #

The response's http status code.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) to use to tag a resource.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The tags used to tag the resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) to use to untag a resource.

untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #

The tag keys to use to untag a resource.

UpdateApp

updateApp_accessToken :: Lens' UpdateApp (Maybe Text) Source #

The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.

Use accessToken for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use oauthToken.

You must specify either accessToken or oauthToken when you update an app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

updateApp_autoBranchCreationConfig :: Lens' UpdateApp (Maybe AutoBranchCreationConfig) Source #

The automated branch creation configuration for an Amplify app.

updateApp_autoBranchCreationPatterns :: Lens' UpdateApp (Maybe [Text]) Source #

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

updateApp_basicAuthCredentials :: Lens' UpdateApp (Maybe Text) Source #

The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

updateApp_buildSpec :: Lens' UpdateApp (Maybe Text) Source #

The build specification (build spec) for an Amplify app.

updateApp_customHeaders :: Lens' UpdateApp (Maybe Text) Source #

The custom HTTP headers for an Amplify app.

updateApp_customRules :: Lens' UpdateApp (Maybe [CustomRule]) Source #

The custom redirect and rewrite rules for an Amplify app.

updateApp_description :: Lens' UpdateApp (Maybe Text) Source #

The description for an Amplify app.

updateApp_enableAutoBranchCreation :: Lens' UpdateApp (Maybe Bool) Source #

Enables automated branch creation for an Amplify app.

updateApp_enableBasicAuth :: Lens' UpdateApp (Maybe Bool) Source #

Enables basic authorization for an Amplify app.

updateApp_enableBranchAutoBuild :: Lens' UpdateApp (Maybe Bool) Source #

Enables branch auto-building for an Amplify app.

updateApp_enableBranchAutoDeletion :: Lens' UpdateApp (Maybe Bool) Source #

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

updateApp_environmentVariables :: Lens' UpdateApp (Maybe (HashMap Text Text)) Source #

The environment variables for an Amplify app.

updateApp_iamServiceRoleArn :: Lens' UpdateApp (Maybe Text) Source #

The AWS Identity and Access Management (IAM) service role for an Amplify app.

updateApp_name :: Lens' UpdateApp (Maybe Text) Source #

The name for an Amplify app.

updateApp_oauthToken :: Lens' UpdateApp (Maybe Text) Source #

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.

Use oauthToken for repository providers other than GitHub, such as Bitbucket or CodeCommit.

To authorize access to GitHub as your repository provider, use accessToken.

You must specify either oauthToken or accessToken when you update an app.

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .

updateApp_platform :: Lens' UpdateApp (Maybe Platform) Source #

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

updateApp_repository :: Lens' UpdateApp (Maybe Text) Source #

The name of the repository for an Amplify app

updateApp_appId :: Lens' UpdateApp Text Source #

The unique ID for an Amplify app.

updateAppResponse_httpStatus :: Lens' UpdateAppResponse Int Source #

The response's http status code.

updateAppResponse_app :: Lens' UpdateAppResponse App Source #

Represents the updated Amplify app.

UpdateBranch

updateBranch_backendEnvironmentArn :: Lens' UpdateBranch (Maybe Text) Source #

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

updateBranch_basicAuthCredentials :: Lens' UpdateBranch (Maybe Text) Source #

The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password.

updateBranch_buildSpec :: Lens' UpdateBranch (Maybe Text) Source #

The build specification (build spec) for the branch.

updateBranch_description :: Lens' UpdateBranch (Maybe Text) Source #

The description for the branch.

updateBranch_displayName :: Lens' UpdateBranch (Maybe Text) Source #

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

updateBranch_enableAutoBuild :: Lens' UpdateBranch (Maybe Bool) Source #

Enables auto building for the branch.

updateBranch_enableBasicAuth :: Lens' UpdateBranch (Maybe Bool) Source #

Enables basic authorization for the branch.

updateBranch_enableNotification :: Lens' UpdateBranch (Maybe Bool) Source #

Enables notifications for the branch.

updateBranch_enablePerformanceMode :: Lens' UpdateBranch (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.

updateBranch_enablePullRequestPreview :: Lens' UpdateBranch (Maybe Bool) Source #

Enables pull request previews for this branch.

updateBranch_environmentVariables :: Lens' UpdateBranch (Maybe (HashMap Text Text)) Source #

The environment variables for the branch.

updateBranch_framework :: Lens' UpdateBranch (Maybe Text) Source #

The framework for the branch.

updateBranch_pullRequestEnvironmentName :: Lens' UpdateBranch (Maybe Text) Source #

The Amplify environment name for the pull request.

updateBranch_stage :: Lens' UpdateBranch (Maybe Stage) Source #

Describes the current stage for the branch.

updateBranch_ttl :: Lens' UpdateBranch (Maybe Text) Source #

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

updateBranch_appId :: Lens' UpdateBranch Text Source #

The unique ID for an Amplify app.

updateBranchResponse_branch :: Lens' UpdateBranchResponse Branch Source #

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

UpdateDomainAssociation

updateDomainAssociation_autoSubDomainCreationPatterns :: Lens' UpdateDomainAssociation (Maybe [Text]) Source #

Sets the branch patterns for automatic subdomain creation.

updateDomainAssociation_autoSubDomainIAMRole :: Lens' UpdateDomainAssociation (Maybe Text) Source #

The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

updateDomainAssociation_enableAutoSubDomain :: Lens' UpdateDomainAssociation (Maybe Bool) Source #

Enables the automated creation of subdomains for branches.

updateDomainAssociationResponse_domainAssociation :: Lens' UpdateDomainAssociationResponse DomainAssociation Source #

Describes a domain association, which associates a custom domain with an Amplify app.

UpdateWebhook

updateWebhook_branchName :: Lens' UpdateWebhook (Maybe Text) Source #

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

updateWebhook_description :: Lens' UpdateWebhook (Maybe Text) Source #

The description for a webhook.

updateWebhook_webhookId :: Lens' UpdateWebhook Text Source #

The unique ID for a webhook.

updateWebhookResponse_webhook :: Lens' UpdateWebhookResponse Webhook Source #

Describes a webhook that connects repository events to an Amplify app.

Types

App

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

Describes the automated branch creation configuration for the Amplify app.

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

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

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

The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

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

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

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

Describes the custom HTTP headers for the Amplify app.

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

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

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

Enables automated branch creation 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_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_productionBranch :: Lens' App (Maybe ProductionBranch) Source #

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

app_repositoryCloneMethod :: Lens' App (Maybe RepositoryCloneMethod) Source #

This is for internal use.

The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.

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 Git repository for the Amplify app.

app_platform :: Lens' App Platform Source #

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

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.

Artifact

artifact_artifactFileName :: Lens' Artifact Text Source #

The file name for the artifact.

artifact_artifactId :: Lens' Artifact Text Source #

The unique ID for the artifact.

AutoBranchCreationConfig

autoBranchCreationConfig_basicAuthCredentials :: Lens' AutoBranchCreationConfig (Maybe Text) Source #

The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password.

autoBranchCreationConfig_buildSpec :: Lens' AutoBranchCreationConfig (Maybe Text) Source #

The build specification (build spec) for the autocreated branch.

autoBranchCreationConfig_enableAutoBuild :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables auto building for the autocreated branch.

autoBranchCreationConfig_enableBasicAuth :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables basic authorization for the autocreated branch.

autoBranchCreationConfig_enablePerformanceMode :: Lens' AutoBranchCreationConfig (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.

autoBranchCreationConfig_enablePullRequestPreview :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables pull request previews for the autocreated branch.

autoBranchCreationConfig_environmentVariables :: Lens' AutoBranchCreationConfig (Maybe (HashMap Text Text)) Source #

The environment variables for the autocreated branch.

autoBranchCreationConfig_stage :: Lens' AutoBranchCreationConfig (Maybe Stage) Source #

Describes the current stage for the autocreated branch.

BackendEnvironment

backendEnvironment_stackName :: Lens' BackendEnvironment (Maybe Text) Source #

The AWS CloudFormation stack name of a backend environment.

backendEnvironment_backendEnvironmentArn :: Lens' BackendEnvironment Text Source #

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

backendEnvironment_environmentName :: Lens' BackendEnvironment Text Source #

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

backendEnvironment_createTime :: Lens' BackendEnvironment UTCTime Source #

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

backendEnvironment_updateTime :: Lens' BackendEnvironment UTCTime Source #

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

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

CustomRule

customRule_condition :: Lens' CustomRule (Maybe Text) Source #

The condition for a URL rewrite or redirect rule, such as a country code.

customRule_status :: Lens' CustomRule (Maybe Text) Source #

The status code for a URL rewrite or redirect rule.

200
Represents a 200 rewrite rule.
301
Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
302
Represents a 302 temporary redirect rule.
404
Represents a 404 redirect rule.
404-200
Represents a 404 rewrite rule.

customRule_source :: Lens' CustomRule Text Source #

The source pattern for a URL rewrite or redirect rule.

customRule_target :: Lens' CustomRule Text Source #

The target pattern for a URL rewrite or redirect rule.

DomainAssociation

domainAssociation_autoSubDomainCreationPatterns :: Lens' DomainAssociation (Maybe [Text]) Source #

Sets branch patterns for automatic subdomain creation.

domainAssociation_autoSubDomainIAMRole :: Lens' DomainAssociation (Maybe Text) Source #

The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

domainAssociation_domainAssociationArn :: Lens' DomainAssociation Text Source #

The Amazon Resource Name (ARN) for the domain association.

domainAssociation_enableAutoSubDomain :: Lens' DomainAssociation Bool Source #

Enables the automated creation of subdomains for branches.

domainAssociation_domainStatus :: Lens' DomainAssociation DomainStatus Source #

The current status of the domain association.

domainAssociation_statusReason :: Lens' DomainAssociation Text Source #

The reason for the current status of the domain association.

domainAssociation_subDomains :: Lens' DomainAssociation [SubDomain] Source #

The subdomains for the domain association.

Job

job_summary :: Lens' Job JobSummary Source #

Describes the summary for an execution job for an Amplify app.

job_steps :: Lens' Job [Step] Source #

The execution steps for an execution job, for an Amplify app.

JobSummary

jobSummary_endTime :: Lens' JobSummary (Maybe UTCTime) Source #

The end date and time for the job.

jobSummary_jobArn :: Lens' JobSummary Text Source #

The Amazon Resource Name (ARN) for the job.

jobSummary_jobId :: Lens' JobSummary Text Source #

The unique ID for the job.

jobSummary_commitId :: Lens' JobSummary Text Source #

The commit ID from a third-party repository provider for the job.

jobSummary_commitMessage :: Lens' JobSummary Text Source #

The commit message from a third-party repository provider for the job.

jobSummary_commitTime :: Lens' JobSummary UTCTime Source #

The commit date and time for the job.

jobSummary_startTime :: Lens' JobSummary UTCTime Source #

The start date and time for the job.

jobSummary_status :: Lens' JobSummary JobStatus Source #

The current status for the job.

jobSummary_jobType :: Lens' JobSummary JobType Source #

The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.

ProductionBranch

productionBranch_branchName :: Lens' ProductionBranch (Maybe Text) Source #

The branch name for the production branch.

productionBranch_lastDeployTime :: Lens' ProductionBranch (Maybe UTCTime) Source #

The last deploy time of the production branch.

productionBranch_status :: Lens' ProductionBranch (Maybe Text) Source #

The status of the production branch.

productionBranch_thumbnailUrl :: Lens' ProductionBranch (Maybe Text) Source #

The thumbnail URL for the production branch.

Step

step_artifactsUrl :: Lens' Step (Maybe Text) Source #

The URL to the artifact for the execution step.

step_context :: Lens' Step (Maybe Text) Source #

The context for the current step. Includes a build image if the step is build.

step_logUrl :: Lens' Step (Maybe Text) Source #

The URL to the logs for the execution step.

step_screenshots :: Lens' Step (Maybe (HashMap Text Text)) Source #

The list of screenshot URLs for the execution step, if relevant.

step_statusReason :: Lens' Step (Maybe Text) Source #

The reason for the current step status.

step_testArtifactsUrl :: Lens' Step (Maybe Text) Source #

The URL to the test artifact for the execution step.

step_testConfigUrl :: Lens' Step (Maybe Text) Source #

The URL to the test configuration for the execution step.

step_stepName :: Lens' Step Text Source #

The name of the execution step.

step_startTime :: Lens' Step UTCTime Source #

The start date and time of the execution step.

step_status :: Lens' Step JobStatus Source #

The status of the execution step.

step_endTime :: Lens' Step UTCTime Source #

The end date and time of the execution step.

SubDomain

subDomain_subDomainSetting :: Lens' SubDomain SubDomainSetting Source #

Describes the settings for the subdomain.

subDomain_verified :: Lens' SubDomain Bool Source #

The verified status of the subdomain

subDomain_dnsRecord :: Lens' SubDomain Text Source #

The DNS record for the subdomain.

SubDomainSetting

subDomainSetting_prefix :: Lens' SubDomainSetting Text Source #

The prefix setting for the subdomain.

subDomainSetting_branchName :: Lens' SubDomainSetting Text Source #

The branch name setting for the subdomain.

Webhook

webhook_webhookArn :: Lens' Webhook Text Source #

The Amazon Resource Name (ARN) for the webhook.

webhook_webhookId :: Lens' Webhook Text Source #

The ID of the webhook.

webhook_webhookUrl :: Lens' Webhook Text Source #

The URL of the webhook.

webhook_branchName :: Lens' Webhook Text Source #

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

webhook_description :: Lens' Webhook Text Source #

The description for a webhook.

webhook_createTime :: Lens' Webhook UTCTime Source #

The create date and time for a webhook.

webhook_updateTime :: Lens' Webhook UTCTime Source #

Updates the date and time for a webhook.