@aws-sdk/client-amplify 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/Amplify.js +0 -9
- package/dist-cjs/AmplifyClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAppCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateBackendEnvironmentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateBranchCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDeploymentCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateDomainAssociationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateWebhookCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteAppCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteBackendEnvironmentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteBranchCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDomainAssociationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteWebhookCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GenerateAccessLogsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetAppCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetArtifactUrlCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetBackendEnvironmentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetBranchCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDomainAssociationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetWebhookCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAppsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListArtifactsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListBackendEnvironmentsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListBranchesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDomainAssociationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListWebhooksCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartDeploymentCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateAppCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateBranchCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateDomainAssociationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateWebhookCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -286
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Amplify.js +0 -1
- package/{dist/es → dist-es}/AmplifyClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateAppCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateBackendEnvironmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateBranchCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateDeploymentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateDomainAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateWebhookCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAppCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBackendEnvironmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBranchCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteDomainAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteWebhookCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GenerateAccessLogsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAppCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetArtifactUrlCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBackendEnvironmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBranchCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetDomainAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetWebhookCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAppsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListArtifactsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListBackendEnvironmentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListBranchesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDomainAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListWebhooksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartDeploymentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateAppCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateBranchCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateDomainAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateWebhookCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/Amplify.d.ts +1 -1
- package/{dist/types → dist-types}/AmplifyClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateAppCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateBackendEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateBranchCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDomainAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateWebhookCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAppCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBackendEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBranchCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDomainAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteWebhookCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GenerateAccessLogsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAppCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetArtifactUrlCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBackendEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBranchCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDomainAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetWebhookCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAppsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListArtifactsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListBackendEnvironmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListBranchesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDomainAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListWebhooksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAppCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateBranchCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDomainAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateWebhookCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Amplify.d.ts +39 -124
- package/{dist/types → dist-types}/ts3.4/AmplifyClient.d.ts +32 -102
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateBackendEnvironmentCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteBackendEnvironmentCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDomainAssociationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteWebhookCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAppCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetArtifactUrlCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetBackendEnvironmentCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetDomainAssociationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWebhookCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListBackendEnvironmentsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListDomainAssociationsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBranchCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateWebhookCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1416 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/Amplify.ts +0 -1240
- package/AmplifyClient.ts +0 -381
- package/commands/CreateAppCommand.ts +0 -94
- package/commands/CreateBackendEnvironmentCommand.ts +0 -94
- package/commands/CreateBranchCommand.ts +0 -94
- package/commands/CreateDeploymentCommand.ts +0 -95
- package/commands/CreateDomainAssociationCommand.ts +0 -95
- package/commands/CreateWebhookCommand.ts +0 -94
- package/commands/DeleteAppCommand.ts +0 -94
- package/commands/DeleteBackendEnvironmentCommand.ts +0 -94
- package/commands/DeleteBranchCommand.ts +0 -94
- package/commands/DeleteDomainAssociationCommand.ts +0 -94
- package/commands/DeleteJobCommand.ts +0 -94
- package/commands/DeleteWebhookCommand.ts +0 -94
- package/commands/GenerateAccessLogsCommand.ts +0 -95
- package/commands/GetAppCommand.ts +0 -87
- package/commands/GetArtifactUrlCommand.ts +0 -94
- package/commands/GetBackendEnvironmentCommand.ts +0 -94
- package/commands/GetBranchCommand.ts +0 -94
- package/commands/GetDomainAssociationCommand.ts +0 -94
- package/commands/GetJobCommand.ts +0 -87
- package/commands/GetWebhookCommand.ts +0 -94
- package/commands/ListAppsCommand.ts +0 -94
- package/commands/ListArtifactsCommand.ts +0 -94
- package/commands/ListBackendEnvironmentsCommand.ts +0 -94
- package/commands/ListBranchesCommand.ts +0 -94
- package/commands/ListDomainAssociationsCommand.ts +0 -94
- package/commands/ListJobsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListWebhooksCommand.ts +0 -94
- package/commands/StartDeploymentCommand.ts +0 -95
- package/commands/StartJobCommand.ts +0 -94
- package/commands/StopJobCommand.ts +0 -90
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateAppCommand.ts +0 -94
- package/commands/UpdateBranchCommand.ts +0 -94
- package/commands/UpdateDomainAssociationCommand.ts +0 -94
- package/commands/UpdateWebhookCommand.ts +0 -94
- package/dist/cjs/Amplify.js.map +0 -1
- package/dist/cjs/AmplifyClient.js +0 -49
- package/dist/cjs/AmplifyClient.js.map +0 -1
- package/dist/cjs/commands/CreateAppCommand.js.map +0 -1
- package/dist/cjs/commands/CreateBackendEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateBranchCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDomainAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWebhookCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAppCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBackendEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBranchCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDomainAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteJobCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteWebhookCommand.js.map +0 -1
- package/dist/cjs/commands/GenerateAccessLogsCommand.js.map +0 -1
- package/dist/cjs/commands/GetAppCommand.js.map +0 -1
- package/dist/cjs/commands/GetArtifactUrlCommand.js.map +0 -1
- package/dist/cjs/commands/GetBackendEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/GetBranchCommand.js.map +0 -1
- package/dist/cjs/commands/GetDomainAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/GetJobCommand.js.map +0 -1
- package/dist/cjs/commands/GetWebhookCommand.js.map +0 -1
- package/dist/cjs/commands/ListAppsCommand.js.map +0 -1
- package/dist/cjs/commands/ListArtifactsCommand.js.map +0 -1
- package/dist/cjs/commands/ListBackendEnvironmentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListBranchesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDomainAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListWebhooksCommand.js.map +0 -1
- package/dist/cjs/commands/StartDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/StartJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopJobCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAppCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateBranchCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDomainAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateWebhookCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Amplify.js.map +0 -1
- package/dist/es/AmplifyClient.js.map +0 -1
- package/dist/es/commands/CreateAppCommand.js.map +0 -1
- package/dist/es/commands/CreateBackendEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/CreateBranchCommand.js.map +0 -1
- package/dist/es/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist/es/commands/CreateDomainAssociationCommand.js.map +0 -1
- package/dist/es/commands/CreateWebhookCommand.js.map +0 -1
- package/dist/es/commands/DeleteAppCommand.js.map +0 -1
- package/dist/es/commands/DeleteBackendEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/DeleteBranchCommand.js.map +0 -1
- package/dist/es/commands/DeleteDomainAssociationCommand.js.map +0 -1
- package/dist/es/commands/DeleteJobCommand.js.map +0 -1
- package/dist/es/commands/DeleteWebhookCommand.js.map +0 -1
- package/dist/es/commands/GenerateAccessLogsCommand.js.map +0 -1
- package/dist/es/commands/GetAppCommand.js.map +0 -1
- package/dist/es/commands/GetArtifactUrlCommand.js.map +0 -1
- package/dist/es/commands/GetBackendEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/GetBranchCommand.js.map +0 -1
- package/dist/es/commands/GetDomainAssociationCommand.js.map +0 -1
- package/dist/es/commands/GetJobCommand.js.map +0 -1
- package/dist/es/commands/GetWebhookCommand.js.map +0 -1
- package/dist/es/commands/ListAppsCommand.js.map +0 -1
- package/dist/es/commands/ListArtifactsCommand.js.map +0 -1
- package/dist/es/commands/ListBackendEnvironmentsCommand.js.map +0 -1
- package/dist/es/commands/ListBranchesCommand.js.map +0 -1
- package/dist/es/commands/ListDomainAssociationsCommand.js.map +0 -1
- package/dist/es/commands/ListJobsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWebhooksCommand.js.map +0 -1
- package/dist/es/commands/StartDeploymentCommand.js.map +0 -1
- package/dist/es/commands/StartJobCommand.js.map +0 -1
- package/dist/es/commands/StopJobCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAppCommand.js.map +0 -1
- package/dist/es/commands/UpdateBranchCommand.js.map +0 -1
- package/dist/es/commands/UpdateDomainAssociationCommand.js.map +0 -1
- package/dist/es/commands/UpdateWebhookCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -41
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateAppCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateBranchCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateDeploymentCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateWebhookCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteAppCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteBranchCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetAppCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetArtifactUrlCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetBranchCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetWebhookCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAppsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListArtifactsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListBranchesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListJobsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListWebhooksCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartDeploymentCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StartJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StopJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateAppCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateBranchCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2553
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3182
- package/protocols/Aws_restJson1.ts +0 -5505
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/models/models_0.ts
DELETED
|
@@ -1,3182 +0,0 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* <p> A request contains unexpected data. </p>
|
|
6
|
-
*/
|
|
7
|
-
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
8
|
-
name: "BadRequestException";
|
|
9
|
-
$fault: "client";
|
|
10
|
-
message?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export namespace BadRequestException {
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export const filterSensitiveLog = (obj: BadRequestException): any => ({
|
|
18
|
-
...obj,
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export enum Stage {
|
|
23
|
-
BETA = "BETA",
|
|
24
|
-
DEVELOPMENT = "DEVELOPMENT",
|
|
25
|
-
EXPERIMENTAL = "EXPERIMENTAL",
|
|
26
|
-
PRODUCTION = "PRODUCTION",
|
|
27
|
-
PULL_REQUEST = "PULL_REQUEST",
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p> Describes the automated branch creation configuration. </p>
|
|
32
|
-
*/
|
|
33
|
-
export interface AutoBranchCreationConfig {
|
|
34
|
-
/**
|
|
35
|
-
* <p> Describes the current stage for the autocreated branch. </p>
|
|
36
|
-
*/
|
|
37
|
-
stage?: Stage | string;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* <p> The framework for the autocreated branch. </p>
|
|
41
|
-
*/
|
|
42
|
-
framework?: string;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* <p> Enables auto building for the autocreated branch. </p>
|
|
46
|
-
*/
|
|
47
|
-
enableAutoBuild?: boolean;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* <p> The environment variables for the autocreated branch. </p>
|
|
51
|
-
*/
|
|
52
|
-
environmentVariables?: { [key: string]: string };
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* <p> The basic authorization credentials for the autocreated branch. </p>
|
|
56
|
-
*/
|
|
57
|
-
basicAuthCredentials?: string;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* <p> Enables basic authorization for the autocreated branch. </p>
|
|
61
|
-
*/
|
|
62
|
-
enableBasicAuth?: boolean;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* <p>Enables performance mode for the branch.</p>
|
|
66
|
-
* <p>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. </p>
|
|
67
|
-
*/
|
|
68
|
-
enablePerformanceMode?: boolean;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* <p> The build specification (build spec) for the autocreated branch. </p>
|
|
72
|
-
*/
|
|
73
|
-
buildSpec?: string;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* <p> Enables pull request previews for the autocreated branch. </p>
|
|
77
|
-
*/
|
|
78
|
-
enablePullRequestPreview?: boolean;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* <p> The Amplify environment name for the pull request. </p>
|
|
82
|
-
*/
|
|
83
|
-
pullRequestEnvironmentName?: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export namespace AutoBranchCreationConfig {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
export const filterSensitiveLog = (obj: AutoBranchCreationConfig): any => ({
|
|
91
|
-
...obj,
|
|
92
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* <p> Describes a custom rewrite or redirect rule. </p>
|
|
98
|
-
*/
|
|
99
|
-
export interface CustomRule {
|
|
100
|
-
/**
|
|
101
|
-
* <p> The source pattern for a URL rewrite or redirect rule. </p>
|
|
102
|
-
*/
|
|
103
|
-
source: string | undefined;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* <p> The target pattern for a URL rewrite or redirect rule. </p>
|
|
107
|
-
*/
|
|
108
|
-
target: string | undefined;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* <p> The status code for a URL rewrite or redirect rule. </p>
|
|
112
|
-
*
|
|
113
|
-
* <dl>
|
|
114
|
-
* <dt>200</dt>
|
|
115
|
-
* <dd>
|
|
116
|
-
* <p>Represents a 200 rewrite rule.</p>
|
|
117
|
-
* </dd>
|
|
118
|
-
* <dt>301</dt>
|
|
119
|
-
* <dd>
|
|
120
|
-
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. </p>
|
|
121
|
-
* </dd>
|
|
122
|
-
* <dt>302</dt>
|
|
123
|
-
* <dd>
|
|
124
|
-
* <p>Represents a 302 temporary redirect rule.</p>
|
|
125
|
-
* </dd>
|
|
126
|
-
* <dt>404</dt>
|
|
127
|
-
* <dd>
|
|
128
|
-
* <p>Represents a 404 redirect rule.</p>
|
|
129
|
-
* </dd>
|
|
130
|
-
* <dt>404-200</dt>
|
|
131
|
-
* <dd>
|
|
132
|
-
* <p>Represents a 404 rewrite rule.</p>
|
|
133
|
-
* </dd>
|
|
134
|
-
* </dl>
|
|
135
|
-
*/
|
|
136
|
-
status?: string;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* <p> The condition for a URL rewrite or redirect rule, such as a country code. </p>
|
|
140
|
-
*/
|
|
141
|
-
condition?: string;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export namespace CustomRule {
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
|
-
export const filterSensitiveLog = (obj: CustomRule): any => ({
|
|
149
|
-
...obj,
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export enum Platform {
|
|
154
|
-
WEB = "WEB",
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* <p> The request structure used to create apps in Amplify. </p>
|
|
159
|
-
*/
|
|
160
|
-
export interface CreateAppRequest {
|
|
161
|
-
/**
|
|
162
|
-
* <p> The name for an Amplify app. </p>
|
|
163
|
-
*/
|
|
164
|
-
name: string | undefined;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* <p> The description for an Amplify app. </p>
|
|
168
|
-
*/
|
|
169
|
-
description?: string;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* <p> The repository for an Amplify app. </p>
|
|
173
|
-
*/
|
|
174
|
-
repository?: string;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* <p> The platform or framework for an Amplify app. </p>
|
|
178
|
-
*/
|
|
179
|
-
platform?: Platform | string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* <p> The AWS Identity and Access Management (IAM) service role for an Amplify app. </p>
|
|
183
|
-
*/
|
|
184
|
-
iamServiceRoleArn?: string;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* <p> The OAuth token for a third-party source control system for an Amplify app. The OAuth
|
|
188
|
-
* token is used to create a webhook and a read-only deploy key. The OAuth token is not
|
|
189
|
-
* stored. </p>
|
|
190
|
-
*/
|
|
191
|
-
oauthToken?: string;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* <p> The personal access token for a third-party source control system for an Amplify app.
|
|
195
|
-
* The personal access token is used to create a webhook and a read-only deploy key. The
|
|
196
|
-
* token is not stored. </p>
|
|
197
|
-
*/
|
|
198
|
-
accessToken?: string;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* <p> The environment variables map for an Amplify app. </p>
|
|
202
|
-
*/
|
|
203
|
-
environmentVariables?: { [key: string]: string };
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* <p> Enables the auto building of branches for an Amplify app. </p>
|
|
207
|
-
*/
|
|
208
|
-
enableBranchAutoBuild?: boolean;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* <p> Automatically disconnects a branch in the Amplify Console when you delete a branch
|
|
212
|
-
* from your Git repository. </p>
|
|
213
|
-
*/
|
|
214
|
-
enableBranchAutoDeletion?: boolean;
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* <p> Enables basic authorization for an Amplify app. This will apply to all branches that
|
|
218
|
-
* are part of this app. </p>
|
|
219
|
-
*/
|
|
220
|
-
enableBasicAuth?: boolean;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* <p> The credentials for basic authorization for an Amplify app. </p>
|
|
224
|
-
*/
|
|
225
|
-
basicAuthCredentials?: string;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* <p> The custom rewrite and redirect rules for an Amplify app. </p>
|
|
229
|
-
*/
|
|
230
|
-
customRules?: CustomRule[];
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* <p> The tag for an Amplify app. </p>
|
|
234
|
-
*/
|
|
235
|
-
tags?: { [key: string]: string };
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* <p> The build specification (build spec) for an Amplify app. </p>
|
|
239
|
-
*/
|
|
240
|
-
buildSpec?: string;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* <p>The custom HTTP headers for an Amplify app.</p>
|
|
244
|
-
*/
|
|
245
|
-
customHeaders?: string;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* <p> Enables automated branch creation for an Amplify app. </p>
|
|
249
|
-
*/
|
|
250
|
-
enableAutoBranchCreation?: boolean;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* <p> The automated branch creation glob patterns for an Amplify app. </p>
|
|
254
|
-
*/
|
|
255
|
-
autoBranchCreationPatterns?: string[];
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* <p> The automated branch creation configuration for an Amplify app. </p>
|
|
259
|
-
*/
|
|
260
|
-
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export namespace CreateAppRequest {
|
|
264
|
-
/**
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
267
|
-
export const filterSensitiveLog = (obj: CreateAppRequest): any => ({
|
|
268
|
-
...obj,
|
|
269
|
-
...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }),
|
|
270
|
-
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
271
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
272
|
-
...(obj.autoBranchCreationConfig && {
|
|
273
|
-
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
|
|
274
|
-
}),
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* <p> Describes the information about a production branch for an Amplify app. </p>
|
|
280
|
-
*/
|
|
281
|
-
export interface ProductionBranch {
|
|
282
|
-
/**
|
|
283
|
-
* <p> The last deploy time of the production branch. </p>
|
|
284
|
-
*/
|
|
285
|
-
lastDeployTime?: Date;
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* <p> The status of the production branch. </p>
|
|
289
|
-
*/
|
|
290
|
-
status?: string;
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* <p> The thumbnail URL for the production branch. </p>
|
|
294
|
-
*/
|
|
295
|
-
thumbnailUrl?: string;
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* <p> The branch name for the production branch. </p>
|
|
299
|
-
*/
|
|
300
|
-
branchName?: string;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export namespace ProductionBranch {
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
export const filterSensitiveLog = (obj: ProductionBranch): any => ({
|
|
308
|
-
...obj,
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* <p> Represents the different branches of a repository for building, deploying, and
|
|
314
|
-
* hosting an Amplify app. </p>
|
|
315
|
-
*/
|
|
316
|
-
export interface App {
|
|
317
|
-
/**
|
|
318
|
-
* <p> The unique ID of the Amplify app. </p>
|
|
319
|
-
*/
|
|
320
|
-
appId: string | undefined;
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* <p> The Amazon Resource Name (ARN) of the Amplify app. </p>
|
|
324
|
-
*/
|
|
325
|
-
appArn: string | undefined;
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* <p> The name for the Amplify app. </p>
|
|
329
|
-
*/
|
|
330
|
-
name: string | undefined;
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* <p> The tag for the Amplify app. </p>
|
|
334
|
-
*/
|
|
335
|
-
tags?: { [key: string]: string };
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* <p> The description for the Amplify app. </p>
|
|
339
|
-
*/
|
|
340
|
-
description: string | undefined;
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* <p> The repository for the Amplify app. </p>
|
|
344
|
-
*/
|
|
345
|
-
repository: string | undefined;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* <p> The platform for the Amplify app. </p>
|
|
349
|
-
*/
|
|
350
|
-
platform: Platform | string | undefined;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* <p> Creates a date and time for the Amplify app. </p>
|
|
354
|
-
*/
|
|
355
|
-
createTime: Date | undefined;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* <p> Updates the date and time for the Amplify app. </p>
|
|
359
|
-
*/
|
|
360
|
-
updateTime: Date | undefined;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* <p> The AWS Identity and Access Management (IAM) service role for the Amazon Resource
|
|
364
|
-
* Name (ARN) of the Amplify app. </p>
|
|
365
|
-
*/
|
|
366
|
-
iamServiceRoleArn?: string;
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* <p> The environment variables for the Amplify app. </p>
|
|
370
|
-
*/
|
|
371
|
-
environmentVariables: { [key: string]: string } | undefined;
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* <p> The default domain for the Amplify app. </p>
|
|
375
|
-
*/
|
|
376
|
-
defaultDomain: string | undefined;
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* <p> Enables the auto-building of branches for the Amplify app. </p>
|
|
380
|
-
*/
|
|
381
|
-
enableBranchAutoBuild: boolean | undefined;
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* <p> Automatically disconnect a branch in the Amplify Console when you delete a branch
|
|
385
|
-
* from your Git repository. </p>
|
|
386
|
-
*/
|
|
387
|
-
enableBranchAutoDeletion?: boolean;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* <p> Enables basic authorization for the Amplify app's branches. </p>
|
|
391
|
-
*/
|
|
392
|
-
enableBasicAuth: boolean | undefined;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* <p> The basic authorization credentials for branches for the Amplify app. </p>
|
|
396
|
-
*/
|
|
397
|
-
basicAuthCredentials?: string;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* <p> Describes the custom redirect and rewrite rules for the Amplify app. </p>
|
|
401
|
-
*/
|
|
402
|
-
customRules?: CustomRule[];
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* <p> Describes the information about a production branch of the Amplify app. </p>
|
|
406
|
-
*/
|
|
407
|
-
productionBranch?: ProductionBranch;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* <p> Describes the content of the build specification (build spec) for the Amplify app.
|
|
411
|
-
* </p>
|
|
412
|
-
*/
|
|
413
|
-
buildSpec?: string;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* <p>Describes the custom HTTP headers for the Amplify app.</p>
|
|
417
|
-
*/
|
|
418
|
-
customHeaders?: string;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* <p> Enables automated branch creation for the Amplify app. </p>
|
|
422
|
-
*/
|
|
423
|
-
enableAutoBranchCreation?: boolean;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* <p> Describes the automated branch creation glob patterns for the Amplify app. </p>
|
|
427
|
-
*/
|
|
428
|
-
autoBranchCreationPatterns?: string[];
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* <p> Describes the automated branch creation configuration for the Amplify app. </p>
|
|
432
|
-
*/
|
|
433
|
-
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
export namespace App {
|
|
437
|
-
/**
|
|
438
|
-
* @internal
|
|
439
|
-
*/
|
|
440
|
-
export const filterSensitiveLog = (obj: App): any => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
443
|
-
...(obj.autoBranchCreationConfig && {
|
|
444
|
-
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
|
|
445
|
-
}),
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export interface CreateAppResult {
|
|
450
|
-
/**
|
|
451
|
-
* <p> Represents the different branches of a repository for building, deploying, and
|
|
452
|
-
* hosting an Amplify app. </p>
|
|
453
|
-
*/
|
|
454
|
-
app: App | undefined;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
export namespace CreateAppResult {
|
|
458
|
-
/**
|
|
459
|
-
* @internal
|
|
460
|
-
*/
|
|
461
|
-
export const filterSensitiveLog = (obj: CreateAppResult): any => ({
|
|
462
|
-
...obj,
|
|
463
|
-
...(obj.app && { app: App.filterSensitiveLog(obj.app) }),
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* <p> An operation failed because a dependent service threw an exception. </p>
|
|
469
|
-
*/
|
|
470
|
-
export interface DependentServiceFailureException extends __SmithyException, $MetadataBearer {
|
|
471
|
-
name: "DependentServiceFailureException";
|
|
472
|
-
$fault: "server";
|
|
473
|
-
message?: string;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
export namespace DependentServiceFailureException {
|
|
477
|
-
/**
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
480
|
-
export const filterSensitiveLog = (obj: DependentServiceFailureException): any => ({
|
|
481
|
-
...obj,
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* <p> The service failed to perform an operation due to an internal issue. </p>
|
|
487
|
-
*/
|
|
488
|
-
export interface InternalFailureException extends __SmithyException, $MetadataBearer {
|
|
489
|
-
name: "InternalFailureException";
|
|
490
|
-
$fault: "server";
|
|
491
|
-
message?: string;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
export namespace InternalFailureException {
|
|
495
|
-
/**
|
|
496
|
-
* @internal
|
|
497
|
-
*/
|
|
498
|
-
export const filterSensitiveLog = (obj: InternalFailureException): any => ({
|
|
499
|
-
...obj,
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* <p> A resource could not be created because service quotas were exceeded. </p>
|
|
505
|
-
*/
|
|
506
|
-
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
507
|
-
name: "LimitExceededException";
|
|
508
|
-
$fault: "client";
|
|
509
|
-
message?: string;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
export namespace LimitExceededException {
|
|
513
|
-
/**
|
|
514
|
-
* @internal
|
|
515
|
-
*/
|
|
516
|
-
export const filterSensitiveLog = (obj: LimitExceededException): any => ({
|
|
517
|
-
...obj,
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* <p> An operation failed due to a lack of access. </p>
|
|
523
|
-
*/
|
|
524
|
-
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
525
|
-
name: "UnauthorizedException";
|
|
526
|
-
$fault: "client";
|
|
527
|
-
message?: string;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
export namespace UnauthorizedException {
|
|
531
|
-
/**
|
|
532
|
-
* @internal
|
|
533
|
-
*/
|
|
534
|
-
export const filterSensitiveLog = (obj: UnauthorizedException): any => ({
|
|
535
|
-
...obj,
|
|
536
|
-
});
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* <p> The request structure for the backend environment create request. </p>
|
|
541
|
-
*/
|
|
542
|
-
export interface CreateBackendEnvironmentRequest {
|
|
543
|
-
/**
|
|
544
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
545
|
-
*/
|
|
546
|
-
appId: string | undefined;
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* <p> The name for the backend environment. </p>
|
|
550
|
-
*/
|
|
551
|
-
environmentName: string | undefined;
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* <p> The AWS CloudFormation stack name of a backend environment. </p>
|
|
555
|
-
*/
|
|
556
|
-
stackName?: string;
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* <p> The name of deployment artifacts. </p>
|
|
560
|
-
*/
|
|
561
|
-
deploymentArtifacts?: string;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
export namespace CreateBackendEnvironmentRequest {
|
|
565
|
-
/**
|
|
566
|
-
* @internal
|
|
567
|
-
*/
|
|
568
|
-
export const filterSensitiveLog = (obj: CreateBackendEnvironmentRequest): any => ({
|
|
569
|
-
...obj,
|
|
570
|
-
});
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* <p> Describes the backend environment for an Amplify app. </p>
|
|
575
|
-
*/
|
|
576
|
-
export interface BackendEnvironment {
|
|
577
|
-
/**
|
|
578
|
-
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
|
|
579
|
-
* app. </p>
|
|
580
|
-
*/
|
|
581
|
-
backendEnvironmentArn: string | undefined;
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* <p> The name for a backend environment that is part of an Amplify app. </p>
|
|
585
|
-
*/
|
|
586
|
-
environmentName: string | undefined;
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* <p> The AWS CloudFormation stack name of a backend environment. </p>
|
|
590
|
-
*/
|
|
591
|
-
stackName?: string;
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* <p> The name of deployment artifacts. </p>
|
|
595
|
-
*/
|
|
596
|
-
deploymentArtifacts?: string;
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* <p> The creation date and time for a backend environment that is part of an Amplify app.
|
|
600
|
-
* </p>
|
|
601
|
-
*/
|
|
602
|
-
createTime: Date | undefined;
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
* <p> The last updated date and time for a backend environment that is part of an Amplify
|
|
606
|
-
* app. </p>
|
|
607
|
-
*/
|
|
608
|
-
updateTime: Date | undefined;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
export namespace BackendEnvironment {
|
|
612
|
-
/**
|
|
613
|
-
* @internal
|
|
614
|
-
*/
|
|
615
|
-
export const filterSensitiveLog = (obj: BackendEnvironment): any => ({
|
|
616
|
-
...obj,
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* <p> The result structure for the create backend environment request. </p>
|
|
622
|
-
*/
|
|
623
|
-
export interface CreateBackendEnvironmentResult {
|
|
624
|
-
/**
|
|
625
|
-
* <p> Describes the backend environment for an Amplify app. </p>
|
|
626
|
-
*/
|
|
627
|
-
backendEnvironment: BackendEnvironment | undefined;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
export namespace CreateBackendEnvironmentResult {
|
|
631
|
-
/**
|
|
632
|
-
* @internal
|
|
633
|
-
*/
|
|
634
|
-
export const filterSensitiveLog = (obj: CreateBackendEnvironmentResult): any => ({
|
|
635
|
-
...obj,
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* <p> An entity was not found during an operation. </p>
|
|
641
|
-
*/
|
|
642
|
-
export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
643
|
-
name: "NotFoundException";
|
|
644
|
-
$fault: "client";
|
|
645
|
-
message?: string;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export namespace NotFoundException {
|
|
649
|
-
/**
|
|
650
|
-
* @internal
|
|
651
|
-
*/
|
|
652
|
-
export const filterSensitiveLog = (obj: NotFoundException): any => ({
|
|
653
|
-
...obj,
|
|
654
|
-
});
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* <p> The request structure for the create branch request. </p>
|
|
659
|
-
*/
|
|
660
|
-
export interface CreateBranchRequest {
|
|
661
|
-
/**
|
|
662
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
663
|
-
*/
|
|
664
|
-
appId: string | undefined;
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* <p> The name for the branch. </p>
|
|
668
|
-
*/
|
|
669
|
-
branchName: string | undefined;
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* <p> The description for the branch. </p>
|
|
673
|
-
*/
|
|
674
|
-
description?: string;
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* <p> Describes the current stage for the branch. </p>
|
|
678
|
-
*/
|
|
679
|
-
stage?: Stage | string;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* <p> The framework for the branch. </p>
|
|
683
|
-
*/
|
|
684
|
-
framework?: string;
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* <p> Enables notifications for the branch. </p>
|
|
688
|
-
*/
|
|
689
|
-
enableNotification?: boolean;
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* <p> Enables auto building for the branch. </p>
|
|
693
|
-
*/
|
|
694
|
-
enableAutoBuild?: boolean;
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* <p> The environment variables for the branch. </p>
|
|
698
|
-
*/
|
|
699
|
-
environmentVariables?: { [key: string]: string };
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* <p> The basic authorization credentials for the branch. </p>
|
|
703
|
-
*/
|
|
704
|
-
basicAuthCredentials?: string;
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* <p> Enables basic authorization for the branch. </p>
|
|
708
|
-
*/
|
|
709
|
-
enableBasicAuth?: boolean;
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* <p>Enables performance mode for the branch.</p>
|
|
713
|
-
* <p>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. </p>
|
|
714
|
-
*/
|
|
715
|
-
enablePerformanceMode?: boolean;
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* <p> The tag for the branch. </p>
|
|
719
|
-
*/
|
|
720
|
-
tags?: { [key: string]: string };
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* <p> The build specification (build spec) for the branch. </p>
|
|
724
|
-
*/
|
|
725
|
-
buildSpec?: string;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* <p> The content Time To Live (TTL) for the website in seconds. </p>
|
|
729
|
-
*/
|
|
730
|
-
ttl?: string;
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* <p> The display name for a branch. This is used as the default domain prefix. </p>
|
|
734
|
-
*/
|
|
735
|
-
displayName?: string;
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* <p> Enables pull request previews for this branch. </p>
|
|
739
|
-
*/
|
|
740
|
-
enablePullRequestPreview?: boolean;
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* <p> The Amplify environment name for the pull request. </p>
|
|
744
|
-
*/
|
|
745
|
-
pullRequestEnvironmentName?: string;
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
|
|
749
|
-
* app. </p>
|
|
750
|
-
*/
|
|
751
|
-
backendEnvironmentArn?: string;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
export namespace CreateBranchRequest {
|
|
755
|
-
/**
|
|
756
|
-
* @internal
|
|
757
|
-
*/
|
|
758
|
-
export const filterSensitiveLog = (obj: CreateBranchRequest): any => ({
|
|
759
|
-
...obj,
|
|
760
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
|
|
766
|
-
*/
|
|
767
|
-
export interface Branch {
|
|
768
|
-
/**
|
|
769
|
-
* <p> The Amazon Resource Name (ARN) for a branch that is part of an Amplify app. </p>
|
|
770
|
-
*/
|
|
771
|
-
branchArn: string | undefined;
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* <p> The name for the branch that is part of an Amplify app. </p>
|
|
775
|
-
*/
|
|
776
|
-
branchName: string | undefined;
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* <p> The description for the branch that is part of an Amplify app. </p>
|
|
780
|
-
*/
|
|
781
|
-
description: string | undefined;
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* <p> The tag for the branch of an Amplify app. </p>
|
|
785
|
-
*/
|
|
786
|
-
tags?: { [key: string]: string };
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* <p> The current stage for the branch that is part of an Amplify app. </p>
|
|
790
|
-
*/
|
|
791
|
-
stage: Stage | string | undefined;
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* <p> The display name for the branch. This is used as the default domain prefix. </p>
|
|
795
|
-
*/
|
|
796
|
-
displayName: string | undefined;
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* <p> Enables notifications for a branch that is part of an Amplify app. </p>
|
|
800
|
-
*/
|
|
801
|
-
enableNotification: boolean | undefined;
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* <p> The creation date and time for a branch that is part of an Amplify app. </p>
|
|
805
|
-
*/
|
|
806
|
-
createTime: Date | undefined;
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* <p> The last updated date and time for a branch that is part of an Amplify app. </p>
|
|
810
|
-
*/
|
|
811
|
-
updateTime: Date | undefined;
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* <p> The environment variables specific to a branch of an Amplify app. </p>
|
|
815
|
-
*/
|
|
816
|
-
environmentVariables: { [key: string]: string } | undefined;
|
|
817
|
-
|
|
818
|
-
/**
|
|
819
|
-
* <p> Enables auto-building on push for a branch of an Amplify app. </p>
|
|
820
|
-
*/
|
|
821
|
-
enableAutoBuild: boolean | undefined;
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
* <p> The custom domains for a branch of an Amplify app. </p>
|
|
825
|
-
*/
|
|
826
|
-
customDomains: string[] | undefined;
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* <p> The framework for a branch of an Amplify app. </p>
|
|
830
|
-
*/
|
|
831
|
-
framework: string | undefined;
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* <p> The ID of the active job for a branch of an Amplify app. </p>
|
|
835
|
-
*/
|
|
836
|
-
activeJobId: string | undefined;
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* <p> The total number of jobs that are part of an Amplify app. </p>
|
|
840
|
-
*/
|
|
841
|
-
totalNumberOfJobs: string | undefined;
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* <p> Enables basic authorization for a branch of an Amplify app. </p>
|
|
845
|
-
*/
|
|
846
|
-
enableBasicAuth: boolean | undefined;
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* <p>Enables performance mode for the branch.</p>
|
|
850
|
-
* <p>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. </p>
|
|
851
|
-
*/
|
|
852
|
-
enablePerformanceMode?: boolean;
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* <p> The thumbnail URL for the branch of an Amplify app. </p>
|
|
856
|
-
*/
|
|
857
|
-
thumbnailUrl?: string;
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* <p> The basic authorization credentials for a branch of an Amplify app. </p>
|
|
861
|
-
*/
|
|
862
|
-
basicAuthCredentials?: string;
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* <p> The build specification (build spec) content for the branch of an Amplify app.
|
|
866
|
-
* </p>
|
|
867
|
-
*/
|
|
868
|
-
buildSpec?: string;
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* <p> The content Time to Live (TTL) for the website in seconds. </p>
|
|
872
|
-
*/
|
|
873
|
-
ttl: string | undefined;
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* <p> A list of custom resources that are linked to this branch. </p>
|
|
877
|
-
*/
|
|
878
|
-
associatedResources?: string[];
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
* <p> Enables pull request previews for the branch. </p>
|
|
882
|
-
*/
|
|
883
|
-
enablePullRequestPreview: boolean | undefined;
|
|
884
|
-
|
|
885
|
-
/**
|
|
886
|
-
* <p> The Amplify environment name for the pull request. </p>
|
|
887
|
-
*/
|
|
888
|
-
pullRequestEnvironmentName?: string;
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* <p> The destination branch if the branch is a pull request branch. </p>
|
|
892
|
-
*/
|
|
893
|
-
destinationBranch?: string;
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* <p> The source branch if the branch is a pull request branch. </p>
|
|
897
|
-
*/
|
|
898
|
-
sourceBranch?: string;
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
|
|
902
|
-
* app. </p>
|
|
903
|
-
*/
|
|
904
|
-
backendEnvironmentArn?: string;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
export namespace Branch {
|
|
908
|
-
/**
|
|
909
|
-
* @internal
|
|
910
|
-
*/
|
|
911
|
-
export const filterSensitiveLog = (obj: Branch): any => ({
|
|
912
|
-
...obj,
|
|
913
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* <p> The result structure for create branch request. </p>
|
|
919
|
-
*/
|
|
920
|
-
export interface CreateBranchResult {
|
|
921
|
-
/**
|
|
922
|
-
* <p> Describes the branch for an Amplify app, which maps to a third-party repository
|
|
923
|
-
* branch. </p>
|
|
924
|
-
*/
|
|
925
|
-
branch: Branch | undefined;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
export namespace CreateBranchResult {
|
|
929
|
-
/**
|
|
930
|
-
* @internal
|
|
931
|
-
*/
|
|
932
|
-
export const filterSensitiveLog = (obj: CreateBranchResult): any => ({
|
|
933
|
-
...obj,
|
|
934
|
-
...(obj.branch && { branch: Branch.filterSensitiveLog(obj.branch) }),
|
|
935
|
-
});
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* <p> The request structure for the create a new deployment request. </p>
|
|
940
|
-
*/
|
|
941
|
-
export interface CreateDeploymentRequest {
|
|
942
|
-
/**
|
|
943
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
944
|
-
*/
|
|
945
|
-
appId: string | undefined;
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* <p> The name for the branch, for the job. </p>
|
|
949
|
-
*/
|
|
950
|
-
branchName: string | undefined;
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* <p> An optional file map that contains the file name as the key and the file content md5
|
|
954
|
-
* hash as the value. If this argument is provided, the service will generate a unique
|
|
955
|
-
* upload URL per file. Otherwise, the service will only generate a single upload URL for
|
|
956
|
-
* the zipped files. </p>
|
|
957
|
-
*/
|
|
958
|
-
fileMap?: { [key: string]: string };
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
export namespace CreateDeploymentRequest {
|
|
962
|
-
/**
|
|
963
|
-
* @internal
|
|
964
|
-
*/
|
|
965
|
-
export const filterSensitiveLog = (obj: CreateDeploymentRequest): any => ({
|
|
966
|
-
...obj,
|
|
967
|
-
});
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* <p> The result structure for the create a new deployment request. </p>
|
|
972
|
-
*/
|
|
973
|
-
export interface CreateDeploymentResult {
|
|
974
|
-
/**
|
|
975
|
-
* <p> The job ID for this deployment. will supply to start deployment api. </p>
|
|
976
|
-
*/
|
|
977
|
-
jobId?: string;
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* <p> When the <code>fileMap</code> argument is provided in the request,
|
|
981
|
-
* <code>fileUploadUrls</code> will contain a map of file names to upload URLs. </p>
|
|
982
|
-
*/
|
|
983
|
-
fileUploadUrls: { [key: string]: string } | undefined;
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* <p> When the <code>fileMap</code> argument is not provided in the request, this
|
|
987
|
-
* <code>zipUploadUrl</code> is returned. </p>
|
|
988
|
-
*/
|
|
989
|
-
zipUploadUrl: string | undefined;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export namespace CreateDeploymentResult {
|
|
993
|
-
/**
|
|
994
|
-
* @internal
|
|
995
|
-
*/
|
|
996
|
-
export const filterSensitiveLog = (obj: CreateDeploymentResult): any => ({
|
|
997
|
-
...obj,
|
|
998
|
-
});
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* <p> Describes the settings for the subdomain. </p>
|
|
1003
|
-
*/
|
|
1004
|
-
export interface SubDomainSetting {
|
|
1005
|
-
/**
|
|
1006
|
-
* <p> The prefix setting for the subdomain. </p>
|
|
1007
|
-
*/
|
|
1008
|
-
prefix: string | undefined;
|
|
1009
|
-
|
|
1010
|
-
/**
|
|
1011
|
-
* <p> The branch name setting for the subdomain. </p>
|
|
1012
|
-
*/
|
|
1013
|
-
branchName: string | undefined;
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
export namespace SubDomainSetting {
|
|
1017
|
-
/**
|
|
1018
|
-
* @internal
|
|
1019
|
-
*/
|
|
1020
|
-
export const filterSensitiveLog = (obj: SubDomainSetting): any => ({
|
|
1021
|
-
...obj,
|
|
1022
|
-
});
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
/**
|
|
1026
|
-
* <p> The request structure for the create domain association request. </p>
|
|
1027
|
-
*/
|
|
1028
|
-
export interface CreateDomainAssociationRequest {
|
|
1029
|
-
/**
|
|
1030
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1031
|
-
*/
|
|
1032
|
-
appId: string | undefined;
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* <p> The domain name for the domain association. </p>
|
|
1036
|
-
*/
|
|
1037
|
-
domainName: string | undefined;
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* <p> Enables the automated creation of subdomains for branches. </p>
|
|
1041
|
-
*/
|
|
1042
|
-
enableAutoSubDomain?: boolean;
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* <p> The setting for the subdomain. </p>
|
|
1046
|
-
*/
|
|
1047
|
-
subDomainSettings: SubDomainSetting[] | undefined;
|
|
1048
|
-
|
|
1049
|
-
/**
|
|
1050
|
-
* <p> Sets the branch patterns for automatic subdomain creation. </p>
|
|
1051
|
-
*/
|
|
1052
|
-
autoSubDomainCreationPatterns?: string[];
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* <p> The required AWS Identity and Access Management (IAM) service role for the Amazon
|
|
1056
|
-
* Resource Name (ARN) for automatically creating subdomains. </p>
|
|
1057
|
-
*/
|
|
1058
|
-
autoSubDomainIAMRole?: string;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
export namespace CreateDomainAssociationRequest {
|
|
1062
|
-
/**
|
|
1063
|
-
* @internal
|
|
1064
|
-
*/
|
|
1065
|
-
export const filterSensitiveLog = (obj: CreateDomainAssociationRequest): any => ({
|
|
1066
|
-
...obj,
|
|
1067
|
-
});
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
export enum DomainStatus {
|
|
1071
|
-
AVAILABLE = "AVAILABLE",
|
|
1072
|
-
CREATING = "CREATING",
|
|
1073
|
-
FAILED = "FAILED",
|
|
1074
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
1075
|
-
PENDING_DEPLOYMENT = "PENDING_DEPLOYMENT",
|
|
1076
|
-
PENDING_VERIFICATION = "PENDING_VERIFICATION",
|
|
1077
|
-
REQUESTING_CERTIFICATE = "REQUESTING_CERTIFICATE",
|
|
1078
|
-
UPDATING = "UPDATING",
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* <p> The subdomain for the domain association. </p>
|
|
1083
|
-
*/
|
|
1084
|
-
export interface SubDomain {
|
|
1085
|
-
/**
|
|
1086
|
-
* <p> Describes the settings for the subdomain. </p>
|
|
1087
|
-
*/
|
|
1088
|
-
subDomainSetting: SubDomainSetting | undefined;
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* <p> The verified status of the subdomain </p>
|
|
1092
|
-
*/
|
|
1093
|
-
verified: boolean | undefined;
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* <p> The DNS record for the subdomain. </p>
|
|
1097
|
-
*/
|
|
1098
|
-
dnsRecord: string | undefined;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
export namespace SubDomain {
|
|
1102
|
-
/**
|
|
1103
|
-
* @internal
|
|
1104
|
-
*/
|
|
1105
|
-
export const filterSensitiveLog = (obj: SubDomain): any => ({
|
|
1106
|
-
...obj,
|
|
1107
|
-
});
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* <p> Describes a domain association that associates a custom domain with an Amplify app.
|
|
1112
|
-
* </p>
|
|
1113
|
-
*/
|
|
1114
|
-
export interface DomainAssociation {
|
|
1115
|
-
/**
|
|
1116
|
-
* <p> The Amazon Resource Name (ARN) for the domain association. </p>
|
|
1117
|
-
*/
|
|
1118
|
-
domainAssociationArn: string | undefined;
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* <p> The name of the domain. </p>
|
|
1122
|
-
*/
|
|
1123
|
-
domainName: string | undefined;
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* <p> Enables the automated creation of subdomains for branches. </p>
|
|
1127
|
-
*/
|
|
1128
|
-
enableAutoSubDomain: boolean | undefined;
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* <p> Sets branch patterns for automatic subdomain creation. </p>
|
|
1132
|
-
*/
|
|
1133
|
-
autoSubDomainCreationPatterns?: string[];
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* <p> The required AWS Identity and Access Management (IAM) service role for the Amazon
|
|
1137
|
-
* Resource Name (ARN) for automatically creating subdomains. </p>
|
|
1138
|
-
*/
|
|
1139
|
-
autoSubDomainIAMRole?: string;
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* <p> The current status of the domain association. </p>
|
|
1143
|
-
*/
|
|
1144
|
-
domainStatus: DomainStatus | string | undefined;
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* <p> The reason for the current status of the domain association. </p>
|
|
1148
|
-
*/
|
|
1149
|
-
statusReason: string | undefined;
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* <p> The DNS record for certificate verification. </p>
|
|
1153
|
-
*/
|
|
1154
|
-
certificateVerificationDNSRecord?: string;
|
|
1155
|
-
|
|
1156
|
-
/**
|
|
1157
|
-
* <p> The subdomains for the domain association. </p>
|
|
1158
|
-
*/
|
|
1159
|
-
subDomains: SubDomain[] | undefined;
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
export namespace DomainAssociation {
|
|
1163
|
-
/**
|
|
1164
|
-
* @internal
|
|
1165
|
-
*/
|
|
1166
|
-
export const filterSensitiveLog = (obj: DomainAssociation): any => ({
|
|
1167
|
-
...obj,
|
|
1168
|
-
});
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
/**
|
|
1172
|
-
* <p> The result structure for the create domain association request. </p>
|
|
1173
|
-
*/
|
|
1174
|
-
export interface CreateDomainAssociationResult {
|
|
1175
|
-
/**
|
|
1176
|
-
* <p> Describes the structure of a domain association, which associates a custom domain
|
|
1177
|
-
* with an Amplify app. </p>
|
|
1178
|
-
*/
|
|
1179
|
-
domainAssociation: DomainAssociation | undefined;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
export namespace CreateDomainAssociationResult {
|
|
1183
|
-
/**
|
|
1184
|
-
* @internal
|
|
1185
|
-
*/
|
|
1186
|
-
export const filterSensitiveLog = (obj: CreateDomainAssociationResult): any => ({
|
|
1187
|
-
...obj,
|
|
1188
|
-
});
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* <p> The request structure for the create webhook request. </p>
|
|
1193
|
-
*/
|
|
1194
|
-
export interface CreateWebhookRequest {
|
|
1195
|
-
/**
|
|
1196
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1197
|
-
*/
|
|
1198
|
-
appId: string | undefined;
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* <p> The name for a branch that is part of an Amplify app. </p>
|
|
1202
|
-
*/
|
|
1203
|
-
branchName: string | undefined;
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* <p> The description for a webhook. </p>
|
|
1207
|
-
*/
|
|
1208
|
-
description?: string;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
export namespace CreateWebhookRequest {
|
|
1212
|
-
/**
|
|
1213
|
-
* @internal
|
|
1214
|
-
*/
|
|
1215
|
-
export const filterSensitiveLog = (obj: CreateWebhookRequest): any => ({
|
|
1216
|
-
...obj,
|
|
1217
|
-
});
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
/**
|
|
1221
|
-
* <p> Describes a webhook that connects repository events to an Amplify app. </p>
|
|
1222
|
-
*/
|
|
1223
|
-
export interface Webhook {
|
|
1224
|
-
/**
|
|
1225
|
-
* <p> The Amazon Resource Name (ARN) for the webhook. </p>
|
|
1226
|
-
*/
|
|
1227
|
-
webhookArn: string | undefined;
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* <p> The ID of the webhook. </p>
|
|
1231
|
-
*/
|
|
1232
|
-
webhookId: string | undefined;
|
|
1233
|
-
|
|
1234
|
-
/**
|
|
1235
|
-
* <p> The URL of the webhook. </p>
|
|
1236
|
-
*/
|
|
1237
|
-
webhookUrl: string | undefined;
|
|
1238
|
-
|
|
1239
|
-
/**
|
|
1240
|
-
* <p> The name for a branch that is part of an Amplify app. </p>
|
|
1241
|
-
*/
|
|
1242
|
-
branchName: string | undefined;
|
|
1243
|
-
|
|
1244
|
-
/**
|
|
1245
|
-
* <p> The description for a webhook. </p>
|
|
1246
|
-
*/
|
|
1247
|
-
description: string | undefined;
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* <p> The create date and time for a webhook. </p>
|
|
1251
|
-
*/
|
|
1252
|
-
createTime: Date | undefined;
|
|
1253
|
-
|
|
1254
|
-
/**
|
|
1255
|
-
* <p> Updates the date and time for a webhook. </p>
|
|
1256
|
-
*/
|
|
1257
|
-
updateTime: Date | undefined;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
export namespace Webhook {
|
|
1261
|
-
/**
|
|
1262
|
-
* @internal
|
|
1263
|
-
*/
|
|
1264
|
-
export const filterSensitiveLog = (obj: Webhook): any => ({
|
|
1265
|
-
...obj,
|
|
1266
|
-
});
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* <p> The result structure for the create webhook request. </p>
|
|
1271
|
-
*/
|
|
1272
|
-
export interface CreateWebhookResult {
|
|
1273
|
-
/**
|
|
1274
|
-
* <p> Describes a webhook that connects repository events to an Amplify app. </p>
|
|
1275
|
-
*/
|
|
1276
|
-
webhook: Webhook | undefined;
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
export namespace CreateWebhookResult {
|
|
1280
|
-
/**
|
|
1281
|
-
* @internal
|
|
1282
|
-
*/
|
|
1283
|
-
export const filterSensitiveLog = (obj: CreateWebhookResult): any => ({
|
|
1284
|
-
...obj,
|
|
1285
|
-
});
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* <p> Describes the request structure for the delete app request. </p>
|
|
1290
|
-
*/
|
|
1291
|
-
export interface DeleteAppRequest {
|
|
1292
|
-
/**
|
|
1293
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1294
|
-
*/
|
|
1295
|
-
appId: string | undefined;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
export namespace DeleteAppRequest {
|
|
1299
|
-
/**
|
|
1300
|
-
* @internal
|
|
1301
|
-
*/
|
|
1302
|
-
export const filterSensitiveLog = (obj: DeleteAppRequest): any => ({
|
|
1303
|
-
...obj,
|
|
1304
|
-
});
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* <p> The result structure for the delete app request. </p>
|
|
1309
|
-
*/
|
|
1310
|
-
export interface DeleteAppResult {
|
|
1311
|
-
/**
|
|
1312
|
-
* <p> Represents the different branches of a repository for building, deploying, and
|
|
1313
|
-
* hosting an Amplify app. </p>
|
|
1314
|
-
*/
|
|
1315
|
-
app: App | undefined;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
export namespace DeleteAppResult {
|
|
1319
|
-
/**
|
|
1320
|
-
* @internal
|
|
1321
|
-
*/
|
|
1322
|
-
export const filterSensitiveLog = (obj: DeleteAppResult): any => ({
|
|
1323
|
-
...obj,
|
|
1324
|
-
...(obj.app && { app: App.filterSensitiveLog(obj.app) }),
|
|
1325
|
-
});
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* <p> The request structure for the delete backend environment request. </p>
|
|
1330
|
-
*/
|
|
1331
|
-
export interface DeleteBackendEnvironmentRequest {
|
|
1332
|
-
/**
|
|
1333
|
-
* <p> The unique ID of an Amplify app. </p>
|
|
1334
|
-
*/
|
|
1335
|
-
appId: string | undefined;
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
* <p> The name of a backend environment of an Amplify app. </p>
|
|
1339
|
-
*/
|
|
1340
|
-
environmentName: string | undefined;
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
export namespace DeleteBackendEnvironmentRequest {
|
|
1344
|
-
/**
|
|
1345
|
-
* @internal
|
|
1346
|
-
*/
|
|
1347
|
-
export const filterSensitiveLog = (obj: DeleteBackendEnvironmentRequest): any => ({
|
|
1348
|
-
...obj,
|
|
1349
|
-
});
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* <p> The result structure of the delete backend environment result. </p>
|
|
1354
|
-
*/
|
|
1355
|
-
export interface DeleteBackendEnvironmentResult {
|
|
1356
|
-
/**
|
|
1357
|
-
* <p> Describes the backend environment for an Amplify app. </p>
|
|
1358
|
-
*/
|
|
1359
|
-
backendEnvironment: BackendEnvironment | undefined;
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
export namespace DeleteBackendEnvironmentResult {
|
|
1363
|
-
/**
|
|
1364
|
-
* @internal
|
|
1365
|
-
*/
|
|
1366
|
-
export const filterSensitiveLog = (obj: DeleteBackendEnvironmentResult): any => ({
|
|
1367
|
-
...obj,
|
|
1368
|
-
});
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* <p> The request structure for the delete branch request. </p>
|
|
1373
|
-
*/
|
|
1374
|
-
export interface DeleteBranchRequest {
|
|
1375
|
-
/**
|
|
1376
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1377
|
-
*/
|
|
1378
|
-
appId: string | undefined;
|
|
1379
|
-
|
|
1380
|
-
/**
|
|
1381
|
-
* <p> The name for the branch. </p>
|
|
1382
|
-
*/
|
|
1383
|
-
branchName: string | undefined;
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
export namespace DeleteBranchRequest {
|
|
1387
|
-
/**
|
|
1388
|
-
* @internal
|
|
1389
|
-
*/
|
|
1390
|
-
export const filterSensitiveLog = (obj: DeleteBranchRequest): any => ({
|
|
1391
|
-
...obj,
|
|
1392
|
-
});
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
* <p> The result structure for the delete branch request. </p>
|
|
1397
|
-
*/
|
|
1398
|
-
export interface DeleteBranchResult {
|
|
1399
|
-
/**
|
|
1400
|
-
* <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
|
|
1401
|
-
*/
|
|
1402
|
-
branch: Branch | undefined;
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
export namespace DeleteBranchResult {
|
|
1406
|
-
/**
|
|
1407
|
-
* @internal
|
|
1408
|
-
*/
|
|
1409
|
-
export const filterSensitiveLog = (obj: DeleteBranchResult): any => ({
|
|
1410
|
-
...obj,
|
|
1411
|
-
...(obj.branch && { branch: Branch.filterSensitiveLog(obj.branch) }),
|
|
1412
|
-
});
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* <p> The request structure for the delete domain association request. </p>
|
|
1417
|
-
*/
|
|
1418
|
-
export interface DeleteDomainAssociationRequest {
|
|
1419
|
-
/**
|
|
1420
|
-
* <p> The unique id for an Amplify app. </p>
|
|
1421
|
-
*/
|
|
1422
|
-
appId: string | undefined;
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* <p> The name of the domain. </p>
|
|
1426
|
-
*/
|
|
1427
|
-
domainName: string | undefined;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
export namespace DeleteDomainAssociationRequest {
|
|
1431
|
-
/**
|
|
1432
|
-
* @internal
|
|
1433
|
-
*/
|
|
1434
|
-
export const filterSensitiveLog = (obj: DeleteDomainAssociationRequest): any => ({
|
|
1435
|
-
...obj,
|
|
1436
|
-
});
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
export interface DeleteDomainAssociationResult {
|
|
1440
|
-
/**
|
|
1441
|
-
* <p> Describes a domain association that associates a custom domain with an Amplify app.
|
|
1442
|
-
* </p>
|
|
1443
|
-
*/
|
|
1444
|
-
domainAssociation: DomainAssociation | undefined;
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
export namespace DeleteDomainAssociationResult {
|
|
1448
|
-
/**
|
|
1449
|
-
* @internal
|
|
1450
|
-
*/
|
|
1451
|
-
export const filterSensitiveLog = (obj: DeleteDomainAssociationResult): any => ({
|
|
1452
|
-
...obj,
|
|
1453
|
-
});
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* <p> The request structure for the delete job request. </p>
|
|
1458
|
-
*/
|
|
1459
|
-
export interface DeleteJobRequest {
|
|
1460
|
-
/**
|
|
1461
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1462
|
-
*/
|
|
1463
|
-
appId: string | undefined;
|
|
1464
|
-
|
|
1465
|
-
/**
|
|
1466
|
-
* <p> The name for the branch, for the job. </p>
|
|
1467
|
-
*/
|
|
1468
|
-
branchName: string | undefined;
|
|
1469
|
-
|
|
1470
|
-
/**
|
|
1471
|
-
* <p> The unique ID for the job. </p>
|
|
1472
|
-
*/
|
|
1473
|
-
jobId: string | undefined;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
export namespace DeleteJobRequest {
|
|
1477
|
-
/**
|
|
1478
|
-
* @internal
|
|
1479
|
-
*/
|
|
1480
|
-
export const filterSensitiveLog = (obj: DeleteJobRequest): any => ({
|
|
1481
|
-
...obj,
|
|
1482
|
-
});
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
export enum JobType {
|
|
1486
|
-
MANUAL = "MANUAL",
|
|
1487
|
-
RELEASE = "RELEASE",
|
|
1488
|
-
RETRY = "RETRY",
|
|
1489
|
-
WEB_HOOK = "WEB_HOOK",
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
export enum JobStatus {
|
|
1493
|
-
CANCELLED = "CANCELLED",
|
|
1494
|
-
CANCELLING = "CANCELLING",
|
|
1495
|
-
FAILED = "FAILED",
|
|
1496
|
-
PENDING = "PENDING",
|
|
1497
|
-
PROVISIONING = "PROVISIONING",
|
|
1498
|
-
RUNNING = "RUNNING",
|
|
1499
|
-
SUCCEED = "SUCCEED",
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* <p> Describes the summary for an execution job for an Amplify app. </p>
|
|
1504
|
-
*/
|
|
1505
|
-
export interface JobSummary {
|
|
1506
|
-
/**
|
|
1507
|
-
* <p> The Amazon Resource Name (ARN) for the job. </p>
|
|
1508
|
-
*/
|
|
1509
|
-
jobArn: string | undefined;
|
|
1510
|
-
|
|
1511
|
-
/**
|
|
1512
|
-
* <p> The unique ID for the job. </p>
|
|
1513
|
-
*/
|
|
1514
|
-
jobId: string | undefined;
|
|
1515
|
-
|
|
1516
|
-
/**
|
|
1517
|
-
* <p> The commit ID from a third-party repository provider for the job. </p>
|
|
1518
|
-
*/
|
|
1519
|
-
commitId: string | undefined;
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
* <p> The commit message from a third-party repository provider for the job. </p>
|
|
1523
|
-
*/
|
|
1524
|
-
commitMessage: string | undefined;
|
|
1525
|
-
|
|
1526
|
-
/**
|
|
1527
|
-
* <p> The commit date and time for the job. </p>
|
|
1528
|
-
*/
|
|
1529
|
-
commitTime: Date | undefined;
|
|
1530
|
-
|
|
1531
|
-
/**
|
|
1532
|
-
* <p> The start date and time for the job. </p>
|
|
1533
|
-
*/
|
|
1534
|
-
startTime: Date | undefined;
|
|
1535
|
-
|
|
1536
|
-
/**
|
|
1537
|
-
* <p> The current status for the job. </p>
|
|
1538
|
-
*/
|
|
1539
|
-
status: JobStatus | string | undefined;
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* <p> The end date and time for the job. </p>
|
|
1543
|
-
*/
|
|
1544
|
-
endTime?: Date;
|
|
1545
|
-
|
|
1546
|
-
/**
|
|
1547
|
-
* <p> The type for the job. If the value is <code>RELEASE</code>, the job was manually
|
|
1548
|
-
* released from its source by using the <code>StartJob</code> API. If the value is
|
|
1549
|
-
* <code>RETRY</code>, the job was manually retried using the <code>StartJob</code>
|
|
1550
|
-
* API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by
|
|
1551
|
-
* webhooks. </p>
|
|
1552
|
-
*/
|
|
1553
|
-
jobType: JobType | string | undefined;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
export namespace JobSummary {
|
|
1557
|
-
/**
|
|
1558
|
-
* @internal
|
|
1559
|
-
*/
|
|
1560
|
-
export const filterSensitiveLog = (obj: JobSummary): any => ({
|
|
1561
|
-
...obj,
|
|
1562
|
-
});
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
/**
|
|
1566
|
-
* <p> The result structure for the delete job request. </p>
|
|
1567
|
-
*/
|
|
1568
|
-
export interface DeleteJobResult {
|
|
1569
|
-
/**
|
|
1570
|
-
* <p> Describes the summary for an execution job for an Amplify app. </p>
|
|
1571
|
-
*/
|
|
1572
|
-
jobSummary: JobSummary | undefined;
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
export namespace DeleteJobResult {
|
|
1576
|
-
/**
|
|
1577
|
-
* @internal
|
|
1578
|
-
*/
|
|
1579
|
-
export const filterSensitiveLog = (obj: DeleteJobResult): any => ({
|
|
1580
|
-
...obj,
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
|
-
/**
|
|
1585
|
-
* <p> The request structure for the delete webhook request. </p>
|
|
1586
|
-
*/
|
|
1587
|
-
export interface DeleteWebhookRequest {
|
|
1588
|
-
/**
|
|
1589
|
-
* <p> The unique ID for a webhook. </p>
|
|
1590
|
-
*/
|
|
1591
|
-
webhookId: string | undefined;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
export namespace DeleteWebhookRequest {
|
|
1595
|
-
/**
|
|
1596
|
-
* @internal
|
|
1597
|
-
*/
|
|
1598
|
-
export const filterSensitiveLog = (obj: DeleteWebhookRequest): any => ({
|
|
1599
|
-
...obj,
|
|
1600
|
-
});
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* <p> The result structure for the delete webhook request. </p>
|
|
1605
|
-
*/
|
|
1606
|
-
export interface DeleteWebhookResult {
|
|
1607
|
-
/**
|
|
1608
|
-
* <p> Describes a webhook that connects repository events to an Amplify app. </p>
|
|
1609
|
-
*/
|
|
1610
|
-
webhook: Webhook | undefined;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
export namespace DeleteWebhookResult {
|
|
1614
|
-
/**
|
|
1615
|
-
* @internal
|
|
1616
|
-
*/
|
|
1617
|
-
export const filterSensitiveLog = (obj: DeleteWebhookResult): any => ({
|
|
1618
|
-
...obj,
|
|
1619
|
-
});
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* <p> The request structure for the generate access logs request. </p>
|
|
1624
|
-
*/
|
|
1625
|
-
export interface GenerateAccessLogsRequest {
|
|
1626
|
-
/**
|
|
1627
|
-
* <p> The time at which the logs should start. The time range specified is inclusive of the
|
|
1628
|
-
* start time. </p>
|
|
1629
|
-
*/
|
|
1630
|
-
startTime?: Date;
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* <p> The time at which the logs should end. The time range specified is inclusive of the
|
|
1634
|
-
* end time. </p>
|
|
1635
|
-
*/
|
|
1636
|
-
endTime?: Date;
|
|
1637
|
-
|
|
1638
|
-
/**
|
|
1639
|
-
* <p> The name of the domain. </p>
|
|
1640
|
-
*/
|
|
1641
|
-
domainName: string | undefined;
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1645
|
-
*/
|
|
1646
|
-
appId: string | undefined;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
export namespace GenerateAccessLogsRequest {
|
|
1650
|
-
/**
|
|
1651
|
-
* @internal
|
|
1652
|
-
*/
|
|
1653
|
-
export const filterSensitiveLog = (obj: GenerateAccessLogsRequest): any => ({
|
|
1654
|
-
...obj,
|
|
1655
|
-
});
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
/**
|
|
1659
|
-
* <p> The result structure for the generate access logs request. </p>
|
|
1660
|
-
*/
|
|
1661
|
-
export interface GenerateAccessLogsResult {
|
|
1662
|
-
/**
|
|
1663
|
-
* <p> The pre-signed URL for the requested access logs. </p>
|
|
1664
|
-
*/
|
|
1665
|
-
logUrl?: string;
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
export namespace GenerateAccessLogsResult {
|
|
1669
|
-
/**
|
|
1670
|
-
* @internal
|
|
1671
|
-
*/
|
|
1672
|
-
export const filterSensitiveLog = (obj: GenerateAccessLogsResult): any => ({
|
|
1673
|
-
...obj,
|
|
1674
|
-
});
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* <p> The request structure for the get app request. </p>
|
|
1679
|
-
*/
|
|
1680
|
-
export interface GetAppRequest {
|
|
1681
|
-
/**
|
|
1682
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1683
|
-
*/
|
|
1684
|
-
appId: string | undefined;
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
export namespace GetAppRequest {
|
|
1688
|
-
/**
|
|
1689
|
-
* @internal
|
|
1690
|
-
*/
|
|
1691
|
-
export const filterSensitiveLog = (obj: GetAppRequest): any => ({
|
|
1692
|
-
...obj,
|
|
1693
|
-
});
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
export interface GetAppResult {
|
|
1697
|
-
/**
|
|
1698
|
-
* <p> Represents the different branches of a repository for building, deploying, and
|
|
1699
|
-
* hosting an Amplify app. </p>
|
|
1700
|
-
*/
|
|
1701
|
-
app: App | undefined;
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
export namespace GetAppResult {
|
|
1705
|
-
/**
|
|
1706
|
-
* @internal
|
|
1707
|
-
*/
|
|
1708
|
-
export const filterSensitiveLog = (obj: GetAppResult): any => ({
|
|
1709
|
-
...obj,
|
|
1710
|
-
...(obj.app && { app: App.filterSensitiveLog(obj.app) }),
|
|
1711
|
-
});
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
/**
|
|
1715
|
-
* <p> Returns the request structure for the get artifact request. </p>
|
|
1716
|
-
*/
|
|
1717
|
-
export interface GetArtifactUrlRequest {
|
|
1718
|
-
/**
|
|
1719
|
-
* <p> The unique ID for an artifact. </p>
|
|
1720
|
-
*/
|
|
1721
|
-
artifactId: string | undefined;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
export namespace GetArtifactUrlRequest {
|
|
1725
|
-
/**
|
|
1726
|
-
* @internal
|
|
1727
|
-
*/
|
|
1728
|
-
export const filterSensitiveLog = (obj: GetArtifactUrlRequest): any => ({
|
|
1729
|
-
...obj,
|
|
1730
|
-
});
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* <p> Returns the result structure for the get artifact request. </p>
|
|
1735
|
-
*/
|
|
1736
|
-
export interface GetArtifactUrlResult {
|
|
1737
|
-
/**
|
|
1738
|
-
* <p> The unique ID for an artifact. </p>
|
|
1739
|
-
*/
|
|
1740
|
-
artifactId: string | undefined;
|
|
1741
|
-
|
|
1742
|
-
/**
|
|
1743
|
-
* <p> The presigned URL for the artifact. </p>
|
|
1744
|
-
*/
|
|
1745
|
-
artifactUrl: string | undefined;
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
export namespace GetArtifactUrlResult {
|
|
1749
|
-
/**
|
|
1750
|
-
* @internal
|
|
1751
|
-
*/
|
|
1752
|
-
export const filterSensitiveLog = (obj: GetArtifactUrlResult): any => ({
|
|
1753
|
-
...obj,
|
|
1754
|
-
});
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
/**
|
|
1758
|
-
* <p> The request structure for the get backend environment request. </p>
|
|
1759
|
-
*/
|
|
1760
|
-
export interface GetBackendEnvironmentRequest {
|
|
1761
|
-
/**
|
|
1762
|
-
* <p> The unique id for an Amplify app. </p>
|
|
1763
|
-
*/
|
|
1764
|
-
appId: string | undefined;
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* <p> The name for the backend environment. </p>
|
|
1768
|
-
*/
|
|
1769
|
-
environmentName: string | undefined;
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
export namespace GetBackendEnvironmentRequest {
|
|
1773
|
-
/**
|
|
1774
|
-
* @internal
|
|
1775
|
-
*/
|
|
1776
|
-
export const filterSensitiveLog = (obj: GetBackendEnvironmentRequest): any => ({
|
|
1777
|
-
...obj,
|
|
1778
|
-
});
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
/**
|
|
1782
|
-
* <p> The result structure for the get backend environment result. </p>
|
|
1783
|
-
*/
|
|
1784
|
-
export interface GetBackendEnvironmentResult {
|
|
1785
|
-
/**
|
|
1786
|
-
* <p> Describes the backend environment for an Amplify app. </p>
|
|
1787
|
-
*/
|
|
1788
|
-
backendEnvironment: BackendEnvironment | undefined;
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
export namespace GetBackendEnvironmentResult {
|
|
1792
|
-
/**
|
|
1793
|
-
* @internal
|
|
1794
|
-
*/
|
|
1795
|
-
export const filterSensitiveLog = (obj: GetBackendEnvironmentResult): any => ({
|
|
1796
|
-
...obj,
|
|
1797
|
-
});
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
/**
|
|
1801
|
-
* <p> The request structure for the get branch request. </p>
|
|
1802
|
-
*/
|
|
1803
|
-
export interface GetBranchRequest {
|
|
1804
|
-
/**
|
|
1805
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1806
|
-
*/
|
|
1807
|
-
appId: string | undefined;
|
|
1808
|
-
|
|
1809
|
-
/**
|
|
1810
|
-
* <p> The name for the branch. </p>
|
|
1811
|
-
*/
|
|
1812
|
-
branchName: string | undefined;
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
export namespace GetBranchRequest {
|
|
1816
|
-
/**
|
|
1817
|
-
* @internal
|
|
1818
|
-
*/
|
|
1819
|
-
export const filterSensitiveLog = (obj: GetBranchRequest): any => ({
|
|
1820
|
-
...obj,
|
|
1821
|
-
});
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
export interface GetBranchResult {
|
|
1825
|
-
/**
|
|
1826
|
-
* <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
|
|
1827
|
-
*/
|
|
1828
|
-
branch: Branch | undefined;
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
export namespace GetBranchResult {
|
|
1832
|
-
/**
|
|
1833
|
-
* @internal
|
|
1834
|
-
*/
|
|
1835
|
-
export const filterSensitiveLog = (obj: GetBranchResult): any => ({
|
|
1836
|
-
...obj,
|
|
1837
|
-
...(obj.branch && { branch: Branch.filterSensitiveLog(obj.branch) }),
|
|
1838
|
-
});
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* <p> The request structure for the get domain association request. </p>
|
|
1843
|
-
*/
|
|
1844
|
-
export interface GetDomainAssociationRequest {
|
|
1845
|
-
/**
|
|
1846
|
-
* <p> The unique id for an Amplify app. </p>
|
|
1847
|
-
*/
|
|
1848
|
-
appId: string | undefined;
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
* <p> The name of the domain. </p>
|
|
1852
|
-
*/
|
|
1853
|
-
domainName: string | undefined;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
export namespace GetDomainAssociationRequest {
|
|
1857
|
-
/**
|
|
1858
|
-
* @internal
|
|
1859
|
-
*/
|
|
1860
|
-
export const filterSensitiveLog = (obj: GetDomainAssociationRequest): any => ({
|
|
1861
|
-
...obj,
|
|
1862
|
-
});
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* <p> The result structure for the get domain association request. </p>
|
|
1867
|
-
*/
|
|
1868
|
-
export interface GetDomainAssociationResult {
|
|
1869
|
-
/**
|
|
1870
|
-
* <p> Describes the structure of a domain association, which associates a custom domain
|
|
1871
|
-
* with an Amplify app. </p>
|
|
1872
|
-
*/
|
|
1873
|
-
domainAssociation: DomainAssociation | undefined;
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
|
-
export namespace GetDomainAssociationResult {
|
|
1877
|
-
/**
|
|
1878
|
-
* @internal
|
|
1879
|
-
*/
|
|
1880
|
-
export const filterSensitiveLog = (obj: GetDomainAssociationResult): any => ({
|
|
1881
|
-
...obj,
|
|
1882
|
-
});
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
* <p> The request structure for the get job request. </p>
|
|
1887
|
-
*/
|
|
1888
|
-
export interface GetJobRequest {
|
|
1889
|
-
/**
|
|
1890
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
1891
|
-
*/
|
|
1892
|
-
appId: string | undefined;
|
|
1893
|
-
|
|
1894
|
-
/**
|
|
1895
|
-
* <p> The branch name for the job. </p>
|
|
1896
|
-
*/
|
|
1897
|
-
branchName: string | undefined;
|
|
1898
|
-
|
|
1899
|
-
/**
|
|
1900
|
-
* <p> The unique ID for the job. </p>
|
|
1901
|
-
*/
|
|
1902
|
-
jobId: string | undefined;
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
export namespace GetJobRequest {
|
|
1906
|
-
/**
|
|
1907
|
-
* @internal
|
|
1908
|
-
*/
|
|
1909
|
-
export const filterSensitiveLog = (obj: GetJobRequest): any => ({
|
|
1910
|
-
...obj,
|
|
1911
|
-
});
|
|
1912
|
-
}
|
|
1913
|
-
|
|
1914
|
-
/**
|
|
1915
|
-
* <p> Describes an execution step, for an execution job, for an Amplify app. </p>
|
|
1916
|
-
*/
|
|
1917
|
-
export interface Step {
|
|
1918
|
-
/**
|
|
1919
|
-
* <p> The name of the execution step. </p>
|
|
1920
|
-
*/
|
|
1921
|
-
stepName: string | undefined;
|
|
1922
|
-
|
|
1923
|
-
/**
|
|
1924
|
-
* <p> The start date and time of the execution step. </p>
|
|
1925
|
-
*/
|
|
1926
|
-
startTime: Date | undefined;
|
|
1927
|
-
|
|
1928
|
-
/**
|
|
1929
|
-
* <p> The status of the execution step. </p>
|
|
1930
|
-
*/
|
|
1931
|
-
status: JobStatus | string | undefined;
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
* <p> The end date and time of the execution step. </p>
|
|
1935
|
-
*/
|
|
1936
|
-
endTime: Date | undefined;
|
|
1937
|
-
|
|
1938
|
-
/**
|
|
1939
|
-
* <p> The URL to the logs for the execution step. </p>
|
|
1940
|
-
*/
|
|
1941
|
-
logUrl?: string;
|
|
1942
|
-
|
|
1943
|
-
/**
|
|
1944
|
-
* <p> The URL to the artifact for the execution step. </p>
|
|
1945
|
-
*/
|
|
1946
|
-
artifactsUrl?: string;
|
|
1947
|
-
|
|
1948
|
-
/**
|
|
1949
|
-
* <p> The URL to the test artifact for the execution step. </p>
|
|
1950
|
-
*/
|
|
1951
|
-
testArtifactsUrl?: string;
|
|
1952
|
-
|
|
1953
|
-
/**
|
|
1954
|
-
* <p> The URL to the test configuration for the execution step. </p>
|
|
1955
|
-
*/
|
|
1956
|
-
testConfigUrl?: string;
|
|
1957
|
-
|
|
1958
|
-
/**
|
|
1959
|
-
* <p> The list of screenshot URLs for the execution step, if relevant. </p>
|
|
1960
|
-
*/
|
|
1961
|
-
screenshots?: { [key: string]: string };
|
|
1962
|
-
|
|
1963
|
-
/**
|
|
1964
|
-
* <p> The reason for the current step status. </p>
|
|
1965
|
-
*/
|
|
1966
|
-
statusReason?: string;
|
|
1967
|
-
|
|
1968
|
-
/**
|
|
1969
|
-
* <p> The context for the current step. Includes a build image if the step is build.
|
|
1970
|
-
* </p>
|
|
1971
|
-
*/
|
|
1972
|
-
context?: string;
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
export namespace Step {
|
|
1976
|
-
/**
|
|
1977
|
-
* @internal
|
|
1978
|
-
*/
|
|
1979
|
-
export const filterSensitiveLog = (obj: Step): any => ({
|
|
1980
|
-
...obj,
|
|
1981
|
-
});
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
/**
|
|
1985
|
-
* <p> Describes an execution job for an Amplify app. </p>
|
|
1986
|
-
*/
|
|
1987
|
-
export interface Job {
|
|
1988
|
-
/**
|
|
1989
|
-
* <p> Describes the summary for an execution job for an Amplify app. </p>
|
|
1990
|
-
*/
|
|
1991
|
-
summary: JobSummary | undefined;
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
* <p> The execution steps for an execution job, for an Amplify app. </p>
|
|
1995
|
-
*/
|
|
1996
|
-
steps: Step[] | undefined;
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
export namespace Job {
|
|
2000
|
-
/**
|
|
2001
|
-
* @internal
|
|
2002
|
-
*/
|
|
2003
|
-
export const filterSensitiveLog = (obj: Job): any => ({
|
|
2004
|
-
...obj,
|
|
2005
|
-
});
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
export interface GetJobResult {
|
|
2009
|
-
/**
|
|
2010
|
-
* <p> Describes an execution job for an Amplify app. </p>
|
|
2011
|
-
*/
|
|
2012
|
-
job: Job | undefined;
|
|
2013
|
-
}
|
|
2014
|
-
|
|
2015
|
-
export namespace GetJobResult {
|
|
2016
|
-
/**
|
|
2017
|
-
* @internal
|
|
2018
|
-
*/
|
|
2019
|
-
export const filterSensitiveLog = (obj: GetJobResult): any => ({
|
|
2020
|
-
...obj,
|
|
2021
|
-
});
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
/**
|
|
2025
|
-
* <p> The request structure for the get webhook request. </p>
|
|
2026
|
-
*/
|
|
2027
|
-
export interface GetWebhookRequest {
|
|
2028
|
-
/**
|
|
2029
|
-
* <p> The unique ID for a webhook. </p>
|
|
2030
|
-
*/
|
|
2031
|
-
webhookId: string | undefined;
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
export namespace GetWebhookRequest {
|
|
2035
|
-
/**
|
|
2036
|
-
* @internal
|
|
2037
|
-
*/
|
|
2038
|
-
export const filterSensitiveLog = (obj: GetWebhookRequest): any => ({
|
|
2039
|
-
...obj,
|
|
2040
|
-
});
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
|
-
/**
|
|
2044
|
-
* <p> The result structure for the get webhook request. </p>
|
|
2045
|
-
*/
|
|
2046
|
-
export interface GetWebhookResult {
|
|
2047
|
-
/**
|
|
2048
|
-
* <p> Describes the structure of a webhook. </p>
|
|
2049
|
-
*/
|
|
2050
|
-
webhook: Webhook | undefined;
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
export namespace GetWebhookResult {
|
|
2054
|
-
/**
|
|
2055
|
-
* @internal
|
|
2056
|
-
*/
|
|
2057
|
-
export const filterSensitiveLog = (obj: GetWebhookResult): any => ({
|
|
2058
|
-
...obj,
|
|
2059
|
-
});
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
/**
|
|
2063
|
-
* <p> The request structure for the list apps request. </p>
|
|
2064
|
-
*/
|
|
2065
|
-
export interface ListAppsRequest {
|
|
2066
|
-
/**
|
|
2067
|
-
* <p> A pagination token. If non-null, the pagination token is returned in a result. Pass
|
|
2068
|
-
* its value in another request to retrieve more entries. </p>
|
|
2069
|
-
*/
|
|
2070
|
-
nextToken?: string;
|
|
2071
|
-
|
|
2072
|
-
/**
|
|
2073
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2074
|
-
*/
|
|
2075
|
-
maxResults?: number;
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
export namespace ListAppsRequest {
|
|
2079
|
-
/**
|
|
2080
|
-
* @internal
|
|
2081
|
-
*/
|
|
2082
|
-
export const filterSensitiveLog = (obj: ListAppsRequest): any => ({
|
|
2083
|
-
...obj,
|
|
2084
|
-
});
|
|
2085
|
-
}
|
|
2086
|
-
|
|
2087
|
-
/**
|
|
2088
|
-
* <p> The result structure for an Amplify app list request. </p>
|
|
2089
|
-
*/
|
|
2090
|
-
export interface ListAppsResult {
|
|
2091
|
-
/**
|
|
2092
|
-
* <p> A list of Amplify apps. </p>
|
|
2093
|
-
*/
|
|
2094
|
-
apps: App[] | undefined;
|
|
2095
|
-
|
|
2096
|
-
/**
|
|
2097
|
-
* <p> A pagination token. Set to null to start listing apps from start. If non-null, the
|
|
2098
|
-
* pagination token is returned in a result. Pass its value in here to list more projects.
|
|
2099
|
-
* </p>
|
|
2100
|
-
*/
|
|
2101
|
-
nextToken?: string;
|
|
2102
|
-
}
|
|
2103
|
-
|
|
2104
|
-
export namespace ListAppsResult {
|
|
2105
|
-
/**
|
|
2106
|
-
* @internal
|
|
2107
|
-
*/
|
|
2108
|
-
export const filterSensitiveLog = (obj: ListAppsResult): any => ({
|
|
2109
|
-
...obj,
|
|
2110
|
-
...(obj.apps && { apps: obj.apps.map((item) => App.filterSensitiveLog(item)) }),
|
|
2111
|
-
});
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
/**
|
|
2115
|
-
* <p> Describes the request structure for the list artifacts request. </p>
|
|
2116
|
-
*/
|
|
2117
|
-
export interface ListArtifactsRequest {
|
|
2118
|
-
/**
|
|
2119
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2120
|
-
*/
|
|
2121
|
-
appId: string | undefined;
|
|
2122
|
-
|
|
2123
|
-
/**
|
|
2124
|
-
* <p> The name of a branch that is part of an Amplify app. </p>
|
|
2125
|
-
*/
|
|
2126
|
-
branchName: string | undefined;
|
|
2127
|
-
|
|
2128
|
-
/**
|
|
2129
|
-
* <p> The unique ID for a job. </p>
|
|
2130
|
-
*/
|
|
2131
|
-
jobId: string | undefined;
|
|
2132
|
-
|
|
2133
|
-
/**
|
|
2134
|
-
* <p> A pagination token. Set to null to start listing artifacts from start. If a non-null
|
|
2135
|
-
* pagination token is returned in a result, pass its value in here to list more artifacts.
|
|
2136
|
-
* </p>
|
|
2137
|
-
*/
|
|
2138
|
-
nextToken?: string;
|
|
2139
|
-
|
|
2140
|
-
/**
|
|
2141
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2142
|
-
*/
|
|
2143
|
-
maxResults?: number;
|
|
2144
|
-
}
|
|
2145
|
-
|
|
2146
|
-
export namespace ListArtifactsRequest {
|
|
2147
|
-
/**
|
|
2148
|
-
* @internal
|
|
2149
|
-
*/
|
|
2150
|
-
export const filterSensitiveLog = (obj: ListArtifactsRequest): any => ({
|
|
2151
|
-
...obj,
|
|
2152
|
-
});
|
|
2153
|
-
}
|
|
2154
|
-
|
|
2155
|
-
/**
|
|
2156
|
-
* <p> Describes an artifact. </p>
|
|
2157
|
-
*/
|
|
2158
|
-
export interface Artifact {
|
|
2159
|
-
/**
|
|
2160
|
-
* <p> The file name for the artifact. </p>
|
|
2161
|
-
*/
|
|
2162
|
-
artifactFileName: string | undefined;
|
|
2163
|
-
|
|
2164
|
-
/**
|
|
2165
|
-
* <p> The unique ID for the artifact. </p>
|
|
2166
|
-
*/
|
|
2167
|
-
artifactId: string | undefined;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
export namespace Artifact {
|
|
2171
|
-
/**
|
|
2172
|
-
* @internal
|
|
2173
|
-
*/
|
|
2174
|
-
export const filterSensitiveLog = (obj: Artifact): any => ({
|
|
2175
|
-
...obj,
|
|
2176
|
-
});
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
/**
|
|
2180
|
-
* <p> The result structure for the list artifacts request. </p>
|
|
2181
|
-
*/
|
|
2182
|
-
export interface ListArtifactsResult {
|
|
2183
|
-
/**
|
|
2184
|
-
* <p> A list of artifacts. </p>
|
|
2185
|
-
*/
|
|
2186
|
-
artifacts: Artifact[] | undefined;
|
|
2187
|
-
|
|
2188
|
-
/**
|
|
2189
|
-
* <p> A pagination token. If a non-null pagination token is returned in a result, pass its
|
|
2190
|
-
* value in another request to retrieve more entries. </p>
|
|
2191
|
-
*/
|
|
2192
|
-
nextToken?: string;
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
export namespace ListArtifactsResult {
|
|
2196
|
-
/**
|
|
2197
|
-
* @internal
|
|
2198
|
-
*/
|
|
2199
|
-
export const filterSensitiveLog = (obj: ListArtifactsResult): any => ({
|
|
2200
|
-
...obj,
|
|
2201
|
-
});
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
/**
|
|
2205
|
-
* <p> The request structure for the list backend environments request. </p>
|
|
2206
|
-
*/
|
|
2207
|
-
export interface ListBackendEnvironmentsRequest {
|
|
2208
|
-
/**
|
|
2209
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2210
|
-
*/
|
|
2211
|
-
appId: string | undefined;
|
|
2212
|
-
|
|
2213
|
-
/**
|
|
2214
|
-
* <p> The name of the backend environment </p>
|
|
2215
|
-
*/
|
|
2216
|
-
environmentName?: string;
|
|
2217
|
-
|
|
2218
|
-
/**
|
|
2219
|
-
* <p> A pagination token. Set to null to start listing backend environments from the start.
|
|
2220
|
-
* If a non-null pagination token is returned in a result, pass its value in here to list
|
|
2221
|
-
* more backend environments. </p>
|
|
2222
|
-
*/
|
|
2223
|
-
nextToken?: string;
|
|
2224
|
-
|
|
2225
|
-
/**
|
|
2226
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2227
|
-
*/
|
|
2228
|
-
maxResults?: number;
|
|
2229
|
-
}
|
|
2230
|
-
|
|
2231
|
-
export namespace ListBackendEnvironmentsRequest {
|
|
2232
|
-
/**
|
|
2233
|
-
* @internal
|
|
2234
|
-
*/
|
|
2235
|
-
export const filterSensitiveLog = (obj: ListBackendEnvironmentsRequest): any => ({
|
|
2236
|
-
...obj,
|
|
2237
|
-
});
|
|
2238
|
-
}
|
|
2239
|
-
|
|
2240
|
-
/**
|
|
2241
|
-
* <p> The result structure for the list backend environments result. </p>
|
|
2242
|
-
*/
|
|
2243
|
-
export interface ListBackendEnvironmentsResult {
|
|
2244
|
-
/**
|
|
2245
|
-
* <p> The list of backend environments for an Amplify app. </p>
|
|
2246
|
-
*/
|
|
2247
|
-
backendEnvironments: BackendEnvironment[] | undefined;
|
|
2248
|
-
|
|
2249
|
-
/**
|
|
2250
|
-
* <p> A pagination token. If a non-null pagination token is returned in a result, pass its
|
|
2251
|
-
* value in another request to retrieve more entries. </p>
|
|
2252
|
-
*/
|
|
2253
|
-
nextToken?: string;
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
export namespace ListBackendEnvironmentsResult {
|
|
2257
|
-
/**
|
|
2258
|
-
* @internal
|
|
2259
|
-
*/
|
|
2260
|
-
export const filterSensitiveLog = (obj: ListBackendEnvironmentsResult): any => ({
|
|
2261
|
-
...obj,
|
|
2262
|
-
});
|
|
2263
|
-
}
|
|
2264
|
-
|
|
2265
|
-
/**
|
|
2266
|
-
* <p> The request structure for the list branches request. </p>
|
|
2267
|
-
*/
|
|
2268
|
-
export interface ListBranchesRequest {
|
|
2269
|
-
/**
|
|
2270
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2271
|
-
*/
|
|
2272
|
-
appId: string | undefined;
|
|
2273
|
-
|
|
2274
|
-
/**
|
|
2275
|
-
* <p> A pagination token. Set to null to start listing branches from the start. If a
|
|
2276
|
-
* non-null pagination token is returned in a result, pass its value in here to list more
|
|
2277
|
-
* branches. </p>
|
|
2278
|
-
*/
|
|
2279
|
-
nextToken?: string;
|
|
2280
|
-
|
|
2281
|
-
/**
|
|
2282
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2283
|
-
*/
|
|
2284
|
-
maxResults?: number;
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
|
-
export namespace ListBranchesRequest {
|
|
2288
|
-
/**
|
|
2289
|
-
* @internal
|
|
2290
|
-
*/
|
|
2291
|
-
export const filterSensitiveLog = (obj: ListBranchesRequest): any => ({
|
|
2292
|
-
...obj,
|
|
2293
|
-
});
|
|
2294
|
-
}
|
|
2295
|
-
|
|
2296
|
-
/**
|
|
2297
|
-
* <p> The result structure for the list branches request. </p>
|
|
2298
|
-
*/
|
|
2299
|
-
export interface ListBranchesResult {
|
|
2300
|
-
/**
|
|
2301
|
-
* <p> A list of branches for an Amplify app. </p>
|
|
2302
|
-
*/
|
|
2303
|
-
branches: Branch[] | undefined;
|
|
2304
|
-
|
|
2305
|
-
/**
|
|
2306
|
-
* <p> A pagination token. If a non-null pagination token is returned in a result, pass its
|
|
2307
|
-
* value in another request to retrieve more entries. </p>
|
|
2308
|
-
*/
|
|
2309
|
-
nextToken?: string;
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
|
-
export namespace ListBranchesResult {
|
|
2313
|
-
/**
|
|
2314
|
-
* @internal
|
|
2315
|
-
*/
|
|
2316
|
-
export const filterSensitiveLog = (obj: ListBranchesResult): any => ({
|
|
2317
|
-
...obj,
|
|
2318
|
-
...(obj.branches && { branches: obj.branches.map((item) => Branch.filterSensitiveLog(item)) }),
|
|
2319
|
-
});
|
|
2320
|
-
}
|
|
2321
|
-
|
|
2322
|
-
/**
|
|
2323
|
-
* <p> The request structure for the list domain associations request. </p>
|
|
2324
|
-
*/
|
|
2325
|
-
export interface ListDomainAssociationsRequest {
|
|
2326
|
-
/**
|
|
2327
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2328
|
-
*/
|
|
2329
|
-
appId: string | undefined;
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* <p> A pagination token. Set to null to start listing apps from the start. If non-null, a
|
|
2333
|
-
* pagination token is returned in a result. Pass its value in here to list more projects.
|
|
2334
|
-
* </p>
|
|
2335
|
-
*/
|
|
2336
|
-
nextToken?: string;
|
|
2337
|
-
|
|
2338
|
-
/**
|
|
2339
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2340
|
-
*/
|
|
2341
|
-
maxResults?: number;
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
export namespace ListDomainAssociationsRequest {
|
|
2345
|
-
/**
|
|
2346
|
-
* @internal
|
|
2347
|
-
*/
|
|
2348
|
-
export const filterSensitiveLog = (obj: ListDomainAssociationsRequest): any => ({
|
|
2349
|
-
...obj,
|
|
2350
|
-
});
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
/**
|
|
2354
|
-
* <p> The result structure for the list domain association request. </p>
|
|
2355
|
-
*/
|
|
2356
|
-
export interface ListDomainAssociationsResult {
|
|
2357
|
-
/**
|
|
2358
|
-
* <p> A list of domain associations. </p>
|
|
2359
|
-
*/
|
|
2360
|
-
domainAssociations: DomainAssociation[] | undefined;
|
|
2361
|
-
|
|
2362
|
-
/**
|
|
2363
|
-
* <p> A pagination token. If non-null, a pagination token is returned in a result. Pass its
|
|
2364
|
-
* value in another request to retrieve more entries. </p>
|
|
2365
|
-
*/
|
|
2366
|
-
nextToken?: string;
|
|
2367
|
-
}
|
|
2368
|
-
|
|
2369
|
-
export namespace ListDomainAssociationsResult {
|
|
2370
|
-
/**
|
|
2371
|
-
* @internal
|
|
2372
|
-
*/
|
|
2373
|
-
export const filterSensitiveLog = (obj: ListDomainAssociationsResult): any => ({
|
|
2374
|
-
...obj,
|
|
2375
|
-
});
|
|
2376
|
-
}
|
|
2377
|
-
|
|
2378
|
-
/**
|
|
2379
|
-
* <p> The request structure for the list jobs request. </p>
|
|
2380
|
-
*/
|
|
2381
|
-
export interface ListJobsRequest {
|
|
2382
|
-
/**
|
|
2383
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2384
|
-
*/
|
|
2385
|
-
appId: string | undefined;
|
|
2386
|
-
|
|
2387
|
-
/**
|
|
2388
|
-
* <p> The name for a branch. </p>
|
|
2389
|
-
*/
|
|
2390
|
-
branchName: string | undefined;
|
|
2391
|
-
|
|
2392
|
-
/**
|
|
2393
|
-
* <p> A pagination token. Set to null to start listing steps from the start. If a non-null
|
|
2394
|
-
* pagination token is returned in a result, pass its value in here to list more steps.
|
|
2395
|
-
* </p>
|
|
2396
|
-
*/
|
|
2397
|
-
nextToken?: string;
|
|
2398
|
-
|
|
2399
|
-
/**
|
|
2400
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2401
|
-
*/
|
|
2402
|
-
maxResults?: number;
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
|
-
export namespace ListJobsRequest {
|
|
2406
|
-
/**
|
|
2407
|
-
* @internal
|
|
2408
|
-
*/
|
|
2409
|
-
export const filterSensitiveLog = (obj: ListJobsRequest): any => ({
|
|
2410
|
-
...obj,
|
|
2411
|
-
});
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
|
-
/**
|
|
2415
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2416
|
-
*/
|
|
2417
|
-
export interface ListJobsResult {
|
|
2418
|
-
/**
|
|
2419
|
-
* <p> The result structure for the list job result request. </p>
|
|
2420
|
-
*/
|
|
2421
|
-
jobSummaries: JobSummary[] | undefined;
|
|
2422
|
-
|
|
2423
|
-
/**
|
|
2424
|
-
* <p> A pagination token. If non-null the pagination token is returned in a result. Pass
|
|
2425
|
-
* its value in another request to retrieve more entries. </p>
|
|
2426
|
-
*/
|
|
2427
|
-
nextToken?: string;
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
export namespace ListJobsResult {
|
|
2431
|
-
/**
|
|
2432
|
-
* @internal
|
|
2433
|
-
*/
|
|
2434
|
-
export const filterSensitiveLog = (obj: ListJobsResult): any => ({
|
|
2435
|
-
...obj,
|
|
2436
|
-
});
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
/**
|
|
2440
|
-
* <p> The request structure to use to list tags for a resource. </p>
|
|
2441
|
-
*/
|
|
2442
|
-
export interface ListTagsForResourceRequest {
|
|
2443
|
-
/**
|
|
2444
|
-
* <p> The Amazon Resource Name (ARN) to use to list tags. </p>
|
|
2445
|
-
*/
|
|
2446
|
-
resourceArn: string | undefined;
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
export namespace ListTagsForResourceRequest {
|
|
2450
|
-
/**
|
|
2451
|
-
* @internal
|
|
2452
|
-
*/
|
|
2453
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
|
|
2454
|
-
...obj,
|
|
2455
|
-
});
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
/**
|
|
2459
|
-
* <p> The response for the list tags for resource request. </p>
|
|
2460
|
-
*/
|
|
2461
|
-
export interface ListTagsForResourceResponse {
|
|
2462
|
-
/**
|
|
2463
|
-
* <p> A list of tags for the specified The Amazon Resource Name (ARN). </p>
|
|
2464
|
-
*/
|
|
2465
|
-
tags?: { [key: string]: string };
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
export namespace ListTagsForResourceResponse {
|
|
2469
|
-
/**
|
|
2470
|
-
* @internal
|
|
2471
|
-
*/
|
|
2472
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
|
|
2473
|
-
...obj,
|
|
2474
|
-
});
|
|
2475
|
-
}
|
|
2476
|
-
|
|
2477
|
-
/**
|
|
2478
|
-
* <p> An operation failed due to a non-existent resource. </p>
|
|
2479
|
-
*/
|
|
2480
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
2481
|
-
name: "ResourceNotFoundException";
|
|
2482
|
-
$fault: "client";
|
|
2483
|
-
code: string | undefined;
|
|
2484
|
-
message: string | undefined;
|
|
2485
|
-
}
|
|
2486
|
-
|
|
2487
|
-
export namespace ResourceNotFoundException {
|
|
2488
|
-
/**
|
|
2489
|
-
* @internal
|
|
2490
|
-
*/
|
|
2491
|
-
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
|
|
2492
|
-
...obj,
|
|
2493
|
-
});
|
|
2494
|
-
}
|
|
2495
|
-
|
|
2496
|
-
/**
|
|
2497
|
-
* <p> The request structure for the list webhooks request. </p>
|
|
2498
|
-
*/
|
|
2499
|
-
export interface ListWebhooksRequest {
|
|
2500
|
-
/**
|
|
2501
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2502
|
-
*/
|
|
2503
|
-
appId: string | undefined;
|
|
2504
|
-
|
|
2505
|
-
/**
|
|
2506
|
-
* <p> A pagination token. Set to null to start listing webhooks from the start. If
|
|
2507
|
-
* non-null,the pagination token is returned in a result. Pass its value in here to list
|
|
2508
|
-
* more webhooks. </p>
|
|
2509
|
-
*/
|
|
2510
|
-
nextToken?: string;
|
|
2511
|
-
|
|
2512
|
-
/**
|
|
2513
|
-
* <p> The maximum number of records to list in a single response. </p>
|
|
2514
|
-
*/
|
|
2515
|
-
maxResults?: number;
|
|
2516
|
-
}
|
|
2517
|
-
|
|
2518
|
-
export namespace ListWebhooksRequest {
|
|
2519
|
-
/**
|
|
2520
|
-
* @internal
|
|
2521
|
-
*/
|
|
2522
|
-
export const filterSensitiveLog = (obj: ListWebhooksRequest): any => ({
|
|
2523
|
-
...obj,
|
|
2524
|
-
});
|
|
2525
|
-
}
|
|
2526
|
-
|
|
2527
|
-
/**
|
|
2528
|
-
* <p> The result structure for the list webhooks request. </p>
|
|
2529
|
-
*/
|
|
2530
|
-
export interface ListWebhooksResult {
|
|
2531
|
-
/**
|
|
2532
|
-
* <p> A list of webhooks. </p>
|
|
2533
|
-
*/
|
|
2534
|
-
webhooks: Webhook[] | undefined;
|
|
2535
|
-
|
|
2536
|
-
/**
|
|
2537
|
-
* <p> A pagination token. If non-null, the pagination token is returned in a result. Pass
|
|
2538
|
-
* its value in another request to retrieve more entries. </p>
|
|
2539
|
-
*/
|
|
2540
|
-
nextToken?: string;
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
|
-
export namespace ListWebhooksResult {
|
|
2544
|
-
/**
|
|
2545
|
-
* @internal
|
|
2546
|
-
*/
|
|
2547
|
-
export const filterSensitiveLog = (obj: ListWebhooksResult): any => ({
|
|
2548
|
-
...obj,
|
|
2549
|
-
});
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
/**
|
|
2553
|
-
* <p> The request structure for the start a deployment request. </p>
|
|
2554
|
-
*/
|
|
2555
|
-
export interface StartDeploymentRequest {
|
|
2556
|
-
/**
|
|
2557
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2558
|
-
*/
|
|
2559
|
-
appId: string | undefined;
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
* <p> The name for the branch, for the job. </p>
|
|
2563
|
-
*/
|
|
2564
|
-
branchName: string | undefined;
|
|
2565
|
-
|
|
2566
|
-
/**
|
|
2567
|
-
* <p> The job ID for this deployment, generated by the create deployment request. </p>
|
|
2568
|
-
*/
|
|
2569
|
-
jobId?: string;
|
|
2570
|
-
|
|
2571
|
-
/**
|
|
2572
|
-
* <p> The source URL for this deployment, used when calling start deployment without create
|
|
2573
|
-
* deployment. The source URL can be any HTTP GET URL that is publicly accessible and
|
|
2574
|
-
* downloads a single .zip file. </p>
|
|
2575
|
-
*/
|
|
2576
|
-
sourceUrl?: string;
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
export namespace StartDeploymentRequest {
|
|
2580
|
-
/**
|
|
2581
|
-
* @internal
|
|
2582
|
-
*/
|
|
2583
|
-
export const filterSensitiveLog = (obj: StartDeploymentRequest): any => ({
|
|
2584
|
-
...obj,
|
|
2585
|
-
});
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
/**
|
|
2589
|
-
* <p> The result structure for the start a deployment request. </p>
|
|
2590
|
-
*/
|
|
2591
|
-
export interface StartDeploymentResult {
|
|
2592
|
-
/**
|
|
2593
|
-
* <p> The summary for the job. </p>
|
|
2594
|
-
*/
|
|
2595
|
-
jobSummary: JobSummary | undefined;
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
export namespace StartDeploymentResult {
|
|
2599
|
-
/**
|
|
2600
|
-
* @internal
|
|
2601
|
-
*/
|
|
2602
|
-
export const filterSensitiveLog = (obj: StartDeploymentResult): any => ({
|
|
2603
|
-
...obj,
|
|
2604
|
-
});
|
|
2605
|
-
}
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* <p> The request structure for the start job request. </p>
|
|
2609
|
-
*/
|
|
2610
|
-
export interface StartJobRequest {
|
|
2611
|
-
/**
|
|
2612
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2613
|
-
*/
|
|
2614
|
-
appId: string | undefined;
|
|
2615
|
-
|
|
2616
|
-
/**
|
|
2617
|
-
* <p> The branch name for the job. </p>
|
|
2618
|
-
*/
|
|
2619
|
-
branchName: string | undefined;
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* <p> The unique ID for an existing job. This is required if the value of
|
|
2623
|
-
* <code>jobType</code> is <code>RETRY</code>. </p>
|
|
2624
|
-
*/
|
|
2625
|
-
jobId?: string;
|
|
2626
|
-
|
|
2627
|
-
/**
|
|
2628
|
-
* <p> Describes the type for the job. The job type <code>RELEASE</code> starts a new job
|
|
2629
|
-
* with the latest change from the specified branch. This value is available only for apps
|
|
2630
|
-
* that are connected to a repository. The job type <code>RETRY</code> retries an existing
|
|
2631
|
-
* job. If the job type value is <code>RETRY</code>, the <code>jobId</code> is also
|
|
2632
|
-
* required. </p>
|
|
2633
|
-
*/
|
|
2634
|
-
jobType: JobType | string | undefined;
|
|
2635
|
-
|
|
2636
|
-
/**
|
|
2637
|
-
* <p> A descriptive reason for starting this job. </p>
|
|
2638
|
-
*/
|
|
2639
|
-
jobReason?: string;
|
|
2640
|
-
|
|
2641
|
-
/**
|
|
2642
|
-
* <p> The commit ID from a third-party repository provider for the job. </p>
|
|
2643
|
-
*/
|
|
2644
|
-
commitId?: string;
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* <p> The commit message from a third-party repository provider for the job. </p>
|
|
2648
|
-
*/
|
|
2649
|
-
commitMessage?: string;
|
|
2650
|
-
|
|
2651
|
-
/**
|
|
2652
|
-
* <p> The commit date and time for the job. </p>
|
|
2653
|
-
*/
|
|
2654
|
-
commitTime?: Date;
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
|
-
export namespace StartJobRequest {
|
|
2658
|
-
/**
|
|
2659
|
-
* @internal
|
|
2660
|
-
*/
|
|
2661
|
-
export const filterSensitiveLog = (obj: StartJobRequest): any => ({
|
|
2662
|
-
...obj,
|
|
2663
|
-
});
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
/**
|
|
2667
|
-
* <p> The result structure for the run job request. </p>
|
|
2668
|
-
*/
|
|
2669
|
-
export interface StartJobResult {
|
|
2670
|
-
/**
|
|
2671
|
-
* <p> The summary for the job. </p>
|
|
2672
|
-
*/
|
|
2673
|
-
jobSummary: JobSummary | undefined;
|
|
2674
|
-
}
|
|
2675
|
-
|
|
2676
|
-
export namespace StartJobResult {
|
|
2677
|
-
/**
|
|
2678
|
-
* @internal
|
|
2679
|
-
*/
|
|
2680
|
-
export const filterSensitiveLog = (obj: StartJobResult): any => ({
|
|
2681
|
-
...obj,
|
|
2682
|
-
});
|
|
2683
|
-
}
|
|
2684
|
-
|
|
2685
|
-
/**
|
|
2686
|
-
* <p> The request structure for the stop job request. </p>
|
|
2687
|
-
*/
|
|
2688
|
-
export interface StopJobRequest {
|
|
2689
|
-
/**
|
|
2690
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2691
|
-
*/
|
|
2692
|
-
appId: string | undefined;
|
|
2693
|
-
|
|
2694
|
-
/**
|
|
2695
|
-
* <p> The name for the branch, for the job. </p>
|
|
2696
|
-
*/
|
|
2697
|
-
branchName: string | undefined;
|
|
2698
|
-
|
|
2699
|
-
/**
|
|
2700
|
-
* <p> The unique id for the job. </p>
|
|
2701
|
-
*/
|
|
2702
|
-
jobId: string | undefined;
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
|
-
export namespace StopJobRequest {
|
|
2706
|
-
/**
|
|
2707
|
-
* @internal
|
|
2708
|
-
*/
|
|
2709
|
-
export const filterSensitiveLog = (obj: StopJobRequest): any => ({
|
|
2710
|
-
...obj,
|
|
2711
|
-
});
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
/**
|
|
2715
|
-
* <p> The result structure for the stop job request. </p>
|
|
2716
|
-
*/
|
|
2717
|
-
export interface StopJobResult {
|
|
2718
|
-
/**
|
|
2719
|
-
* <p> The summary for the job. </p>
|
|
2720
|
-
*/
|
|
2721
|
-
jobSummary: JobSummary | undefined;
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
export namespace StopJobResult {
|
|
2725
|
-
/**
|
|
2726
|
-
* @internal
|
|
2727
|
-
*/
|
|
2728
|
-
export const filterSensitiveLog = (obj: StopJobResult): any => ({
|
|
2729
|
-
...obj,
|
|
2730
|
-
});
|
|
2731
|
-
}
|
|
2732
|
-
|
|
2733
|
-
/**
|
|
2734
|
-
* <p> The request structure to tag a resource with a tag key and value. </p>
|
|
2735
|
-
*/
|
|
2736
|
-
export interface TagResourceRequest {
|
|
2737
|
-
/**
|
|
2738
|
-
* <p> The Amazon Resource Name (ARN) to use to tag a resource. </p>
|
|
2739
|
-
*/
|
|
2740
|
-
resourceArn: string | undefined;
|
|
2741
|
-
|
|
2742
|
-
/**
|
|
2743
|
-
* <p> The tags used to tag the resource. </p>
|
|
2744
|
-
*/
|
|
2745
|
-
tags: { [key: string]: string } | undefined;
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
export namespace TagResourceRequest {
|
|
2749
|
-
/**
|
|
2750
|
-
* @internal
|
|
2751
|
-
*/
|
|
2752
|
-
export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
|
|
2753
|
-
...obj,
|
|
2754
|
-
});
|
|
2755
|
-
}
|
|
2756
|
-
|
|
2757
|
-
/**
|
|
2758
|
-
* <p> The response for the tag resource request. </p>
|
|
2759
|
-
*/
|
|
2760
|
-
export interface TagResourceResponse {}
|
|
2761
|
-
|
|
2762
|
-
export namespace TagResourceResponse {
|
|
2763
|
-
/**
|
|
2764
|
-
* @internal
|
|
2765
|
-
*/
|
|
2766
|
-
export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
|
|
2767
|
-
...obj,
|
|
2768
|
-
});
|
|
2769
|
-
}
|
|
2770
|
-
|
|
2771
|
-
/**
|
|
2772
|
-
* <p> The request structure for the untag resource request. </p>
|
|
2773
|
-
*/
|
|
2774
|
-
export interface UntagResourceRequest {
|
|
2775
|
-
/**
|
|
2776
|
-
* <p> The Amazon Resource Name (ARN) to use to untag a resource. </p>
|
|
2777
|
-
*/
|
|
2778
|
-
resourceArn: string | undefined;
|
|
2779
|
-
|
|
2780
|
-
/**
|
|
2781
|
-
* <p> The tag keys to use to untag a resource. </p>
|
|
2782
|
-
*/
|
|
2783
|
-
tagKeys: string[] | undefined;
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
export namespace UntagResourceRequest {
|
|
2787
|
-
/**
|
|
2788
|
-
* @internal
|
|
2789
|
-
*/
|
|
2790
|
-
export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
|
|
2791
|
-
...obj,
|
|
2792
|
-
});
|
|
2793
|
-
}
|
|
2794
|
-
|
|
2795
|
-
/**
|
|
2796
|
-
* <p> The response for the untag resource request. </p>
|
|
2797
|
-
*/
|
|
2798
|
-
export interface UntagResourceResponse {}
|
|
2799
|
-
|
|
2800
|
-
export namespace UntagResourceResponse {
|
|
2801
|
-
/**
|
|
2802
|
-
* @internal
|
|
2803
|
-
*/
|
|
2804
|
-
export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
|
|
2805
|
-
...obj,
|
|
2806
|
-
});
|
|
2807
|
-
}
|
|
2808
|
-
|
|
2809
|
-
/**
|
|
2810
|
-
* <p> The request structure for the update app request. </p>
|
|
2811
|
-
*/
|
|
2812
|
-
export interface UpdateAppRequest {
|
|
2813
|
-
/**
|
|
2814
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2815
|
-
*/
|
|
2816
|
-
appId: string | undefined;
|
|
2817
|
-
|
|
2818
|
-
/**
|
|
2819
|
-
* <p> The name for an Amplify app. </p>
|
|
2820
|
-
*/
|
|
2821
|
-
name?: string;
|
|
2822
|
-
|
|
2823
|
-
/**
|
|
2824
|
-
* <p> The description for an Amplify app. </p>
|
|
2825
|
-
*/
|
|
2826
|
-
description?: string;
|
|
2827
|
-
|
|
2828
|
-
/**
|
|
2829
|
-
* <p> The platform for an Amplify app. </p>
|
|
2830
|
-
*/
|
|
2831
|
-
platform?: Platform | string;
|
|
2832
|
-
|
|
2833
|
-
/**
|
|
2834
|
-
* <p> The AWS Identity and Access Management (IAM) service role for an Amplify app. </p>
|
|
2835
|
-
*/
|
|
2836
|
-
iamServiceRoleArn?: string;
|
|
2837
|
-
|
|
2838
|
-
/**
|
|
2839
|
-
* <p> The environment variables for an Amplify app. </p>
|
|
2840
|
-
*/
|
|
2841
|
-
environmentVariables?: { [key: string]: string };
|
|
2842
|
-
|
|
2843
|
-
/**
|
|
2844
|
-
* <p> Enables branch auto-building for an Amplify app. </p>
|
|
2845
|
-
*/
|
|
2846
|
-
enableBranchAutoBuild?: boolean;
|
|
2847
|
-
|
|
2848
|
-
/**
|
|
2849
|
-
* <p> Automatically disconnects a branch in the Amplify Console when you delete a branch
|
|
2850
|
-
* from your Git repository. </p>
|
|
2851
|
-
*/
|
|
2852
|
-
enableBranchAutoDeletion?: boolean;
|
|
2853
|
-
|
|
2854
|
-
/**
|
|
2855
|
-
* <p> Enables basic authorization for an Amplify app. </p>
|
|
2856
|
-
*/
|
|
2857
|
-
enableBasicAuth?: boolean;
|
|
2858
|
-
|
|
2859
|
-
/**
|
|
2860
|
-
* <p> The basic authorization credentials for an Amplify app. </p>
|
|
2861
|
-
*/
|
|
2862
|
-
basicAuthCredentials?: string;
|
|
2863
|
-
|
|
2864
|
-
/**
|
|
2865
|
-
* <p> The custom redirect and rewrite rules for an Amplify app. </p>
|
|
2866
|
-
*/
|
|
2867
|
-
customRules?: CustomRule[];
|
|
2868
|
-
|
|
2869
|
-
/**
|
|
2870
|
-
* <p> The build specification (build spec) for an Amplify app. </p>
|
|
2871
|
-
*/
|
|
2872
|
-
buildSpec?: string;
|
|
2873
|
-
|
|
2874
|
-
/**
|
|
2875
|
-
* <p>The custom HTTP headers for an Amplify app.</p>
|
|
2876
|
-
*/
|
|
2877
|
-
customHeaders?: string;
|
|
2878
|
-
|
|
2879
|
-
/**
|
|
2880
|
-
* <p> Enables automated branch creation for an Amplify app. </p>
|
|
2881
|
-
*/
|
|
2882
|
-
enableAutoBranchCreation?: boolean;
|
|
2883
|
-
|
|
2884
|
-
/**
|
|
2885
|
-
* <p> Describes the automated branch creation glob patterns for an Amplify app. </p>
|
|
2886
|
-
*/
|
|
2887
|
-
autoBranchCreationPatterns?: string[];
|
|
2888
|
-
|
|
2889
|
-
/**
|
|
2890
|
-
* <p> The automated branch creation configuration for an Amplify app. </p>
|
|
2891
|
-
*/
|
|
2892
|
-
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
|
2893
|
-
|
|
2894
|
-
/**
|
|
2895
|
-
* <p> The name of the repository for an Amplify app </p>
|
|
2896
|
-
*/
|
|
2897
|
-
repository?: string;
|
|
2898
|
-
|
|
2899
|
-
/**
|
|
2900
|
-
* <p> The OAuth token for a third-party source control system for an Amplify app. The token
|
|
2901
|
-
* is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
|
|
2902
|
-
* </p>
|
|
2903
|
-
*/
|
|
2904
|
-
oauthToken?: string;
|
|
2905
|
-
|
|
2906
|
-
/**
|
|
2907
|
-
* <p> The personal access token for a third-party source control system for an Amplify app.
|
|
2908
|
-
* The token is used to create webhook and a read-only deploy key. The token is not stored.
|
|
2909
|
-
* </p>
|
|
2910
|
-
*/
|
|
2911
|
-
accessToken?: string;
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
|
-
export namespace UpdateAppRequest {
|
|
2915
|
-
/**
|
|
2916
|
-
* @internal
|
|
2917
|
-
*/
|
|
2918
|
-
export const filterSensitiveLog = (obj: UpdateAppRequest): any => ({
|
|
2919
|
-
...obj,
|
|
2920
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
2921
|
-
...(obj.autoBranchCreationConfig && {
|
|
2922
|
-
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
|
|
2923
|
-
}),
|
|
2924
|
-
...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }),
|
|
2925
|
-
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
2926
|
-
});
|
|
2927
|
-
}
|
|
2928
|
-
|
|
2929
|
-
/**
|
|
2930
|
-
* <p> The result structure for an Amplify app update request. </p>
|
|
2931
|
-
*/
|
|
2932
|
-
export interface UpdateAppResult {
|
|
2933
|
-
/**
|
|
2934
|
-
* <p> Represents the updated Amplify app. </p>
|
|
2935
|
-
*/
|
|
2936
|
-
app: App | undefined;
|
|
2937
|
-
}
|
|
2938
|
-
|
|
2939
|
-
export namespace UpdateAppResult {
|
|
2940
|
-
/**
|
|
2941
|
-
* @internal
|
|
2942
|
-
*/
|
|
2943
|
-
export const filterSensitiveLog = (obj: UpdateAppResult): any => ({
|
|
2944
|
-
...obj,
|
|
2945
|
-
...(obj.app && { app: App.filterSensitiveLog(obj.app) }),
|
|
2946
|
-
});
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
/**
|
|
2950
|
-
* <p> The request structure for the update branch request. </p>
|
|
2951
|
-
*/
|
|
2952
|
-
export interface UpdateBranchRequest {
|
|
2953
|
-
/**
|
|
2954
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
2955
|
-
*/
|
|
2956
|
-
appId: string | undefined;
|
|
2957
|
-
|
|
2958
|
-
/**
|
|
2959
|
-
* <p> The name for the branch. </p>
|
|
2960
|
-
*/
|
|
2961
|
-
branchName: string | undefined;
|
|
2962
|
-
|
|
2963
|
-
/**
|
|
2964
|
-
* <p> The description for the branch. </p>
|
|
2965
|
-
*/
|
|
2966
|
-
description?: string;
|
|
2967
|
-
|
|
2968
|
-
/**
|
|
2969
|
-
* <p> The framework for the branch. </p>
|
|
2970
|
-
*/
|
|
2971
|
-
framework?: string;
|
|
2972
|
-
|
|
2973
|
-
/**
|
|
2974
|
-
* <p> Describes the current stage for the branch. </p>
|
|
2975
|
-
*/
|
|
2976
|
-
stage?: Stage | string;
|
|
2977
|
-
|
|
2978
|
-
/**
|
|
2979
|
-
* <p> Enables notifications for the branch. </p>
|
|
2980
|
-
*/
|
|
2981
|
-
enableNotification?: boolean;
|
|
2982
|
-
|
|
2983
|
-
/**
|
|
2984
|
-
* <p> Enables auto building for the branch. </p>
|
|
2985
|
-
*/
|
|
2986
|
-
enableAutoBuild?: boolean;
|
|
2987
|
-
|
|
2988
|
-
/**
|
|
2989
|
-
* <p> The environment variables for the branch. </p>
|
|
2990
|
-
*/
|
|
2991
|
-
environmentVariables?: { [key: string]: string };
|
|
2992
|
-
|
|
2993
|
-
/**
|
|
2994
|
-
* <p> The basic authorization credentials for the branch. </p>
|
|
2995
|
-
*/
|
|
2996
|
-
basicAuthCredentials?: string;
|
|
2997
|
-
|
|
2998
|
-
/**
|
|
2999
|
-
* <p> Enables basic authorization for the branch. </p>
|
|
3000
|
-
*/
|
|
3001
|
-
enableBasicAuth?: boolean;
|
|
3002
|
-
|
|
3003
|
-
/**
|
|
3004
|
-
* <p>Enables performance mode for the branch.</p>
|
|
3005
|
-
* <p>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. </p>
|
|
3006
|
-
*/
|
|
3007
|
-
enablePerformanceMode?: boolean;
|
|
3008
|
-
|
|
3009
|
-
/**
|
|
3010
|
-
* <p> The build specification (build spec) for the branch. </p>
|
|
3011
|
-
*/
|
|
3012
|
-
buildSpec?: string;
|
|
3013
|
-
|
|
3014
|
-
/**
|
|
3015
|
-
* <p> The content Time to Live (TTL) for the website in seconds. </p>
|
|
3016
|
-
*/
|
|
3017
|
-
ttl?: string;
|
|
3018
|
-
|
|
3019
|
-
/**
|
|
3020
|
-
* <p> The display name for a branch. This is used as the default domain prefix. </p>
|
|
3021
|
-
*/
|
|
3022
|
-
displayName?: string;
|
|
3023
|
-
|
|
3024
|
-
/**
|
|
3025
|
-
* <p> Enables pull request previews for this branch. </p>
|
|
3026
|
-
*/
|
|
3027
|
-
enablePullRequestPreview?: boolean;
|
|
3028
|
-
|
|
3029
|
-
/**
|
|
3030
|
-
* <p> The Amplify environment name for the pull request. </p>
|
|
3031
|
-
*/
|
|
3032
|
-
pullRequestEnvironmentName?: string;
|
|
3033
|
-
|
|
3034
|
-
/**
|
|
3035
|
-
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
|
|
3036
|
-
* app. </p>
|
|
3037
|
-
*/
|
|
3038
|
-
backendEnvironmentArn?: string;
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
export namespace UpdateBranchRequest {
|
|
3042
|
-
/**
|
|
3043
|
-
* @internal
|
|
3044
|
-
*/
|
|
3045
|
-
export const filterSensitiveLog = (obj: UpdateBranchRequest): any => ({
|
|
3046
|
-
...obj,
|
|
3047
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
3048
|
-
});
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
/**
|
|
3052
|
-
* <p> The result structure for the update branch request. </p>
|
|
3053
|
-
*/
|
|
3054
|
-
export interface UpdateBranchResult {
|
|
3055
|
-
/**
|
|
3056
|
-
* <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
|
|
3057
|
-
*/
|
|
3058
|
-
branch: Branch | undefined;
|
|
3059
|
-
}
|
|
3060
|
-
|
|
3061
|
-
export namespace UpdateBranchResult {
|
|
3062
|
-
/**
|
|
3063
|
-
* @internal
|
|
3064
|
-
*/
|
|
3065
|
-
export const filterSensitiveLog = (obj: UpdateBranchResult): any => ({
|
|
3066
|
-
...obj,
|
|
3067
|
-
...(obj.branch && { branch: Branch.filterSensitiveLog(obj.branch) }),
|
|
3068
|
-
});
|
|
3069
|
-
}
|
|
3070
|
-
|
|
3071
|
-
/**
|
|
3072
|
-
* <p> The request structure for the update domain association request. </p>
|
|
3073
|
-
*/
|
|
3074
|
-
export interface UpdateDomainAssociationRequest {
|
|
3075
|
-
/**
|
|
3076
|
-
* <p> The unique ID for an Amplify app. </p>
|
|
3077
|
-
*/
|
|
3078
|
-
appId: string | undefined;
|
|
3079
|
-
|
|
3080
|
-
/**
|
|
3081
|
-
* <p> The name of the domain. </p>
|
|
3082
|
-
*/
|
|
3083
|
-
domainName: string | undefined;
|
|
3084
|
-
|
|
3085
|
-
/**
|
|
3086
|
-
* <p> Enables the automated creation of subdomains for branches. </p>
|
|
3087
|
-
*/
|
|
3088
|
-
enableAutoSubDomain?: boolean;
|
|
3089
|
-
|
|
3090
|
-
/**
|
|
3091
|
-
* <p> Describes the settings for the subdomain. </p>
|
|
3092
|
-
*/
|
|
3093
|
-
subDomainSettings: SubDomainSetting[] | undefined;
|
|
3094
|
-
|
|
3095
|
-
/**
|
|
3096
|
-
* <p> Sets the branch patterns for automatic subdomain creation. </p>
|
|
3097
|
-
*/
|
|
3098
|
-
autoSubDomainCreationPatterns?: string[];
|
|
3099
|
-
|
|
3100
|
-
/**
|
|
3101
|
-
* <p> The required AWS Identity and Access Management (IAM) service role for the Amazon
|
|
3102
|
-
* Resource Name (ARN) for automatically creating subdomains. </p>
|
|
3103
|
-
*/
|
|
3104
|
-
autoSubDomainIAMRole?: string;
|
|
3105
|
-
}
|
|
3106
|
-
|
|
3107
|
-
export namespace UpdateDomainAssociationRequest {
|
|
3108
|
-
/**
|
|
3109
|
-
* @internal
|
|
3110
|
-
*/
|
|
3111
|
-
export const filterSensitiveLog = (obj: UpdateDomainAssociationRequest): any => ({
|
|
3112
|
-
...obj,
|
|
3113
|
-
});
|
|
3114
|
-
}
|
|
3115
|
-
|
|
3116
|
-
/**
|
|
3117
|
-
* <p> The result structure for the update domain association request. </p>
|
|
3118
|
-
*/
|
|
3119
|
-
export interface UpdateDomainAssociationResult {
|
|
3120
|
-
/**
|
|
3121
|
-
* <p> Describes a domain association, which associates a custom domain with an Amplify app.
|
|
3122
|
-
* </p>
|
|
3123
|
-
*/
|
|
3124
|
-
domainAssociation: DomainAssociation | undefined;
|
|
3125
|
-
}
|
|
3126
|
-
|
|
3127
|
-
export namespace UpdateDomainAssociationResult {
|
|
3128
|
-
/**
|
|
3129
|
-
* @internal
|
|
3130
|
-
*/
|
|
3131
|
-
export const filterSensitiveLog = (obj: UpdateDomainAssociationResult): any => ({
|
|
3132
|
-
...obj,
|
|
3133
|
-
});
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
|
-
/**
|
|
3137
|
-
* <p> The request structure for the update webhook request. </p>
|
|
3138
|
-
*/
|
|
3139
|
-
export interface UpdateWebhookRequest {
|
|
3140
|
-
/**
|
|
3141
|
-
* <p> The unique ID for a webhook. </p>
|
|
3142
|
-
*/
|
|
3143
|
-
webhookId: string | undefined;
|
|
3144
|
-
|
|
3145
|
-
/**
|
|
3146
|
-
* <p> The name for a branch that is part of an Amplify app. </p>
|
|
3147
|
-
*/
|
|
3148
|
-
branchName?: string;
|
|
3149
|
-
|
|
3150
|
-
/**
|
|
3151
|
-
* <p> The description for a webhook. </p>
|
|
3152
|
-
*/
|
|
3153
|
-
description?: string;
|
|
3154
|
-
}
|
|
3155
|
-
|
|
3156
|
-
export namespace UpdateWebhookRequest {
|
|
3157
|
-
/**
|
|
3158
|
-
* @internal
|
|
3159
|
-
*/
|
|
3160
|
-
export const filterSensitiveLog = (obj: UpdateWebhookRequest): any => ({
|
|
3161
|
-
...obj,
|
|
3162
|
-
});
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
/**
|
|
3166
|
-
* <p> The result structure for the update webhook request. </p>
|
|
3167
|
-
*/
|
|
3168
|
-
export interface UpdateWebhookResult {
|
|
3169
|
-
/**
|
|
3170
|
-
* <p> Describes a webhook that connects repository events to an Amplify app. </p>
|
|
3171
|
-
*/
|
|
3172
|
-
webhook: Webhook | undefined;
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
|
-
export namespace UpdateWebhookResult {
|
|
3176
|
-
/**
|
|
3177
|
-
* @internal
|
|
3178
|
-
*/
|
|
3179
|
-
export const filterSensitiveLog = (obj: UpdateWebhookResult): any => ({
|
|
3180
|
-
...obj,
|
|
3181
|
-
});
|
|
3182
|
-
}
|