@aws-sdk/client-proton 3.42.0 → 3.47.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 +50 -0
- package/README.md +46 -37
- package/dist-cjs/Proton.js +270 -0
- package/dist-cjs/commands/CreateRepositoryCommand.js +36 -0
- package/dist-cjs/commands/CreateTemplateSyncConfigCommand.js +36 -0
- package/dist-cjs/commands/DeleteRepositoryCommand.js +36 -0
- package/dist-cjs/commands/DeleteTemplateSyncConfigCommand.js +36 -0
- package/dist-cjs/commands/GetRepositoryCommand.js +36 -0
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateSyncConfigCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateSyncStatusCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentOutputsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentProvisionedResourcesCommand.js +36 -0
- package/dist-cjs/commands/ListRepositoriesCommand.js +36 -0
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +36 -0
- package/dist-cjs/commands/ListServiceInstanceOutputsCommand.js +36 -0
- package/dist-cjs/commands/ListServiceInstanceProvisionedResourcesCommand.js +36 -0
- package/dist-cjs/commands/ListServicePipelineOutputsCommand.js +36 -0
- package/dist-cjs/commands/ListServicePipelineProvisionedResourcesCommand.js +36 -0
- package/dist-cjs/commands/NotifyResourceDeploymentStatusChangeCommand.js +36 -0
- package/dist-cjs/commands/UpdateTemplateSyncConfigCommand.js +36 -0
- package/dist-cjs/commands/index.js +18 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +348 -56
- package/dist-cjs/pagination/ListEnvironmentOutputsPaginator.js +34 -0
- package/dist-cjs/pagination/ListEnvironmentProvisionedResourcesPaginator.js +34 -0
- package/dist-cjs/pagination/ListRepositoriesPaginator.js +35 -0
- package/dist-cjs/pagination/ListRepositorySyncDefinitionsPaginator.js +34 -0
- package/dist-cjs/pagination/ListServiceInstanceOutputsPaginator.js +34 -0
- package/dist-cjs/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +34 -0
- package/dist-cjs/pagination/ListServicePipelineOutputsPaginator.js +34 -0
- package/dist-cjs/pagination/ListServicePipelineProvisionedResourcesPaginator.js +34 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2364 -220
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Proton.js +270 -0
- package/dist-es/commands/CreateRepositoryCommand.js +39 -0
- package/dist-es/commands/CreateTemplateSyncConfigCommand.js +39 -0
- package/dist-es/commands/DeleteRepositoryCommand.js +39 -0
- package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +39 -0
- package/dist-es/commands/GetRepositoryCommand.js +39 -0
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +39 -0
- package/dist-es/commands/GetTemplateSyncConfigCommand.js +39 -0
- package/dist-es/commands/GetTemplateSyncStatusCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentOutputsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +39 -0
- package/dist-es/commands/ListRepositoriesCommand.js +39 -0
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +39 -0
- package/dist-es/commands/ListServiceInstanceOutputsCommand.js +39 -0
- package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +39 -0
- package/dist-es/commands/ListServicePipelineOutputsCommand.js +39 -0
- package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +39 -0
- package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +39 -0
- package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +39 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +241 -32
- package/dist-es/pagination/ListEnvironmentOutputsPaginator.js +73 -0
- package/dist-es/pagination/ListEnvironmentProvisionedResourcesPaginator.js +73 -0
- package/dist-es/pagination/ListRepositoriesPaginator.js +74 -0
- package/dist-es/pagination/ListRepositorySyncDefinitionsPaginator.js +73 -0
- package/dist-es/pagination/ListServiceInstanceOutputsPaginator.js +73 -0
- package/dist-es/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +73 -0
- package/dist-es/pagination/ListServicePipelineOutputsPaginator.js +73 -0
- package/dist-es/pagination/ListServicePipelineProvisionedResourcesPaginator.js +73 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +2529 -291
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Proton.d.ts +400 -248
- package/dist-types/ProtonClient.d.ts +113 -82
- package/dist-types/commands/AcceptEnvironmentAccountConnectionCommand.d.ts +4 -5
- package/dist-types/commands/CancelEnvironmentDeploymentCommand.d.ts +9 -8
- package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +7 -7
- package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +7 -7
- package/dist-types/commands/CreateEnvironmentAccountConnectionCommand.d.ts +5 -5
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +16 -3
- package/dist-types/commands/CreateEnvironmentTemplateCommand.d.ts +9 -11
- package/dist-types/commands/CreateEnvironmentTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateRepositoryCommand.d.ts +37 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -3
- package/dist-types/commands/CreateServiceTemplateCommand.d.ts +5 -5
- package/dist-types/commands/CreateServiceTemplateVersionCommand.d.ts +2 -3
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +38 -0
- package/dist-types/commands/DeleteEnvironmentAccountConnectionCommand.d.ts +5 -5
- package/dist-types/commands/DeleteEnvironmentTemplateVersionCommand.d.ts +5 -6
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +35 -0
- package/dist-types/commands/DeleteServiceTemplateVersionCommand.d.ts +5 -6
- package/dist-types/commands/DeleteTemplateSyncConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/GetRepositoryCommand.d.ts +35 -0
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +35 -0
- package/dist-types/commands/GetServiceInstanceCommand.d.ts +1 -1
- package/dist-types/commands/GetTemplateSyncConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetTemplateSyncStatusCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentAccountConnectionsCommand.d.ts +2 -2
- package/dist-types/commands/ListEnvironmentOutputsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentProvisionedResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListRepositoriesCommand.d.ts +35 -0
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +35 -0
- package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +35 -0
- package/dist-types/commands/ListServiceInstanceProvisionedResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +35 -0
- package/dist-types/commands/ListServicePipelineProvisionedResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +41 -0
- package/dist-types/commands/RejectEnvironmentAccountConnectionCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +30 -28
- package/dist-types/commands/UpdateServiceCommand.d.ts +5 -6
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +19 -21
- package/dist-types/commands/UpdateServicePipelineCommand.d.ts +19 -21
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +1440 -355
- package/dist-types/pagination/ListEnvironmentOutputsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRepositoriesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRepositorySyncDefinitionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListServiceInstanceOutputsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListServiceInstanceProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListServicePipelineOutputsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListServicePipelineProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Proton.d.ts +90 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +23 -3
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTemplateSyncConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTemplateSyncConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTemplateSyncConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTemplateSyncStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentOutputsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentProvisionedResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServiceInstanceOutputsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServiceInstanceProvisionedResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicePipelineOutputsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicePipelineProvisionedResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTemplateSyncConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +635 -31
- package/dist-types/ts3.4/pagination/ListEnvironmentOutputsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRepositoriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRepositorySyncDefinitionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServiceInstanceOutputsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServiceInstanceProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServicePipelineOutputsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServicePipelineProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +54 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptEnvironmentAccountConnectionCommandInput, AcceptEnvironmentAccountConnectionCommandOutput } from "./commands/AcceptEnvironmentAccountConnectionCommand";
|
|
10
10
|
import { CancelEnvironmentDeploymentCommandInput, CancelEnvironmentDeploymentCommandOutput } from "./commands/CancelEnvironmentDeploymentCommand";
|
|
@@ -14,34 +14,51 @@ import { CreateEnvironmentAccountConnectionCommandInput, CreateEnvironmentAccoun
|
|
|
14
14
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
15
15
|
import { CreateEnvironmentTemplateCommandInput, CreateEnvironmentTemplateCommandOutput } from "./commands/CreateEnvironmentTemplateCommand";
|
|
16
16
|
import { CreateEnvironmentTemplateVersionCommandInput, CreateEnvironmentTemplateVersionCommandOutput } from "./commands/CreateEnvironmentTemplateVersionCommand";
|
|
17
|
+
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
17
18
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
18
19
|
import { CreateServiceTemplateCommandInput, CreateServiceTemplateCommandOutput } from "./commands/CreateServiceTemplateCommand";
|
|
19
20
|
import { CreateServiceTemplateVersionCommandInput, CreateServiceTemplateVersionCommandOutput } from "./commands/CreateServiceTemplateVersionCommand";
|
|
21
|
+
import { CreateTemplateSyncConfigCommandInput, CreateTemplateSyncConfigCommandOutput } from "./commands/CreateTemplateSyncConfigCommand";
|
|
20
22
|
import { DeleteEnvironmentAccountConnectionCommandInput, DeleteEnvironmentAccountConnectionCommandOutput } from "./commands/DeleteEnvironmentAccountConnectionCommand";
|
|
21
23
|
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
22
24
|
import { DeleteEnvironmentTemplateCommandInput, DeleteEnvironmentTemplateCommandOutput } from "./commands/DeleteEnvironmentTemplateCommand";
|
|
23
25
|
import { DeleteEnvironmentTemplateVersionCommandInput, DeleteEnvironmentTemplateVersionCommandOutput } from "./commands/DeleteEnvironmentTemplateVersionCommand";
|
|
26
|
+
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
24
27
|
import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
25
28
|
import { DeleteServiceTemplateCommandInput, DeleteServiceTemplateCommandOutput } from "./commands/DeleteServiceTemplateCommand";
|
|
26
29
|
import { DeleteServiceTemplateVersionCommandInput, DeleteServiceTemplateVersionCommandOutput } from "./commands/DeleteServiceTemplateVersionCommand";
|
|
30
|
+
import { DeleteTemplateSyncConfigCommandInput, DeleteTemplateSyncConfigCommandOutput } from "./commands/DeleteTemplateSyncConfigCommand";
|
|
27
31
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
28
32
|
import { GetEnvironmentAccountConnectionCommandInput, GetEnvironmentAccountConnectionCommandOutput } from "./commands/GetEnvironmentAccountConnectionCommand";
|
|
29
33
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
30
34
|
import { GetEnvironmentTemplateCommandInput, GetEnvironmentTemplateCommandOutput } from "./commands/GetEnvironmentTemplateCommand";
|
|
31
35
|
import { GetEnvironmentTemplateVersionCommandInput, GetEnvironmentTemplateVersionCommandOutput } from "./commands/GetEnvironmentTemplateVersionCommand";
|
|
36
|
+
import { GetRepositoryCommandInput, GetRepositoryCommandOutput } from "./commands/GetRepositoryCommand";
|
|
37
|
+
import { GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput } from "./commands/GetRepositorySyncStatusCommand";
|
|
32
38
|
import { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
33
39
|
import { GetServiceInstanceCommandInput, GetServiceInstanceCommandOutput } from "./commands/GetServiceInstanceCommand";
|
|
34
40
|
import { GetServiceTemplateCommandInput, GetServiceTemplateCommandOutput } from "./commands/GetServiceTemplateCommand";
|
|
35
41
|
import { GetServiceTemplateVersionCommandInput, GetServiceTemplateVersionCommandOutput } from "./commands/GetServiceTemplateVersionCommand";
|
|
42
|
+
import { GetTemplateSyncConfigCommandInput, GetTemplateSyncConfigCommandOutput } from "./commands/GetTemplateSyncConfigCommand";
|
|
43
|
+
import { GetTemplateSyncStatusCommandInput, GetTemplateSyncStatusCommandOutput } from "./commands/GetTemplateSyncStatusCommand";
|
|
36
44
|
import { ListEnvironmentAccountConnectionsCommandInput, ListEnvironmentAccountConnectionsCommandOutput } from "./commands/ListEnvironmentAccountConnectionsCommand";
|
|
45
|
+
import { ListEnvironmentOutputsCommandInput, ListEnvironmentOutputsCommandOutput } from "./commands/ListEnvironmentOutputsCommand";
|
|
46
|
+
import { ListEnvironmentProvisionedResourcesCommandInput, ListEnvironmentProvisionedResourcesCommandOutput } from "./commands/ListEnvironmentProvisionedResourcesCommand";
|
|
37
47
|
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
38
48
|
import { ListEnvironmentTemplatesCommandInput, ListEnvironmentTemplatesCommandOutput } from "./commands/ListEnvironmentTemplatesCommand";
|
|
39
49
|
import { ListEnvironmentTemplateVersionsCommandInput, ListEnvironmentTemplateVersionsCommandOutput } from "./commands/ListEnvironmentTemplateVersionsCommand";
|
|
50
|
+
import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand";
|
|
51
|
+
import { ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput } from "./commands/ListRepositorySyncDefinitionsCommand";
|
|
52
|
+
import { ListServiceInstanceOutputsCommandInput, ListServiceInstanceOutputsCommandOutput } from "./commands/ListServiceInstanceOutputsCommand";
|
|
53
|
+
import { ListServiceInstanceProvisionedResourcesCommandInput, ListServiceInstanceProvisionedResourcesCommandOutput } from "./commands/ListServiceInstanceProvisionedResourcesCommand";
|
|
40
54
|
import { ListServiceInstancesCommandInput, ListServiceInstancesCommandOutput } from "./commands/ListServiceInstancesCommand";
|
|
55
|
+
import { ListServicePipelineOutputsCommandInput, ListServicePipelineOutputsCommandOutput } from "./commands/ListServicePipelineOutputsCommand";
|
|
56
|
+
import { ListServicePipelineProvisionedResourcesCommandInput, ListServicePipelineProvisionedResourcesCommandOutput } from "./commands/ListServicePipelineProvisionedResourcesCommand";
|
|
41
57
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
42
58
|
import { ListServiceTemplatesCommandInput, ListServiceTemplatesCommandOutput } from "./commands/ListServiceTemplatesCommand";
|
|
43
59
|
import { ListServiceTemplateVersionsCommandInput, ListServiceTemplateVersionsCommandOutput } from "./commands/ListServiceTemplateVersionsCommand";
|
|
44
60
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
61
|
+
import { NotifyResourceDeploymentStatusChangeCommandInput, NotifyResourceDeploymentStatusChangeCommandOutput } from "./commands/NotifyResourceDeploymentStatusChangeCommand";
|
|
45
62
|
import { RejectEnvironmentAccountConnectionCommandInput, RejectEnvironmentAccountConnectionCommandOutput } from "./commands/RejectEnvironmentAccountConnectionCommand";
|
|
46
63
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
47
64
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -55,8 +72,9 @@ import { UpdateServiceInstanceCommandInput, UpdateServiceInstanceCommandOutput }
|
|
|
55
72
|
import { UpdateServicePipelineCommandInput, UpdateServicePipelineCommandOutput } from "./commands/UpdateServicePipelineCommand";
|
|
56
73
|
import { UpdateServiceTemplateCommandInput, UpdateServiceTemplateCommandOutput } from "./commands/UpdateServiceTemplateCommand";
|
|
57
74
|
import { UpdateServiceTemplateVersionCommandInput, UpdateServiceTemplateVersionCommandOutput } from "./commands/UpdateServiceTemplateVersionCommand";
|
|
58
|
-
|
|
59
|
-
export declare type
|
|
75
|
+
import { UpdateTemplateSyncConfigCommandInput, UpdateTemplateSyncConfigCommandOutput } from "./commands/UpdateTemplateSyncConfigCommand";
|
|
76
|
+
export declare type ServiceInputTypes = AcceptEnvironmentAccountConnectionCommandInput | CancelEnvironmentDeploymentCommandInput | CancelServiceInstanceDeploymentCommandInput | CancelServicePipelineDeploymentCommandInput | CreateEnvironmentAccountConnectionCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentTemplateCommandInput | CreateEnvironmentTemplateVersionCommandInput | CreateRepositoryCommandInput | CreateServiceCommandInput | CreateServiceTemplateCommandInput | CreateServiceTemplateVersionCommandInput | CreateTemplateSyncConfigCommandInput | DeleteEnvironmentAccountConnectionCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentTemplateCommandInput | DeleteEnvironmentTemplateVersionCommandInput | DeleteRepositoryCommandInput | DeleteServiceCommandInput | DeleteServiceTemplateCommandInput | DeleteServiceTemplateVersionCommandInput | DeleteTemplateSyncConfigCommandInput | GetAccountSettingsCommandInput | GetEnvironmentAccountConnectionCommandInput | GetEnvironmentCommandInput | GetEnvironmentTemplateCommandInput | GetEnvironmentTemplateVersionCommandInput | GetRepositoryCommandInput | GetRepositorySyncStatusCommandInput | GetServiceCommandInput | GetServiceInstanceCommandInput | GetServiceTemplateCommandInput | GetServiceTemplateVersionCommandInput | GetTemplateSyncConfigCommandInput | GetTemplateSyncStatusCommandInput | ListEnvironmentAccountConnectionsCommandInput | ListEnvironmentOutputsCommandInput | ListEnvironmentProvisionedResourcesCommandInput | ListEnvironmentTemplateVersionsCommandInput | ListEnvironmentTemplatesCommandInput | ListEnvironmentsCommandInput | ListRepositoriesCommandInput | ListRepositorySyncDefinitionsCommandInput | ListServiceInstanceOutputsCommandInput | ListServiceInstanceProvisionedResourcesCommandInput | ListServiceInstancesCommandInput | ListServicePipelineOutputsCommandInput | ListServicePipelineProvisionedResourcesCommandInput | ListServiceTemplateVersionsCommandInput | ListServiceTemplatesCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | NotifyResourceDeploymentStatusChangeCommandInput | RejectEnvironmentAccountConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateEnvironmentAccountConnectionCommandInput | UpdateEnvironmentCommandInput | UpdateEnvironmentTemplateCommandInput | UpdateEnvironmentTemplateVersionCommandInput | UpdateServiceCommandInput | UpdateServiceInstanceCommandInput | UpdateServicePipelineCommandInput | UpdateServiceTemplateCommandInput | UpdateServiceTemplateVersionCommandInput | UpdateTemplateSyncConfigCommandInput;
|
|
77
|
+
export declare type ServiceOutputTypes = AcceptEnvironmentAccountConnectionCommandOutput | CancelEnvironmentDeploymentCommandOutput | CancelServiceInstanceDeploymentCommandOutput | CancelServicePipelineDeploymentCommandOutput | CreateEnvironmentAccountConnectionCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentTemplateCommandOutput | CreateEnvironmentTemplateVersionCommandOutput | CreateRepositoryCommandOutput | CreateServiceCommandOutput | CreateServiceTemplateCommandOutput | CreateServiceTemplateVersionCommandOutput | CreateTemplateSyncConfigCommandOutput | DeleteEnvironmentAccountConnectionCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentTemplateCommandOutput | DeleteEnvironmentTemplateVersionCommandOutput | DeleteRepositoryCommandOutput | DeleteServiceCommandOutput | DeleteServiceTemplateCommandOutput | DeleteServiceTemplateVersionCommandOutput | DeleteTemplateSyncConfigCommandOutput | GetAccountSettingsCommandOutput | GetEnvironmentAccountConnectionCommandOutput | GetEnvironmentCommandOutput | GetEnvironmentTemplateCommandOutput | GetEnvironmentTemplateVersionCommandOutput | GetRepositoryCommandOutput | GetRepositorySyncStatusCommandOutput | GetServiceCommandOutput | GetServiceInstanceCommandOutput | GetServiceTemplateCommandOutput | GetServiceTemplateVersionCommandOutput | GetTemplateSyncConfigCommandOutput | GetTemplateSyncStatusCommandOutput | ListEnvironmentAccountConnectionsCommandOutput | ListEnvironmentOutputsCommandOutput | ListEnvironmentProvisionedResourcesCommandOutput | ListEnvironmentTemplateVersionsCommandOutput | ListEnvironmentTemplatesCommandOutput | ListEnvironmentsCommandOutput | ListRepositoriesCommandOutput | ListRepositorySyncDefinitionsCommandOutput | ListServiceInstanceOutputsCommandOutput | ListServiceInstanceProvisionedResourcesCommandOutput | ListServiceInstancesCommandOutput | ListServicePipelineOutputsCommandOutput | ListServicePipelineProvisionedResourcesCommandOutput | ListServiceTemplateVersionsCommandOutput | ListServiceTemplatesCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | NotifyResourceDeploymentStatusChangeCommandOutput | RejectEnvironmentAccountConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateEnvironmentAccountConnectionCommandOutput | UpdateEnvironmentCommandOutput | UpdateEnvironmentTemplateCommandOutput | UpdateEnvironmentTemplateVersionCommandOutput | UpdateServiceCommandOutput | UpdateServiceInstanceCommandOutput | UpdateServicePipelineCommandOutput | UpdateServiceTemplateCommandOutput | UpdateServiceTemplateVersionCommandOutput | UpdateTemplateSyncConfigCommandOutput;
|
|
60
78
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
61
79
|
/**
|
|
62
80
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -157,6 +175,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
157
175
|
* @internal
|
|
158
176
|
*/
|
|
159
177
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
178
|
+
/**
|
|
179
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
180
|
+
*/
|
|
181
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
160
182
|
}
|
|
161
183
|
declare type ProtonClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
162
184
|
/**
|
|
@@ -171,125 +193,134 @@ declare type ProtonClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
171
193
|
export interface ProtonClientResolvedConfig extends ProtonClientResolvedConfigType {
|
|
172
194
|
}
|
|
173
195
|
/**
|
|
174
|
-
* <p>This is the
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
196
|
+
* <p>This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the
|
|
197
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Operations.html">actions</a> and <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Types.html">data types</a> for the Proton
|
|
198
|
+
* service.</p>
|
|
199
|
+
* <p>The documentation for each action shows the Query API request parameters and the XML response.</p>
|
|
200
|
+
* <p>Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">Amazon Web Services Command Line Interface User
|
|
201
|
+
* Guide</a>.</p>
|
|
202
|
+
* <p>The Proton service is a two-pronged automation framework. Administrators create service templates to provide
|
|
203
|
+
* standardized infrastructure and deployment tooling for serverless and container based applications. Developers, in
|
|
204
|
+
* turn, select from the available service templates to automate their application or service deployments.</p>
|
|
205
|
+
* <p>Because administrators define the infrastructure and tooling that Proton deploys and manages, they need
|
|
206
|
+
* permissions to use all of the listed API operations.</p>
|
|
207
|
+
* <p>When developers select a specific infrastructure and tooling set, Proton deploys their applications. To
|
|
208
|
+
* monitor their applications that are running on Proton, developers need permissions to the service
|
|
209
|
+
* <i>create</i>, <i>list</i>, <i>update</i> and <i>delete</i>
|
|
210
|
+
* API operations and the service instance <i>list</i> and <i>update</i> API
|
|
211
|
+
* operations.</p>
|
|
212
|
+
* <p>To learn more about Proton administration, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/Welcome.html">Proton Administrator Guide</a>.</p>
|
|
213
|
+
* <p>To learn more about deploying serverless and containerized applications on Proton, see the <a href="https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html">Proton User Guide</a>.</p>
|
|
214
|
+
* <p>
|
|
190
215
|
* <b>Ensuring Idempotency</b>
|
|
191
216
|
* </p>
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
217
|
+
* <p>When you make a mutating API request, the request typically returns a result before the asynchronous workflows
|
|
218
|
+
* of the operation are complete. Operations might also time out or encounter other server issues before they're
|
|
219
|
+
* complete, even if the request already returned a result. This might make it difficult to determine whether the
|
|
220
|
+
* request succeeded. Moreover, you might need to retry the request multiple times to ensure that the operation
|
|
221
|
+
* completes successfully. However, if the original request and the subsequent retries are successful, the operation
|
|
222
|
+
* occurs multiple times. This means that you might create more resources than you intended.</p>
|
|
223
|
+
* <p>
|
|
224
|
+
* <i>Idempotency</i> ensures that an API request action completes no more than one time. With an
|
|
225
|
+
* idempotent request, if the original request action completes successfully, any subsequent retries complete
|
|
226
|
+
* successfully without performing any further actions. However, the result might contain updated information, such as
|
|
227
|
+
* the current creation status.</p>
|
|
228
|
+
* <p>The following lists of APIs are grouped according to methods that ensure idempotency.</p>
|
|
229
|
+
* <p>
|
|
203
230
|
* <b>Idempotent create APIs with a client token</b>
|
|
204
231
|
* </p>
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
232
|
+
* <p>The API actions in this list support idempotency with the use of a <i>client token</i>. The
|
|
233
|
+
* corresponding Amazon Web Services CLI commands also support idempotency using a client token. A client token is a unique,
|
|
234
|
+
* case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions,
|
|
235
|
+
* specify a client token in the request. We recommend that you <i>don't</i> reuse the same client token
|
|
236
|
+
* for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically
|
|
237
|
+
* provided by SDKs.</p>
|
|
238
|
+
* <p>Given a request action that has succeeded:</p>
|
|
239
|
+
* <p>If you retry the request using the same client token and the same parameters, the retry succeeds without
|
|
240
|
+
* performing any further actions other than returning the original resource detail data in the response.</p>
|
|
241
|
+
* <p>If you retry the request using the same client token, but one or more of the parameters are different, the retry
|
|
242
|
+
* throws a <code>ValidationException</code> with an <code>IdempotentParameterMismatch</code> error.</p>
|
|
243
|
+
* <p>Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new
|
|
244
|
+
* resource is created.</p>
|
|
245
|
+
* <p>If the original resource is deleted and you retry the request, a new resource is created.</p>
|
|
246
|
+
* <p>Idempotent create APIs with a client token:</p>
|
|
247
|
+
* <ul>
|
|
220
248
|
* <li>
|
|
221
|
-
*
|
|
249
|
+
* <p>CreateEnvironmentTemplateVersion</p>
|
|
222
250
|
* </li>
|
|
223
251
|
* <li>
|
|
224
|
-
*
|
|
252
|
+
* <p>CreateServiceTemplateVersion</p>
|
|
225
253
|
* </li>
|
|
226
254
|
* <li>
|
|
227
|
-
*
|
|
255
|
+
* <p>CreateEnvironmentAccountConnection</p>
|
|
228
256
|
* </li>
|
|
229
257
|
* </ul>
|
|
230
|
-
*
|
|
258
|
+
* <p>
|
|
231
259
|
* <b>Idempotent create APIs</b>
|
|
232
260
|
* </p>
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
261
|
+
* <p>Given a request action that has succeeded:</p>
|
|
262
|
+
* <p>If you retry the request with an API from this group, and the original resource <i>hasn't</i> been
|
|
263
|
+
* modified, the retry succeeds without performing any further actions other than returning the original resource detail
|
|
264
|
+
* data in the response.</p>
|
|
265
|
+
* <p>If the original resource has been modified, the retry throws a <code>ConflictException</code>.</p>
|
|
266
|
+
* <p>If you retry with different input parameters, the retry throws a <code>ValidationException</code> with an
|
|
267
|
+
* <code>IdempotentParameterMismatch</code> error.</p>
|
|
268
|
+
* <p>Idempotent create APIs:</p>
|
|
269
|
+
* <ul>
|
|
241
270
|
* <li>
|
|
242
|
-
*
|
|
271
|
+
* <p>CreateEnvironmentTemplate</p>
|
|
243
272
|
* </li>
|
|
244
273
|
* <li>
|
|
245
|
-
*
|
|
274
|
+
* <p>CreateServiceTemplate</p>
|
|
246
275
|
* </li>
|
|
247
276
|
* <li>
|
|
248
|
-
*
|
|
277
|
+
* <p>CreateEnvironment</p>
|
|
249
278
|
* </li>
|
|
250
279
|
* <li>
|
|
251
|
-
*
|
|
280
|
+
* <p>CreateService</p>
|
|
252
281
|
* </li>
|
|
253
282
|
* </ul>
|
|
254
|
-
*
|
|
283
|
+
* <p>
|
|
255
284
|
* <b>Idempotent delete APIs</b>
|
|
256
285
|
* </p>
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
286
|
+
* <p>Given a request action that has succeeded:</p>
|
|
287
|
+
* <p>When you retry the request with an API from this group and the resource was deleted, its metadata is returned in
|
|
288
|
+
* the response.</p>
|
|
289
|
+
* <p>If you retry and the resource doesn't exist, the response is empty.</p>
|
|
290
|
+
* <p>In both cases, the retry succeeds.</p>
|
|
291
|
+
* <p>Idempotent delete APIs:</p>
|
|
292
|
+
* <ul>
|
|
263
293
|
* <li>
|
|
264
|
-
*
|
|
294
|
+
* <p>DeleteEnvironmentTemplate</p>
|
|
265
295
|
* </li>
|
|
266
296
|
* <li>
|
|
267
|
-
*
|
|
297
|
+
* <p>DeleteEnvironmentTemplateVersion</p>
|
|
268
298
|
* </li>
|
|
269
299
|
* <li>
|
|
270
|
-
*
|
|
300
|
+
* <p>DeleteServiceTemplate</p>
|
|
271
301
|
* </li>
|
|
272
302
|
* <li>
|
|
273
|
-
*
|
|
303
|
+
* <p>DeleteServiceTemplateVersion</p>
|
|
274
304
|
* </li>
|
|
275
305
|
* <li>
|
|
276
|
-
*
|
|
306
|
+
* <p>DeleteEnvironmentAccountConnection</p>
|
|
277
307
|
* </li>
|
|
278
308
|
* </ul>
|
|
279
|
-
*
|
|
309
|
+
* <p>
|
|
280
310
|
* <b>Asynchronous idempotent delete APIs</b>
|
|
281
311
|
* </p>
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
312
|
+
* <p>Given a request action that has succeeded:</p>
|
|
313
|
+
* <p>If you retry the request with an API from this group, if the original request delete operation status is
|
|
314
|
+
* <code>DELETE_IN_PROGRESS</code>, the retry returns the resource detail data in the response without performing any
|
|
315
|
+
* further actions.</p>
|
|
316
|
+
* <p>If the original request delete operation is complete, a retry returns an empty response.</p>
|
|
317
|
+
* <p>Asynchronous idempotent delete APIs:</p>
|
|
318
|
+
* <ul>
|
|
288
319
|
* <li>
|
|
289
|
-
*
|
|
320
|
+
* <p>DeleteEnvironment</p>
|
|
290
321
|
* </li>
|
|
291
322
|
* <li>
|
|
292
|
-
*
|
|
323
|
+
* <p>DeleteService</p>
|
|
293
324
|
* </li>
|
|
294
325
|
* </ul>
|
|
295
326
|
*/
|
|
@@ -7,11 +7,10 @@ export interface AcceptEnvironmentAccountConnectionCommandInput extends AcceptEn
|
|
|
7
7
|
export interface AcceptEnvironmentAccountConnectionCommandOutput extends AcceptEnvironmentAccountConnectionOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>In a management account, an environment account connection request is accepted. When the environment account connection request is
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* connections</a> in the <i>AWS Proton Administrator guide</i>.</p>
|
|
10
|
+
* <p>In a management account, an environment account connection request is accepted. When the environment account connection request is accepted,
|
|
11
|
+
* Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.</p>
|
|
12
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
|
|
13
|
+
* connections</a> in the <i>Proton Administrator guide</i>.</p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
16
|
* ```javascript
|
|
@@ -7,19 +7,20 @@ export interface CancelEnvironmentDeploymentCommandInput extends CancelEnvironme
|
|
|
7
7
|
export interface CancelEnvironmentDeploymentCommandOutput extends CancelEnvironmentDeploymentOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Attempts to cancel an environment deployment on an <a>UpdateEnvironment</a> action, if the deployment is
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* <p>Attempts to cancel an environment deployment on an <a>UpdateEnvironment</a> action, if the deployment is <code>IN_PROGRESS</code>.
|
|
11
|
+
* For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-update.html">Update an environment</a> in the
|
|
12
|
+
* <i>Proton Administrator guide</i>.</p>
|
|
13
|
+
* <p>The following list includes potential cancellation scenarios.</p>
|
|
14
|
+
* <ul>
|
|
14
15
|
* <li>
|
|
15
|
-
*
|
|
16
|
+
* <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
|
|
16
17
|
* </li>
|
|
17
18
|
* <li>
|
|
18
|
-
*
|
|
19
|
+
* <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
|
|
19
20
|
* </li>
|
|
20
21
|
* <li>
|
|
21
|
-
*
|
|
22
|
-
*
|
|
22
|
+
* <p>If the current <a>UpdateEnvironment</a> action succeeds before the cancellation attempt starts, the resulting deployment state is
|
|
23
|
+
* <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
|
|
23
24
|
* </li>
|
|
24
25
|
* </ul>
|
|
25
26
|
* @example
|
|
@@ -8,18 +8,18 @@ export interface CancelServiceInstanceDeploymentCommandOutput extends CancelServ
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Attempts to cancel a service instance deployment on an <a>UpdateServiceInstance</a> action, if the deployment is
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <code>IN_PROGRESS</code>. For more information, see <i>Update a service instance</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-svc-instance-update.html">Proton Administrator guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-instance-update.html">Proton User guide</a>.</p>
|
|
12
|
+
* <p>The following list includes potential cancellation scenarios.</p>
|
|
13
|
+
* <ul>
|
|
14
14
|
* <li>
|
|
15
|
-
*
|
|
15
|
+
* <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
|
|
16
16
|
* </li>
|
|
17
17
|
* <li>
|
|
18
|
-
*
|
|
18
|
+
* <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
|
|
19
19
|
* </li>
|
|
20
20
|
* <li>
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* <p>If the current <a>UpdateServiceInstance</a> action succeeds before the cancellation attempt starts, the resulting deployment
|
|
22
|
+
* state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -8,18 +8,18 @@ export interface CancelServicePipelineDeploymentCommandOutput extends CancelServ
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Attempts to cancel a service pipeline deployment on an <a>UpdateServicePipeline</a> action, if the deployment is
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <code>IN_PROGRESS</code>. For more information, see <i>Update a service pipeline</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-svc-pipeline-update.html">Proton Administrator guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-pipeline-update.html">Proton User guide</a>.</p>
|
|
12
|
+
* <p>The following list includes potential cancellation scenarios.</p>
|
|
13
|
+
* <ul>
|
|
14
14
|
* <li>
|
|
15
|
-
*
|
|
15
|
+
* <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
|
|
16
16
|
* </li>
|
|
17
17
|
* <li>
|
|
18
|
-
*
|
|
18
|
+
* <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
|
|
19
19
|
* </li>
|
|
20
20
|
* <li>
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* <p>If the current <a>UpdateServicePipeline</a> action succeeds before the cancellation attempt starts, the resulting deployment
|
|
22
|
+
* state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -7,11 +7,11 @@ export interface CreateEnvironmentAccountConnectionCommandInput extends CreateEn
|
|
|
7
7
|
export interface CreateEnvironmentAccountConnectionCommandOutput extends CreateEnvironmentAccountConnectionOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* <p>Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the
|
|
11
|
+
* environment account from a management account.</p>
|
|
12
|
+
* <p>An environment account connection is a secure bi-directional connection between a <i>management account</i> and an
|
|
13
|
+
* <i>environment account</i> that maintains authorization and permissions. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account connections</a> in the <i>Proton Administrator
|
|
14
|
+
* guide</i>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -7,9 +7,22 @@ export interface CreateEnvironmentCommandInput extends CreateEnvironmentInput {
|
|
|
7
7
|
export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deploy a new environment. An
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* <p>Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can
|
|
11
|
+
* be shared across services.</p>
|
|
12
|
+
* <p class="title">
|
|
13
|
+
* <b>You can provision environments using the following methods:</b>
|
|
14
|
+
* </p>
|
|
15
|
+
* <ul>
|
|
16
|
+
* <li>
|
|
17
|
+
* <p>Standard provisioning: Proton makes direct calls to provision your resources.</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>Pull request provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your
|
|
21
|
+
* IaC engine uses to provision resources.</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* </ul>
|
|
24
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html">Environments</a> in the
|
|
25
|
+
* <i>Proton Administrator Guide.</i>
|
|
13
26
|
* </p>
|
|
14
27
|
* @example
|
|
15
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,20 +7,18 @@ export interface CreateEnvironmentTemplateCommandInput extends CreateEnvironment
|
|
|
7
7
|
export interface CreateEnvironmentTemplateCommandOutput extends CreateEnvironmentTemplateOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Create an environment template for
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* <ul>
|
|
10
|
+
* <p>Create an environment template for Proton. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-templates.html">Environment Templates</a> in the <i>Proton Administrator Guide</i>.</p>
|
|
11
|
+
* <p>You can create an environment template in one of the two following ways:</p>
|
|
12
|
+
* <ul>
|
|
14
13
|
* <li>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* <p>Register and publish a <i>standard</i> environment template that instructs Proton to deploy and manage environment
|
|
15
|
+
* infrastructure.</p>
|
|
17
16
|
* </li>
|
|
18
17
|
* <li>
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* in the <i>AWS Proton Administrator Guide</i>.</p>
|
|
18
|
+
* <p>Register and publish a <i>customer managed</i> environment template that connects Proton to your existing provisioned
|
|
19
|
+
* infrastructure that you manage. Proton <i>doesn't</i> manage your existing provisioned infrastructure. To create an environment
|
|
20
|
+
* template for customer provisioned and managed infrastructure, include the <code>provisioning</code> parameter and set the value to
|
|
21
|
+
* <code>CUSTOMER_MANAGED</code>. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/template-create.html">Register and publish an environment template</a> in the <i>Proton Administrator Guide</i>.</p>
|
|
24
22
|
* </li>
|
|
25
23
|
* </ul>
|
|
26
24
|
* @example
|
|
@@ -8,8 +8,8 @@ export interface CreateEnvironmentTemplateVersionCommandOutput extends CreateEnv
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Create a new major or minor version of an environment template. A major version of an environment template is a version that
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* <i>isn't</i> backwards compatible. A minor version of an environment template is a version that's backwards compatible within its
|
|
12
|
+
* major version.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateRepositoryInput, CreateRepositoryOutput } from "../models/models_0";
|
|
4
|
+
import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
|
|
5
|
+
export interface CreateRepositoryCommandInput extends CreateRepositoryInput {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Create and register a link to a repository that can be used with pull request provisioning or template sync configurations. For more
|
|
11
|
+
* information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html">Template bundles</a> and <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton
|
|
12
|
+
* Administrator Guide</i>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ProtonClient, CreateRepositoryCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
17
|
+
* // const { ProtonClient, CreateRepositoryCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
18
|
+
* const client = new ProtonClient(config);
|
|
19
|
+
* const command = new CreateRepositoryCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateRepositoryCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, ProtonClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateRepositoryCommandInput;
|
|
30
|
+
constructor(input: CreateRepositoryCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRepositoryCommandInput, CreateRepositoryCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -7,9 +7,10 @@ export interface CreateServiceCommandInput extends CreateServiceInput {
|
|
|
7
7
|
export interface CreateServiceCommandOutput extends CreateServiceOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Create an
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* <p>Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and
|
|
11
|
+
* pipeline. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-services.html">Services</a> in the
|
|
12
|
+
* <i>Proton Administrator Guide</i> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-service.html">Services</a>
|
|
13
|
+
* in the <i>Proton User Guide</i>.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|