@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/Amplify.ts
DELETED
|
@@ -1,1240 +0,0 @@
|
|
|
1
|
-
import { AmplifyClient } from "./AmplifyClient";
|
|
2
|
-
import { CreateAppCommand, CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
3
|
-
import {
|
|
4
|
-
CreateBackendEnvironmentCommand,
|
|
5
|
-
CreateBackendEnvironmentCommandInput,
|
|
6
|
-
CreateBackendEnvironmentCommandOutput,
|
|
7
|
-
} from "./commands/CreateBackendEnvironmentCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateBranchCommand,
|
|
10
|
-
CreateBranchCommandInput,
|
|
11
|
-
CreateBranchCommandOutput,
|
|
12
|
-
} from "./commands/CreateBranchCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateDeploymentCommand,
|
|
15
|
-
CreateDeploymentCommandInput,
|
|
16
|
-
CreateDeploymentCommandOutput,
|
|
17
|
-
} from "./commands/CreateDeploymentCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateDomainAssociationCommand,
|
|
20
|
-
CreateDomainAssociationCommandInput,
|
|
21
|
-
CreateDomainAssociationCommandOutput,
|
|
22
|
-
} from "./commands/CreateDomainAssociationCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateWebhookCommand,
|
|
25
|
-
CreateWebhookCommandInput,
|
|
26
|
-
CreateWebhookCommandOutput,
|
|
27
|
-
} from "./commands/CreateWebhookCommand";
|
|
28
|
-
import { DeleteAppCommand, DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
|
|
29
|
-
import {
|
|
30
|
-
DeleteBackendEnvironmentCommand,
|
|
31
|
-
DeleteBackendEnvironmentCommandInput,
|
|
32
|
-
DeleteBackendEnvironmentCommandOutput,
|
|
33
|
-
} from "./commands/DeleteBackendEnvironmentCommand";
|
|
34
|
-
import {
|
|
35
|
-
DeleteBranchCommand,
|
|
36
|
-
DeleteBranchCommandInput,
|
|
37
|
-
DeleteBranchCommandOutput,
|
|
38
|
-
} from "./commands/DeleteBranchCommand";
|
|
39
|
-
import {
|
|
40
|
-
DeleteDomainAssociationCommand,
|
|
41
|
-
DeleteDomainAssociationCommandInput,
|
|
42
|
-
DeleteDomainAssociationCommandOutput,
|
|
43
|
-
} from "./commands/DeleteDomainAssociationCommand";
|
|
44
|
-
import { DeleteJobCommand, DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
45
|
-
import {
|
|
46
|
-
DeleteWebhookCommand,
|
|
47
|
-
DeleteWebhookCommandInput,
|
|
48
|
-
DeleteWebhookCommandOutput,
|
|
49
|
-
} from "./commands/DeleteWebhookCommand";
|
|
50
|
-
import {
|
|
51
|
-
GenerateAccessLogsCommand,
|
|
52
|
-
GenerateAccessLogsCommandInput,
|
|
53
|
-
GenerateAccessLogsCommandOutput,
|
|
54
|
-
} from "./commands/GenerateAccessLogsCommand";
|
|
55
|
-
import { GetAppCommand, GetAppCommandInput, GetAppCommandOutput } from "./commands/GetAppCommand";
|
|
56
|
-
import {
|
|
57
|
-
GetArtifactUrlCommand,
|
|
58
|
-
GetArtifactUrlCommandInput,
|
|
59
|
-
GetArtifactUrlCommandOutput,
|
|
60
|
-
} from "./commands/GetArtifactUrlCommand";
|
|
61
|
-
import {
|
|
62
|
-
GetBackendEnvironmentCommand,
|
|
63
|
-
GetBackendEnvironmentCommandInput,
|
|
64
|
-
GetBackendEnvironmentCommandOutput,
|
|
65
|
-
} from "./commands/GetBackendEnvironmentCommand";
|
|
66
|
-
import { GetBranchCommand, GetBranchCommandInput, GetBranchCommandOutput } from "./commands/GetBranchCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetDomainAssociationCommand,
|
|
69
|
-
GetDomainAssociationCommandInput,
|
|
70
|
-
GetDomainAssociationCommandOutput,
|
|
71
|
-
} from "./commands/GetDomainAssociationCommand";
|
|
72
|
-
import { GetJobCommand, GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
73
|
-
import { GetWebhookCommand, GetWebhookCommandInput, GetWebhookCommandOutput } from "./commands/GetWebhookCommand";
|
|
74
|
-
import { ListAppsCommand, ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand";
|
|
75
|
-
import {
|
|
76
|
-
ListArtifactsCommand,
|
|
77
|
-
ListArtifactsCommandInput,
|
|
78
|
-
ListArtifactsCommandOutput,
|
|
79
|
-
} from "./commands/ListArtifactsCommand";
|
|
80
|
-
import {
|
|
81
|
-
ListBackendEnvironmentsCommand,
|
|
82
|
-
ListBackendEnvironmentsCommandInput,
|
|
83
|
-
ListBackendEnvironmentsCommandOutput,
|
|
84
|
-
} from "./commands/ListBackendEnvironmentsCommand";
|
|
85
|
-
import {
|
|
86
|
-
ListBranchesCommand,
|
|
87
|
-
ListBranchesCommandInput,
|
|
88
|
-
ListBranchesCommandOutput,
|
|
89
|
-
} from "./commands/ListBranchesCommand";
|
|
90
|
-
import {
|
|
91
|
-
ListDomainAssociationsCommand,
|
|
92
|
-
ListDomainAssociationsCommandInput,
|
|
93
|
-
ListDomainAssociationsCommandOutput,
|
|
94
|
-
} from "./commands/ListDomainAssociationsCommand";
|
|
95
|
-
import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
96
|
-
import {
|
|
97
|
-
ListTagsForResourceCommand,
|
|
98
|
-
ListTagsForResourceCommandInput,
|
|
99
|
-
ListTagsForResourceCommandOutput,
|
|
100
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
101
|
-
import {
|
|
102
|
-
ListWebhooksCommand,
|
|
103
|
-
ListWebhooksCommandInput,
|
|
104
|
-
ListWebhooksCommandOutput,
|
|
105
|
-
} from "./commands/ListWebhooksCommand";
|
|
106
|
-
import {
|
|
107
|
-
StartDeploymentCommand,
|
|
108
|
-
StartDeploymentCommandInput,
|
|
109
|
-
StartDeploymentCommandOutput,
|
|
110
|
-
} from "./commands/StartDeploymentCommand";
|
|
111
|
-
import { StartJobCommand, StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
112
|
-
import { StopJobCommand, StopJobCommandInput, StopJobCommandOutput } from "./commands/StopJobCommand";
|
|
113
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
114
|
-
import {
|
|
115
|
-
UntagResourceCommand,
|
|
116
|
-
UntagResourceCommandInput,
|
|
117
|
-
UntagResourceCommandOutput,
|
|
118
|
-
} from "./commands/UntagResourceCommand";
|
|
119
|
-
import { UpdateAppCommand, UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand";
|
|
120
|
-
import {
|
|
121
|
-
UpdateBranchCommand,
|
|
122
|
-
UpdateBranchCommandInput,
|
|
123
|
-
UpdateBranchCommandOutput,
|
|
124
|
-
} from "./commands/UpdateBranchCommand";
|
|
125
|
-
import {
|
|
126
|
-
UpdateDomainAssociationCommand,
|
|
127
|
-
UpdateDomainAssociationCommandInput,
|
|
128
|
-
UpdateDomainAssociationCommandOutput,
|
|
129
|
-
} from "./commands/UpdateDomainAssociationCommand";
|
|
130
|
-
import {
|
|
131
|
-
UpdateWebhookCommand,
|
|
132
|
-
UpdateWebhookCommandInput,
|
|
133
|
-
UpdateWebhookCommandOutput,
|
|
134
|
-
} from "./commands/UpdateWebhookCommand";
|
|
135
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
|
|
139
|
-
* The Amplify Console provides a continuous delivery and hosting service for web
|
|
140
|
-
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
|
|
141
|
-
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
|
|
142
|
-
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
|
|
143
|
-
* </p>
|
|
144
|
-
*/
|
|
145
|
-
export class Amplify extends AmplifyClient {
|
|
146
|
-
/**
|
|
147
|
-
* <p> Creates a new Amplify app. </p>
|
|
148
|
-
*/
|
|
149
|
-
public createApp(args: CreateAppCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppCommandOutput>;
|
|
150
|
-
public createApp(args: CreateAppCommandInput, cb: (err: any, data?: CreateAppCommandOutput) => void): void;
|
|
151
|
-
public createApp(
|
|
152
|
-
args: CreateAppCommandInput,
|
|
153
|
-
options: __HttpHandlerOptions,
|
|
154
|
-
cb: (err: any, data?: CreateAppCommandOutput) => void
|
|
155
|
-
): void;
|
|
156
|
-
public createApp(
|
|
157
|
-
args: CreateAppCommandInput,
|
|
158
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAppCommandOutput) => void),
|
|
159
|
-
cb?: (err: any, data?: CreateAppCommandOutput) => void
|
|
160
|
-
): Promise<CreateAppCommandOutput> | void {
|
|
161
|
-
const command = new CreateAppCommand(args);
|
|
162
|
-
if (typeof optionsOrCb === "function") {
|
|
163
|
-
this.send(command, optionsOrCb);
|
|
164
|
-
} else if (typeof cb === "function") {
|
|
165
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
-
} else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* <p> Creates a new backend environment for an Amplify app. </p>
|
|
174
|
-
*/
|
|
175
|
-
public createBackendEnvironment(
|
|
176
|
-
args: CreateBackendEnvironmentCommandInput,
|
|
177
|
-
options?: __HttpHandlerOptions
|
|
178
|
-
): Promise<CreateBackendEnvironmentCommandOutput>;
|
|
179
|
-
public createBackendEnvironment(
|
|
180
|
-
args: CreateBackendEnvironmentCommandInput,
|
|
181
|
-
cb: (err: any, data?: CreateBackendEnvironmentCommandOutput) => void
|
|
182
|
-
): void;
|
|
183
|
-
public createBackendEnvironment(
|
|
184
|
-
args: CreateBackendEnvironmentCommandInput,
|
|
185
|
-
options: __HttpHandlerOptions,
|
|
186
|
-
cb: (err: any, data?: CreateBackendEnvironmentCommandOutput) => void
|
|
187
|
-
): void;
|
|
188
|
-
public createBackendEnvironment(
|
|
189
|
-
args: CreateBackendEnvironmentCommandInput,
|
|
190
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBackendEnvironmentCommandOutput) => void),
|
|
191
|
-
cb?: (err: any, data?: CreateBackendEnvironmentCommandOutput) => void
|
|
192
|
-
): Promise<CreateBackendEnvironmentCommandOutput> | void {
|
|
193
|
-
const command = new CreateBackendEnvironmentCommand(args);
|
|
194
|
-
if (typeof optionsOrCb === "function") {
|
|
195
|
-
this.send(command, optionsOrCb);
|
|
196
|
-
} else if (typeof cb === "function") {
|
|
197
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
198
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
199
|
-
} else {
|
|
200
|
-
return this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* <p> Creates a new branch for an Amplify app. </p>
|
|
206
|
-
*/
|
|
207
|
-
public createBranch(
|
|
208
|
-
args: CreateBranchCommandInput,
|
|
209
|
-
options?: __HttpHandlerOptions
|
|
210
|
-
): Promise<CreateBranchCommandOutput>;
|
|
211
|
-
public createBranch(args: CreateBranchCommandInput, cb: (err: any, data?: CreateBranchCommandOutput) => void): void;
|
|
212
|
-
public createBranch(
|
|
213
|
-
args: CreateBranchCommandInput,
|
|
214
|
-
options: __HttpHandlerOptions,
|
|
215
|
-
cb: (err: any, data?: CreateBranchCommandOutput) => void
|
|
216
|
-
): void;
|
|
217
|
-
public createBranch(
|
|
218
|
-
args: CreateBranchCommandInput,
|
|
219
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBranchCommandOutput) => void),
|
|
220
|
-
cb?: (err: any, data?: CreateBranchCommandOutput) => void
|
|
221
|
-
): Promise<CreateBranchCommandOutput> | void {
|
|
222
|
-
const command = new CreateBranchCommand(args);
|
|
223
|
-
if (typeof optionsOrCb === "function") {
|
|
224
|
-
this.send(command, optionsOrCb);
|
|
225
|
-
} else if (typeof cb === "function") {
|
|
226
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
227
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
228
|
-
} else {
|
|
229
|
-
return this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* <p> Creates a deployment for a manually deployed Amplify app. Manually deployed apps are
|
|
235
|
-
* not connected to a repository. </p>
|
|
236
|
-
*/
|
|
237
|
-
public createDeployment(
|
|
238
|
-
args: CreateDeploymentCommandInput,
|
|
239
|
-
options?: __HttpHandlerOptions
|
|
240
|
-
): Promise<CreateDeploymentCommandOutput>;
|
|
241
|
-
public createDeployment(
|
|
242
|
-
args: CreateDeploymentCommandInput,
|
|
243
|
-
cb: (err: any, data?: CreateDeploymentCommandOutput) => void
|
|
244
|
-
): void;
|
|
245
|
-
public createDeployment(
|
|
246
|
-
args: CreateDeploymentCommandInput,
|
|
247
|
-
options: __HttpHandlerOptions,
|
|
248
|
-
cb: (err: any, data?: CreateDeploymentCommandOutput) => void
|
|
249
|
-
): void;
|
|
250
|
-
public createDeployment(
|
|
251
|
-
args: CreateDeploymentCommandInput,
|
|
252
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentCommandOutput) => void),
|
|
253
|
-
cb?: (err: any, data?: CreateDeploymentCommandOutput) => void
|
|
254
|
-
): Promise<CreateDeploymentCommandOutput> | void {
|
|
255
|
-
const command = new CreateDeploymentCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
} else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
-
} else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* <p> Creates a new domain association for an Amplify app. This action associates a custom
|
|
268
|
-
* domain with the Amplify app </p>
|
|
269
|
-
*/
|
|
270
|
-
public createDomainAssociation(
|
|
271
|
-
args: CreateDomainAssociationCommandInput,
|
|
272
|
-
options?: __HttpHandlerOptions
|
|
273
|
-
): Promise<CreateDomainAssociationCommandOutput>;
|
|
274
|
-
public createDomainAssociation(
|
|
275
|
-
args: CreateDomainAssociationCommandInput,
|
|
276
|
-
cb: (err: any, data?: CreateDomainAssociationCommandOutput) => void
|
|
277
|
-
): void;
|
|
278
|
-
public createDomainAssociation(
|
|
279
|
-
args: CreateDomainAssociationCommandInput,
|
|
280
|
-
options: __HttpHandlerOptions,
|
|
281
|
-
cb: (err: any, data?: CreateDomainAssociationCommandOutput) => void
|
|
282
|
-
): void;
|
|
283
|
-
public createDomainAssociation(
|
|
284
|
-
args: CreateDomainAssociationCommandInput,
|
|
285
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDomainAssociationCommandOutput) => void),
|
|
286
|
-
cb?: (err: any, data?: CreateDomainAssociationCommandOutput) => void
|
|
287
|
-
): Promise<CreateDomainAssociationCommandOutput> | void {
|
|
288
|
-
const command = new CreateDomainAssociationCommand(args);
|
|
289
|
-
if (typeof optionsOrCb === "function") {
|
|
290
|
-
this.send(command, optionsOrCb);
|
|
291
|
-
} else if (typeof cb === "function") {
|
|
292
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
293
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
294
|
-
} else {
|
|
295
|
-
return this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* <p> Creates a new webhook on an Amplify app. </p>
|
|
301
|
-
*/
|
|
302
|
-
public createWebhook(
|
|
303
|
-
args: CreateWebhookCommandInput,
|
|
304
|
-
options?: __HttpHandlerOptions
|
|
305
|
-
): Promise<CreateWebhookCommandOutput>;
|
|
306
|
-
public createWebhook(
|
|
307
|
-
args: CreateWebhookCommandInput,
|
|
308
|
-
cb: (err: any, data?: CreateWebhookCommandOutput) => void
|
|
309
|
-
): void;
|
|
310
|
-
public createWebhook(
|
|
311
|
-
args: CreateWebhookCommandInput,
|
|
312
|
-
options: __HttpHandlerOptions,
|
|
313
|
-
cb: (err: any, data?: CreateWebhookCommandOutput) => void
|
|
314
|
-
): void;
|
|
315
|
-
public createWebhook(
|
|
316
|
-
args: CreateWebhookCommandInput,
|
|
317
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWebhookCommandOutput) => void),
|
|
318
|
-
cb?: (err: any, data?: CreateWebhookCommandOutput) => void
|
|
319
|
-
): Promise<CreateWebhookCommandOutput> | void {
|
|
320
|
-
const command = new CreateWebhookCommand(args);
|
|
321
|
-
if (typeof optionsOrCb === "function") {
|
|
322
|
-
this.send(command, optionsOrCb);
|
|
323
|
-
} else if (typeof cb === "function") {
|
|
324
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
325
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
326
|
-
} else {
|
|
327
|
-
return this.send(command, optionsOrCb);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* <p> Deletes an existing Amplify app specified by an app ID. </p>
|
|
333
|
-
*/
|
|
334
|
-
public deleteApp(args: DeleteAppCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppCommandOutput>;
|
|
335
|
-
public deleteApp(args: DeleteAppCommandInput, cb: (err: any, data?: DeleteAppCommandOutput) => void): void;
|
|
336
|
-
public deleteApp(
|
|
337
|
-
args: DeleteAppCommandInput,
|
|
338
|
-
options: __HttpHandlerOptions,
|
|
339
|
-
cb: (err: any, data?: DeleteAppCommandOutput) => void
|
|
340
|
-
): void;
|
|
341
|
-
public deleteApp(
|
|
342
|
-
args: DeleteAppCommandInput,
|
|
343
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAppCommandOutput) => void),
|
|
344
|
-
cb?: (err: any, data?: DeleteAppCommandOutput) => void
|
|
345
|
-
): Promise<DeleteAppCommandOutput> | void {
|
|
346
|
-
const command = new DeleteAppCommand(args);
|
|
347
|
-
if (typeof optionsOrCb === "function") {
|
|
348
|
-
this.send(command, optionsOrCb);
|
|
349
|
-
} else if (typeof cb === "function") {
|
|
350
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
351
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
352
|
-
} else {
|
|
353
|
-
return this.send(command, optionsOrCb);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* <p> Deletes a backend environment for an Amplify app. </p>
|
|
359
|
-
*/
|
|
360
|
-
public deleteBackendEnvironment(
|
|
361
|
-
args: DeleteBackendEnvironmentCommandInput,
|
|
362
|
-
options?: __HttpHandlerOptions
|
|
363
|
-
): Promise<DeleteBackendEnvironmentCommandOutput>;
|
|
364
|
-
public deleteBackendEnvironment(
|
|
365
|
-
args: DeleteBackendEnvironmentCommandInput,
|
|
366
|
-
cb: (err: any, data?: DeleteBackendEnvironmentCommandOutput) => void
|
|
367
|
-
): void;
|
|
368
|
-
public deleteBackendEnvironment(
|
|
369
|
-
args: DeleteBackendEnvironmentCommandInput,
|
|
370
|
-
options: __HttpHandlerOptions,
|
|
371
|
-
cb: (err: any, data?: DeleteBackendEnvironmentCommandOutput) => void
|
|
372
|
-
): void;
|
|
373
|
-
public deleteBackendEnvironment(
|
|
374
|
-
args: DeleteBackendEnvironmentCommandInput,
|
|
375
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBackendEnvironmentCommandOutput) => void),
|
|
376
|
-
cb?: (err: any, data?: DeleteBackendEnvironmentCommandOutput) => void
|
|
377
|
-
): Promise<DeleteBackendEnvironmentCommandOutput> | void {
|
|
378
|
-
const command = new DeleteBackendEnvironmentCommand(args);
|
|
379
|
-
if (typeof optionsOrCb === "function") {
|
|
380
|
-
this.send(command, optionsOrCb);
|
|
381
|
-
} else if (typeof cb === "function") {
|
|
382
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
383
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
384
|
-
} else {
|
|
385
|
-
return this.send(command, optionsOrCb);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* <p> Deletes a branch for an Amplify app. </p>
|
|
391
|
-
*/
|
|
392
|
-
public deleteBranch(
|
|
393
|
-
args: DeleteBranchCommandInput,
|
|
394
|
-
options?: __HttpHandlerOptions
|
|
395
|
-
): Promise<DeleteBranchCommandOutput>;
|
|
396
|
-
public deleteBranch(args: DeleteBranchCommandInput, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void;
|
|
397
|
-
public deleteBranch(
|
|
398
|
-
args: DeleteBranchCommandInput,
|
|
399
|
-
options: __HttpHandlerOptions,
|
|
400
|
-
cb: (err: any, data?: DeleteBranchCommandOutput) => void
|
|
401
|
-
): void;
|
|
402
|
-
public deleteBranch(
|
|
403
|
-
args: DeleteBranchCommandInput,
|
|
404
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBranchCommandOutput) => void),
|
|
405
|
-
cb?: (err: any, data?: DeleteBranchCommandOutput) => void
|
|
406
|
-
): Promise<DeleteBranchCommandOutput> | void {
|
|
407
|
-
const command = new DeleteBranchCommand(args);
|
|
408
|
-
if (typeof optionsOrCb === "function") {
|
|
409
|
-
this.send(command, optionsOrCb);
|
|
410
|
-
} else if (typeof cb === "function") {
|
|
411
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
412
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
413
|
-
} else {
|
|
414
|
-
return this.send(command, optionsOrCb);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* <p> Deletes a domain association for an Amplify app. </p>
|
|
420
|
-
*/
|
|
421
|
-
public deleteDomainAssociation(
|
|
422
|
-
args: DeleteDomainAssociationCommandInput,
|
|
423
|
-
options?: __HttpHandlerOptions
|
|
424
|
-
): Promise<DeleteDomainAssociationCommandOutput>;
|
|
425
|
-
public deleteDomainAssociation(
|
|
426
|
-
args: DeleteDomainAssociationCommandInput,
|
|
427
|
-
cb: (err: any, data?: DeleteDomainAssociationCommandOutput) => void
|
|
428
|
-
): void;
|
|
429
|
-
public deleteDomainAssociation(
|
|
430
|
-
args: DeleteDomainAssociationCommandInput,
|
|
431
|
-
options: __HttpHandlerOptions,
|
|
432
|
-
cb: (err: any, data?: DeleteDomainAssociationCommandOutput) => void
|
|
433
|
-
): void;
|
|
434
|
-
public deleteDomainAssociation(
|
|
435
|
-
args: DeleteDomainAssociationCommandInput,
|
|
436
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDomainAssociationCommandOutput) => void),
|
|
437
|
-
cb?: (err: any, data?: DeleteDomainAssociationCommandOutput) => void
|
|
438
|
-
): Promise<DeleteDomainAssociationCommandOutput> | void {
|
|
439
|
-
const command = new DeleteDomainAssociationCommand(args);
|
|
440
|
-
if (typeof optionsOrCb === "function") {
|
|
441
|
-
this.send(command, optionsOrCb);
|
|
442
|
-
} else if (typeof cb === "function") {
|
|
443
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
-
} else {
|
|
446
|
-
return this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* <p> Deletes a job for a branch of an Amplify app. </p>
|
|
452
|
-
*/
|
|
453
|
-
public deleteJob(args: DeleteJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobCommandOutput>;
|
|
454
|
-
public deleteJob(args: DeleteJobCommandInput, cb: (err: any, data?: DeleteJobCommandOutput) => void): void;
|
|
455
|
-
public deleteJob(
|
|
456
|
-
args: DeleteJobCommandInput,
|
|
457
|
-
options: __HttpHandlerOptions,
|
|
458
|
-
cb: (err: any, data?: DeleteJobCommandOutput) => void
|
|
459
|
-
): void;
|
|
460
|
-
public deleteJob(
|
|
461
|
-
args: DeleteJobCommandInput,
|
|
462
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteJobCommandOutput) => void),
|
|
463
|
-
cb?: (err: any, data?: DeleteJobCommandOutput) => void
|
|
464
|
-
): Promise<DeleteJobCommandOutput> | void {
|
|
465
|
-
const command = new DeleteJobCommand(args);
|
|
466
|
-
if (typeof optionsOrCb === "function") {
|
|
467
|
-
this.send(command, optionsOrCb);
|
|
468
|
-
} else if (typeof cb === "function") {
|
|
469
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
471
|
-
} else {
|
|
472
|
-
return this.send(command, optionsOrCb);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* <p> Deletes a webhook. </p>
|
|
478
|
-
*/
|
|
479
|
-
public deleteWebhook(
|
|
480
|
-
args: DeleteWebhookCommandInput,
|
|
481
|
-
options?: __HttpHandlerOptions
|
|
482
|
-
): Promise<DeleteWebhookCommandOutput>;
|
|
483
|
-
public deleteWebhook(
|
|
484
|
-
args: DeleteWebhookCommandInput,
|
|
485
|
-
cb: (err: any, data?: DeleteWebhookCommandOutput) => void
|
|
486
|
-
): void;
|
|
487
|
-
public deleteWebhook(
|
|
488
|
-
args: DeleteWebhookCommandInput,
|
|
489
|
-
options: __HttpHandlerOptions,
|
|
490
|
-
cb: (err: any, data?: DeleteWebhookCommandOutput) => void
|
|
491
|
-
): void;
|
|
492
|
-
public deleteWebhook(
|
|
493
|
-
args: DeleteWebhookCommandInput,
|
|
494
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWebhookCommandOutput) => void),
|
|
495
|
-
cb?: (err: any, data?: DeleteWebhookCommandOutput) => void
|
|
496
|
-
): Promise<DeleteWebhookCommandOutput> | void {
|
|
497
|
-
const command = new DeleteWebhookCommand(args);
|
|
498
|
-
if (typeof optionsOrCb === "function") {
|
|
499
|
-
this.send(command, optionsOrCb);
|
|
500
|
-
} else if (typeof cb === "function") {
|
|
501
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
502
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
503
|
-
} else {
|
|
504
|
-
return this.send(command, optionsOrCb);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* <p> Returns the website access logs for a specific time range using a presigned URL.
|
|
510
|
-
* </p>
|
|
511
|
-
*/
|
|
512
|
-
public generateAccessLogs(
|
|
513
|
-
args: GenerateAccessLogsCommandInput,
|
|
514
|
-
options?: __HttpHandlerOptions
|
|
515
|
-
): Promise<GenerateAccessLogsCommandOutput>;
|
|
516
|
-
public generateAccessLogs(
|
|
517
|
-
args: GenerateAccessLogsCommandInput,
|
|
518
|
-
cb: (err: any, data?: GenerateAccessLogsCommandOutput) => void
|
|
519
|
-
): void;
|
|
520
|
-
public generateAccessLogs(
|
|
521
|
-
args: GenerateAccessLogsCommandInput,
|
|
522
|
-
options: __HttpHandlerOptions,
|
|
523
|
-
cb: (err: any, data?: GenerateAccessLogsCommandOutput) => void
|
|
524
|
-
): void;
|
|
525
|
-
public generateAccessLogs(
|
|
526
|
-
args: GenerateAccessLogsCommandInput,
|
|
527
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GenerateAccessLogsCommandOutput) => void),
|
|
528
|
-
cb?: (err: any, data?: GenerateAccessLogsCommandOutput) => void
|
|
529
|
-
): Promise<GenerateAccessLogsCommandOutput> | void {
|
|
530
|
-
const command = new GenerateAccessLogsCommand(args);
|
|
531
|
-
if (typeof optionsOrCb === "function") {
|
|
532
|
-
this.send(command, optionsOrCb);
|
|
533
|
-
} else if (typeof cb === "function") {
|
|
534
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
535
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
536
|
-
} else {
|
|
537
|
-
return this.send(command, optionsOrCb);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* <p> Returns an existing Amplify app by appID. </p>
|
|
543
|
-
*/
|
|
544
|
-
public getApp(args: GetAppCommandInput, options?: __HttpHandlerOptions): Promise<GetAppCommandOutput>;
|
|
545
|
-
public getApp(args: GetAppCommandInput, cb: (err: any, data?: GetAppCommandOutput) => void): void;
|
|
546
|
-
public getApp(
|
|
547
|
-
args: GetAppCommandInput,
|
|
548
|
-
options: __HttpHandlerOptions,
|
|
549
|
-
cb: (err: any, data?: GetAppCommandOutput) => void
|
|
550
|
-
): void;
|
|
551
|
-
public getApp(
|
|
552
|
-
args: GetAppCommandInput,
|
|
553
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAppCommandOutput) => void),
|
|
554
|
-
cb?: (err: any, data?: GetAppCommandOutput) => void
|
|
555
|
-
): Promise<GetAppCommandOutput> | void {
|
|
556
|
-
const command = new GetAppCommand(args);
|
|
557
|
-
if (typeof optionsOrCb === "function") {
|
|
558
|
-
this.send(command, optionsOrCb);
|
|
559
|
-
} else if (typeof cb === "function") {
|
|
560
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
561
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
562
|
-
} else {
|
|
563
|
-
return this.send(command, optionsOrCb);
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* <p> Returns the artifact info that corresponds to an artifact id. </p>
|
|
569
|
-
*/
|
|
570
|
-
public getArtifactUrl(
|
|
571
|
-
args: GetArtifactUrlCommandInput,
|
|
572
|
-
options?: __HttpHandlerOptions
|
|
573
|
-
): Promise<GetArtifactUrlCommandOutput>;
|
|
574
|
-
public getArtifactUrl(
|
|
575
|
-
args: GetArtifactUrlCommandInput,
|
|
576
|
-
cb: (err: any, data?: GetArtifactUrlCommandOutput) => void
|
|
577
|
-
): void;
|
|
578
|
-
public getArtifactUrl(
|
|
579
|
-
args: GetArtifactUrlCommandInput,
|
|
580
|
-
options: __HttpHandlerOptions,
|
|
581
|
-
cb: (err: any, data?: GetArtifactUrlCommandOutput) => void
|
|
582
|
-
): void;
|
|
583
|
-
public getArtifactUrl(
|
|
584
|
-
args: GetArtifactUrlCommandInput,
|
|
585
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetArtifactUrlCommandOutput) => void),
|
|
586
|
-
cb?: (err: any, data?: GetArtifactUrlCommandOutput) => void
|
|
587
|
-
): Promise<GetArtifactUrlCommandOutput> | void {
|
|
588
|
-
const command = new GetArtifactUrlCommand(args);
|
|
589
|
-
if (typeof optionsOrCb === "function") {
|
|
590
|
-
this.send(command, optionsOrCb);
|
|
591
|
-
} else if (typeof cb === "function") {
|
|
592
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
594
|
-
} else {
|
|
595
|
-
return this.send(command, optionsOrCb);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* <p> Returns a backend environment for an Amplify app. </p>
|
|
601
|
-
*/
|
|
602
|
-
public getBackendEnvironment(
|
|
603
|
-
args: GetBackendEnvironmentCommandInput,
|
|
604
|
-
options?: __HttpHandlerOptions
|
|
605
|
-
): Promise<GetBackendEnvironmentCommandOutput>;
|
|
606
|
-
public getBackendEnvironment(
|
|
607
|
-
args: GetBackendEnvironmentCommandInput,
|
|
608
|
-
cb: (err: any, data?: GetBackendEnvironmentCommandOutput) => void
|
|
609
|
-
): void;
|
|
610
|
-
public getBackendEnvironment(
|
|
611
|
-
args: GetBackendEnvironmentCommandInput,
|
|
612
|
-
options: __HttpHandlerOptions,
|
|
613
|
-
cb: (err: any, data?: GetBackendEnvironmentCommandOutput) => void
|
|
614
|
-
): void;
|
|
615
|
-
public getBackendEnvironment(
|
|
616
|
-
args: GetBackendEnvironmentCommandInput,
|
|
617
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBackendEnvironmentCommandOutput) => void),
|
|
618
|
-
cb?: (err: any, data?: GetBackendEnvironmentCommandOutput) => void
|
|
619
|
-
): Promise<GetBackendEnvironmentCommandOutput> | void {
|
|
620
|
-
const command = new GetBackendEnvironmentCommand(args);
|
|
621
|
-
if (typeof optionsOrCb === "function") {
|
|
622
|
-
this.send(command, optionsOrCb);
|
|
623
|
-
} else if (typeof cb === "function") {
|
|
624
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
625
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
626
|
-
} else {
|
|
627
|
-
return this.send(command, optionsOrCb);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* <p> Returns a branch for an Amplify app. </p>
|
|
633
|
-
*/
|
|
634
|
-
public getBranch(args: GetBranchCommandInput, options?: __HttpHandlerOptions): Promise<GetBranchCommandOutput>;
|
|
635
|
-
public getBranch(args: GetBranchCommandInput, cb: (err: any, data?: GetBranchCommandOutput) => void): void;
|
|
636
|
-
public getBranch(
|
|
637
|
-
args: GetBranchCommandInput,
|
|
638
|
-
options: __HttpHandlerOptions,
|
|
639
|
-
cb: (err: any, data?: GetBranchCommandOutput) => void
|
|
640
|
-
): void;
|
|
641
|
-
public getBranch(
|
|
642
|
-
args: GetBranchCommandInput,
|
|
643
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBranchCommandOutput) => void),
|
|
644
|
-
cb?: (err: any, data?: GetBranchCommandOutput) => void
|
|
645
|
-
): Promise<GetBranchCommandOutput> | void {
|
|
646
|
-
const command = new GetBranchCommand(args);
|
|
647
|
-
if (typeof optionsOrCb === "function") {
|
|
648
|
-
this.send(command, optionsOrCb);
|
|
649
|
-
} else if (typeof cb === "function") {
|
|
650
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
651
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
652
|
-
} else {
|
|
653
|
-
return this.send(command, optionsOrCb);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* <p> Returns the domain information for an Amplify app. </p>
|
|
659
|
-
*/
|
|
660
|
-
public getDomainAssociation(
|
|
661
|
-
args: GetDomainAssociationCommandInput,
|
|
662
|
-
options?: __HttpHandlerOptions
|
|
663
|
-
): Promise<GetDomainAssociationCommandOutput>;
|
|
664
|
-
public getDomainAssociation(
|
|
665
|
-
args: GetDomainAssociationCommandInput,
|
|
666
|
-
cb: (err: any, data?: GetDomainAssociationCommandOutput) => void
|
|
667
|
-
): void;
|
|
668
|
-
public getDomainAssociation(
|
|
669
|
-
args: GetDomainAssociationCommandInput,
|
|
670
|
-
options: __HttpHandlerOptions,
|
|
671
|
-
cb: (err: any, data?: GetDomainAssociationCommandOutput) => void
|
|
672
|
-
): void;
|
|
673
|
-
public getDomainAssociation(
|
|
674
|
-
args: GetDomainAssociationCommandInput,
|
|
675
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDomainAssociationCommandOutput) => void),
|
|
676
|
-
cb?: (err: any, data?: GetDomainAssociationCommandOutput) => void
|
|
677
|
-
): Promise<GetDomainAssociationCommandOutput> | void {
|
|
678
|
-
const command = new GetDomainAssociationCommand(args);
|
|
679
|
-
if (typeof optionsOrCb === "function") {
|
|
680
|
-
this.send(command, optionsOrCb);
|
|
681
|
-
} else if (typeof cb === "function") {
|
|
682
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
683
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
684
|
-
} else {
|
|
685
|
-
return this.send(command, optionsOrCb);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* <p> Returns a job for a branch of an Amplify app. </p>
|
|
691
|
-
*/
|
|
692
|
-
public getJob(args: GetJobCommandInput, options?: __HttpHandlerOptions): Promise<GetJobCommandOutput>;
|
|
693
|
-
public getJob(args: GetJobCommandInput, cb: (err: any, data?: GetJobCommandOutput) => void): void;
|
|
694
|
-
public getJob(
|
|
695
|
-
args: GetJobCommandInput,
|
|
696
|
-
options: __HttpHandlerOptions,
|
|
697
|
-
cb: (err: any, data?: GetJobCommandOutput) => void
|
|
698
|
-
): void;
|
|
699
|
-
public getJob(
|
|
700
|
-
args: GetJobCommandInput,
|
|
701
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetJobCommandOutput) => void),
|
|
702
|
-
cb?: (err: any, data?: GetJobCommandOutput) => void
|
|
703
|
-
): Promise<GetJobCommandOutput> | void {
|
|
704
|
-
const command = new GetJobCommand(args);
|
|
705
|
-
if (typeof optionsOrCb === "function") {
|
|
706
|
-
this.send(command, optionsOrCb);
|
|
707
|
-
} else if (typeof cb === "function") {
|
|
708
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
709
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
710
|
-
} else {
|
|
711
|
-
return this.send(command, optionsOrCb);
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* <p> Returns the webhook information that corresponds to a specified webhook ID. </p>
|
|
717
|
-
*/
|
|
718
|
-
public getWebhook(args: GetWebhookCommandInput, options?: __HttpHandlerOptions): Promise<GetWebhookCommandOutput>;
|
|
719
|
-
public getWebhook(args: GetWebhookCommandInput, cb: (err: any, data?: GetWebhookCommandOutput) => void): void;
|
|
720
|
-
public getWebhook(
|
|
721
|
-
args: GetWebhookCommandInput,
|
|
722
|
-
options: __HttpHandlerOptions,
|
|
723
|
-
cb: (err: any, data?: GetWebhookCommandOutput) => void
|
|
724
|
-
): void;
|
|
725
|
-
public getWebhook(
|
|
726
|
-
args: GetWebhookCommandInput,
|
|
727
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWebhookCommandOutput) => void),
|
|
728
|
-
cb?: (err: any, data?: GetWebhookCommandOutput) => void
|
|
729
|
-
): Promise<GetWebhookCommandOutput> | void {
|
|
730
|
-
const command = new GetWebhookCommand(args);
|
|
731
|
-
if (typeof optionsOrCb === "function") {
|
|
732
|
-
this.send(command, optionsOrCb);
|
|
733
|
-
} else if (typeof cb === "function") {
|
|
734
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
736
|
-
} else {
|
|
737
|
-
return this.send(command, optionsOrCb);
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* <p> Returns a list of the existing Amplify apps. </p>
|
|
743
|
-
*/
|
|
744
|
-
public listApps(args: ListAppsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppsCommandOutput>;
|
|
745
|
-
public listApps(args: ListAppsCommandInput, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
|
|
746
|
-
public listApps(
|
|
747
|
-
args: ListAppsCommandInput,
|
|
748
|
-
options: __HttpHandlerOptions,
|
|
749
|
-
cb: (err: any, data?: ListAppsCommandOutput) => void
|
|
750
|
-
): void;
|
|
751
|
-
public listApps(
|
|
752
|
-
args: ListAppsCommandInput,
|
|
753
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppsCommandOutput) => void),
|
|
754
|
-
cb?: (err: any, data?: ListAppsCommandOutput) => void
|
|
755
|
-
): Promise<ListAppsCommandOutput> | void {
|
|
756
|
-
const command = new ListAppsCommand(args);
|
|
757
|
-
if (typeof optionsOrCb === "function") {
|
|
758
|
-
this.send(command, optionsOrCb);
|
|
759
|
-
} else if (typeof cb === "function") {
|
|
760
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
761
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
762
|
-
} else {
|
|
763
|
-
return this.send(command, optionsOrCb);
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* <p> Returns a list of artifacts for a specified app, branch, and job. </p>
|
|
769
|
-
*/
|
|
770
|
-
public listArtifacts(
|
|
771
|
-
args: ListArtifactsCommandInput,
|
|
772
|
-
options?: __HttpHandlerOptions
|
|
773
|
-
): Promise<ListArtifactsCommandOutput>;
|
|
774
|
-
public listArtifacts(
|
|
775
|
-
args: ListArtifactsCommandInput,
|
|
776
|
-
cb: (err: any, data?: ListArtifactsCommandOutput) => void
|
|
777
|
-
): void;
|
|
778
|
-
public listArtifacts(
|
|
779
|
-
args: ListArtifactsCommandInput,
|
|
780
|
-
options: __HttpHandlerOptions,
|
|
781
|
-
cb: (err: any, data?: ListArtifactsCommandOutput) => void
|
|
782
|
-
): void;
|
|
783
|
-
public listArtifacts(
|
|
784
|
-
args: ListArtifactsCommandInput,
|
|
785
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListArtifactsCommandOutput) => void),
|
|
786
|
-
cb?: (err: any, data?: ListArtifactsCommandOutput) => void
|
|
787
|
-
): Promise<ListArtifactsCommandOutput> | void {
|
|
788
|
-
const command = new ListArtifactsCommand(args);
|
|
789
|
-
if (typeof optionsOrCb === "function") {
|
|
790
|
-
this.send(command, optionsOrCb);
|
|
791
|
-
} else if (typeof cb === "function") {
|
|
792
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
793
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
794
|
-
} else {
|
|
795
|
-
return this.send(command, optionsOrCb);
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* <p> Lists the backend environments for an Amplify app. </p>
|
|
801
|
-
*/
|
|
802
|
-
public listBackendEnvironments(
|
|
803
|
-
args: ListBackendEnvironmentsCommandInput,
|
|
804
|
-
options?: __HttpHandlerOptions
|
|
805
|
-
): Promise<ListBackendEnvironmentsCommandOutput>;
|
|
806
|
-
public listBackendEnvironments(
|
|
807
|
-
args: ListBackendEnvironmentsCommandInput,
|
|
808
|
-
cb: (err: any, data?: ListBackendEnvironmentsCommandOutput) => void
|
|
809
|
-
): void;
|
|
810
|
-
public listBackendEnvironments(
|
|
811
|
-
args: ListBackendEnvironmentsCommandInput,
|
|
812
|
-
options: __HttpHandlerOptions,
|
|
813
|
-
cb: (err: any, data?: ListBackendEnvironmentsCommandOutput) => void
|
|
814
|
-
): void;
|
|
815
|
-
public listBackendEnvironments(
|
|
816
|
-
args: ListBackendEnvironmentsCommandInput,
|
|
817
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListBackendEnvironmentsCommandOutput) => void),
|
|
818
|
-
cb?: (err: any, data?: ListBackendEnvironmentsCommandOutput) => void
|
|
819
|
-
): Promise<ListBackendEnvironmentsCommandOutput> | void {
|
|
820
|
-
const command = new ListBackendEnvironmentsCommand(args);
|
|
821
|
-
if (typeof optionsOrCb === "function") {
|
|
822
|
-
this.send(command, optionsOrCb);
|
|
823
|
-
} else if (typeof cb === "function") {
|
|
824
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
825
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
826
|
-
} else {
|
|
827
|
-
return this.send(command, optionsOrCb);
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* <p> Lists the branches of an Amplify app. </p>
|
|
833
|
-
*/
|
|
834
|
-
public listBranches(
|
|
835
|
-
args: ListBranchesCommandInput,
|
|
836
|
-
options?: __HttpHandlerOptions
|
|
837
|
-
): Promise<ListBranchesCommandOutput>;
|
|
838
|
-
public listBranches(args: ListBranchesCommandInput, cb: (err: any, data?: ListBranchesCommandOutput) => void): void;
|
|
839
|
-
public listBranches(
|
|
840
|
-
args: ListBranchesCommandInput,
|
|
841
|
-
options: __HttpHandlerOptions,
|
|
842
|
-
cb: (err: any, data?: ListBranchesCommandOutput) => void
|
|
843
|
-
): void;
|
|
844
|
-
public listBranches(
|
|
845
|
-
args: ListBranchesCommandInput,
|
|
846
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListBranchesCommandOutput) => void),
|
|
847
|
-
cb?: (err: any, data?: ListBranchesCommandOutput) => void
|
|
848
|
-
): Promise<ListBranchesCommandOutput> | void {
|
|
849
|
-
const command = new ListBranchesCommand(args);
|
|
850
|
-
if (typeof optionsOrCb === "function") {
|
|
851
|
-
this.send(command, optionsOrCb);
|
|
852
|
-
} else if (typeof cb === "function") {
|
|
853
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
854
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
855
|
-
} else {
|
|
856
|
-
return this.send(command, optionsOrCb);
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* <p> Returns the domain associations for an Amplify app. </p>
|
|
862
|
-
*/
|
|
863
|
-
public listDomainAssociations(
|
|
864
|
-
args: ListDomainAssociationsCommandInput,
|
|
865
|
-
options?: __HttpHandlerOptions
|
|
866
|
-
): Promise<ListDomainAssociationsCommandOutput>;
|
|
867
|
-
public listDomainAssociations(
|
|
868
|
-
args: ListDomainAssociationsCommandInput,
|
|
869
|
-
cb: (err: any, data?: ListDomainAssociationsCommandOutput) => void
|
|
870
|
-
): void;
|
|
871
|
-
public listDomainAssociations(
|
|
872
|
-
args: ListDomainAssociationsCommandInput,
|
|
873
|
-
options: __HttpHandlerOptions,
|
|
874
|
-
cb: (err: any, data?: ListDomainAssociationsCommandOutput) => void
|
|
875
|
-
): void;
|
|
876
|
-
public listDomainAssociations(
|
|
877
|
-
args: ListDomainAssociationsCommandInput,
|
|
878
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDomainAssociationsCommandOutput) => void),
|
|
879
|
-
cb?: (err: any, data?: ListDomainAssociationsCommandOutput) => void
|
|
880
|
-
): Promise<ListDomainAssociationsCommandOutput> | void {
|
|
881
|
-
const command = new ListDomainAssociationsCommand(args);
|
|
882
|
-
if (typeof optionsOrCb === "function") {
|
|
883
|
-
this.send(command, optionsOrCb);
|
|
884
|
-
} else if (typeof cb === "function") {
|
|
885
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
886
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
887
|
-
} else {
|
|
888
|
-
return this.send(command, optionsOrCb);
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* <p> Lists the jobs for a branch of an Amplify app. </p>
|
|
894
|
-
*/
|
|
895
|
-
public listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsCommandOutput>;
|
|
896
|
-
public listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
897
|
-
public listJobs(
|
|
898
|
-
args: ListJobsCommandInput,
|
|
899
|
-
options: __HttpHandlerOptions,
|
|
900
|
-
cb: (err: any, data?: ListJobsCommandOutput) => void
|
|
901
|
-
): void;
|
|
902
|
-
public listJobs(
|
|
903
|
-
args: ListJobsCommandInput,
|
|
904
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListJobsCommandOutput) => void),
|
|
905
|
-
cb?: (err: any, data?: ListJobsCommandOutput) => void
|
|
906
|
-
): Promise<ListJobsCommandOutput> | void {
|
|
907
|
-
const command = new ListJobsCommand(args);
|
|
908
|
-
if (typeof optionsOrCb === "function") {
|
|
909
|
-
this.send(command, optionsOrCb);
|
|
910
|
-
} else if (typeof cb === "function") {
|
|
911
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
912
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
913
|
-
} else {
|
|
914
|
-
return this.send(command, optionsOrCb);
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* <p> Returns a list of tags for a specified Amazon Resource Name (ARN). </p>
|
|
920
|
-
*/
|
|
921
|
-
public listTagsForResource(
|
|
922
|
-
args: ListTagsForResourceCommandInput,
|
|
923
|
-
options?: __HttpHandlerOptions
|
|
924
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
925
|
-
public listTagsForResource(
|
|
926
|
-
args: ListTagsForResourceCommandInput,
|
|
927
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
928
|
-
): void;
|
|
929
|
-
public listTagsForResource(
|
|
930
|
-
args: ListTagsForResourceCommandInput,
|
|
931
|
-
options: __HttpHandlerOptions,
|
|
932
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
933
|
-
): void;
|
|
934
|
-
public listTagsForResource(
|
|
935
|
-
args: ListTagsForResourceCommandInput,
|
|
936
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
937
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
938
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
939
|
-
const command = new ListTagsForResourceCommand(args);
|
|
940
|
-
if (typeof optionsOrCb === "function") {
|
|
941
|
-
this.send(command, optionsOrCb);
|
|
942
|
-
} else if (typeof cb === "function") {
|
|
943
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
944
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
945
|
-
} else {
|
|
946
|
-
return this.send(command, optionsOrCb);
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
/**
|
|
951
|
-
* <p> Returns a list of webhooks for an Amplify app. </p>
|
|
952
|
-
*/
|
|
953
|
-
public listWebhooks(
|
|
954
|
-
args: ListWebhooksCommandInput,
|
|
955
|
-
options?: __HttpHandlerOptions
|
|
956
|
-
): Promise<ListWebhooksCommandOutput>;
|
|
957
|
-
public listWebhooks(args: ListWebhooksCommandInput, cb: (err: any, data?: ListWebhooksCommandOutput) => void): void;
|
|
958
|
-
public listWebhooks(
|
|
959
|
-
args: ListWebhooksCommandInput,
|
|
960
|
-
options: __HttpHandlerOptions,
|
|
961
|
-
cb: (err: any, data?: ListWebhooksCommandOutput) => void
|
|
962
|
-
): void;
|
|
963
|
-
public listWebhooks(
|
|
964
|
-
args: ListWebhooksCommandInput,
|
|
965
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWebhooksCommandOutput) => void),
|
|
966
|
-
cb?: (err: any, data?: ListWebhooksCommandOutput) => void
|
|
967
|
-
): Promise<ListWebhooksCommandOutput> | void {
|
|
968
|
-
const command = new ListWebhooksCommand(args);
|
|
969
|
-
if (typeof optionsOrCb === "function") {
|
|
970
|
-
this.send(command, optionsOrCb);
|
|
971
|
-
} else if (typeof cb === "function") {
|
|
972
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
973
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
974
|
-
} else {
|
|
975
|
-
return this.send(command, optionsOrCb);
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* <p> Starts a deployment for a manually deployed app. Manually deployed apps are not
|
|
981
|
-
* connected to a repository. </p>
|
|
982
|
-
*/
|
|
983
|
-
public startDeployment(
|
|
984
|
-
args: StartDeploymentCommandInput,
|
|
985
|
-
options?: __HttpHandlerOptions
|
|
986
|
-
): Promise<StartDeploymentCommandOutput>;
|
|
987
|
-
public startDeployment(
|
|
988
|
-
args: StartDeploymentCommandInput,
|
|
989
|
-
cb: (err: any, data?: StartDeploymentCommandOutput) => void
|
|
990
|
-
): void;
|
|
991
|
-
public startDeployment(
|
|
992
|
-
args: StartDeploymentCommandInput,
|
|
993
|
-
options: __HttpHandlerOptions,
|
|
994
|
-
cb: (err: any, data?: StartDeploymentCommandOutput) => void
|
|
995
|
-
): void;
|
|
996
|
-
public startDeployment(
|
|
997
|
-
args: StartDeploymentCommandInput,
|
|
998
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDeploymentCommandOutput) => void),
|
|
999
|
-
cb?: (err: any, data?: StartDeploymentCommandOutput) => void
|
|
1000
|
-
): Promise<StartDeploymentCommandOutput> | void {
|
|
1001
|
-
const command = new StartDeploymentCommand(args);
|
|
1002
|
-
if (typeof optionsOrCb === "function") {
|
|
1003
|
-
this.send(command, optionsOrCb);
|
|
1004
|
-
} else if (typeof cb === "function") {
|
|
1005
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1006
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1007
|
-
} else {
|
|
1008
|
-
return this.send(command, optionsOrCb);
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* <p> Starts a new job for a branch of an Amplify app. </p>
|
|
1014
|
-
*/
|
|
1015
|
-
public startJob(args: StartJobCommandInput, options?: __HttpHandlerOptions): Promise<StartJobCommandOutput>;
|
|
1016
|
-
public startJob(args: StartJobCommandInput, cb: (err: any, data?: StartJobCommandOutput) => void): void;
|
|
1017
|
-
public startJob(
|
|
1018
|
-
args: StartJobCommandInput,
|
|
1019
|
-
options: __HttpHandlerOptions,
|
|
1020
|
-
cb: (err: any, data?: StartJobCommandOutput) => void
|
|
1021
|
-
): void;
|
|
1022
|
-
public startJob(
|
|
1023
|
-
args: StartJobCommandInput,
|
|
1024
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartJobCommandOutput) => void),
|
|
1025
|
-
cb?: (err: any, data?: StartJobCommandOutput) => void
|
|
1026
|
-
): Promise<StartJobCommandOutput> | void {
|
|
1027
|
-
const command = new StartJobCommand(args);
|
|
1028
|
-
if (typeof optionsOrCb === "function") {
|
|
1029
|
-
this.send(command, optionsOrCb);
|
|
1030
|
-
} else if (typeof cb === "function") {
|
|
1031
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1032
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1033
|
-
} else {
|
|
1034
|
-
return this.send(command, optionsOrCb);
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* <p> Stops a job that is in progress for a branch of an Amplify app. </p>
|
|
1040
|
-
*/
|
|
1041
|
-
public stopJob(args: StopJobCommandInput, options?: __HttpHandlerOptions): Promise<StopJobCommandOutput>;
|
|
1042
|
-
public stopJob(args: StopJobCommandInput, cb: (err: any, data?: StopJobCommandOutput) => void): void;
|
|
1043
|
-
public stopJob(
|
|
1044
|
-
args: StopJobCommandInput,
|
|
1045
|
-
options: __HttpHandlerOptions,
|
|
1046
|
-
cb: (err: any, data?: StopJobCommandOutput) => void
|
|
1047
|
-
): void;
|
|
1048
|
-
public stopJob(
|
|
1049
|
-
args: StopJobCommandInput,
|
|
1050
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopJobCommandOutput) => void),
|
|
1051
|
-
cb?: (err: any, data?: StopJobCommandOutput) => void
|
|
1052
|
-
): Promise<StopJobCommandOutput> | void {
|
|
1053
|
-
const command = new StopJobCommand(args);
|
|
1054
|
-
if (typeof optionsOrCb === "function") {
|
|
1055
|
-
this.send(command, optionsOrCb);
|
|
1056
|
-
} else if (typeof cb === "function") {
|
|
1057
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1058
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1059
|
-
} else {
|
|
1060
|
-
return this.send(command, optionsOrCb);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* <p> Tags the resource with a tag key and value. </p>
|
|
1066
|
-
*/
|
|
1067
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1068
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1069
|
-
public tagResource(
|
|
1070
|
-
args: TagResourceCommandInput,
|
|
1071
|
-
options: __HttpHandlerOptions,
|
|
1072
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1073
|
-
): void;
|
|
1074
|
-
public tagResource(
|
|
1075
|
-
args: TagResourceCommandInput,
|
|
1076
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1077
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1078
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1079
|
-
const command = new TagResourceCommand(args);
|
|
1080
|
-
if (typeof optionsOrCb === "function") {
|
|
1081
|
-
this.send(command, optionsOrCb);
|
|
1082
|
-
} else if (typeof cb === "function") {
|
|
1083
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1084
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1085
|
-
} else {
|
|
1086
|
-
return this.send(command, optionsOrCb);
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* <p> Untags a resource with a specified Amazon Resource Name (ARN). </p>
|
|
1092
|
-
*/
|
|
1093
|
-
public untagResource(
|
|
1094
|
-
args: UntagResourceCommandInput,
|
|
1095
|
-
options?: __HttpHandlerOptions
|
|
1096
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1097
|
-
public untagResource(
|
|
1098
|
-
args: UntagResourceCommandInput,
|
|
1099
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1100
|
-
): void;
|
|
1101
|
-
public untagResource(
|
|
1102
|
-
args: UntagResourceCommandInput,
|
|
1103
|
-
options: __HttpHandlerOptions,
|
|
1104
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1105
|
-
): void;
|
|
1106
|
-
public untagResource(
|
|
1107
|
-
args: UntagResourceCommandInput,
|
|
1108
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1109
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1110
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1111
|
-
const command = new UntagResourceCommand(args);
|
|
1112
|
-
if (typeof optionsOrCb === "function") {
|
|
1113
|
-
this.send(command, optionsOrCb);
|
|
1114
|
-
} else if (typeof cb === "function") {
|
|
1115
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1117
|
-
} else {
|
|
1118
|
-
return this.send(command, optionsOrCb);
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* <p> Updates an existing Amplify app. </p>
|
|
1124
|
-
*/
|
|
1125
|
-
public updateApp(args: UpdateAppCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppCommandOutput>;
|
|
1126
|
-
public updateApp(args: UpdateAppCommandInput, cb: (err: any, data?: UpdateAppCommandOutput) => void): void;
|
|
1127
|
-
public updateApp(
|
|
1128
|
-
args: UpdateAppCommandInput,
|
|
1129
|
-
options: __HttpHandlerOptions,
|
|
1130
|
-
cb: (err: any, data?: UpdateAppCommandOutput) => void
|
|
1131
|
-
): void;
|
|
1132
|
-
public updateApp(
|
|
1133
|
-
args: UpdateAppCommandInput,
|
|
1134
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAppCommandOutput) => void),
|
|
1135
|
-
cb?: (err: any, data?: UpdateAppCommandOutput) => void
|
|
1136
|
-
): Promise<UpdateAppCommandOutput> | void {
|
|
1137
|
-
const command = new UpdateAppCommand(args);
|
|
1138
|
-
if (typeof optionsOrCb === "function") {
|
|
1139
|
-
this.send(command, optionsOrCb);
|
|
1140
|
-
} else if (typeof cb === "function") {
|
|
1141
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1142
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1143
|
-
} else {
|
|
1144
|
-
return this.send(command, optionsOrCb);
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* <p> Updates a branch for an Amplify app. </p>
|
|
1150
|
-
*/
|
|
1151
|
-
public updateBranch(
|
|
1152
|
-
args: UpdateBranchCommandInput,
|
|
1153
|
-
options?: __HttpHandlerOptions
|
|
1154
|
-
): Promise<UpdateBranchCommandOutput>;
|
|
1155
|
-
public updateBranch(args: UpdateBranchCommandInput, cb: (err: any, data?: UpdateBranchCommandOutput) => void): void;
|
|
1156
|
-
public updateBranch(
|
|
1157
|
-
args: UpdateBranchCommandInput,
|
|
1158
|
-
options: __HttpHandlerOptions,
|
|
1159
|
-
cb: (err: any, data?: UpdateBranchCommandOutput) => void
|
|
1160
|
-
): void;
|
|
1161
|
-
public updateBranch(
|
|
1162
|
-
args: UpdateBranchCommandInput,
|
|
1163
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBranchCommandOutput) => void),
|
|
1164
|
-
cb?: (err: any, data?: UpdateBranchCommandOutput) => void
|
|
1165
|
-
): Promise<UpdateBranchCommandOutput> | void {
|
|
1166
|
-
const command = new UpdateBranchCommand(args);
|
|
1167
|
-
if (typeof optionsOrCb === "function") {
|
|
1168
|
-
this.send(command, optionsOrCb);
|
|
1169
|
-
} else if (typeof cb === "function") {
|
|
1170
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1171
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1172
|
-
} else {
|
|
1173
|
-
return this.send(command, optionsOrCb);
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* <p> Creates a new domain association for an Amplify app.</p>
|
|
1179
|
-
*/
|
|
1180
|
-
public updateDomainAssociation(
|
|
1181
|
-
args: UpdateDomainAssociationCommandInput,
|
|
1182
|
-
options?: __HttpHandlerOptions
|
|
1183
|
-
): Promise<UpdateDomainAssociationCommandOutput>;
|
|
1184
|
-
public updateDomainAssociation(
|
|
1185
|
-
args: UpdateDomainAssociationCommandInput,
|
|
1186
|
-
cb: (err: any, data?: UpdateDomainAssociationCommandOutput) => void
|
|
1187
|
-
): void;
|
|
1188
|
-
public updateDomainAssociation(
|
|
1189
|
-
args: UpdateDomainAssociationCommandInput,
|
|
1190
|
-
options: __HttpHandlerOptions,
|
|
1191
|
-
cb: (err: any, data?: UpdateDomainAssociationCommandOutput) => void
|
|
1192
|
-
): void;
|
|
1193
|
-
public updateDomainAssociation(
|
|
1194
|
-
args: UpdateDomainAssociationCommandInput,
|
|
1195
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDomainAssociationCommandOutput) => void),
|
|
1196
|
-
cb?: (err: any, data?: UpdateDomainAssociationCommandOutput) => void
|
|
1197
|
-
): Promise<UpdateDomainAssociationCommandOutput> | void {
|
|
1198
|
-
const command = new UpdateDomainAssociationCommand(args);
|
|
1199
|
-
if (typeof optionsOrCb === "function") {
|
|
1200
|
-
this.send(command, optionsOrCb);
|
|
1201
|
-
} else if (typeof cb === "function") {
|
|
1202
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1204
|
-
} else {
|
|
1205
|
-
return this.send(command, optionsOrCb);
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* <p> Updates a webhook. </p>
|
|
1211
|
-
*/
|
|
1212
|
-
public updateWebhook(
|
|
1213
|
-
args: UpdateWebhookCommandInput,
|
|
1214
|
-
options?: __HttpHandlerOptions
|
|
1215
|
-
): Promise<UpdateWebhookCommandOutput>;
|
|
1216
|
-
public updateWebhook(
|
|
1217
|
-
args: UpdateWebhookCommandInput,
|
|
1218
|
-
cb: (err: any, data?: UpdateWebhookCommandOutput) => void
|
|
1219
|
-
): void;
|
|
1220
|
-
public updateWebhook(
|
|
1221
|
-
args: UpdateWebhookCommandInput,
|
|
1222
|
-
options: __HttpHandlerOptions,
|
|
1223
|
-
cb: (err: any, data?: UpdateWebhookCommandOutput) => void
|
|
1224
|
-
): void;
|
|
1225
|
-
public updateWebhook(
|
|
1226
|
-
args: UpdateWebhookCommandInput,
|
|
1227
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWebhookCommandOutput) => void),
|
|
1228
|
-
cb?: (err: any, data?: UpdateWebhookCommandOutput) => void
|
|
1229
|
-
): Promise<UpdateWebhookCommandOutput> | void {
|
|
1230
|
-
const command = new UpdateWebhookCommand(args);
|
|
1231
|
-
if (typeof optionsOrCb === "function") {
|
|
1232
|
-
this.send(command, optionsOrCb);
|
|
1233
|
-
} else if (typeof cb === "function") {
|
|
1234
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1236
|
-
} else {
|
|
1237
|
-
return this.send(command, optionsOrCb);
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
}
|