@aws-sdk/client-appconfig 3.127.0 → 3.130.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +24 -23
  3. package/dist-cjs/AppConfig.js +150 -0
  4. package/dist-cjs/commands/CreateExtensionAssociationCommand.js +36 -0
  5. package/dist-cjs/commands/CreateExtensionCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteExtensionAssociationCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteExtensionCommand.js +36 -0
  8. package/dist-cjs/commands/GetExtensionAssociationCommand.js +36 -0
  9. package/dist-cjs/commands/GetExtensionCommand.js +36 -0
  10. package/dist-cjs/commands/ListExtensionAssociationsCommand.js +36 -0
  11. package/dist-cjs/commands/ListExtensionsCommand.js +36 -0
  12. package/dist-cjs/commands/UpdateExtensionAssociationCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateExtensionCommand.js +36 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoints.js +19 -2
  16. package/dist-cjs/models/models_0.js +146 -16
  17. package/dist-cjs/pagination/ListExtensionAssociationsPaginator.js +36 -0
  18. package/dist-cjs/pagination/ListExtensionsPaginator.js +36 -0
  19. package/dist-cjs/pagination/index.js +2 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +1107 -38
  21. package/dist-es/AppConfig.js +150 -0
  22. package/dist-es/commands/CreateExtensionAssociationCommand.js +39 -0
  23. package/dist-es/commands/CreateExtensionCommand.js +39 -0
  24. package/dist-es/commands/DeleteExtensionAssociationCommand.js +39 -0
  25. package/dist-es/commands/DeleteExtensionCommand.js +39 -0
  26. package/dist-es/commands/GetExtensionAssociationCommand.js +39 -0
  27. package/dist-es/commands/GetExtensionCommand.js +39 -0
  28. package/dist-es/commands/ListExtensionAssociationsCommand.js +39 -0
  29. package/dist-es/commands/ListExtensionsCommand.js +39 -0
  30. package/dist-es/commands/UpdateExtensionAssociationCommand.js +39 -0
  31. package/dist-es/commands/UpdateExtensionCommand.js +39 -0
  32. package/dist-es/commands/index.js +10 -0
  33. package/dist-es/endpoints.js +19 -2
  34. package/dist-es/models/models_0.js +103 -13
  35. package/dist-es/pagination/ListExtensionAssociationsPaginator.js +75 -0
  36. package/dist-es/pagination/ListExtensionsPaginator.js +75 -0
  37. package/dist-es/pagination/index.js +2 -0
  38. package/dist-es/protocols/Aws_restJson1.js +1504 -228
  39. package/dist-types/AppConfig.d.ts +159 -51
  40. package/dist-types/AppConfigClient.d.ts +36 -25
  41. package/dist-types/commands/CreateApplicationCommand.d.ts +5 -5
  42. package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +5 -6
  43. package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +47 -0
  45. package/dist-types/commands/CreateExtensionCommand.d.ts +43 -0
  46. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -1
  47. package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +36 -0
  48. package/dist-types/commands/DeleteExtensionCommand.d.ts +36 -0
  49. package/dist-types/commands/GetConfigurationCommand.d.ts +6 -5
  50. package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -5
  51. package/dist-types/commands/GetExtensionAssociationCommand.d.ts +38 -0
  52. package/dist-types/commands/GetExtensionCommand.d.ts +35 -0
  53. package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +38 -0
  54. package/dist-types/commands/ListExtensionsCommand.d.ts +38 -0
  55. package/dist-types/commands/TagResourceCommand.d.ts +3 -5
  56. package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +38 -0
  57. package/dist-types/commands/UpdateExtensionCommand.d.ts +38 -0
  58. package/dist-types/commands/index.d.ts +10 -0
  59. package/dist-types/models/models_0.d.ts +678 -98
  60. package/dist-types/pagination/ListExtensionAssociationsPaginator.d.ts +4 -0
  61. package/dist-types/pagination/ListExtensionsPaginator.d.ts +4 -0
  62. package/dist-types/pagination/index.d.ts +2 -0
  63. package/dist-types/protocols/Aws_restJson1.d.ts +30 -0
  64. package/dist-types/ts3.4/AppConfig.d.ts +50 -0
  65. package/dist-types/ts3.4/AppConfigClient.d.ts +12 -2
  66. package/dist-types/ts3.4/commands/CreateExtensionAssociationCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/CreateExtensionCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/DeleteExtensionAssociationCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/DeleteExtensionCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetExtensionAssociationCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ListExtensionAssociationsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/UpdateExtensionAssociationCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UpdateExtensionCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +298 -9
  78. package/dist-types/ts3.4/pagination/ListExtensionAssociationsPaginator.d.ts +4 -0
  79. package/dist-types/ts3.4/pagination/ListExtensionsPaginator.d.ts +4 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  81. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +30 -0
  82. package/package.json +6 -6
@@ -4,11 +4,15 @@ import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
4
4
  import { CreateConfigurationProfileCommand, } from "./commands/CreateConfigurationProfileCommand";
5
5
  import { CreateDeploymentStrategyCommand, } from "./commands/CreateDeploymentStrategyCommand";
6
6
  import { CreateEnvironmentCommand, } from "./commands/CreateEnvironmentCommand";
7
+ import { CreateExtensionAssociationCommand, } from "./commands/CreateExtensionAssociationCommand";
8
+ import { CreateExtensionCommand, } from "./commands/CreateExtensionCommand";
7
9
  import { CreateHostedConfigurationVersionCommand, } from "./commands/CreateHostedConfigurationVersionCommand";
8
10
  import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
9
11
  import { DeleteConfigurationProfileCommand, } from "./commands/DeleteConfigurationProfileCommand";
10
12
  import { DeleteDeploymentStrategyCommand, } from "./commands/DeleteDeploymentStrategyCommand";
11
13
  import { DeleteEnvironmentCommand, } from "./commands/DeleteEnvironmentCommand";
14
+ import { DeleteExtensionAssociationCommand, } from "./commands/DeleteExtensionAssociationCommand";
15
+ import { DeleteExtensionCommand, } from "./commands/DeleteExtensionCommand";
12
16
  import { DeleteHostedConfigurationVersionCommand, } from "./commands/DeleteHostedConfigurationVersionCommand";
13
17
  import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
14
18
  import { GetConfigurationCommand, } from "./commands/GetConfigurationCommand";
@@ -16,12 +20,16 @@ import { GetConfigurationProfileCommand, } from "./commands/GetConfigurationProf
16
20
  import { GetDeploymentCommand, } from "./commands/GetDeploymentCommand";
17
21
  import { GetDeploymentStrategyCommand, } from "./commands/GetDeploymentStrategyCommand";
18
22
  import { GetEnvironmentCommand, } from "./commands/GetEnvironmentCommand";
23
+ import { GetExtensionAssociationCommand, } from "./commands/GetExtensionAssociationCommand";
24
+ import { GetExtensionCommand, } from "./commands/GetExtensionCommand";
19
25
  import { GetHostedConfigurationVersionCommand, } from "./commands/GetHostedConfigurationVersionCommand";
20
26
  import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
21
27
  import { ListConfigurationProfilesCommand, } from "./commands/ListConfigurationProfilesCommand";
22
28
  import { ListDeploymentsCommand, } from "./commands/ListDeploymentsCommand";
23
29
  import { ListDeploymentStrategiesCommand, } from "./commands/ListDeploymentStrategiesCommand";
24
30
  import { ListEnvironmentsCommand, } from "./commands/ListEnvironmentsCommand";
31
+ import { ListExtensionAssociationsCommand, } from "./commands/ListExtensionAssociationsCommand";
32
+ import { ListExtensionsCommand, } from "./commands/ListExtensionsCommand";
25
33
  import { ListHostedConfigurationVersionsCommand, } from "./commands/ListHostedConfigurationVersionsCommand";
26
34
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
27
35
  import { StartDeploymentCommand, } from "./commands/StartDeploymentCommand";
@@ -32,6 +40,8 @@ import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
32
40
  import { UpdateConfigurationProfileCommand, } from "./commands/UpdateConfigurationProfileCommand";
33
41
  import { UpdateDeploymentStrategyCommand, } from "./commands/UpdateDeploymentStrategyCommand";
34
42
  import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
43
+ import { UpdateExtensionAssociationCommand, } from "./commands/UpdateExtensionAssociationCommand";
44
+ import { UpdateExtensionCommand, } from "./commands/UpdateExtensionCommand";
35
45
  import { ValidateConfigurationCommand, } from "./commands/ValidateConfigurationCommand";
36
46
  var AppConfig = (function (_super) {
37
47
  __extends(AppConfig, _super);
@@ -94,6 +104,34 @@ var AppConfig = (function (_super) {
94
104
  return this.send(command, optionsOrCb);
95
105
  }
96
106
  };
107
+ AppConfig.prototype.createExtension = function (args, optionsOrCb, cb) {
108
+ var command = new CreateExtensionCommand(args);
109
+ if (typeof optionsOrCb === "function") {
110
+ this.send(command, optionsOrCb);
111
+ }
112
+ else if (typeof cb === "function") {
113
+ if (typeof optionsOrCb !== "object")
114
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
115
+ this.send(command, optionsOrCb || {}, cb);
116
+ }
117
+ else {
118
+ return this.send(command, optionsOrCb);
119
+ }
120
+ };
121
+ AppConfig.prototype.createExtensionAssociation = function (args, optionsOrCb, cb) {
122
+ var command = new CreateExtensionAssociationCommand(args);
123
+ if (typeof optionsOrCb === "function") {
124
+ this.send(command, optionsOrCb);
125
+ }
126
+ else if (typeof cb === "function") {
127
+ if (typeof optionsOrCb !== "object")
128
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
129
+ this.send(command, optionsOrCb || {}, cb);
130
+ }
131
+ else {
132
+ return this.send(command, optionsOrCb);
133
+ }
134
+ };
97
135
  AppConfig.prototype.createHostedConfigurationVersion = function (args, optionsOrCb, cb) {
98
136
  var command = new CreateHostedConfigurationVersionCommand(args);
99
137
  if (typeof optionsOrCb === "function") {
@@ -164,6 +202,34 @@ var AppConfig = (function (_super) {
164
202
  return this.send(command, optionsOrCb);
165
203
  }
166
204
  };
205
+ AppConfig.prototype.deleteExtension = function (args, optionsOrCb, cb) {
206
+ var command = new DeleteExtensionCommand(args);
207
+ if (typeof optionsOrCb === "function") {
208
+ this.send(command, optionsOrCb);
209
+ }
210
+ else if (typeof cb === "function") {
211
+ if (typeof optionsOrCb !== "object")
212
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
213
+ this.send(command, optionsOrCb || {}, cb);
214
+ }
215
+ else {
216
+ return this.send(command, optionsOrCb);
217
+ }
218
+ };
219
+ AppConfig.prototype.deleteExtensionAssociation = function (args, optionsOrCb, cb) {
220
+ var command = new DeleteExtensionAssociationCommand(args);
221
+ if (typeof optionsOrCb === "function") {
222
+ this.send(command, optionsOrCb);
223
+ }
224
+ else if (typeof cb === "function") {
225
+ if (typeof optionsOrCb !== "object")
226
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
227
+ this.send(command, optionsOrCb || {}, cb);
228
+ }
229
+ else {
230
+ return this.send(command, optionsOrCb);
231
+ }
232
+ };
167
233
  AppConfig.prototype.deleteHostedConfigurationVersion = function (args, optionsOrCb, cb) {
168
234
  var command = new DeleteHostedConfigurationVersionCommand(args);
169
235
  if (typeof optionsOrCb === "function") {
@@ -262,6 +328,34 @@ var AppConfig = (function (_super) {
262
328
  return this.send(command, optionsOrCb);
263
329
  }
264
330
  };
331
+ AppConfig.prototype.getExtension = function (args, optionsOrCb, cb) {
332
+ var command = new GetExtensionCommand(args);
333
+ if (typeof optionsOrCb === "function") {
334
+ this.send(command, optionsOrCb);
335
+ }
336
+ else if (typeof cb === "function") {
337
+ if (typeof optionsOrCb !== "object")
338
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
339
+ this.send(command, optionsOrCb || {}, cb);
340
+ }
341
+ else {
342
+ return this.send(command, optionsOrCb);
343
+ }
344
+ };
345
+ AppConfig.prototype.getExtensionAssociation = function (args, optionsOrCb, cb) {
346
+ var command = new GetExtensionAssociationCommand(args);
347
+ if (typeof optionsOrCb === "function") {
348
+ this.send(command, optionsOrCb);
349
+ }
350
+ else if (typeof cb === "function") {
351
+ if (typeof optionsOrCb !== "object")
352
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
353
+ this.send(command, optionsOrCb || {}, cb);
354
+ }
355
+ else {
356
+ return this.send(command, optionsOrCb);
357
+ }
358
+ };
265
359
  AppConfig.prototype.getHostedConfigurationVersion = function (args, optionsOrCb, cb) {
266
360
  var command = new GetHostedConfigurationVersionCommand(args);
267
361
  if (typeof optionsOrCb === "function") {
@@ -346,6 +440,34 @@ var AppConfig = (function (_super) {
346
440
  return this.send(command, optionsOrCb);
347
441
  }
348
442
  };
443
+ AppConfig.prototype.listExtensionAssociations = function (args, optionsOrCb, cb) {
444
+ var command = new ListExtensionAssociationsCommand(args);
445
+ if (typeof optionsOrCb === "function") {
446
+ this.send(command, optionsOrCb);
447
+ }
448
+ else if (typeof cb === "function") {
449
+ if (typeof optionsOrCb !== "object")
450
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
451
+ this.send(command, optionsOrCb || {}, cb);
452
+ }
453
+ else {
454
+ return this.send(command, optionsOrCb);
455
+ }
456
+ };
457
+ AppConfig.prototype.listExtensions = function (args, optionsOrCb, cb) {
458
+ var command = new ListExtensionsCommand(args);
459
+ if (typeof optionsOrCb === "function") {
460
+ this.send(command, optionsOrCb);
461
+ }
462
+ else if (typeof cb === "function") {
463
+ if (typeof optionsOrCb !== "object")
464
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
465
+ this.send(command, optionsOrCb || {}, cb);
466
+ }
467
+ else {
468
+ return this.send(command, optionsOrCb);
469
+ }
470
+ };
349
471
  AppConfig.prototype.listHostedConfigurationVersions = function (args, optionsOrCb, cb) {
350
472
  var command = new ListHostedConfigurationVersionsCommand(args);
351
473
  if (typeof optionsOrCb === "function") {
@@ -486,6 +608,34 @@ var AppConfig = (function (_super) {
486
608
  return this.send(command, optionsOrCb);
487
609
  }
488
610
  };
611
+ AppConfig.prototype.updateExtension = function (args, optionsOrCb, cb) {
612
+ var command = new UpdateExtensionCommand(args);
613
+ if (typeof optionsOrCb === "function") {
614
+ this.send(command, optionsOrCb);
615
+ }
616
+ else if (typeof cb === "function") {
617
+ if (typeof optionsOrCb !== "object")
618
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
619
+ this.send(command, optionsOrCb || {}, cb);
620
+ }
621
+ else {
622
+ return this.send(command, optionsOrCb);
623
+ }
624
+ };
625
+ AppConfig.prototype.updateExtensionAssociation = function (args, optionsOrCb, cb) {
626
+ var command = new UpdateExtensionAssociationCommand(args);
627
+ if (typeof optionsOrCb === "function") {
628
+ this.send(command, optionsOrCb);
629
+ }
630
+ else if (typeof cb === "function") {
631
+ if (typeof optionsOrCb !== "object")
632
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
633
+ this.send(command, optionsOrCb || {}, cb);
634
+ }
635
+ else {
636
+ return this.send(command, optionsOrCb);
637
+ }
638
+ };
489
639
  AppConfig.prototype.validateConfiguration = function (args, optionsOrCb, cb) {
490
640
  var command = new ValidateConfigurationCommand(args);
491
641
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateExtensionAssociationRequest, ExtensionAssociation } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateExtensionAssociationCommand, serializeAws_restJson1CreateExtensionAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateExtensionAssociationCommand = (function (_super) {
7
+ __extends(CreateExtensionAssociationCommand, _super);
8
+ function CreateExtensionAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateExtensionAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "CreateExtensionAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateExtensionAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ExtensionAssociation.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateExtensionAssociationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateExtensionAssociationCommand(input, context);
33
+ };
34
+ CreateExtensionAssociationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateExtensionAssociationCommand(output, context);
36
+ };
37
+ return CreateExtensionAssociationCommand;
38
+ }($Command));
39
+ export { CreateExtensionAssociationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateExtensionRequest, Extension } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateExtensionCommand, serializeAws_restJson1CreateExtensionCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateExtensionCommand = (function (_super) {
7
+ __extends(CreateExtensionCommand, _super);
8
+ function CreateExtensionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateExtensionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "CreateExtensionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateExtensionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: Extension.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateExtensionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateExtensionCommand(input, context);
33
+ };
34
+ CreateExtensionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateExtensionCommand(output, context);
36
+ };
37
+ return CreateExtensionCommand;
38
+ }($Command));
39
+ export { CreateExtensionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteExtensionAssociationRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteExtensionAssociationCommand, serializeAws_restJson1DeleteExtensionAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteExtensionAssociationCommand = (function (_super) {
7
+ __extends(DeleteExtensionAssociationCommand, _super);
8
+ function DeleteExtensionAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteExtensionAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "DeleteExtensionAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteExtensionAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteExtensionAssociationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteExtensionAssociationCommand(input, context);
33
+ };
34
+ DeleteExtensionAssociationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteExtensionAssociationCommand(output, context);
36
+ };
37
+ return DeleteExtensionAssociationCommand;
38
+ }($Command));
39
+ export { DeleteExtensionAssociationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteExtensionRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteExtensionCommand, serializeAws_restJson1DeleteExtensionCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteExtensionCommand = (function (_super) {
7
+ __extends(DeleteExtensionCommand, _super);
8
+ function DeleteExtensionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteExtensionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "DeleteExtensionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteExtensionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteExtensionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteExtensionCommand(input, context);
33
+ };
34
+ DeleteExtensionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteExtensionCommand(output, context);
36
+ };
37
+ return DeleteExtensionCommand;
38
+ }($Command));
39
+ export { DeleteExtensionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ExtensionAssociation, GetExtensionAssociationRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetExtensionAssociationCommand, serializeAws_restJson1GetExtensionAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ var GetExtensionAssociationCommand = (function (_super) {
7
+ __extends(GetExtensionAssociationCommand, _super);
8
+ function GetExtensionAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetExtensionAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "GetExtensionAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetExtensionAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ExtensionAssociation.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetExtensionAssociationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetExtensionAssociationCommand(input, context);
33
+ };
34
+ GetExtensionAssociationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetExtensionAssociationCommand(output, context);
36
+ };
37
+ return GetExtensionAssociationCommand;
38
+ }($Command));
39
+ export { GetExtensionAssociationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { Extension, GetExtensionRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetExtensionCommand, serializeAws_restJson1GetExtensionCommand, } from "../protocols/Aws_restJson1";
6
+ var GetExtensionCommand = (function (_super) {
7
+ __extends(GetExtensionCommand, _super);
8
+ function GetExtensionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetExtensionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "GetExtensionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetExtensionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: Extension.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetExtensionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetExtensionCommand(input, context);
33
+ };
34
+ GetExtensionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetExtensionCommand(output, context);
36
+ };
37
+ return GetExtensionCommand;
38
+ }($Command));
39
+ export { GetExtensionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ExtensionAssociations, ListExtensionAssociationsRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListExtensionAssociationsCommand, serializeAws_restJson1ListExtensionAssociationsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListExtensionAssociationsCommand = (function (_super) {
7
+ __extends(ListExtensionAssociationsCommand, _super);
8
+ function ListExtensionAssociationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListExtensionAssociationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListExtensionAssociationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListExtensionAssociationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ExtensionAssociations.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListExtensionAssociationsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListExtensionAssociationsCommand(input, context);
33
+ };
34
+ ListExtensionAssociationsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListExtensionAssociationsCommand(output, context);
36
+ };
37
+ return ListExtensionAssociationsCommand;
38
+ }($Command));
39
+ export { ListExtensionAssociationsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { Extensions, ListExtensionsRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListExtensionsCommand, serializeAws_restJson1ListExtensionsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListExtensionsCommand = (function (_super) {
7
+ __extends(ListExtensionsCommand, _super);
8
+ function ListExtensionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListExtensionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "ListExtensionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListExtensionsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: Extensions.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListExtensionsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListExtensionsCommand(input, context);
33
+ };
34
+ ListExtensionsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListExtensionsCommand(output, context);
36
+ };
37
+ return ListExtensionsCommand;
38
+ }($Command));
39
+ export { ListExtensionsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ExtensionAssociation, UpdateExtensionAssociationRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateExtensionAssociationCommand, serializeAws_restJson1UpdateExtensionAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateExtensionAssociationCommand = (function (_super) {
7
+ __extends(UpdateExtensionAssociationCommand, _super);
8
+ function UpdateExtensionAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateExtensionAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "UpdateExtensionAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateExtensionAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ExtensionAssociation.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateExtensionAssociationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateExtensionAssociationCommand(input, context);
33
+ };
34
+ UpdateExtensionAssociationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateExtensionAssociationCommand(output, context);
36
+ };
37
+ return UpdateExtensionAssociationCommand;
38
+ }($Command));
39
+ export { UpdateExtensionAssociationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { Extension, UpdateExtensionRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateExtensionCommand, serializeAws_restJson1UpdateExtensionCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateExtensionCommand = (function (_super) {
7
+ __extends(UpdateExtensionCommand, _super);
8
+ function UpdateExtensionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateExtensionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppConfigClient";
18
+ var commandName = "UpdateExtensionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateExtensionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: Extension.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateExtensionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateExtensionCommand(input, context);
33
+ };
34
+ UpdateExtensionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateExtensionCommand(output, context);
36
+ };
37
+ return UpdateExtensionCommand;
38
+ }($Command));
39
+ export { UpdateExtensionCommand };
@@ -2,11 +2,15 @@ export * from "./CreateApplicationCommand";
2
2
  export * from "./CreateConfigurationProfileCommand";
3
3
  export * from "./CreateDeploymentStrategyCommand";
4
4
  export * from "./CreateEnvironmentCommand";
5
+ export * from "./CreateExtensionAssociationCommand";
6
+ export * from "./CreateExtensionCommand";
5
7
  export * from "./CreateHostedConfigurationVersionCommand";
6
8
  export * from "./DeleteApplicationCommand";
7
9
  export * from "./DeleteConfigurationProfileCommand";
8
10
  export * from "./DeleteDeploymentStrategyCommand";
9
11
  export * from "./DeleteEnvironmentCommand";
12
+ export * from "./DeleteExtensionAssociationCommand";
13
+ export * from "./DeleteExtensionCommand";
10
14
  export * from "./DeleteHostedConfigurationVersionCommand";
11
15
  export * from "./GetApplicationCommand";
12
16
  export * from "./GetConfigurationCommand";
@@ -14,12 +18,16 @@ export * from "./GetConfigurationProfileCommand";
14
18
  export * from "./GetDeploymentCommand";
15
19
  export * from "./GetDeploymentStrategyCommand";
16
20
  export * from "./GetEnvironmentCommand";
21
+ export * from "./GetExtensionAssociationCommand";
22
+ export * from "./GetExtensionCommand";
17
23
  export * from "./GetHostedConfigurationVersionCommand";
18
24
  export * from "./ListApplicationsCommand";
19
25
  export * from "./ListConfigurationProfilesCommand";
20
26
  export * from "./ListDeploymentStrategiesCommand";
21
27
  export * from "./ListDeploymentsCommand";
22
28
  export * from "./ListEnvironmentsCommand";
29
+ export * from "./ListExtensionAssociationsCommand";
30
+ export * from "./ListExtensionsCommand";
23
31
  export * from "./ListHostedConfigurationVersionsCommand";
24
32
  export * from "./ListTagsForResourceCommand";
25
33
  export * from "./StartDeploymentCommand";
@@ -30,4 +38,6 @@ export * from "./UpdateApplicationCommand";
30
38
  export * from "./UpdateConfigurationProfileCommand";
31
39
  export * from "./UpdateDeploymentStrategyCommand";
32
40
  export * from "./UpdateEnvironmentCommand";
41
+ export * from "./UpdateExtensionAssociationCommand";
42
+ export * from "./UpdateExtensionCommand";
33
43
  export * from "./ValidateConfigurationCommand";