@aws-sdk/client-appconfig 3.128.0 → 3.131.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 +30 -0
- package/README.md +24 -23
- package/dist-cjs/AppConfig.js +150 -0
- package/dist-cjs/commands/CreateExtensionAssociationCommand.js +36 -0
- package/dist-cjs/commands/CreateExtensionCommand.js +36 -0
- package/dist-cjs/commands/DeleteExtensionAssociationCommand.js +36 -0
- package/dist-cjs/commands/DeleteExtensionCommand.js +36 -0
- package/dist-cjs/commands/GetExtensionAssociationCommand.js +36 -0
- package/dist-cjs/commands/GetExtensionCommand.js +36 -0
- package/dist-cjs/commands/ListExtensionAssociationsCommand.js +36 -0
- package/dist-cjs/commands/ListExtensionsCommand.js +36 -0
- package/dist-cjs/commands/UpdateExtensionAssociationCommand.js +36 -0
- package/dist-cjs/commands/UpdateExtensionCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +146 -16
- package/dist-cjs/pagination/ListExtensionAssociationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListExtensionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1107 -38
- package/dist-es/AppConfig.js +150 -0
- package/dist-es/commands/CreateExtensionAssociationCommand.js +39 -0
- package/dist-es/commands/CreateExtensionCommand.js +39 -0
- package/dist-es/commands/DeleteExtensionAssociationCommand.js +39 -0
- package/dist-es/commands/DeleteExtensionCommand.js +39 -0
- package/dist-es/commands/GetExtensionAssociationCommand.js +39 -0
- package/dist-es/commands/GetExtensionCommand.js +39 -0
- package/dist-es/commands/ListExtensionAssociationsCommand.js +39 -0
- package/dist-es/commands/ListExtensionsCommand.js +39 -0
- package/dist-es/commands/UpdateExtensionAssociationCommand.js +39 -0
- package/dist-es/commands/UpdateExtensionCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +103 -13
- package/dist-es/pagination/ListExtensionAssociationsPaginator.js +75 -0
- package/dist-es/pagination/ListExtensionsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1504 -228
- package/dist-types/AppConfig.d.ts +159 -51
- package/dist-types/AppConfigClient.d.ts +36 -25
- package/dist-types/commands/CreateApplicationCommand.d.ts +5 -5
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +5 -6
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +47 -0
- package/dist-types/commands/CreateExtensionCommand.d.ts +43 -0
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +36 -0
- package/dist-types/commands/DeleteExtensionCommand.d.ts +36 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +6 -5
- package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -5
- package/dist-types/commands/GetExtensionAssociationCommand.d.ts +38 -0
- package/dist-types/commands/GetExtensionCommand.d.ts +35 -0
- package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +38 -0
- package/dist-types/commands/ListExtensionsCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +38 -0
- package/dist-types/commands/UpdateExtensionCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +678 -98
- package/dist-types/pagination/ListExtensionAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExtensionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +30 -0
- package/dist-types/ts3.4/AppConfig.d.ts +50 -0
- package/dist-types/ts3.4/AppConfigClient.d.ts +12 -2
- package/dist-types/ts3.4/commands/CreateExtensionAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExtensionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExtensionAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExtensionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExtensionAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExtensionAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExtensionAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExtensionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +298 -9
- package/dist-types/ts3.4/pagination/ListExtensionAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExtensionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +30 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-appconfig
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.129.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.128.0...v3.129.0) (2022-07-13)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **client-appconfig:** Adding Create, Get, Update, Delete, and List APIs for new two new resources: Extensions and ExtensionAssociations. ([c2d6378](https://github.com/aws/aws-sdk-js-v3/commit/c2d6378294250be09870dabdaa0c743abf5415af))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
|
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript AppConfig Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly
|
|
13
|
-
application configurations. AppConfig supports controlled deployments to
|
|
14
|
-
any size and includes built-in validation checks and monitoring. You can
|
|
15
|
-
applications hosted on Amazon EC2 instances, Lambda, containers,
|
|
16
|
-
devices.</p>
|
|
12
|
+
<p>Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly
|
|
13
|
+
deploy application configurations. AppConfig supports controlled deployments to
|
|
14
|
+
applications of any size and includes built-in validation checks and monitoring. You can
|
|
15
|
+
use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers,
|
|
16
|
+
mobile applications, or IoT devices.</p>
|
|
17
17
|
<p>To prevent errors when deploying application configurations, especially for production
|
|
18
18
|
systems where a simple typo could cause an unexpected outage, AppConfig includes
|
|
19
19
|
validators. A validator provides a syntactic or semantic check to ensure that the
|
|
@@ -21,39 +21,40 @@ configuration you want to deploy works as intended. To validate your application
|
|
|
21
21
|
configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against
|
|
22
22
|
the configuration. The configuration deployment or update can only proceed when the
|
|
23
23
|
configuration data is valid.</p>
|
|
24
|
-
<p>During a configuration deployment, AppConfig monitors the application to
|
|
25
|
-
deployment is successful. If the system encounters an error, AppConfig rolls back the
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
<p>During a configuration deployment, AppConfig monitors the application to
|
|
25
|
+
ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can
|
|
26
|
+
configure a deployment strategy for each application or environment that includes
|
|
27
|
+
deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error
|
|
28
|
+
monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back
|
|
29
|
+
to the previous version. </p>
|
|
30
30
|
<p>AppConfig supports multiple use cases. Here are some examples:</p>
|
|
31
31
|
<ul>
|
|
32
32
|
<li>
|
|
33
33
|
<p>
|
|
34
|
-
<b>Feature flags</b>: Use AppConfig to turn on
|
|
35
|
-
features that require a timely deployment, such as a product launch or
|
|
36
|
-
</p>
|
|
34
|
+
<b>Feature flags</b>: Use AppConfig to turn on
|
|
35
|
+
new features that require a timely deployment, such as a product launch or
|
|
36
|
+
announcement. </p>
|
|
37
37
|
</li>
|
|
38
38
|
<li>
|
|
39
39
|
<p>
|
|
40
|
-
<b>Application tuning</b>: Use AppConfig to
|
|
41
|
-
introduce changes to your application that can only be tested with
|
|
42
|
-
traffic.</p>
|
|
40
|
+
<b>Application tuning</b>: Use AppConfig to
|
|
41
|
+
carefully introduce changes to your application that can only be tested with
|
|
42
|
+
production traffic.</p>
|
|
43
43
|
</li>
|
|
44
44
|
<li>
|
|
45
45
|
<p>
|
|
46
|
-
<b>Allow list</b>: Use AppConfig to allow
|
|
47
|
-
subscribers to access paid content. </p>
|
|
46
|
+
<b>Allow list</b>: Use AppConfig to allow
|
|
47
|
+
premium subscribers to access paid content. </p>
|
|
48
48
|
</li>
|
|
49
49
|
<li>
|
|
50
50
|
<p>
|
|
51
|
-
<b>Operational issues</b>: Use AppConfig to
|
|
52
|
-
stress on your application when a dependency or other external factor impacts
|
|
53
|
-
system.</p>
|
|
51
|
+
<b>Operational issues</b>: Use AppConfig to
|
|
52
|
+
reduce stress on your application when a dependency or other external factor impacts
|
|
53
|
+
the system.</p>
|
|
54
54
|
</li>
|
|
55
55
|
</ul>
|
|
56
|
-
<p>This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig User
|
|
56
|
+
<p>This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig User
|
|
57
|
+
Guide</a>.</p>
|
|
57
58
|
|
|
58
59
|
## Installing
|
|
59
60
|
|
package/dist-cjs/AppConfig.js
CHANGED
|
@@ -6,11 +6,15 @@ const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand"
|
|
|
6
6
|
const CreateConfigurationProfileCommand_1 = require("./commands/CreateConfigurationProfileCommand");
|
|
7
7
|
const CreateDeploymentStrategyCommand_1 = require("./commands/CreateDeploymentStrategyCommand");
|
|
8
8
|
const CreateEnvironmentCommand_1 = require("./commands/CreateEnvironmentCommand");
|
|
9
|
+
const CreateExtensionAssociationCommand_1 = require("./commands/CreateExtensionAssociationCommand");
|
|
10
|
+
const CreateExtensionCommand_1 = require("./commands/CreateExtensionCommand");
|
|
9
11
|
const CreateHostedConfigurationVersionCommand_1 = require("./commands/CreateHostedConfigurationVersionCommand");
|
|
10
12
|
const DeleteApplicationCommand_1 = require("./commands/DeleteApplicationCommand");
|
|
11
13
|
const DeleteConfigurationProfileCommand_1 = require("./commands/DeleteConfigurationProfileCommand");
|
|
12
14
|
const DeleteDeploymentStrategyCommand_1 = require("./commands/DeleteDeploymentStrategyCommand");
|
|
13
15
|
const DeleteEnvironmentCommand_1 = require("./commands/DeleteEnvironmentCommand");
|
|
16
|
+
const DeleteExtensionAssociationCommand_1 = require("./commands/DeleteExtensionAssociationCommand");
|
|
17
|
+
const DeleteExtensionCommand_1 = require("./commands/DeleteExtensionCommand");
|
|
14
18
|
const DeleteHostedConfigurationVersionCommand_1 = require("./commands/DeleteHostedConfigurationVersionCommand");
|
|
15
19
|
const GetApplicationCommand_1 = require("./commands/GetApplicationCommand");
|
|
16
20
|
const GetConfigurationCommand_1 = require("./commands/GetConfigurationCommand");
|
|
@@ -18,12 +22,16 @@ const GetConfigurationProfileCommand_1 = require("./commands/GetConfigurationPro
|
|
|
18
22
|
const GetDeploymentCommand_1 = require("./commands/GetDeploymentCommand");
|
|
19
23
|
const GetDeploymentStrategyCommand_1 = require("./commands/GetDeploymentStrategyCommand");
|
|
20
24
|
const GetEnvironmentCommand_1 = require("./commands/GetEnvironmentCommand");
|
|
25
|
+
const GetExtensionAssociationCommand_1 = require("./commands/GetExtensionAssociationCommand");
|
|
26
|
+
const GetExtensionCommand_1 = require("./commands/GetExtensionCommand");
|
|
21
27
|
const GetHostedConfigurationVersionCommand_1 = require("./commands/GetHostedConfigurationVersionCommand");
|
|
22
28
|
const ListApplicationsCommand_1 = require("./commands/ListApplicationsCommand");
|
|
23
29
|
const ListConfigurationProfilesCommand_1 = require("./commands/ListConfigurationProfilesCommand");
|
|
24
30
|
const ListDeploymentsCommand_1 = require("./commands/ListDeploymentsCommand");
|
|
25
31
|
const ListDeploymentStrategiesCommand_1 = require("./commands/ListDeploymentStrategiesCommand");
|
|
26
32
|
const ListEnvironmentsCommand_1 = require("./commands/ListEnvironmentsCommand");
|
|
33
|
+
const ListExtensionAssociationsCommand_1 = require("./commands/ListExtensionAssociationsCommand");
|
|
34
|
+
const ListExtensionsCommand_1 = require("./commands/ListExtensionsCommand");
|
|
27
35
|
const ListHostedConfigurationVersionsCommand_1 = require("./commands/ListHostedConfigurationVersionsCommand");
|
|
28
36
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
29
37
|
const StartDeploymentCommand_1 = require("./commands/StartDeploymentCommand");
|
|
@@ -34,6 +42,8 @@ const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand"
|
|
|
34
42
|
const UpdateConfigurationProfileCommand_1 = require("./commands/UpdateConfigurationProfileCommand");
|
|
35
43
|
const UpdateDeploymentStrategyCommand_1 = require("./commands/UpdateDeploymentStrategyCommand");
|
|
36
44
|
const UpdateEnvironmentCommand_1 = require("./commands/UpdateEnvironmentCommand");
|
|
45
|
+
const UpdateExtensionAssociationCommand_1 = require("./commands/UpdateExtensionAssociationCommand");
|
|
46
|
+
const UpdateExtensionCommand_1 = require("./commands/UpdateExtensionCommand");
|
|
37
47
|
const ValidateConfigurationCommand_1 = require("./commands/ValidateConfigurationCommand");
|
|
38
48
|
class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
39
49
|
createApplication(args, optionsOrCb, cb) {
|
|
@@ -92,6 +102,34 @@ class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
|
92
102
|
return this.send(command, optionsOrCb);
|
|
93
103
|
}
|
|
94
104
|
}
|
|
105
|
+
createExtension(args, optionsOrCb, cb) {
|
|
106
|
+
const command = new CreateExtensionCommand_1.CreateExtensionCommand(args);
|
|
107
|
+
if (typeof optionsOrCb === "function") {
|
|
108
|
+
this.send(command, optionsOrCb);
|
|
109
|
+
}
|
|
110
|
+
else if (typeof cb === "function") {
|
|
111
|
+
if (typeof optionsOrCb !== "object")
|
|
112
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
return this.send(command, optionsOrCb);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
createExtensionAssociation(args, optionsOrCb, cb) {
|
|
120
|
+
const command = new CreateExtensionAssociationCommand_1.CreateExtensionAssociationCommand(args);
|
|
121
|
+
if (typeof optionsOrCb === "function") {
|
|
122
|
+
this.send(command, optionsOrCb);
|
|
123
|
+
}
|
|
124
|
+
else if (typeof cb === "function") {
|
|
125
|
+
if (typeof optionsOrCb !== "object")
|
|
126
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
return this.send(command, optionsOrCb);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
95
133
|
createHostedConfigurationVersion(args, optionsOrCb, cb) {
|
|
96
134
|
const command = new CreateHostedConfigurationVersionCommand_1.CreateHostedConfigurationVersionCommand(args);
|
|
97
135
|
if (typeof optionsOrCb === "function") {
|
|
@@ -162,6 +200,34 @@ class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
|
162
200
|
return this.send(command, optionsOrCb);
|
|
163
201
|
}
|
|
164
202
|
}
|
|
203
|
+
deleteExtension(args, optionsOrCb, cb) {
|
|
204
|
+
const command = new DeleteExtensionCommand_1.DeleteExtensionCommand(args);
|
|
205
|
+
if (typeof optionsOrCb === "function") {
|
|
206
|
+
this.send(command, optionsOrCb);
|
|
207
|
+
}
|
|
208
|
+
else if (typeof cb === "function") {
|
|
209
|
+
if (typeof optionsOrCb !== "object")
|
|
210
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
return this.send(command, optionsOrCb);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
deleteExtensionAssociation(args, optionsOrCb, cb) {
|
|
218
|
+
const command = new DeleteExtensionAssociationCommand_1.DeleteExtensionAssociationCommand(args);
|
|
219
|
+
if (typeof optionsOrCb === "function") {
|
|
220
|
+
this.send(command, optionsOrCb);
|
|
221
|
+
}
|
|
222
|
+
else if (typeof cb === "function") {
|
|
223
|
+
if (typeof optionsOrCb !== "object")
|
|
224
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
return this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
165
231
|
deleteHostedConfigurationVersion(args, optionsOrCb, cb) {
|
|
166
232
|
const command = new DeleteHostedConfigurationVersionCommand_1.DeleteHostedConfigurationVersionCommand(args);
|
|
167
233
|
if (typeof optionsOrCb === "function") {
|
|
@@ -260,6 +326,34 @@ class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
|
260
326
|
return this.send(command, optionsOrCb);
|
|
261
327
|
}
|
|
262
328
|
}
|
|
329
|
+
getExtension(args, optionsOrCb, cb) {
|
|
330
|
+
const command = new GetExtensionCommand_1.GetExtensionCommand(args);
|
|
331
|
+
if (typeof optionsOrCb === "function") {
|
|
332
|
+
this.send(command, optionsOrCb);
|
|
333
|
+
}
|
|
334
|
+
else if (typeof cb === "function") {
|
|
335
|
+
if (typeof optionsOrCb !== "object")
|
|
336
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
return this.send(command, optionsOrCb);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
getExtensionAssociation(args, optionsOrCb, cb) {
|
|
344
|
+
const command = new GetExtensionAssociationCommand_1.GetExtensionAssociationCommand(args);
|
|
345
|
+
if (typeof optionsOrCb === "function") {
|
|
346
|
+
this.send(command, optionsOrCb);
|
|
347
|
+
}
|
|
348
|
+
else if (typeof cb === "function") {
|
|
349
|
+
if (typeof optionsOrCb !== "object")
|
|
350
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
351
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
return this.send(command, optionsOrCb);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
263
357
|
getHostedConfigurationVersion(args, optionsOrCb, cb) {
|
|
264
358
|
const command = new GetHostedConfigurationVersionCommand_1.GetHostedConfigurationVersionCommand(args);
|
|
265
359
|
if (typeof optionsOrCb === "function") {
|
|
@@ -344,6 +438,34 @@ class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
|
344
438
|
return this.send(command, optionsOrCb);
|
|
345
439
|
}
|
|
346
440
|
}
|
|
441
|
+
listExtensionAssociations(args, optionsOrCb, cb) {
|
|
442
|
+
const command = new ListExtensionAssociationsCommand_1.ListExtensionAssociationsCommand(args);
|
|
443
|
+
if (typeof optionsOrCb === "function") {
|
|
444
|
+
this.send(command, optionsOrCb);
|
|
445
|
+
}
|
|
446
|
+
else if (typeof cb === "function") {
|
|
447
|
+
if (typeof optionsOrCb !== "object")
|
|
448
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
449
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
return this.send(command, optionsOrCb);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
listExtensions(args, optionsOrCb, cb) {
|
|
456
|
+
const command = new ListExtensionsCommand_1.ListExtensionsCommand(args);
|
|
457
|
+
if (typeof optionsOrCb === "function") {
|
|
458
|
+
this.send(command, optionsOrCb);
|
|
459
|
+
}
|
|
460
|
+
else if (typeof cb === "function") {
|
|
461
|
+
if (typeof optionsOrCb !== "object")
|
|
462
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
463
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
464
|
+
}
|
|
465
|
+
else {
|
|
466
|
+
return this.send(command, optionsOrCb);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
347
469
|
listHostedConfigurationVersions(args, optionsOrCb, cb) {
|
|
348
470
|
const command = new ListHostedConfigurationVersionsCommand_1.ListHostedConfigurationVersionsCommand(args);
|
|
349
471
|
if (typeof optionsOrCb === "function") {
|
|
@@ -484,6 +606,34 @@ class AppConfig extends AppConfigClient_1.AppConfigClient {
|
|
|
484
606
|
return this.send(command, optionsOrCb);
|
|
485
607
|
}
|
|
486
608
|
}
|
|
609
|
+
updateExtension(args, optionsOrCb, cb) {
|
|
610
|
+
const command = new UpdateExtensionCommand_1.UpdateExtensionCommand(args);
|
|
611
|
+
if (typeof optionsOrCb === "function") {
|
|
612
|
+
this.send(command, optionsOrCb);
|
|
613
|
+
}
|
|
614
|
+
else if (typeof cb === "function") {
|
|
615
|
+
if (typeof optionsOrCb !== "object")
|
|
616
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
617
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
618
|
+
}
|
|
619
|
+
else {
|
|
620
|
+
return this.send(command, optionsOrCb);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
updateExtensionAssociation(args, optionsOrCb, cb) {
|
|
624
|
+
const command = new UpdateExtensionAssociationCommand_1.UpdateExtensionAssociationCommand(args);
|
|
625
|
+
if (typeof optionsOrCb === "function") {
|
|
626
|
+
this.send(command, optionsOrCb);
|
|
627
|
+
}
|
|
628
|
+
else if (typeof cb === "function") {
|
|
629
|
+
if (typeof optionsOrCb !== "object")
|
|
630
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
631
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
632
|
+
}
|
|
633
|
+
else {
|
|
634
|
+
return this.send(command, optionsOrCb);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
487
637
|
validateConfiguration(args, optionsOrCb, cb) {
|
|
488
638
|
const command = new ValidateConfigurationCommand_1.ValidateConfigurationCommand(args);
|
|
489
639
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateExtensionAssociationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateExtensionAssociationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "CreateExtensionAssociationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateExtensionAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ExtensionAssociation.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateExtensionAssociationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateExtensionAssociationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateExtensionAssociationCommand = CreateExtensionAssociationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateExtensionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateExtensionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "CreateExtensionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateExtensionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.Extension.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateExtensionCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateExtensionCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateExtensionCommand = CreateExtensionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteExtensionAssociationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteExtensionAssociationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "DeleteExtensionAssociationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteExtensionAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteExtensionAssociationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteExtensionAssociationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteExtensionAssociationCommand = DeleteExtensionAssociationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteExtensionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteExtensionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "DeleteExtensionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteExtensionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteExtensionCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteExtensionCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteExtensionCommand = DeleteExtensionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetExtensionAssociationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetExtensionAssociationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "GetExtensionAssociationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetExtensionAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ExtensionAssociation.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetExtensionAssociationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetExtensionAssociationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetExtensionAssociationCommand = GetExtensionAssociationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetExtensionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetExtensionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "GetExtensionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetExtensionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.Extension.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetExtensionCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetExtensionCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetExtensionCommand = GetExtensionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExtensionAssociationsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListExtensionAssociationsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "ListExtensionAssociationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListExtensionAssociationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ExtensionAssociations.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListExtensionAssociationsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListExtensionAssociationsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListExtensionAssociationsCommand = ListExtensionAssociationsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExtensionsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListExtensionsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppConfigClient";
|
|
18
|
+
const commandName = "ListExtensionsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListExtensionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.Extensions.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListExtensionsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListExtensionsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListExtensionsCommand = ListExtensionsCommand;
|