@aws-sdk/client-appconfig 3.928.0 → 3.930.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 (69) hide show
  1. package/dist-cjs/index.js +1704 -1961
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AppConfigClient.js +2 -0
  4. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  5. package/dist-es/commands/CreateConfigurationProfileCommand.js +3 -10
  6. package/dist-es/commands/CreateDeploymentStrategyCommand.js +3 -9
  7. package/dist-es/commands/CreateEnvironmentCommand.js +3 -9
  8. package/dist-es/commands/CreateExtensionAssociationCommand.js +3 -9
  9. package/dist-es/commands/CreateExtensionCommand.js +3 -9
  10. package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +3 -10
  11. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  12. package/dist-es/commands/DeleteConfigurationProfileCommand.js +3 -9
  13. package/dist-es/commands/DeleteDeploymentStrategyCommand.js +3 -9
  14. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  15. package/dist-es/commands/DeleteExtensionAssociationCommand.js +3 -9
  16. package/dist-es/commands/DeleteExtensionCommand.js +3 -9
  17. package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +3 -9
  18. package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
  19. package/dist-es/commands/GetApplicationCommand.js +3 -9
  20. package/dist-es/commands/GetConfigurationCommand.js +3 -10
  21. package/dist-es/commands/GetConfigurationProfileCommand.js +3 -10
  22. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  23. package/dist-es/commands/GetDeploymentStrategyCommand.js +3 -9
  24. package/dist-es/commands/GetEnvironmentCommand.js +3 -9
  25. package/dist-es/commands/GetExtensionAssociationCommand.js +3 -9
  26. package/dist-es/commands/GetExtensionCommand.js +3 -9
  27. package/dist-es/commands/GetHostedConfigurationVersionCommand.js +3 -10
  28. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  29. package/dist-es/commands/ListConfigurationProfilesCommand.js +3 -9
  30. package/dist-es/commands/ListDeploymentStrategiesCommand.js +3 -9
  31. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  32. package/dist-es/commands/ListEnvironmentsCommand.js +3 -9
  33. package/dist-es/commands/ListExtensionAssociationsCommand.js +3 -9
  34. package/dist-es/commands/ListExtensionsCommand.js +3 -9
  35. package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +3 -9
  36. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  37. package/dist-es/commands/StartDeploymentCommand.js +3 -10
  38. package/dist-es/commands/StopDeploymentCommand.js +3 -9
  39. package/dist-es/commands/TagResourceCommand.js +3 -9
  40. package/dist-es/commands/UntagResourceCommand.js +3 -9
  41. package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
  42. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  43. package/dist-es/commands/UpdateConfigurationProfileCommand.js +3 -10
  44. package/dist-es/commands/UpdateDeploymentStrategyCommand.js +3 -9
  45. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -9
  46. package/dist-es/commands/UpdateExtensionAssociationCommand.js +3 -9
  47. package/dist-es/commands/UpdateExtensionCommand.js +3 -9
  48. package/dist-es/commands/ValidateConfigurationCommand.js +3 -9
  49. package/dist-es/models/models_0.js +0 -41
  50. package/dist-es/runtimeConfig.shared.js +2 -0
  51. package/dist-es/schemas/schemas_0.js +1632 -0
  52. package/dist-types/AppConfigClient.d.ts +10 -1
  53. package/dist-types/models/models_0.d.ts +4 -33
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  55. package/dist-types/runtimeConfig.d.ts +1 -0
  56. package/dist-types/runtimeConfig.native.d.ts +1 -0
  57. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  58. package/dist-types/schemas/schemas_0.d.ts +156 -0
  59. package/dist-types/ts3.4/AppConfigClient.d.ts +4 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +0 -23
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  64. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  65. package/dist-types/ts3.4/schemas/schemas_0.d.ts +163 -0
  66. package/package.json +35 -35
  67. package/dist-es/protocols/Aws_restJson1.js +0 -1615
  68. package/dist-types/protocols/Aws_restJson1.d.ts +0 -407
  69. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -545
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { AppConfigServiceException as __BaseException } from "./AppConfigServiceException";
3
2
  export const ActionPoint = {
4
3
  AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
@@ -10,14 +9,6 @@ export const ActionPoint = {
10
9
  PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
11
10
  PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT",
12
11
  };
13
- export var BadRequestDetails;
14
- (function (BadRequestDetails) {
15
- BadRequestDetails.visit = (value, visitor) => {
16
- if (value.InvalidConfiguration !== undefined)
17
- return visitor.InvalidConfiguration(value.InvalidConfiguration);
18
- return visitor._(value.$unknown[0], value.$unknown[1]);
19
- };
20
- })(BadRequestDetails || (BadRequestDetails = {}));
21
12
  export const BadRequestReason = {
22
13
  INVALID_CONFIGURATION: "InvalidConfiguration",
23
14
  };
@@ -168,35 +159,3 @@ export const DeploymentState = {
168
159
  ROLLING_BACK: "ROLLING_BACK",
169
160
  VALIDATING: "VALIDATING",
170
161
  };
171
- export const ValidatorFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- ...(obj.Content && { Content: SENSITIVE_STRING }),
174
- });
175
- export const ConfigurationProfileFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- ...(obj.Validators && { Validators: obj.Validators.map((item) => ValidatorFilterSensitiveLog(item)) }),
178
- });
179
- export const CreateConfigurationProfileRequestFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- ...(obj.Validators && { Validators: obj.Validators.map((item) => ValidatorFilterSensitiveLog(item)) }),
182
- });
183
- export const CreateHostedConfigurationVersionRequestFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- ...(obj.Content && { Content: SENSITIVE_STRING }),
186
- });
187
- export const HostedConfigurationVersionFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- ...(obj.Content && { Content: SENSITIVE_STRING }),
190
- });
191
- export const ConfigurationFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.Content && { Content: SENSITIVE_STRING }),
194
- });
195
- export const StartDeploymentRequestFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.DynamicExtensionParameters && { DynamicExtensionParameters: SENSITIVE_STRING }),
198
- });
199
- export const UpdateConfigurationProfileRequestFilterSensitiveLog = (obj) => ({
200
- ...obj,
201
- ...(obj.Validators && { Validators: obj.Validators.map((item) => ValidatorFilterSensitiveLog(item)) }),
202
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.appconfig" }),
25
27
  serviceId: config?.serviceId ?? "AppConfig",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,