@aws-sdk/client-appconfig 3.774.0 → 3.777.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/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/AppConfigClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CreateApplicationCommand.d.ts +8 -8
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +12 -12
- package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +14 -14
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +9 -9
- package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +1 -0
- package/dist-types/commands/CreateExtensionCommand.d.ts +1 -0
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +12 -12
- package/dist-types/commands/DeleteApplicationCommand.d.ts +8 -5
- package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +8 -5
- package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +8 -5
- package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteExtensionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +9 -6
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -6
- package/dist-types/commands/GetConfigurationCommand.d.ts +9 -9
- package/dist-types/commands/GetConfigurationProfileCommand.d.ts +10 -10
- package/dist-types/commands/GetDeploymentCommand.d.ts +1 -77
- package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +11 -11
- package/dist-types/commands/GetEnvironmentCommand.d.ts +9 -9
- package/dist-types/commands/GetExtensionAssociationCommand.d.ts +1 -0
- package/dist-types/commands/GetExtensionCommand.d.ts +1 -0
- package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +10 -10
- package/dist-types/commands/ListApplicationsCommand.d.ts +10 -10
- package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +9 -9
- package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +12 -12
- package/dist-types/commands/ListDeploymentsCommand.d.ts +1 -31
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +9 -9
- package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/ListExtensionsCommand.d.ts +1 -0
- package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +10 -10
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -6
- package/dist-types/commands/StartDeploymentCommand.d.ts +1 -44
- package/dist-types/commands/StopDeploymentCommand.d.ts +11 -11
- package/dist-types/commands/TagResourceCommand.d.ts +9 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +9 -9
- package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +12 -12
- package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +13 -13
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +11 -11
- package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateExtensionCommand.d.ts +1 -0
- package/dist-types/commands/ValidateConfigurationCommand.d.ts +9 -6
- package/package.json +34 -34
|
@@ -78,28 +78,28 @@ declare const GetConfigurationProfileCommand_base: {
|
|
|
78
78
|
* @throws {@link AppConfigServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example To retrieve configuration profile details
|
|
83
83
|
* ```javascript
|
|
84
84
|
* // The following get-configuration-profile example returns the details of the specified configuration profile.
|
|
85
85
|
* const input = {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
86
|
+
* ApplicationId: "339ohji",
|
|
87
|
+
* ConfigurationProfileId: "ur8hx2f"
|
|
88
88
|
* };
|
|
89
89
|
* const command = new GetConfigurationProfileCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
-
* /* response
|
|
91
|
+
* /* response is
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
93
|
+
* ApplicationId: "339ohji",
|
|
94
|
+
* Id: "ur8hx2f",
|
|
95
|
+
* LocationUri: "ssm-parameter://Example-Parameter",
|
|
96
|
+
* Name: "Example-Configuration-Profile",
|
|
97
|
+
* RetrievalRoleArn: "arn:aws:iam::111122223333:role/Example-App-Config-Role"
|
|
98
98
|
* }
|
|
99
99
|
* *\/
|
|
100
|
-
* // example id: to-retrieve-configuration-profile-details-1632266081013
|
|
101
100
|
* ```
|
|
102
101
|
*
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
export declare class GetConfigurationProfileCommand extends GetConfigurationProfileCommand_base {
|
|
105
105
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -113,84 +113,8 @@ declare const GetDeploymentCommand_base: {
|
|
|
113
113
|
* @throws {@link AppConfigServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
115
115
|
*
|
|
116
|
-
* @public
|
|
117
|
-
* @example To retrieve deployment details
|
|
118
|
-
* ```javascript
|
|
119
|
-
* // The following get-deployment example lists details of the deployment to the application in the specified environment and deployment.
|
|
120
|
-
* const input = {
|
|
121
|
-
* "ApplicationId": "339ohji",
|
|
122
|
-
* "DeploymentNumber": 1,
|
|
123
|
-
* "EnvironmentId": "54j1r29"
|
|
124
|
-
* };
|
|
125
|
-
* const command = new GetDeploymentCommand(input);
|
|
126
|
-
* const response = await client.send(command);
|
|
127
|
-
* /* response ==
|
|
128
|
-
* {
|
|
129
|
-
* "ApplicationId": "339ohji",
|
|
130
|
-
* "CompletedAt": "2021-09-17T21:59:03.888000+00:00",
|
|
131
|
-
* "ConfigurationLocationUri": "ssm-parameter://Example-Parameter",
|
|
132
|
-
* "ConfigurationName": "Example-Configuration-Profile",
|
|
133
|
-
* "ConfigurationProfileId": "ur8hx2f",
|
|
134
|
-
* "ConfigurationVersion": "1",
|
|
135
|
-
* "DeploymentDurationInMinutes": 15,
|
|
136
|
-
* "DeploymentNumber": 1,
|
|
137
|
-
* "DeploymentStrategyId": "1225qzk",
|
|
138
|
-
* "EnvironmentId": "54j1r29",
|
|
139
|
-
* "EventLog": [
|
|
140
|
-
* {
|
|
141
|
-
* "Description": "Deployment completed",
|
|
142
|
-
* "EventType": "DEPLOYMENT_COMPLETED",
|
|
143
|
-
* "OccurredAt": "2021-09-17T21:59:03.888000+00:00",
|
|
144
|
-
* "TriggeredBy": "APPCONFIG"
|
|
145
|
-
* },
|
|
146
|
-
* {
|
|
147
|
-
* "Description": "Deployment bake time started",
|
|
148
|
-
* "EventType": "BAKE_TIME_STARTED",
|
|
149
|
-
* "OccurredAt": "2021-09-17T21:58:57.722000+00:00",
|
|
150
|
-
* "TriggeredBy": "APPCONFIG"
|
|
151
|
-
* },
|
|
152
|
-
* {
|
|
153
|
-
* "Description": "Configuration available to 100.00% of clients",
|
|
154
|
-
* "EventType": "PERCENTAGE_UPDATED",
|
|
155
|
-
* "OccurredAt": "2021-09-17T21:55:56.816000+00:00",
|
|
156
|
-
* "TriggeredBy": "APPCONFIG"
|
|
157
|
-
* },
|
|
158
|
-
* {
|
|
159
|
-
* "Description": "Configuration available to 75.00% of clients",
|
|
160
|
-
* "EventType": "PERCENTAGE_UPDATED",
|
|
161
|
-
* "OccurredAt": "2021-09-17T21:52:56.567000+00:00",
|
|
162
|
-
* "TriggeredBy": "APPCONFIG"
|
|
163
|
-
* },
|
|
164
|
-
* {
|
|
165
|
-
* "Description": "Configuration available to 50.00% of clients",
|
|
166
|
-
* "EventType": "PERCENTAGE_UPDATED",
|
|
167
|
-
* "OccurredAt": "2021-09-17T21:49:55.737000+00:00",
|
|
168
|
-
* "TriggeredBy": "APPCONFIG"
|
|
169
|
-
* },
|
|
170
|
-
* {
|
|
171
|
-
* "Description": "Configuration available to 25.00% of clients",
|
|
172
|
-
* "EventType": "PERCENTAGE_UPDATED",
|
|
173
|
-
* "OccurredAt": "2021-09-17T21:46:55.187000+00:00",
|
|
174
|
-
* "TriggeredBy": "APPCONFIG"
|
|
175
|
-
* },
|
|
176
|
-
* {
|
|
177
|
-
* "Description": "Deployment started",
|
|
178
|
-
* "EventType": "DEPLOYMENT_STARTED",
|
|
179
|
-
* "OccurredAt": "2021-09-17T21:43:54.205000+00:00",
|
|
180
|
-
* "TriggeredBy": "USER"
|
|
181
|
-
* }
|
|
182
|
-
* ],
|
|
183
|
-
* "FinalBakeTimeInMinutes": 0,
|
|
184
|
-
* "GrowthFactor": 25,
|
|
185
|
-
* "GrowthType": "LINEAR",
|
|
186
|
-
* "PercentageComplete": 100,
|
|
187
|
-
* "StartedAt": "2021-09-17T21:43:54.205000+00:00",
|
|
188
|
-
* "State": "COMPLETE"
|
|
189
|
-
* }
|
|
190
|
-
* *\/
|
|
191
|
-
* // example id: to-retrieve-deployment-details-1633976766883
|
|
192
|
-
* ```
|
|
193
116
|
*
|
|
117
|
+
* @public
|
|
194
118
|
*/
|
|
195
119
|
export declare class GetDeploymentCommand extends GetDeploymentCommand_base {
|
|
196
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,29 +74,29 @@ declare const GetDeploymentStrategyCommand_base: {
|
|
|
74
74
|
* @throws {@link AppConfigServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example To retrieve details of a deployment strategy
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // The following get-deployment-strategy example lists the details of the specified deployment strategy.
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
82
|
+
* DeploymentStrategyId: "1225qzk"
|
|
83
83
|
* };
|
|
84
84
|
* const command = new GetDeploymentStrategyCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
-
* /* response
|
|
86
|
+
* /* response is
|
|
87
87
|
* {
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
88
|
+
* DeploymentDurationInMinutes: 15,
|
|
89
|
+
* FinalBakeTimeInMinutes: 0,
|
|
90
|
+
* GrowthFactor: 25,
|
|
91
|
+
* GrowthType: "LINEAR",
|
|
92
|
+
* Id: "1225qzk",
|
|
93
|
+
* Name: "Example-Deployment",
|
|
94
|
+
* ReplicateTo: "SSM_DOCUMENT"
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: to-retrieve-details-of-a-deployment-strategy-1632266385805
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class GetDeploymentStrategyCommand extends GetDeploymentStrategyCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,27 +79,27 @@ declare const GetEnvironmentCommand_base: {
|
|
|
79
79
|
* @throws {@link AppConfigServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example To retrieve environment details
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // The following get-environment example returns the details and state of the specified environment.
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
87
|
+
* ApplicationId: "339ohji",
|
|
88
|
+
* EnvironmentId: "54j1r29"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new GetEnvironmentCommand(input);
|
|
91
91
|
* const response = await client.send(command);
|
|
92
|
-
* /* response
|
|
92
|
+
* /* response is
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
94
|
+
* ApplicationId: "339ohji",
|
|
95
|
+
* Id: "54j1r29",
|
|
96
|
+
* Name: "Example-Environment",
|
|
97
|
+
* State: "READY_FOR_DEPLOYMENT"
|
|
98
98
|
* }
|
|
99
99
|
* *\/
|
|
100
|
-
* // example id: to-retrieve-environment-details-1632266924806
|
|
101
100
|
* ```
|
|
102
101
|
*
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
export declare class GetEnvironmentCommand extends GetEnvironmentCommand_base {
|
|
105
105
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,7 @@ declare const GetExtensionAssociationCommand_base: {
|
|
|
72
72
|
* @throws {@link AppConfigServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class GetExtensionAssociationCommand extends GetExtensionAssociationCommand_base {
|
|
@@ -85,6 +85,7 @@ declare const GetExtensionCommand_base: {
|
|
|
85
85
|
* @throws {@link AppConfigServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class GetExtensionCommand extends GetExtensionCommand_base {
|
|
@@ -79,28 +79,28 @@ declare const GetHostedConfigurationVersionCommand_base: {
|
|
|
79
79
|
* @throws {@link AppConfigServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example To retrieve hosted configuration details
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
87
|
+
* ApplicationId: "339ohji",
|
|
88
|
+
* ConfigurationProfileId: "ur8hx2f",
|
|
89
|
+
* VersionNumber: 1
|
|
90
90
|
* };
|
|
91
91
|
* const command = new GetHostedConfigurationVersionCommand(input);
|
|
92
92
|
* const response = await client.send(command);
|
|
93
|
-
* /* response
|
|
93
|
+
* /* response is
|
|
94
94
|
* {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
95
|
+
* ApplicationId: "339ohji",
|
|
96
|
+
* ConfigurationProfileId: "ur8hx2f",
|
|
97
|
+
* ContentType: "application/json",
|
|
98
|
+
* VersionNumber: 1
|
|
99
99
|
* }
|
|
100
100
|
* *\/
|
|
101
|
-
* // example id: to-retrieve-hosted-configuration-details-1632267003527
|
|
102
101
|
* ```
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class GetHostedConfigurationVersionCommand extends GetHostedConfigurationVersionCommand_base {
|
|
106
106
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -68,31 +68,31 @@ declare const ListApplicationsCommand_base: {
|
|
|
68
68
|
* @throws {@link AppConfigServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example To list the available applications
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following list-applications example lists the available applications in your AWS account.
|
|
75
|
-
* const input = {};
|
|
75
|
+
* const input = { /* empty *\/ };
|
|
76
76
|
* const command = new ListApplicationsCommand(input);
|
|
77
77
|
* const response = await client.send(command);
|
|
78
|
-
* /* response
|
|
78
|
+
* /* response is
|
|
79
79
|
* {
|
|
80
|
-
*
|
|
80
|
+
* Items: [
|
|
81
81
|
* {
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
82
|
+
* Description: "An application used for creating an example.",
|
|
83
|
+
* Id: "339ohji",
|
|
84
|
+
* Name: "test-application"
|
|
85
85
|
* },
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
87
|
+
* Id: "rwalwu7",
|
|
88
|
+
* Name: "Test-Application"
|
|
89
89
|
* }
|
|
90
90
|
* ]
|
|
91
91
|
* }
|
|
92
92
|
* *\/
|
|
93
|
-
* // example id: to-list-the-available-applications-1632267111131
|
|
94
93
|
* ```
|
|
95
94
|
*
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
export declare class ListApplicationsCommand extends ListApplicationsCommand_base {
|
|
98
98
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,30 +78,30 @@ declare const ListConfigurationProfilesCommand_base: {
|
|
|
78
78
|
* @throws {@link AppConfigServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example To list the available configuration profiles
|
|
83
83
|
* ```javascript
|
|
84
84
|
* // The following list-configuration-profiles example lists the available configuration profiles for the specified application.
|
|
85
85
|
* const input = {
|
|
86
|
-
*
|
|
86
|
+
* ApplicationId: "339ohji"
|
|
87
87
|
* };
|
|
88
88
|
* const command = new ListConfigurationProfilesCommand(input);
|
|
89
89
|
* const response = await client.send(command);
|
|
90
|
-
* /* response
|
|
90
|
+
* /* response is
|
|
91
91
|
* {
|
|
92
|
-
*
|
|
92
|
+
* Items: [
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
94
|
+
* ApplicationId: "339ohji",
|
|
95
|
+
* Id: "ur8hx2f",
|
|
96
|
+
* LocationUri: "ssm-parameter://Example-Parameter",
|
|
97
|
+
* Name: "Example-Configuration-Profile"
|
|
98
98
|
* }
|
|
99
99
|
* ]
|
|
100
100
|
* }
|
|
101
101
|
* *\/
|
|
102
|
-
* // example id: to-list-the-available-configuration-profiles-1632267193265
|
|
103
102
|
* ```
|
|
104
103
|
*
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
export declare class ListConfigurationProfilesCommand extends ListConfigurationProfilesCommand_base {
|
|
107
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,31 +73,31 @@ declare const ListDeploymentStrategiesCommand_base: {
|
|
|
73
73
|
* @throws {@link AppConfigServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
* @example To list the available deployment strategies
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // The following list-deployment-strategies example lists the available deployment strategies in your AWS account.
|
|
80
|
-
* const input = {};
|
|
80
|
+
* const input = { /* empty *\/ };
|
|
81
81
|
* const command = new ListDeploymentStrategiesCommand(input);
|
|
82
82
|
* const response = await client.send(command);
|
|
83
|
-
* /* response
|
|
83
|
+
* /* response is
|
|
84
84
|
* {
|
|
85
|
-
*
|
|
85
|
+
* Items: [
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
87
|
+
* DeploymentDurationInMinutes: 15,
|
|
88
|
+
* FinalBakeTimeInMinutes: 0,
|
|
89
|
+
* GrowthFactor: 25,
|
|
90
|
+
* GrowthType: "LINEAR",
|
|
91
|
+
* Id: "1225qzk",
|
|
92
|
+
* Name: "Example-Deployment",
|
|
93
|
+
* ReplicateTo: "SSM_DOCUMENT"
|
|
94
94
|
* }
|
|
95
95
|
* ]
|
|
96
96
|
* }
|
|
97
97
|
* *\/
|
|
98
|
-
* // example id: to-list-the-available-deployment-strategies-1632267364180
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class ListDeploymentStrategiesCommand extends ListDeploymentStrategiesCommand_base {
|
|
103
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,38 +82,8 @@ declare const ListDeploymentsCommand_base: {
|
|
|
82
82
|
* @throws {@link AppConfigServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
84
84
|
*
|
|
85
|
-
* @public
|
|
86
|
-
* @example To list the available deployments
|
|
87
|
-
* ```javascript
|
|
88
|
-
* // The following list-deployments example lists the available deployments in your AWS account for the specified application and environment.
|
|
89
|
-
* const input = {
|
|
90
|
-
* "ApplicationId": "339ohji",
|
|
91
|
-
* "EnvironmentId": "54j1r29"
|
|
92
|
-
* };
|
|
93
|
-
* const command = new ListDeploymentsCommand(input);
|
|
94
|
-
* const response = await client.send(command);
|
|
95
|
-
* /* response ==
|
|
96
|
-
* {
|
|
97
|
-
* "Items": [
|
|
98
|
-
* {
|
|
99
|
-
* "CompletedAt": "2021-09-17T21:59:03.888000+00:00",
|
|
100
|
-
* "ConfigurationName": "Example-Configuration-Profile",
|
|
101
|
-
* "ConfigurationVersion": "1",
|
|
102
|
-
* "DeploymentDurationInMinutes": 15,
|
|
103
|
-
* "DeploymentNumber": 1,
|
|
104
|
-
* "FinalBakeTimeInMinutes": 0,
|
|
105
|
-
* "GrowthFactor": 25,
|
|
106
|
-
* "GrowthType": "LINEAR",
|
|
107
|
-
* "PercentageComplete": 100,
|
|
108
|
-
* "StartedAt": "2021-09-17T21:43:54.205000+00:00",
|
|
109
|
-
* "State": "COMPLETE"
|
|
110
|
-
* }
|
|
111
|
-
* ]
|
|
112
|
-
* }
|
|
113
|
-
* *\/
|
|
114
|
-
* // example id: to-list-the-available-deployments-1632267282025
|
|
115
|
-
* ```
|
|
116
85
|
*
|
|
86
|
+
* @public
|
|
117
87
|
*/
|
|
118
88
|
export declare class ListDeploymentsCommand extends ListDeploymentsCommand_base {
|
|
119
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -80,30 +80,30 @@ declare const ListEnvironmentsCommand_base: {
|
|
|
80
80
|
* @throws {@link AppConfigServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example To list the available environments
|
|
85
85
|
* ```javascript
|
|
86
86
|
* // The following list-environments example lists the available environments in your AWS account for the specified application.
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
88
|
+
* ApplicationId: "339ohji"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new ListEnvironmentsCommand(input);
|
|
91
91
|
* const response = await client.send(command);
|
|
92
|
-
* /* response
|
|
92
|
+
* /* response is
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
94
|
+
* Items: [
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
96
|
+
* ApplicationId: "339ohji",
|
|
97
|
+
* Id: "54j1r29",
|
|
98
|
+
* Name: "Example-Environment",
|
|
99
|
+
* State: "READY_FOR_DEPLOYMENT"
|
|
100
100
|
* }
|
|
101
101
|
* ]
|
|
102
102
|
* }
|
|
103
103
|
* *\/
|
|
104
|
-
* // example id: to-list-the-available-environments-1632267474389
|
|
105
104
|
* ```
|
|
106
105
|
*
|
|
106
|
+
* @public
|
|
107
107
|
*/
|
|
108
108
|
export declare class ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
|
|
109
109
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,6 +73,7 @@ declare const ListExtensionAssociationsCommand_base: {
|
|
|
73
73
|
* @throws {@link AppConfigServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class ListExtensionAssociationsCommand extends ListExtensionAssociationsCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const ListExtensionsCommand_base: {
|
|
|
73
73
|
* @throws {@link AppConfigServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class ListExtensionsCommand extends ListExtensionsCommand_base {
|
|
@@ -79,31 +79,31 @@ declare const ListHostedConfigurationVersionsCommand_base: {
|
|
|
79
79
|
* @throws {@link AppConfigServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example To list the available hosted configuration versions
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
87
|
+
* ApplicationId: "339ohji",
|
|
88
|
+
* ConfigurationProfileId: "ur8hx2f"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new ListHostedConfigurationVersionsCommand(input);
|
|
91
91
|
* const response = await client.send(command);
|
|
92
|
-
* /* response
|
|
92
|
+
* /* response is
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
94
|
+
* Items: [
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
96
|
+
* ApplicationId: "339ohji",
|
|
97
|
+
* ConfigurationProfileId: "ur8hx2f",
|
|
98
|
+
* ContentType: "application/json",
|
|
99
|
+
* VersionNumber: 1
|
|
100
100
|
* }
|
|
101
101
|
* ]
|
|
102
102
|
* }
|
|
103
103
|
* *\/
|
|
104
|
-
* // example id: to-list-the-available-hosted-configuration-versions-1632267647667
|
|
105
104
|
* ```
|
|
106
105
|
*
|
|
106
|
+
* @public
|
|
107
107
|
*/
|
|
108
108
|
export declare class ListHostedConfigurationVersionsCommand extends ListHostedConfigurationVersionsCommand_base {
|
|
109
109
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,25 +65,25 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
65
65
|
* @throws {@link AppConfigServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To list the tags of an application
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following list-tags-for-resource example lists the tags of a specified application.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
73
|
+
* ResourceArn: "arn:aws:appconfig:us-east-1:111122223333:application/339ohji"
|
|
74
74
|
* };
|
|
75
75
|
* const command = new ListTagsForResourceCommand(input);
|
|
76
76
|
* const response = await client.send(command);
|
|
77
|
-
* /* response
|
|
77
|
+
* /* response is
|
|
78
78
|
* {
|
|
79
|
-
*
|
|
80
|
-
*
|
|
79
|
+
* Tags: {
|
|
80
|
+
* group1: "1"
|
|
81
81
|
* }
|
|
82
82
|
* }
|
|
83
83
|
* *\/
|
|
84
|
-
* // example id: to-list-the-tags-of-an-application-1632328796560
|
|
85
84
|
* ```
|
|
86
85
|
*
|
|
86
|
+
* @public
|
|
87
87
|
*/
|
|
88
88
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
89
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -127,51 +127,8 @@ declare const StartDeploymentCommand_base: {
|
|
|
127
127
|
* @throws {@link AppConfigServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
129
129
|
*
|
|
130
|
-
* @public
|
|
131
|
-
* @example To start a configuration deployment
|
|
132
|
-
* ```javascript
|
|
133
|
-
* // The following start-deployment example starts a deployment to the application using the specified environment, deployment strategy, and configuration profile.
|
|
134
|
-
* const input = {
|
|
135
|
-
* "ApplicationId": "339ohji",
|
|
136
|
-
* "ConfigurationProfileId": "ur8hx2f",
|
|
137
|
-
* "ConfigurationVersion": "1",
|
|
138
|
-
* "DeploymentStrategyId": "1225qzk",
|
|
139
|
-
* "Description": "",
|
|
140
|
-
* "EnvironmentId": "54j1r29",
|
|
141
|
-
* "Tags": {}
|
|
142
|
-
* };
|
|
143
|
-
* const command = new StartDeploymentCommand(input);
|
|
144
|
-
* const response = await client.send(command);
|
|
145
|
-
* /* response ==
|
|
146
|
-
* {
|
|
147
|
-
* "ApplicationId": "339ohji",
|
|
148
|
-
* "ConfigurationLocationUri": "ssm-parameter://Example-Parameter",
|
|
149
|
-
* "ConfigurationName": "Example-Configuration-Profile",
|
|
150
|
-
* "ConfigurationProfileId": "ur8hx2f",
|
|
151
|
-
* "ConfigurationVersion": "1",
|
|
152
|
-
* "DeploymentDurationInMinutes": 15,
|
|
153
|
-
* "DeploymentNumber": 1,
|
|
154
|
-
* "DeploymentStrategyId": "1225qzk",
|
|
155
|
-
* "EnvironmentId": "54j1r29",
|
|
156
|
-
* "EventLog": [
|
|
157
|
-
* {
|
|
158
|
-
* "Description": "Deployment started",
|
|
159
|
-
* "EventType": "DEPLOYMENT_STARTED",
|
|
160
|
-
* "OccurredAt": "2021-09-17T21:43:54.205000+00:00",
|
|
161
|
-
* "TriggeredBy": "USER"
|
|
162
|
-
* }
|
|
163
|
-
* ],
|
|
164
|
-
* "FinalBakeTimeInMinutes": 0,
|
|
165
|
-
* "GrowthFactor": 25,
|
|
166
|
-
* "GrowthType": "LINEAR",
|
|
167
|
-
* "PercentageComplete": 1,
|
|
168
|
-
* "StartedAt": "2021-09-17T21:43:54.205000+00:00",
|
|
169
|
-
* "State": "DEPLOYING"
|
|
170
|
-
* }
|
|
171
|
-
* *\/
|
|
172
|
-
* // example id: to-start-a-configuration-deployment-1632328956790
|
|
173
|
-
* ```
|
|
174
130
|
*
|
|
131
|
+
* @public
|
|
175
132
|
*/
|
|
176
133
|
export declare class StartDeploymentCommand extends StartDeploymentCommand_base {
|
|
177
134
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -119,29 +119,29 @@ declare const StopDeploymentCommand_base: {
|
|
|
119
119
|
* @throws {@link AppConfigServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
121
121
|
*
|
|
122
|
-
*
|
|
122
|
+
*
|
|
123
123
|
* @example To stop configuration deployment
|
|
124
124
|
* ```javascript
|
|
125
125
|
* // The following stop-deployment example stops the deployment of an application configuration to the specified environment.
|
|
126
126
|
* const input = {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
127
|
+
* ApplicationId: "339ohji",
|
|
128
|
+
* DeploymentNumber: 2,
|
|
129
|
+
* EnvironmentId: "54j1r29"
|
|
130
130
|
* };
|
|
131
131
|
* const command = new StopDeploymentCommand(input);
|
|
132
132
|
* const response = await client.send(command);
|
|
133
|
-
* /* response
|
|
133
|
+
* /* response is
|
|
134
134
|
* {
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
135
|
+
* DeploymentDurationInMinutes: 15,
|
|
136
|
+
* DeploymentNumber: 2,
|
|
137
|
+
* FinalBakeTimeInMinutes: 0,
|
|
138
|
+
* GrowthFactor: 25.0,
|
|
139
|
+
* PercentageComplete: 1.0
|
|
140
140
|
* }
|
|
141
141
|
* *\/
|
|
142
|
-
* // example id: to-stop-configuration-deployment-1632329139126
|
|
143
142
|
* ```
|
|
144
143
|
*
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class StopDeploymentCommand extends StopDeploymentCommand_base {
|
|
147
147
|
/** @internal type navigation helper, not in runtime. */
|