@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/AmplifyClient.ts
DELETED
|
@@ -1,381 +0,0 @@
|
|
|
1
|
-
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
2
|
-
import {
|
|
3
|
-
CreateBackendEnvironmentCommandInput,
|
|
4
|
-
CreateBackendEnvironmentCommandOutput,
|
|
5
|
-
} from "./commands/CreateBackendEnvironmentCommand";
|
|
6
|
-
import { CreateBranchCommandInput, CreateBranchCommandOutput } from "./commands/CreateBranchCommand";
|
|
7
|
-
import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateDomainAssociationCommandInput,
|
|
10
|
-
CreateDomainAssociationCommandOutput,
|
|
11
|
-
} from "./commands/CreateDomainAssociationCommand";
|
|
12
|
-
import { CreateWebhookCommandInput, CreateWebhookCommandOutput } from "./commands/CreateWebhookCommand";
|
|
13
|
-
import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteBackendEnvironmentCommandInput,
|
|
16
|
-
DeleteBackendEnvironmentCommandOutput,
|
|
17
|
-
} from "./commands/DeleteBackendEnvironmentCommand";
|
|
18
|
-
import { DeleteBranchCommandInput, DeleteBranchCommandOutput } from "./commands/DeleteBranchCommand";
|
|
19
|
-
import {
|
|
20
|
-
DeleteDomainAssociationCommandInput,
|
|
21
|
-
DeleteDomainAssociationCommandOutput,
|
|
22
|
-
} from "./commands/DeleteDomainAssociationCommand";
|
|
23
|
-
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
24
|
-
import { DeleteWebhookCommandInput, DeleteWebhookCommandOutput } from "./commands/DeleteWebhookCommand";
|
|
25
|
-
import { GenerateAccessLogsCommandInput, GenerateAccessLogsCommandOutput } from "./commands/GenerateAccessLogsCommand";
|
|
26
|
-
import { GetAppCommandInput, GetAppCommandOutput } from "./commands/GetAppCommand";
|
|
27
|
-
import { GetArtifactUrlCommandInput, GetArtifactUrlCommandOutput } from "./commands/GetArtifactUrlCommand";
|
|
28
|
-
import {
|
|
29
|
-
GetBackendEnvironmentCommandInput,
|
|
30
|
-
GetBackendEnvironmentCommandOutput,
|
|
31
|
-
} from "./commands/GetBackendEnvironmentCommand";
|
|
32
|
-
import { GetBranchCommandInput, GetBranchCommandOutput } from "./commands/GetBranchCommand";
|
|
33
|
-
import {
|
|
34
|
-
GetDomainAssociationCommandInput,
|
|
35
|
-
GetDomainAssociationCommandOutput,
|
|
36
|
-
} from "./commands/GetDomainAssociationCommand";
|
|
37
|
-
import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
38
|
-
import { GetWebhookCommandInput, GetWebhookCommandOutput } from "./commands/GetWebhookCommand";
|
|
39
|
-
import { ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand";
|
|
40
|
-
import { ListArtifactsCommandInput, ListArtifactsCommandOutput } from "./commands/ListArtifactsCommand";
|
|
41
|
-
import {
|
|
42
|
-
ListBackendEnvironmentsCommandInput,
|
|
43
|
-
ListBackendEnvironmentsCommandOutput,
|
|
44
|
-
} from "./commands/ListBackendEnvironmentsCommand";
|
|
45
|
-
import { ListBranchesCommandInput, ListBranchesCommandOutput } from "./commands/ListBranchesCommand";
|
|
46
|
-
import {
|
|
47
|
-
ListDomainAssociationsCommandInput,
|
|
48
|
-
ListDomainAssociationsCommandOutput,
|
|
49
|
-
} from "./commands/ListDomainAssociationsCommand";
|
|
50
|
-
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
51
|
-
import {
|
|
52
|
-
ListTagsForResourceCommandInput,
|
|
53
|
-
ListTagsForResourceCommandOutput,
|
|
54
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
55
|
-
import { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
|
|
56
|
-
import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./commands/StartDeploymentCommand";
|
|
57
|
-
import { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
58
|
-
import { StopJobCommandInput, StopJobCommandOutput } from "./commands/StopJobCommand";
|
|
59
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
60
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
61
|
-
import { UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand";
|
|
62
|
-
import { UpdateBranchCommandInput, UpdateBranchCommandOutput } from "./commands/UpdateBranchCommand";
|
|
63
|
-
import {
|
|
64
|
-
UpdateDomainAssociationCommandInput,
|
|
65
|
-
UpdateDomainAssociationCommandOutput,
|
|
66
|
-
} from "./commands/UpdateDomainAssociationCommand";
|
|
67
|
-
import { UpdateWebhookCommandInput, UpdateWebhookCommandOutput } from "./commands/UpdateWebhookCommand";
|
|
68
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
69
|
-
import {
|
|
70
|
-
EndpointsInputConfig,
|
|
71
|
-
EndpointsResolvedConfig,
|
|
72
|
-
RegionInputConfig,
|
|
73
|
-
RegionResolvedConfig,
|
|
74
|
-
resolveEndpointsConfig,
|
|
75
|
-
resolveRegionConfig,
|
|
76
|
-
} from "@aws-sdk/config-resolver";
|
|
77
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
78
|
-
import {
|
|
79
|
-
HostHeaderInputConfig,
|
|
80
|
-
HostHeaderResolvedConfig,
|
|
81
|
-
getHostHeaderPlugin,
|
|
82
|
-
resolveHostHeaderConfig,
|
|
83
|
-
} from "@aws-sdk/middleware-host-header";
|
|
84
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
85
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
86
|
-
import {
|
|
87
|
-
AwsAuthInputConfig,
|
|
88
|
-
AwsAuthResolvedConfig,
|
|
89
|
-
getAwsAuthPlugin,
|
|
90
|
-
resolveAwsAuthConfig,
|
|
91
|
-
} from "@aws-sdk/middleware-signing";
|
|
92
|
-
import {
|
|
93
|
-
UserAgentInputConfig,
|
|
94
|
-
UserAgentResolvedConfig,
|
|
95
|
-
getUserAgentPlugin,
|
|
96
|
-
resolveUserAgentConfig,
|
|
97
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
98
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
99
|
-
import {
|
|
100
|
-
Client as __Client,
|
|
101
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
102
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
103
|
-
} from "@aws-sdk/smithy-client";
|
|
104
|
-
import {
|
|
105
|
-
Provider,
|
|
106
|
-
RegionInfoProvider,
|
|
107
|
-
Credentials as __Credentials,
|
|
108
|
-
Decoder as __Decoder,
|
|
109
|
-
Encoder as __Encoder,
|
|
110
|
-
Hash as __Hash,
|
|
111
|
-
HashConstructor as __HashConstructor,
|
|
112
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
113
|
-
Logger as __Logger,
|
|
114
|
-
Provider as __Provider,
|
|
115
|
-
StreamCollector as __StreamCollector,
|
|
116
|
-
UrlParser as __UrlParser,
|
|
117
|
-
UserAgent as __UserAgent,
|
|
118
|
-
} from "@aws-sdk/types";
|
|
119
|
-
|
|
120
|
-
export type ServiceInputTypes =
|
|
121
|
-
| CreateAppCommandInput
|
|
122
|
-
| CreateBackendEnvironmentCommandInput
|
|
123
|
-
| CreateBranchCommandInput
|
|
124
|
-
| CreateDeploymentCommandInput
|
|
125
|
-
| CreateDomainAssociationCommandInput
|
|
126
|
-
| CreateWebhookCommandInput
|
|
127
|
-
| DeleteAppCommandInput
|
|
128
|
-
| DeleteBackendEnvironmentCommandInput
|
|
129
|
-
| DeleteBranchCommandInput
|
|
130
|
-
| DeleteDomainAssociationCommandInput
|
|
131
|
-
| DeleteJobCommandInput
|
|
132
|
-
| DeleteWebhookCommandInput
|
|
133
|
-
| GenerateAccessLogsCommandInput
|
|
134
|
-
| GetAppCommandInput
|
|
135
|
-
| GetArtifactUrlCommandInput
|
|
136
|
-
| GetBackendEnvironmentCommandInput
|
|
137
|
-
| GetBranchCommandInput
|
|
138
|
-
| GetDomainAssociationCommandInput
|
|
139
|
-
| GetJobCommandInput
|
|
140
|
-
| GetWebhookCommandInput
|
|
141
|
-
| ListAppsCommandInput
|
|
142
|
-
| ListArtifactsCommandInput
|
|
143
|
-
| ListBackendEnvironmentsCommandInput
|
|
144
|
-
| ListBranchesCommandInput
|
|
145
|
-
| ListDomainAssociationsCommandInput
|
|
146
|
-
| ListJobsCommandInput
|
|
147
|
-
| ListTagsForResourceCommandInput
|
|
148
|
-
| ListWebhooksCommandInput
|
|
149
|
-
| StartDeploymentCommandInput
|
|
150
|
-
| StartJobCommandInput
|
|
151
|
-
| StopJobCommandInput
|
|
152
|
-
| TagResourceCommandInput
|
|
153
|
-
| UntagResourceCommandInput
|
|
154
|
-
| UpdateAppCommandInput
|
|
155
|
-
| UpdateBranchCommandInput
|
|
156
|
-
| UpdateDomainAssociationCommandInput
|
|
157
|
-
| UpdateWebhookCommandInput;
|
|
158
|
-
|
|
159
|
-
export type ServiceOutputTypes =
|
|
160
|
-
| CreateAppCommandOutput
|
|
161
|
-
| CreateBackendEnvironmentCommandOutput
|
|
162
|
-
| CreateBranchCommandOutput
|
|
163
|
-
| CreateDeploymentCommandOutput
|
|
164
|
-
| CreateDomainAssociationCommandOutput
|
|
165
|
-
| CreateWebhookCommandOutput
|
|
166
|
-
| DeleteAppCommandOutput
|
|
167
|
-
| DeleteBackendEnvironmentCommandOutput
|
|
168
|
-
| DeleteBranchCommandOutput
|
|
169
|
-
| DeleteDomainAssociationCommandOutput
|
|
170
|
-
| DeleteJobCommandOutput
|
|
171
|
-
| DeleteWebhookCommandOutput
|
|
172
|
-
| GenerateAccessLogsCommandOutput
|
|
173
|
-
| GetAppCommandOutput
|
|
174
|
-
| GetArtifactUrlCommandOutput
|
|
175
|
-
| GetBackendEnvironmentCommandOutput
|
|
176
|
-
| GetBranchCommandOutput
|
|
177
|
-
| GetDomainAssociationCommandOutput
|
|
178
|
-
| GetJobCommandOutput
|
|
179
|
-
| GetWebhookCommandOutput
|
|
180
|
-
| ListAppsCommandOutput
|
|
181
|
-
| ListArtifactsCommandOutput
|
|
182
|
-
| ListBackendEnvironmentsCommandOutput
|
|
183
|
-
| ListBranchesCommandOutput
|
|
184
|
-
| ListDomainAssociationsCommandOutput
|
|
185
|
-
| ListJobsCommandOutput
|
|
186
|
-
| ListTagsForResourceCommandOutput
|
|
187
|
-
| ListWebhooksCommandOutput
|
|
188
|
-
| StartDeploymentCommandOutput
|
|
189
|
-
| StartJobCommandOutput
|
|
190
|
-
| StopJobCommandOutput
|
|
191
|
-
| TagResourceCommandOutput
|
|
192
|
-
| UntagResourceCommandOutput
|
|
193
|
-
| UpdateAppCommandOutput
|
|
194
|
-
| UpdateBranchCommandOutput
|
|
195
|
-
| UpdateDomainAssociationCommandOutput
|
|
196
|
-
| UpdateWebhookCommandOutput;
|
|
197
|
-
|
|
198
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
199
|
-
/**
|
|
200
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
201
|
-
*/
|
|
202
|
-
requestHandler?: __HttpHandler;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
206
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
|
-
sha256?: __HashConstructor;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
urlParser?: __UrlParser;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* A function that can calculate the length of a request body.
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* A function that converts a stream into an array of bytes.
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
streamCollector?: __StreamCollector;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
231
|
-
* @internal
|
|
232
|
-
*/
|
|
233
|
-
base64Decoder?: __Decoder;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
237
|
-
* @internal
|
|
238
|
-
*/
|
|
239
|
-
base64Encoder?: __Encoder;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
245
|
-
utf8Decoder?: __Decoder;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
utf8Encoder?: __Encoder;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* The runtime environment.
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
runtime?: string;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
261
|
-
* trait of an operation.
|
|
262
|
-
*/
|
|
263
|
-
disableHostPrefix?: boolean;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
267
|
-
*/
|
|
268
|
-
maxAttempts?: number | __Provider<number>;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Specifies which retry algorithm to use.
|
|
272
|
-
*/
|
|
273
|
-
retryMode?: string | __Provider<string>;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Optional logger for logging debug/info/warn/error.
|
|
277
|
-
*/
|
|
278
|
-
logger?: __Logger;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Unique service identifier.
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
serviceId?: string;
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* The AWS region to which this client will send requests
|
|
288
|
-
*/
|
|
289
|
-
region?: string | __Provider<string>;
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Default credentials provider; Not available in browser runtime.
|
|
293
|
-
* @internal
|
|
294
|
-
*/
|
|
295
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
299
|
-
* @internal
|
|
300
|
-
*/
|
|
301
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
type AmplifyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
311
|
-
ClientDefaults &
|
|
312
|
-
RegionInputConfig &
|
|
313
|
-
EndpointsInputConfig &
|
|
314
|
-
RetryInputConfig &
|
|
315
|
-
HostHeaderInputConfig &
|
|
316
|
-
AwsAuthInputConfig &
|
|
317
|
-
UserAgentInputConfig;
|
|
318
|
-
/**
|
|
319
|
-
* The configuration interface of AmplifyClient class constructor that set the region, credentials and other options.
|
|
320
|
-
*/
|
|
321
|
-
export interface AmplifyClientConfig extends AmplifyClientConfigType {}
|
|
322
|
-
|
|
323
|
-
type AmplifyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
324
|
-
Required<ClientDefaults> &
|
|
325
|
-
RegionResolvedConfig &
|
|
326
|
-
EndpointsResolvedConfig &
|
|
327
|
-
RetryResolvedConfig &
|
|
328
|
-
HostHeaderResolvedConfig &
|
|
329
|
-
AwsAuthResolvedConfig &
|
|
330
|
-
UserAgentResolvedConfig;
|
|
331
|
-
/**
|
|
332
|
-
* The resolved configuration interface of AmplifyClient class. This is resolved and normalized from the {@link AmplifyClientConfig | constructor configuration interface}.
|
|
333
|
-
*/
|
|
334
|
-
export interface AmplifyClientResolvedConfig extends AmplifyClientResolvedConfigType {}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
|
|
338
|
-
* The Amplify Console provides a continuous delivery and hosting service for web
|
|
339
|
-
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
|
|
340
|
-
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
|
|
341
|
-
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
|
|
342
|
-
* </p>
|
|
343
|
-
*/
|
|
344
|
-
export class AmplifyClient extends __Client<
|
|
345
|
-
__HttpHandlerOptions,
|
|
346
|
-
ServiceInputTypes,
|
|
347
|
-
ServiceOutputTypes,
|
|
348
|
-
AmplifyClientResolvedConfig
|
|
349
|
-
> {
|
|
350
|
-
/**
|
|
351
|
-
* The resolved configuration of AmplifyClient class. This is resolved and normalized from the {@link AmplifyClientConfig | constructor configuration interface}.
|
|
352
|
-
*/
|
|
353
|
-
readonly config: AmplifyClientResolvedConfig;
|
|
354
|
-
|
|
355
|
-
constructor(configuration: AmplifyClientConfig) {
|
|
356
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
357
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
358
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
359
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
360
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
361
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
362
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
363
|
-
super(_config_6);
|
|
364
|
-
this.config = _config_6;
|
|
365
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
366
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
367
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
368
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
369
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
370
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
375
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
376
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
377
|
-
*/
|
|
378
|
-
destroy(): void {
|
|
379
|
-
super.destroy();
|
|
380
|
-
}
|
|
381
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
|
|
2
|
-
import { CreateAppRequest, CreateAppResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateAppCommand,
|
|
5
|
-
serializeAws_restJson1CreateAppCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateAppCommandInput extends CreateAppRequest {}
|
|
21
|
-
export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Creates a new Amplify app. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AmplifyClient, CreateAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
29
|
-
* // const { AmplifyClient, CreateAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
30
|
-
* const client = new AmplifyClient(config);
|
|
31
|
-
* const command = new CreateAppCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateAppCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateAppCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateAppCommand extends $Command<
|
|
41
|
-
CreateAppCommandInput,
|
|
42
|
-
CreateAppCommandOutput,
|
|
43
|
-
AmplifyClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateAppCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AmplifyClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateAppCommandInput, CreateAppCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AmplifyClient";
|
|
68
|
-
const commandName = "CreateAppCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateAppRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateAppResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateAppCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateAppCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAppCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateAppCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
|
|
2
|
-
import { CreateBackendEnvironmentRequest, CreateBackendEnvironmentResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateBackendEnvironmentCommand,
|
|
5
|
-
serializeAws_restJson1CreateBackendEnvironmentCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateBackendEnvironmentCommandInput extends CreateBackendEnvironmentRequest {}
|
|
21
|
-
export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvironmentResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Creates a new backend environment for an Amplify app. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AmplifyClient, CreateBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
29
|
-
* // const { AmplifyClient, CreateBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
30
|
-
* const client = new AmplifyClient(config);
|
|
31
|
-
* const command = new CreateBackendEnvironmentCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateBackendEnvironmentCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateBackendEnvironmentCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateBackendEnvironmentCommand extends $Command<
|
|
41
|
-
CreateBackendEnvironmentCommandInput,
|
|
42
|
-
CreateBackendEnvironmentCommandOutput,
|
|
43
|
-
AmplifyClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateBackendEnvironmentCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AmplifyClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateBackendEnvironmentCommandInput, CreateBackendEnvironmentCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AmplifyClient";
|
|
68
|
-
const commandName = "CreateBackendEnvironmentCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateBackendEnvironmentRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateBackendEnvironmentResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateBackendEnvironmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateBackendEnvironmentCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBackendEnvironmentCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateBackendEnvironmentCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AmplifyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyClient";
|
|
2
|
-
import { CreateBranchRequest, CreateBranchResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateBranchCommand,
|
|
5
|
-
serializeAws_restJson1CreateBranchCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateBranchCommandInput extends CreateBranchRequest {}
|
|
21
|
-
export interface CreateBranchCommandOutput extends CreateBranchResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Creates a new branch for an Amplify app. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AmplifyClient, CreateBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
29
|
-
* // const { AmplifyClient, CreateBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
30
|
-
* const client = new AmplifyClient(config);
|
|
31
|
-
* const command = new CreateBranchCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateBranchCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateBranchCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AmplifyClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateBranchCommand extends $Command<
|
|
41
|
-
CreateBranchCommandInput,
|
|
42
|
-
CreateBranchCommandOutput,
|
|
43
|
-
AmplifyClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateBranchCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AmplifyClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateBranchCommandInput, CreateBranchCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AmplifyClient";
|
|
68
|
-
const commandName = "CreateBranchCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateBranchRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateBranchResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateBranchCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateBranchCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBranchCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateBranchCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|